Function at 0x40f1b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dd9a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xf0
push ebx
push esi
push edi
mov ecx, 0x51071b
mov dword [ebp - 0x18], 0
call fcn.004b781d
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
je 0x40f9d0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
lea eax, [ebp - 0x4c]
mov dword [ebp - 4], 0
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x68], esp
push 0x4e4bf4
call fcn.00403ac0
push ecx
mov esi, esp
mov byte [ebp - 4], 1
mov dword [ebp - 0x50], esi
mov eax, dword [ebx]
sub eax, 0x10
push eax
call fcn.00404990
add esp, 4
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0
call fcn.0040b640
mov edi, dword [ebp - 0x48]
xor ecx, ecx
mov esi, dword [ebp - 0x4c]
mov eax, edi
sub eax, esi
mov dword [ebp - 0x1c], ecx
sar eax, 2
add esp, 0xc
test eax, eax
je 0x40f96e
mov eax, dword [esi + ecx*4]
lea edi, [esi + ecx*4]
mov esi, dword [eax - 0xc]
test esi, esi
js 0x40f9f5
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, esi
or eax, ecx
jge 0x40f28e
push esi
mov ecx, edi
call fcn.00406480
lea eax, [esi + 1]
push eax
push dword [edi]
call fcn.004c39fc
mov eax, dword [edi]
add esp, 8
cmp esi, dword [eax - 8]
jg 0x40f9f5
mov dword [eax - 0xc], esi
xor ecx, ecx
mov eax, dword [edi]
mov word [eax + esi*2], cx
mov eax, dword [edi]
sub eax, 0x10
push eax
call fcn.00404990
add esp, 4
lea esi, [eax + 0x10]
mov dword [ebp - 0xb4], esi
xor eax, eax
mov byte [ebp - 4], 2
mov word [ebp - 0x54], ax
lea edx, [ebp - 0x58]
lea eax, [ebp - 0x52]
mov dword [ebp - 0x58], 0x64002f
sub eax, edx
xor ecx, ecx
mov ebx, eax
mov dword [ebp - 0x64], ecx
sar ebx, 1
mov edi, ecx
mov dword [ebp - 0x14], eax
je 0x40f31f
cmp ebx, 0x7fffffff
ja 0x40f9e6
push ebx
lea ecx, [ebp - 0x2c]
call fcn.00403670
push dword [ebp - 0x14]
mov edi, eax
lea eax, [ebp - 0x58]
push eax
push edi
lea ecx, [edi + ebx*2]
mov dword [ebp - 0x64], ecx
call fcn.004ba300
add esp, 0xc
or dword [ebp - 0x18], 1
test edi, edi
je 0x40f9eb
mov ecx, edi
mov eax, esi
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40f356
test dx, dx
je 0x40f352
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40f356
add eax, 4
add ecx, 4
test dx, dx
jne 0x40f330
xor eax, eax
jmp 0x40f35b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x40f372
mov eax, dword [ebp - 0x48]
sub eax, dword [ebp - 0x4c]
sar eax, 2
dec eax
cmp dword [ebp - 0x1c], eax
jae 0x40f372
mov bl, 1
jmp 0x40f374
xor bl, bl
mov eax, dword [ebp - 0x64]
and dword [ebp - 0x18], 0xfffffffe
sub eax, edi
sar eax, 1
lea ecx, [eax + eax]
cmp ecx, 0x1000
jb 0x40f3a0
mov edx, dword [edi - 4]
add ecx, 0x23
sub edi, edx
lea eax, [edi - 4]
cmp eax, 0x1f
ja 0x40f9e1
mov edi, edx
push ecx
push edi
call fcn.004b780f
add esp, 8
test bl, bl
je 0x40f4f0
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x1c]
lea eax, [eax + ecx*4]
add eax, 4
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x50]
push eax
call fcn.004084b0
add esp, 0xc
mov ebx, dword [ebp + 0xc]
mov ecx, dword [eax]
mov byte [ebp - 4], 3
mov edi, dword [ebx + 0xc]
lea edx, [ecx - 0x10]
sub edi, 0x10
cmp edx, edi
je 0x40f42a
cmp dword [edi + 0xc], 0
jl 0x40f41e
mov eax, dword [edx]
cmp eax, dword [edi]
jne 0x40f41e
push edx
call fcn.00404990
add esp, 4
mov dword [ebp - 0x14], eax
or ecx, 0xffffffff
lea edx, [edi + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40f416
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x14]
add eax, 0x10
mov dword [ebx + 0xc], eax
jmp 0x40f42a
push dword [ecx - 0xc]
push ecx
lea ecx, [ebx + 0xc]
call fcn.00406c70
mov edx, dword [ebp - 0x50]
or eax, 0xffffffff
mov byte [ebp - 4], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40f449
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebx + 0xc]
push ecx
sub eax, 0x10
mov edi, esp
push eax
mov dword [ebp - 0x14], edi
call fcn.00404990
add eax, 0x10
add esp, 4
mov dword [edi], eax
lea eax, [ebp - 0x68]
push eax
call fcn.0040ea40
add esp, 8
mov ecx, dword [eax]
mov edi, dword [ebx + 0xc]
sub edi, 0x10
mov byte [ebp - 4], 4
lea edx, [ecx - 0x10]
cmp edx, edi
je 0x40f4c8
cmp dword [edi + 0xc], 0
jl 0x40f4bc
mov eax, dword [edx]
cmp eax, dword [edi]
jne 0x40f4bc
push edx
call fcn.00404990
add esp, 4
mov dword [ebp - 0x14], eax
or ecx, 0xffffffff
lea edx, [edi + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40f4b4
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x14]
add eax, 0x10
mov dword [ebx + 0xc], eax
jmp 0x40f4c8
push dword [ecx - 0xc]
push ecx
lea ecx, [ebx + 0xc]
call fcn.00406c70
mov edx, dword [ebp - 0x68]
or eax, 0xffffffff
mov byte [ebp - 4], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40f936
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x40f936
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x74], 0x61002f
lea eax, [ebp - 0x68]
mov dword [ebp - 0x70], 0x740075
sub eax, ecx
mov dword [ebp - 0x6c], 0x6f
mov ebx, eax
mov dword [ebp - 0x14], eax
sar ebx, 1
je 0x40f9eb
cmp ebx, 0x7fffffff
ja 0x40f9e6
push ebx
lea ecx, [ebp - 0xb0]
call fcn.00403670
push dword [ebp - 0x14]
mov edi, eax
lea eax, [ebp - 0x74]
push eax
push edi
mov dword [ebp - 0xb0], edi
lea ecx, [edi + ebx*2]
mov dword [ebp - 0xa8], ecx
call fcn.004ba300
add esp, 0xc
lea eax, [edi + ebx*2]
mov dword [ebp - 0xac], eax
test edi, edi
je 0x40f9eb
mov eax, esi
mov cx, word [eax]
cmp cx, word [edi]
jne 0x40f58c
test cx, cx
je 0x40f588
mov cx, word [eax + 2]
cmp cx, word [edi + 2]
jne 0x40f58c
add eax, 4
add edi, 4
test cx, cx
jne 0x40f566
xor edi, edi
jmp 0x40f591
sbb edi, edi
or edi, 1
lea ecx, [ebp - 0xb0]
call fcn.0040c330
test edi, edi
jne 0x40f5ac
mov eax, dword [ebp + 0xc]
mov byte [eax + 1], 1
jmp 0x40f936
xor eax, eax
mov dword [ebp - 0x60], 0x73002f
mov word [ebp - 0x5c], ax
lea ecx, [ebp - 0x5a]
lea eax, [ebp - 0xd]
push eax
push ecx
lea edx, [ebp - 0x60]
push edx
lea ecx, [ebp - 0xc0]
call fcn.00403ee0
mov eax, dword [eax]
test eax, eax
je 0x40f9eb
mov ecx, esi
nop dword [eax]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x40f606
test dx, dx
je 0x40f602
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x40f606
add ecx, 4
add eax, 4
test dx, dx
jne 0x40f5e0
xor edi, edi
jmp 0x40f60b
sbb edi, edi
or edi, 1
lea ecx, [ebp - 0xc0]
call fcn.0040c330
test edi, edi
jne 0x40f628
mov eax, dword [ebp + 0xc]
mov word [eax + 1], 0x101
jmp 0x40f936
xor eax, eax
mov dword [ebp - 0x30], 0x6f002f
mov word [ebp - 0x20], ax
lea ecx, [ebp - 0x1e]
lea eax, [ebp - 0xd]
mov dword [ebp - 0x2c], 0x660066
push eax
push ecx
lea edx, [ebp - 0x30]
mov dword [ebp - 0x28], 0x69006c
push edx
lea ecx, [ebp - 0xcc]
mov dword [ebp - 0x24], 0x65006e
call fcn.00403ee0
mov ecx, dword [eax]
test ecx, ecx
je 0x40f9eb
mov eax, esi
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40f696
test dx, dx
je 0x40f692
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40f696
add eax, 4
add ecx, 4
test dx, dx
jne 0x40f670
xor edi, edi
jmp 0x40f69b
sbb edi, edi
or edi, 1
lea ecx, [ebp - 0xcc]
call fcn.0040c330
test edi, edi
jne 0x40f6b6
mov eax, dword [ebp + 0xc]
mov byte [eax + 6], 1
jmp 0x40f936
lea eax, [ebp - 0xd]
mov dword [ebp - 0x84], 0x73002f
push eax
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x80], 0x740065
push ecx
lea edx, [ebp - 0x84]
mov dword [ebp - 0x7c], 0x650064
push edx
lea ecx, [ebp - 0xd8]
mov dword [ebp - 0x78], 0x66
call fcn.00403ee0
mov ecx, dword [eax]
test ecx, ecx
je 0x40f9eb
mov eax, esi
nop dword [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40f726
test dx, dx
je 0x40f722
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40f726
add eax, 4
add ecx, 4
test dx, dx
jne 0x40f700
xor edi, edi
jmp 0x40f72b
sbb edi, edi
or edi, 1
lea ecx, [ebp - 0xd8]
call fcn.0040c330
test edi, edi
jne 0x40f746
mov eax, dword [ebp + 0xc]
mov byte [eax + 3], 1
jmp 0x40f936
xor eax, eax
mov dword [ebp - 0x30], 0x75002f
mov word [ebp - 0x20], ax
lea ecx, [ebp - 0x1e]
lea eax, [ebp - 0xd]
mov dword [ebp - 0x2c], 0x700070
push eax
push ecx
lea edx, [ebp - 0x30]
mov dword [ebp - 0x28], 0x690072
push edx
lea ecx, [ebp - 0xe4]
mov dword [ebp - 0x24], 0x690076
call fcn.00403ee0
mov ecx, dword [eax]
test ecx, ecx
je 0x40f9eb
mov eax, esi
nop dword [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40f7b6
test dx, dx
je 0x40f7b2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40f7b6
add eax, 4
add ecx, 4
test dx, dx
jne 0x40f790
xor edi, edi
jmp 0x40f7bb
sbb edi, edi
or edi, 1
lea ecx, [ebp - 0xe4]
call fcn.0040c330
test edi, edi
jne 0x40f7d6
mov eax, dword [ebp + 0xc]
mov byte [eax + 7], 1
jmp 0x40f936
xor eax, eax
mov dword [ebp - 0x40], 0x6e002f
mov word [ebp - 0x20], ax
lea ecx, [ebp - 0x1e]
lea eax, [ebp - 0xd]
mov dword [ebp - 0x3c], 0x61006f
push eax
push ecx
lea edx, [ebp - 0x40]
mov dword [ebp - 0x38], 0x640064
push edx
lea ecx, [ebp - 0xf0]
mov dword [ebp - 0x34], 0x73005f
mov dword [ebp - 0x30], 0x610074
mov dword [ebp - 0x2c], 0x740072
mov dword [ebp - 0x28], 0x65006d
mov dword [ebp - 0x24], 0x75006e
call fcn.00403ee0
mov ecx, dword [eax]
test ecx, ecx
je 0x40f9eb
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40f85d
test dx, dx
je 0x40f859
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40f85d
add eax, 4
add ecx, 4
test dx, dx
jne 0x40f837
xor edi, edi
jmp 0x40f862
sbb edi, edi
or edi, 1
lea ecx, [ebp - 0xf0]
call fcn.0040c330
test edi, edi
jne 0x40f87d
mov eax, dword [ebp + 0xc]
mov byte [eax + 5], 1
jmp 0x40f936
xor eax, eax
mov dword [ebp - 0xa4], 0x6e002f
mov word [ebp - 0x88], ax
lea ecx, [ebp - 0x86]
lea eax, [ebp - 0xd]
mov dword [ebp - 0xa0], 0x61006f
push eax
push ecx
lea edx, [ebp - 0xa4]
mov dword [ebp - 0x9c], 0x640064
push edx
lea ecx, [ebp - 0xfc]
mov dword [ebp - 0x98], 0x74005f
mov dword [ebp - 0x94], 0x730061
mov dword [ebp - 0x90], 0x62006b
mov dword [ebp - 0x8c], 0x720061
call fcn.00403ee0
mov ecx, dword [eax]
test ecx, ecx
je 0x40f9eb
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40f91b
test dx, dx
je 0x40f917
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40f91b
add eax, 4
add ecx, 4
test dx, dx
jne 0x40f8f5
xor edi, edi
jmp 0x40f920
sbb edi, edi
or edi, 1
lea ecx, [ebp - 0xfc]
call fcn.0040c330
test edi, edi
jne 0x40f936
mov eax, dword [ebp + 0xc]
mov byte [eax + 4], 1
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x40f952
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x48]
mov eax, edi
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x4c]
inc ecx
sub eax, esi
mov dword [ebp - 0x1c], ecx
sar eax, 2
cmp ecx, eax
jb 0x40f264
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x40f9d0
cmp esi, edi
je 0x40f9a4
nop dword [eax]
mov edx, dword [esi]
or eax, 0xffffffff
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40f99a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 4
cmp esi, edi
jne 0x40f980
mov esi, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x44]
mov eax, esi
sub ecx, esi
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x40f9c6
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f9e1
push ecx
push esi
call fcn.004b780f
add esp, 8
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.004be73f
call fcn.0040c390
push 0x80004005
call fcn.00404870
push 0x80070057
call fcn.00404870
int3