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

Disassembly:
push 0xffffffffffffffff
push 0x46fa99
mov eax, dword fs:[0]
push eax
sub esp, 0x80
push ebx
push ebp
push esi
push edi
mov eax, dword [0x48b914]
xor eax, esp
push eax
lea eax, [esp + 0x94]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x9c], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], ebx
push ebx
lea eax, [esp + 0x48]
push eax
push 9
push 2
push 0xcb
push ecx
mov byte [esp + 0xb4], 2
call fcn.0043f6c3
mov eax, dword [esp + 0x5c]
add esp, 0x18
mov edi, eax
mov dword [esp + 0x34], edi
cmp eax, ebx
je 0x406efe
mov edx, dword [eax]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [edi]
mov edx, dword [eax]
lea ecx, [esp + 0x1c]
push ecx
push 0x47ae60
push edi
mov dword [esp + 0x54], edi
call edx
mov eax, dword [esp + 0x1c]
cmp eax, ebx
jne 0x406f34
mov byte [esp + 0x9c], 1
mov ecx, dword [esp + 0x14]
cmp ecx, ebx
je 0x406ed1
mov eax, dword [ecx]
push ecx
mov ecx, dword [eax + 8]
call ecx
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x9c], bl
cmp eax, ebx
je 0x406ee4
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [esp + 0x9c], 0xffffffff
mov ecx, dword [edi]
mov edx, dword [ecx + 8]
push edi
call edx
xor al, al
jmp 0x407299
mov byte [esp + 0x9c], 1
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x406f16
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x9c], bl
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x406f2d
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
xor al, al
jmp 0x407299
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
push eax
mov eax, dword [ecx + 0x34]
call eax
cmp eax, ebx
jge 0x406f8e
mov byte [esp + 0x9c], 1
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x406f5d
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x9c], bl
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x406f74
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x9c], 0xffffffff
mov eax, dword [edi]
mov ecx, dword [eax + 8]
push edi
call ecx
xor al, al
jmp 0x407299
mov dword [esp + 0x38], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x30], ebx
lea esi, [esp + 0x78]
call fcn.00407470
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x18], ebx
mov byte [esp + 0x9c], 9
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
mov edx, dword [edx + 0x24]
lea ecx, [esp + 0x38]
push ecx
push eax
call edx
xor ebp, ebp
cmp dword [esp + 0x38], ebx
jle 0x407193
jmp 0x406fe0
mov edx, dword [esp + 0x14]
mov esi, dword [edx]
mov eax, 3
mov ecx, eax
mov word [esp + 0x64], ax
mov word [esp + 0x54], cx
mov edi, dword [esp + 0x54]
lea eax, [esp + 0x20]
push eax
sub esp, 0x10
mov eax, esp
mov dword [eax], edi
mov edi, dword [esp + 0x6c]
mov dword [eax + 4], edi
xor ecx, ecx
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x74]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x78]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x8c]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x94]
push edx
mov edx, dword [esi + 0x2c]
mov dword [eax + 8], ebp
mov dword [eax + 0xc], ecx
call edx
cmp eax, ebx
jl 0x4072b5
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
lea edx, [esp + 0x24]
push edx
push 0x47ae20
push eax
mov eax, dword [ecx]
call eax
cmp eax, ebx
jl 0x4073c4
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
lea edx, [esp + 0x2c]
push edx
push eax
mov eax, dword [ecx + 0x124]
call eax
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
lea edx, [esp + 0x28]
push edx
push eax
mov eax, dword [ecx + 0x100]
call eax
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
lea edx, [esp + 0x30]
push edx
push 0x47ae40
push eax
mov eax, dword [ecx]
call eax
cmp eax, ebx
jl 0x40741a
mov eax, dword [esp + 0x30]
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
push eax
mov eax, dword [ecx + 0xb0]
call eax
cmp eax, ebx
jl 0x407184
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
lea edx, [esp + 0x4c]
push edx
push eax
mov eax, dword [ecx + 0x20]
call eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
lea edx, [esp + 0x40]
push edx
push eax
mov eax, dword [ecx + 0x38]
call eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
lea edx, [esp + 0x3c]
push edx
push eax
mov eax, dword [ecx + 0x30]
call eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
lea edx, [esp + 0x50]
push edx
push eax
mov eax, dword [ecx + 0x28]
call eax
mov ecx, dword [esp + 0x3c]
mov esi, dword [esp + 0x40]
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x4c]
sub ecx, edx
sub esi, eax
cmp eax, ebx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], esi
jle 0x407184
cmp edx, ebx
jle 0x407184
cmp esi, ebx
jle 0x407184
cmp ecx, ebx
jle 0x407184
mov dword [esp + 0x80], ecx
mov ecx, dword [esp + 0x2c]
push ecx
lea ecx, [esp + 0x8c]
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], eax
mov dword [esp + 0x88], esi
call fcn.00409320
mov edx, dword [esp + 0x28]
push edx
lea ecx, [esp + 0x90]
call fcn.00409320
mov edi, dword [esp + 0xa4]
lea eax, [esp + 0x78]
push eax
call fcn.00409630
inc ebp
cmp ebp, dword [esp + 0x38]
jl 0x406fe0
mov edi, dword [esp + 0x34]
mov byte [esp + 0x9c], 8
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x4071ab
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x28]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push eax
call esi
mov ecx, dword [esp + 0x2c]
push ecx
call esi
mov byte [esp + 0x9c], 5
mov eax, dword [esp + 0x8c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4071ea
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x88]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40720d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x9c], 4
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x407225
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x9c], 3
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x40723d
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x9c], 2
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x407255
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x9c], 1
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x40726d
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x9c], bl
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x407284
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x9c], 0xffffffff
mov eax, dword [edi]
mov ecx, dword [eax + 8]
push edi
call ecx
mov al, 1
mov ecx, dword [esp + 0x94]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x8c
ret 4
mov byte [esp + 0x9c], 8
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x4072cd
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x28]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push eax
call esi
mov ecx, dword [esp + 0x2c]
push ecx
call esi
mov byte [esp + 0x9c], 5
mov eax, dword [esp + 0x8c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40730c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x88]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40732f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x9c], 4
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x407347
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x9c], 3
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x40735f
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x9c], 2
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x407377
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x9c], 1
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x40738f
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x9c], bl
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x4073a6
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x34]
mov dword [esp + 0x9c], 0xffffffff
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
xor al, al
jmp 0x407299
mov byte [esp + 0x9c], 8
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x4073dc
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x28]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push eax
call esi
mov ecx, dword [esp + 0x2c]
push ecx
call esi
lea esi, [esp + 0x78]
call fcn.004074c0
mov byte [esp + 0x9c], 4
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x407347
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
jmp 0x407347
mov byte [esp + 0x9c], 8
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x407432
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x28]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push eax
call esi
mov ecx, dword [esp + 0x2c]
push ecx
call esi
lea esi, [esp + 0x78]
call fcn.004074c0
mov byte [esp + 0x9c], 4
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x407347
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
jmp 0x407347