Function at 0x40acd0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x45dbcb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa4
push ebx
push ebp
push esi
push edi
mov ebx, 1
push ebx
mov esi, ecx
push 2
lea ecx, [esp + 0x3c]
mov dword [esp + 0x1c], 0
call fcn.00409d70
mov edi, dword [esp + 0xc8]
test edi, edi
mov dword [esp + 0xbc], ebx
je 0x40ad57
cmp byte [edi], 0
je 0x40ad57
lea eax, [esp + 0x34]
push 0x46211c
push eax
call fcn.004097c0
mov eax, dword [edi + 8]
add esp, 8
xor ebp, ebp
test eax, eax
jle 0x40ad57
lea esp, [esp]
lea ecx, [esp + 0x34]
push 9
push ecx
call fcn.004099d0
mov eax, dword [edi + 8]
add esp, 8
inc ebp
cmp ebp, eax
jl 0x40ad40
mov eax, dword [esi + 0x2c]
cmp eax, 4
jne 0x40aec4
xor ebp, ebp
mov ecx, dword [esi + 0x10]
test ecx, ecx
jne 0x40ad70
xor eax, eax
jmp 0x40ad78
mov eax, dword [esi + 0x14]
sub eax, ecx
sar eax, 2
cmp ebp, eax
jge 0x40adce
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + ebp*4]
push edi
lea edx, [esp + 0x14]
push edx
call fcn.0040acd0
mov eax, dword [eax]
push eax
lea eax, [esp + 0x38]
push eax
mov byte [esp + 0xc4], 2
call fcn.004097c0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
add esp, 8
mov byte [esp + 0xbc], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40adcb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
inc ebp
jmp 0x40ad65
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x38]
call fcn.0040a050
mov ecx, dword [eax + 0x18]
mov esi, 0x10
cmp ecx, esi
mov byte [esp + 0xbc], 3
jb 0x40adf5
mov eax, dword [eax + 4]
jmp 0x40adf8
add eax, 4
mov edi, dword [esp + 0xc4]
push eax
mov ecx, edi
call fcn.004026d0
cmp dword [esp + 0x30], esi
mov dword [esp + 0x14], ebx
jb 0x40ae1e
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.0044ed07
add esp, 4
mov eax, dword [esp + 0x34]
xor esi, esi
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], esi
mov byte [esp + 0x1c], 0
mov ecx, dword [eax + 4]
lea edx, [esp + 0x80]
mov dword [esp + 0x10], edx
mov dword [esp + ecx + 0x34], 0x4620e4
test byte [esp + 0x78], 1
mov dword [esp + 0xbc], 4
mov dword [esp + 0x38], 0x4620b0
je 0x40ae74
mov edx, dword [esp + 0x48]
mov eax, dword [edx]
push eax
call fcn.0044ed07
add esp, 4
mov eax, dword [esp + 0x48]
mov dword [eax], esi
mov ecx, dword [esp + 0x58]
mov dword [ecx], esi
mov edx, dword [esp + 0x68]
mov dword [edx], esi
mov eax, dword [esp + 0x4c]
mov dword [eax], esi
mov ecx, dword [esp + 0x5c]
mov dword [ecx], esi
mov edx, dword [esp + 0x6c]
mov dword [edx], esi
mov eax, dword [esp + 0x78]
and eax, 0xfffffffe
lea ecx, [esp + 0x38]
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], eax
call fcn.00408640
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 4]
mov dword [esp + ecx + 0x34], 0x462040
jmp 0x40b50a
cmp eax, ebx
jne 0x40afdf
mov eax, dword [esi]
push eax
lea edx, [esp + 0x38]
push 0x461fc8
push edx
call fcn.004097c0
add esp, 8
push eax
call fcn.004097c0
mov ecx, dword [esi + 0x20]
add esp, 8
test ecx, ecx
je 0x40af0c
mov eax, dword [esi + 0x24]
sub eax, ecx
sar eax, 2
test eax, eax
je 0x40af0c
lea eax, [esp + 0x34]
push 0x20
push eax
call fcn.004099d0
add esp, 8
xor ebp, ebp
mov bl, 5
mov ecx, dword [esi + 0x20]
test ecx, ecx
jne 0x40af1b
xor eax, eax
jmp 0x40af23
mov eax, dword [esi + 0x24]
sub eax, ecx
sar eax, 2
cmp ebp, eax
jge 0x40af78
mov eax, dword [esi + 0x20]
push edi
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [eax + ebp*4]
call fcn.0040ab20
mov eax, dword [eax]
push eax
lea edx, [esp + 0x38]
push edx
mov byte [esp + 0xc4], bl
call fcn.004097c0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
add esp, 8
mov byte [esp + 0xbc], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40af75
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
inc ebp
jmp 0x40af10
lea eax, [esp + 0x34]
push 0x461fcc
push eax
call fcn.004097c0
add esp, 8
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x38]
call fcn.0040a050
mov ecx, dword [eax + 0x18]
mov esi, 0x10
cmp ecx, esi
mov byte [esp + 0xbc], 6
jb 0x40afb1
mov eax, dword [eax + 4]
jmp 0x40afb4
add eax, 4
mov edi, dword [esp + 0xc4]
push eax
mov ecx, edi
call fcn.004026d0
cmp dword [esp + 0x30], esi
mov dword [esp + 0x14], 1
jb 0x40b0e7
mov edx, dword [esp + 0x1c]
push edx
jmp 0x40b0df
cmp eax, 2
jne 0x40b060
mov esi, dword [esi + 4]
push esi
lea eax, [esp + 0x38]
push 0x461fd0
push eax
call fcn.004097c0
add esp, 8
push eax
call fcn.004097c0
lea ecx, [esp + 0x3c]
push 0x461fd8
push ecx
call fcn.004097c0
add esp, 0x10
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x38]
call fcn.0040a050
mov ecx, dword [eax + 0x18]
mov esi, 0x10
cmp ecx, esi
mov byte [esp + 0xbc], 7
jb 0x40b039
mov eax, dword [eax + 4]
jmp 0x40b03c
add eax, 4
mov edi, dword [esp + 0xc4]
push eax
mov ecx, edi
call fcn.004026d0
cmp dword [esp + 0x30], esi
mov dword [esp + 0x14], ebx
jb 0x40b0e7
mov eax, dword [esp + 0x1c]
push eax
jmp 0x40b0df
cmp eax, 3
jne 0x40b115
mov esi, dword [esi + 4]
push esi
lea ecx, [esp + 0x38]
push str.___CDATA_
push ecx
call fcn.004097c0
add esp, 8
push eax
call fcn.004097c0
lea edx, [esp + 0x3c]
push 0x461fe8
push edx
call fcn.004097c0
add esp, 0x10
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x38]
call fcn.0040a050
mov ecx, dword [eax + 0x18]
mov esi, 0x10
cmp ecx, esi
mov byte [esp + 0xbc], 8
jb 0x40b0be
mov eax, dword [eax + 4]
jmp 0x40b0c1
add eax, 4
mov edi, dword [esp + 0xc4]
push eax
mov ecx, edi
call fcn.004026d0
cmp dword [esp + 0x30], esi
mov dword [esp + 0x14], ebx
jb 0x40b0e7
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.0044ed07
add esp, 4
lea ecx, [esp + 0x80]
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], 0
mov byte [esp + 0x1c], 0
mov byte [esp + 0xbc], 0
call fcn.00409280
jmp 0x40b512
mov eax, dword [esi]
push eax
lea edx, [esp + 0x38]
push 0x3c
push edx
call fcn.004099d0
add esp, 8
push eax
call fcn.004097c0
mov ecx, dword [esi + 0x20]
add esp, 8
test ecx, ecx
je 0x40b152
mov eax, dword [esi + 0x24]
sub eax, ecx
sar eax, 2
test eax, eax
je 0x40b152
lea eax, [esp + 0x34]
push 0x20
push eax
call fcn.004099d0
add esp, 8
xor ebp, ebp
mov ecx, dword [esi + 0x20]
test ecx, ecx
jne 0x40b15f
xor eax, eax
jmp 0x40b167
mov eax, dword [esi + 0x24]
sub eax, ecx
sar eax, 2
cmp ebp, eax
jge 0x40b1bd
mov eax, dword [esi + 0x20]
push edi
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [eax + ebp*4]
call fcn.0040ab20
mov eax, dword [eax]
push eax
lea edx, [esp + 0x38]
push edx
mov byte [esp + 0xc4], 9
call fcn.004097c0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
add esp, 8
mov byte [esp + 0xbc], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b1ba
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
inc ebp
jmp 0x40b154
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x40b1d0
mov eax, dword [esi + 0x14]
sub eax, ecx
sar eax, 2
test eax, eax
jne 0x40b1f1
mov eax, dword [esi + 4]
mov ecx, dword [eax - 0xc]
test ecx, ecx
jne 0x40b1f1
lea ecx, [esp + 0x34]
push 0x462118
push ecx
call fcn.004097c0
add esp, 8
jmp 0x40b410
lea edx, [esp + 0x34]
push 0x3e
push edx
call fcn.004099d0
add esp, 8
test edi, edi
je 0x40b21f
cmp byte [edi], 0
je 0x40b21f
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x40b21f
mov eax, dword [esi + 0x14]
sub eax, ecx
sar eax, 2
test eax, eax
je 0x40b21f
inc dword [edi + 8]
xor ebp, ebp
mov bl, 0xa
mov ecx, dword [esi + 0x10]
test ecx, ecx
jne 0x40b22e
xor eax, eax
jmp 0x40b236
mov eax, dword [esi + 0x14]
sub eax, ecx
sar eax, 2
cmp ebp, eax
jge 0x40b28b
mov eax, dword [esi + 0x10]
push edi
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [eax + ebp*4]
call fcn.0040acd0
mov eax, dword [eax]
push eax
lea edx, [esp + 0x38]
push edx
mov byte [esp + 0xc4], bl
call fcn.004097c0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
add esp, 8
mov byte [esp + 0xbc], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b288
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
inc ebp
jmp 0x40b223
mov eax, dword [esi + 4]
lea ebx, [esi + 4]
push 0x4616a8
push eax
call fcn.0043c1ad
add esp, 8
test eax, eax
je 0x40b372
test edi, edi
je 0x40b2f7
cmp byte [edi], 0
je 0x40b2f7
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x40b2f7
mov eax, dword [esi + 0x14]
sub eax, ecx
sar eax, 2
test eax, eax
je 0x40b2f7
lea eax, [esp + 0x34]
push 0x46211c
push eax
call fcn.004097c0
mov eax, dword [edi + 8]
add esp, 8
xor ebp, ebp
test eax, eax
jle 0x40b2f7
mov edi, edi
lea ecx, [esp + 0x34]
push 9
push ecx
call fcn.004099d0
mov eax, dword [edi + 8]
add esp, 8
inc ebp
cmp ebp, eax
jl 0x40b2e0
mov al, byte [edi + 1]
test al, al
je 0x40b324
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x40b324
mov eax, dword [ebx]
push eax
lea edx, [esp + 0x14]
push edx
call fcn.0040a940
mov byte [esp + 0xbc], 0xb
mov dword [esp + 0x14], 2
jmp 0x40b326
mov eax, ebx
mov eax, dword [eax]
push eax
lea eax, [esp + 0x38]
push eax
call fcn.004097c0
mov al, byte [esp + 0x1c]
add esp, 8
test al, 2
mov dword [esp + 0xbc], 1
je 0x40b372
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
and edx, 0xfffffffd
add eax, 0xfffffff0
mov dword [esp + 0x14], edx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b372
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test edi, edi
je 0x40b3c8
cmp byte [edi], 0
je 0x40b3c8
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x40b3c8
mov eax, dword [esi + 0x14]
sub eax, ecx
sar eax, 2
test eax, eax
je 0x40b3c8
lea eax, [esp + 0x34]
push 0x46211c
push eax
call fcn.004097c0
mov ecx, dword [edi + 8]
add esp, 8
xor ebp, ebp
dec ecx
test ecx, ecx
jle 0x40b3c8
lea ebx, [ebx]
lea edx, [esp + 0x34]
push 9
push edx
call fcn.004099d0
mov eax, dword [edi + 8]
add esp, 8
inc ebp
dec eax
cmp ebp, eax
jl 0x40b3b0
mov eax, dword [esi]
push 0x3e
push eax
lea ecx, [esp + 0x3c]
push 0x462114
push ecx
call fcn.004097c0
add esp, 8
push eax
call fcn.004097c0
add esp, 8
push eax
call fcn.004099d0
add esp, 8
test edi, edi
je 0x40b410
cmp byte [edi], 0
je 0x40b410
mov eax, dword [esi + 0x10]
test eax, eax
je 0x40b410
mov esi, dword [esi + 0x14]
sub esi, eax
sar esi, 2
test esi, esi
je 0x40b410
dec dword [edi + 8]
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x38]
call fcn.0040a050
mov ecx, dword [eax + 0x18]
mov esi, 0x10
cmp ecx, esi
mov byte [esp + 0xbc], 0xc
jb 0x40b437
mov eax, dword [eax + 4]
jmp 0x40b43a
add eax, 4
mov edi, dword [esp + 0xc4]
push eax
mov ecx, edi
call fcn.004026d0
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x30]
or ecx, 1
cmp eax, esi
mov dword [esp + 0x14], ecx
jb 0x40b469
mov eax, dword [esp + 0x1c]
push eax
call fcn.0044ed07
add esp, 4
mov edx, dword [esp + 0x34]
xor esi, esi
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], esi
mov byte [esp + 0x1c], 0
mov eax, dword [edx + 4]
lea ecx, [esp + 0x80]
mov dword [esp + 0x10], ecx
mov dword [esp + eax + 0x34], 0x4620e4
test byte [esp + 0x78], 1
mov dword [esp + 0xbc], 0xd
mov dword [esp + 0x38], 0x4620b0
je 0x40b4bf
mov ecx, dword [esp + 0x48]
mov eax, dword [ecx]
push eax
call fcn.0044ed07
add esp, 4
mov edx, dword [esp + 0x48]
mov dword [edx], esi
mov eax, dword [esp + 0x58]
mov dword [eax], esi
mov ecx, dword [esp + 0x68]
mov dword [ecx], esi
mov edx, dword [esp + 0x4c]
mov dword [edx], esi
mov eax, dword [esp + 0x5c]
mov dword [eax], esi
mov ecx, dword [esp + 0x6c]
mov dword [ecx], esi
mov eax, dword [esp + 0x78]
and eax, 0xfffffffe
lea ecx, [esp + 0x38]
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], eax
call fcn.00408640
mov edx, dword [esp + 0x34]
mov eax, dword [edx + 4]
mov dword [esp + eax + 0x34], 0x462040
mov byte [esp + 0xbc], 0
lea ecx, [esp + 0x80]
mov dword [esp + 0x80], 0x462044
call fcn.0044ca43
mov ecx, dword [esp + 0xb4]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xb0
ret 8