Function at 0x40f1c0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dd9b0
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.004b782d
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
je 0x40f9e0
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.0040b650
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 0x40f97e
mov eax, dword [esi + ecx*4]
lea edi, [esi + ecx*4]
mov esi, dword [eax - 0xc]
test esi, esi
js 0x40fa05
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, esi
or eax, ecx
jge 0x40f29e
push esi
mov ecx, edi
call fcn.00406490
lea eax, [esi + 1]
push eax
push dword [edi]
call fcn.004c3a0c
mov eax, dword [edi]
add esp, 8
cmp esi, dword [eax - 8]
jg 0x40fa05
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 0x40f32f
cmp ebx, 0x7fffffff
ja 0x40f9f6
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.004ba310
add esp, 0xc
or dword [ebp - 0x18], 1
test edi, edi
je 0x40f9fb
mov ecx, edi
mov eax, esi
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40f366
test dx, dx
je 0x40f362
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40f366
add eax, 4
add ecx, 4
test dx, dx
jne 0x40f340
xor eax, eax
jmp 0x40f36b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x40f382
mov eax, dword [ebp - 0x48]
sub eax, dword [ebp - 0x4c]
sar eax, 2
dec eax
cmp dword [ebp - 0x1c], eax
jae 0x40f382
mov bl, 1
jmp 0x40f384
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 0x40f3b0
mov edx, dword [edi - 4]
add ecx, 0x23
sub edi, edx
lea eax, [edi - 4]
cmp eax, 0x1f
ja 0x40f9f1
mov edi, edx
push ecx
push edi
call fcn.004b781f
add esp, 8
test bl, bl
je 0x40f500
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.004084c0
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 0x40f43a
cmp dword [edi + 0xc], 0
jl 0x40f42e
mov eax, dword [edx]
cmp eax, dword [edi]
jne 0x40f42e
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 0x40f426
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 0x40f43a
push dword [ecx - 0xc]
push ecx
lea ecx, [ebx + 0xc]
call fcn.00406c80
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 0x40f459
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.0040ea50
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 0x40f4d8
cmp dword [edi + 0xc], 0
jl 0x40f4cc
mov eax, dword [edx]
cmp eax, dword [edi]
jne 0x40f4cc
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 0x40f4c4
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 0x40f4d8
push dword [ecx - 0xc]
push ecx
lea ecx, [ebx + 0xc]
call fcn.00406c80
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 0x40f946
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x40f946
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 0x40f9fb
cmp ebx, 0x7fffffff
ja 0x40f9f6
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.004ba310
add esp, 0xc
lea eax, [edi + ebx*2]
mov dword [ebp - 0xac], eax
test edi, edi
je 0x40f9fb
mov eax, esi
mov cx, word [eax]
cmp cx, word [edi]
jne 0x40f59c
test cx, cx
je 0x40f598
mov cx, word [eax + 2]
cmp cx, word [edi + 2]
jne 0x40f59c
add eax, 4
add edi, 4
test cx, cx
jne 0x40f576
xor edi, edi
jmp 0x40f5a1
sbb edi, edi
or edi, 1
lea ecx, [ebp - 0xb0]
call fcn.0040c340
test edi, edi
jne 0x40f5bc
mov eax, dword [ebp + 0xc]
mov byte [eax + 1], 1
jmp 0x40f946
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 0x40f9fb
mov ecx, esi
nop dword [eax]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x40f616
test dx, dx
je 0x40f612
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x40f616
add ecx, 4
add eax, 4
test dx, dx
jne 0x40f5f0
xor edi, edi
jmp 0x40f61b
sbb edi, edi
or edi, 1
lea ecx, [ebp - 0xc0]
call fcn.0040c340
test edi, edi
jne 0x40f638
mov eax, dword [ebp + 0xc]
mov word [eax + 1], 0x101
jmp 0x40f946
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 0x40f9fb
mov eax, esi
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40f6a6
test dx, dx
je 0x40f6a2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40f6a6
add eax, 4
add ecx, 4
test dx, dx
jne 0x40f680
xor edi, edi
jmp 0x40f6ab
sbb edi, edi
or edi, 1
lea ecx, [ebp - 0xcc]
call fcn.0040c340
test edi, edi
jne 0x40f6c6
mov eax, dword [ebp + 0xc]
mov byte [eax + 6], 1
jmp 0x40f946
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 0x40f9fb
mov eax, esi
nop dword [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40f736
test dx, dx
je 0x40f732
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40f736
add eax, 4
add ecx, 4
test dx, dx
jne 0x40f710
xor edi, edi
jmp 0x40f73b
sbb edi, edi
or edi, 1
lea ecx, [ebp - 0xd8]
call fcn.0040c340
test edi, edi
jne 0x40f756
mov eax, dword [ebp + 0xc]
mov byte [eax + 3], 1
jmp 0x40f946
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 0x40f9fb
mov eax, esi
nop dword [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40f7c6
test dx, dx
je 0x40f7c2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40f7c6
add eax, 4
add ecx, 4
test dx, dx
jne 0x40f7a0
xor edi, edi
jmp 0x40f7cb
sbb edi, edi
or edi, 1
lea ecx, [ebp - 0xe4]
call fcn.0040c340
test edi, edi
jne 0x40f7e6
mov eax, dword [ebp + 0xc]
mov byte [eax + 7], 1
jmp 0x40f946
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 0x40f9fb
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40f86d
test dx, dx
je 0x40f869
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40f86d
add eax, 4
add ecx, 4
test dx, dx
jne 0x40f847
xor edi, edi
jmp 0x40f872
sbb edi, edi
or edi, 1
lea ecx, [ebp - 0xf0]
call fcn.0040c340
test edi, edi
jne 0x40f88d
mov eax, dword [ebp + 0xc]
mov byte [eax + 5], 1
jmp 0x40f946
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 0x40f9fb
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40f92b
test dx, dx
je 0x40f927
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40f92b
add eax, 4
add ecx, 4
test dx, dx
jne 0x40f905
xor edi, edi
jmp 0x40f930
sbb edi, edi
or edi, 1
lea ecx, [ebp - 0xfc]
call fcn.0040c340
test edi, edi
jne 0x40f946
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 0x40f962
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 0x40f274
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x40f9e0
cmp esi, edi
je 0x40f9b4
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 0x40f9aa
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 4
cmp esi, edi
jne 0x40f990
mov esi, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x44]
mov eax, esi
sub ecx, esi
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x40f9d6
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f9f1
push ecx
push esi
call fcn.004b781f
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.004be74f
call fcn.0040c3a0
push 0x80004005
call fcn.00404870
push 0x80070057
call fcn.00404870
int3