Function at 0x40f0d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52f950
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xf0
push ebx
push esi
push edi
mov ecx, 0x56c83f
mov dword [ebp - 0x3c], 0
call fcn.00500c8d
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
je 0x40f990
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 0x536d18
call fcn.00403ce0
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.00404bb0
add esp, 4
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0
call fcn.0040ac40
mov edi, dword [ebp - 0x48]
xor ecx, ecx
mov esi, dword [ebp - 0x4c]
mov eax, edi
sub eax, esi
mov dword [ebp - 0x40], ecx
sar eax, 2
add esp, 0xc
test eax, eax
je 0x40f92f
mov eax, dword [esi + ecx*4]
lea edi, [esi + ecx*4]
mov esi, dword [eax - 0xc]
test esi, esi
js 0x40f9b5
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, esi
or eax, ecx
jge 0x40f1ae
push esi
mov ecx, edi
call fcn.00405fa0
lea eax, [esi + 1]
push eax
push dword [edi]
call fcn.0050e1a9
mov eax, dword [edi]
add esp, 8
cmp esi, dword [eax - 8]
jg 0x40f9b5
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.00404bb0
add esp, 4
lea esi, [eax + 0x10]
mov dword [ebp - 0xa8], 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 0x40f23f
cmp ebx, 0x7fffffff
ja 0x40f9a6
push ebx
lea ecx, [ebp - 0x24]
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.005039a0
add esp, 0xc
or dword [ebp - 0x3c], 1
test edi, edi
je 0x40f9ab
mov ecx, edi
mov eax, esi
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40f276
test dx, dx
je 0x40f272
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40f276
add eax, 4
add ecx, 4
test dx, dx
jne 0x40f250
xor eax, eax
jmp 0x40f27b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x40f292
mov eax, dword [ebp - 0x48]
sub eax, dword [ebp - 0x4c]
sar eax, 2
dec eax
cmp dword [ebp - 0x40], eax
jae 0x40f292
mov bl, 1
jmp 0x40f294
xor bl, bl
mov eax, dword [ebp - 0x64]
and dword [ebp - 0x3c], 0xfffffffe
sub eax, edi
sar eax, 1
lea ecx, [eax + eax]
cmp ecx, 0x1000
jb 0x40f2c0
mov edx, dword [edi - 4]
add ecx, 0x23
sub edi, edx
lea eax, [edi - 4]
cmp eax, 0x1f
ja 0x40f9a1
mov edi, edx
push ecx
push edi
call fcn.00500c7f
add esp, 8
test bl, bl
je 0x40f410
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x40]
lea eax, [eax + ecx*4]
add eax, 4
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x50]
push eax
call fcn.00407c80
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 0x40f34a
cmp dword [edi + 0xc], 0
jl 0x40f33e
mov eax, dword [edx]
cmp eax, dword [edi]
jne 0x40f33e
push edx
call fcn.00404bb0
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 0x40f336
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 0x40f34a
push dword [ecx - 0xc]
push ecx
lea ecx, [ebx + 0xc]
call fcn.00406790
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 0x40f369
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.00404bb0
add eax, 0x10
add esp, 4
mov dword [edi], eax
lea eax, [ebp - 0x68]
push eax
call fcn.0040e940
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 0x40f3e8
cmp dword [edi + 0xc], 0
jl 0x40f3dc
mov eax, dword [edx]
cmp eax, dword [edi]
jne 0x40f3dc
push edx
call fcn.00404bb0
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 0x40f3d4
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 0x40f3e8
push dword [ecx - 0xc]
push ecx
lea ecx, [ebx + 0xc]
call fcn.00406790
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 0x40f8f7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x40f8f7
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 0x40f9ab
cmp ebx, 0x7fffffff
ja 0x40f9a6
push ebx
lea ecx, [ebp - 0x24]
call fcn.00403670
push dword [ebp - 0x14]
mov edi, eax
lea eax, [ebp - 0x74]
push eax
push edi
call fcn.005039a0
add esp, 0xc
lea eax, [edi + ebx*2]
mov dword [ebp - 0x14], eax
test edi, edi
je 0x40f9ab
mov ecx, edi
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40f499
test dx, dx
je 0x40f495
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40f499
add eax, 4
add ecx, 4
test dx, dx
jne 0x40f473
xor ebx, ebx
jmp 0x40f49e
sbb ebx, ebx
or ebx, 1
mov eax, dword [ebp - 0x14]
sub eax, edi
sar eax, 1
lea ecx, [eax + eax]
cmp ecx, 0x1000
jb 0x40f4c6
mov edx, dword [edi - 4]
add ecx, 0x23
sub edi, edx
lea eax, [edi - 4]
cmp eax, 0x1f
ja 0x40f9a1
mov edi, edx
push ecx
push edi
call fcn.00500c7f
add esp, 8
test ebx, ebx
jne 0x40f4e0
mov eax, dword [ebp + 0xc]
mov byte [eax + 1], 1
jmp 0x40f8f7
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 - 0xb4]
call fcn.00404100
mov eax, dword [eax]
test eax, eax
je 0x40f9ab
mov ecx, esi
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x40f536
test dx, dx
je 0x40f532
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x40f536
add ecx, 4
add eax, 4
test dx, dx
jne 0x40f510
xor edi, edi
jmp 0x40f53b
sbb edi, edi
or edi, 1
lea ecx, [ebp - 0xb4]
call fcn.0040bc60
test edi, edi
jne 0x40f558
mov eax, dword [ebp + 0xc]
mov word [eax + 1], 0x101
jmp 0x40f8f7
xor eax, eax
mov dword [ebp - 0x28], 0x6f002f
mov word [ebp - 0x18], ax
lea ecx, [ebp - 0x16]
lea eax, [ebp - 0xd]
mov dword [ebp - 0x24], 0x660066
push eax
push ecx
lea edx, [ebp - 0x28]
mov dword [ebp - 0x20], 0x69006c
push edx
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0x1c], 0x65006e
call fcn.00404100
mov ecx, dword [eax]
test ecx, ecx
je 0x40f9ab
mov eax, esi
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40f5c6
test dx, dx
je 0x40f5c2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40f5c6
add eax, 4
add ecx, 4
test dx, dx
jne 0x40f5a0
xor edi, edi
jmp 0x40f5cb
sbb edi, edi
or edi, 1
lea ecx, [ebp - 0xc0]
call fcn.0040bc60
test edi, edi
jne 0x40f5e6
mov eax, dword [ebp + 0xc]
mov byte [eax + 6], 1
jmp 0x40f8f7
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 - 0xcc]
mov dword [ebp - 0x78], 0x66
call fcn.00404100
mov ecx, dword [eax]
test ecx, ecx
je 0x40f9ab
mov eax, esi
nop dword [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40f656
test dx, dx
je 0x40f652
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40f656
add eax, 4
add ecx, 4
test dx, dx
jne 0x40f630
xor edi, edi
jmp 0x40f65b
sbb edi, edi
or edi, 1
lea ecx, [ebp - 0xcc]
call fcn.0040bc60
test edi, edi
jne 0x40f676
mov eax, dword [ebp + 0xc]
mov byte [eax + 3], 1
jmp 0x40f8f7
xor eax, eax
mov dword [ebp - 0x28], 0x75002f
mov word [ebp - 0x18], ax
lea ecx, [ebp - 0x16]
lea eax, [ebp - 0xd]
mov dword [ebp - 0x24], 0x700070
push eax
push ecx
lea edx, [ebp - 0x28]
mov dword [ebp - 0x20], 0x690072
push edx
lea ecx, [ebp - 0xd8]
mov dword [ebp - 0x1c], 0x690076
call fcn.00404100
mov ecx, dword [eax]
test ecx, ecx
je 0x40f9ab
mov eax, esi
nop dword [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40f6e6
test dx, dx
je 0x40f6e2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40f6e6
add eax, 4
add ecx, 4
test dx, dx
jne 0x40f6c0
xor edi, edi
jmp 0x40f6eb
sbb edi, edi
or edi, 1
lea ecx, [ebp - 0xd8]
call fcn.0040bc60
test edi, edi
jne 0x40f706
mov eax, dword [ebp + 0xc]
mov byte [eax + 7], 1
jmp 0x40f8f7
xor eax, eax
mov dword [ebp - 0x2c], 0x63002f
mov word [ebp - 0x18], ax
lea ecx, [ebp - 0x16]
lea eax, [ebp - 0xd]
mov dword [ebp - 0x28], 0x6e0061
push eax
push ecx
lea edx, [ebp - 0x2c]
mov dword [ebp - 0x24], 0x69002d
push edx
lea ecx, [ebp - 0xe4]
mov dword [ebp - 0x20], 0x73006e
mov dword [ebp - 0x1c], 0x64002d
call fcn.00404100
mov ecx, dword [eax]
test ecx, ecx
je 0x40f9ab
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40f778
test dx, dx
je 0x40f774
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40f778
add eax, 4
add ecx, 4
test dx, dx
jne 0x40f752
xor edi, edi
jmp 0x40f77d
sbb edi, edi
or edi, 1
lea ecx, [ebp - 0xe4]
call fcn.0040bc60
test edi, edi
jne 0x40f797
mov eax, dword [ebp + 0xc]
mov byte [eax], 1
jmp 0x40f8f7
xor eax, eax
mov dword [ebp - 0x38], 0x6e002f
mov word [ebp - 0x18], ax
lea ecx, [ebp - 0x16]
lea eax, [ebp - 0xd]
mov dword [ebp - 0x34], 0x61006f
push eax
push ecx
lea edx, [ebp - 0x38]
mov dword [ebp - 0x30], 0x640064
push edx
lea ecx, [ebp - 0xf0]
mov dword [ebp - 0x2c], 0x73005f
mov dword [ebp - 0x28], 0x610074
mov dword [ebp - 0x24], 0x740072
mov dword [ebp - 0x20], 0x65006d
mov dword [ebp - 0x1c], 0x75006e
call fcn.00404100
mov ecx, dword [eax]
test ecx, ecx
je 0x40f9ab
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40f81e
test dx, dx
je 0x40f81a
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40f81e
add eax, 4
add ecx, 4
test dx, dx
jne 0x40f7f8
xor edi, edi
jmp 0x40f823
sbb edi, edi
or edi, 1
lea ecx, [ebp - 0xf0]
call fcn.0040bc60
test edi, edi
jne 0x40f83e
mov eax, dword [ebp + 0xc]
mov byte [eax + 5], 1
jmp 0x40f8f7
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.00404100
mov ecx, dword [eax]
test ecx, ecx
je 0x40f9ab
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40f8dc
test dx, dx
je 0x40f8d8
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40f8dc
add eax, 4
add ecx, 4
test dx, dx
jne 0x40f8b6
xor edi, edi
jmp 0x40f8e1
sbb edi, edi
or edi, 1
lea ecx, [ebp - 0xfc]
call fcn.0040bc60
test edi, edi
jne 0x40f8f7
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 0x40f913
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 - 0x40]
mov esi, dword [ebp - 0x4c]
inc ecx
sub eax, esi
mov dword [ebp - 0x40], ecx
sar eax, 2
cmp ecx, eax
jb 0x40f184
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x40f990
cmp esi, edi
je 0x40f964
nop
mov edx, dword [esi]
or eax, 0xffffffff
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40f95a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 4
cmp esi, edi
jne 0x40f940
mov esi, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x44]
mov eax, esi
sub ecx, esi
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x40f986
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f9a1
push ecx
push esi
call fcn.00500c7f
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.00507f1f
call fcn.0040bcc0
push 0x80004005
call fcn.00404a90
push 0x80070057
call fcn.00404a90
int3