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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x59d43f
mov eax, dword fs:[0]
push eax
sub esp, 0x160
mov eax, dword [0x6204e0]
xor eax, esp
mov dword [esp + 0x158], eax
push ebx
push esi
push edi
mov eax, dword [0x6204e0]
xor eax, esp
push eax
lea eax, [esp + 0x170]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov esi, ecx
push str..___.__._
lea ecx, [esp + 0x138]
call fcn.004194c0
xor ebx, ebx
push str._.___.__
lea ecx, [esp + 0x104]
mov dword [esp + 0x17c], ebx
call fcn.004194c0
mov eax, dword [esi + 0x18]
mov ecx, dword [eax + 4]
push ecx
mov ecx, esi
mov byte [esp + 0x17c], 1
call fcn.0046c020
mov eax, dword [esi + 0x18]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x18]
mov dword [esi + 0x1c], ebx
mov dword [eax], eax
mov eax, dword [esi + 0x18]
mov dword [eax + 8], eax
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
push 0xf4240
lea edx, [esp + 0x14]
push edx
push edi
mov byte [esp + 0x184], 2
call fcn.00445710
add esp, 0xc
test al, al
mov eax, dword [esp + 0x10]
jne 0x46c967
cmp eax, ebx
je 0x46c936
push eax
call sub.MSVCR90.dll_free
add esp, 4
mov dword [esp + 0x14], ebx
lea ecx, [esp + 0x100]
mov byte [esp + 0x178], bl
call fcn.00470b80
lea ecx, [esp + 0x134]
mov dword [esp + 0x178], 0xffffffff
call fcn.00470b80
xor al, al
jmp 0x46cdda
mov dword [esp + 0x30], eax
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x46c970
sub eax, edx
mov dword [esp + 0x34], eax
lea eax, [esp + 0x6c]
push eax
push str._.___x0ax0d_
lea ecx, [esp + 0xd4]
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], 4
call fcn.0046ade0
mov eax, 0xf
mov dword [esp + 0x90], eax
mov dword [esp + 0x8c], ebx
mov byte [esp + 0x7c], bl
mov dword [esp + 0xac], eax
mov dword [esp + 0xa8], ebx
mov byte [esp + 0x98], bl
mov dword [esp + 0xc8], eax
mov dword [esp + 0xc4], ebx
mov byte [esp + 0xb4], bl
push 0x6188dc
push 0x6188dc
push 0x6188dc
push 0x6188dc
push 0x6188dc
push 0x6188dc
push 0x6188dc
push 0x6188dc
push 0x6188dc
push 0x6188dc
push 0x6188dc
push 0x6188dc
push 0x6188dc
push 0x6188dc
push 0x6188dc
lea edx, [esp + 0x54]
lea ecx, [esp + 0xb4]
push edx
lea eax, [esp + 0x70]
mov dword [esp + 0x58], ecx
push eax
lea ecx, [esp + 0x110]
mov byte [esp + 0x1bc], 6
xor edi, edi
mov dword [esp + 0x60], 0x470c80
call fcn.00470560
test al, al
je 0x46ccf7
lea ebx, [ebx]
cmp dword [esp + 0x90], 0x10
lea ecx, [esp + 0x94]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], 0x470c80
jb 0x46ca97
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x20], edx
jmp 0x46ca9f
lea eax, [esp + 0x7c]
mov dword [esp + 0x20], eax
push 0x6188dc
push 0x6188dc
push 0x6188dc
push 0x6188dc
mov ecx, dword [esp + 0x9c]
push 0x6188dc
push 0x6188dc
push 0x6188dc
push 0x6188dc
push 0x6188dc
push 0x6188dc
push 0x6188dc
push 0x6188dc
push 0x6188dc
push 0x6188dc
push 0x6188dc
lea edx, [esp + 0x7c]
push edx
lea eax, [esp + 0x60]
mov dword [esp + 0x64], ecx
push eax
lea ecx, [esp + 0x178]
call fcn.004701a0
lea ecx, [esp + 0x94]
test al, al
je 0x46cb35
push ecx
call fcn.0043e250
add esp, 4
lea edx, [esp + 0x94]
push edx
mov ecx, esi
call fcn.0046dad0
mov edi, eax
jmp 0x46cc7b
cmp dword [esp + 0x90], 0x10
lea eax, [esp + 0xb0]
mov dword [esp + 0x48], eax
mov eax, 0x470c80
mov dword [esp + 0x4c], eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], eax
jb 0x46cb65
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x28], edx
jmp 0x46cb6d
lea eax, [esp + 0x7c]
mov dword [esp + 0x28], eax
push 0x6188dc
push 0x6188dc
push 0x6188dc
mov ecx, dword [esp + 0x98]
push 0x6188dc
push 0x6188dc
push 0x6188dc
push 0x6188dc
push 0x6188dc
push 0x6188dc
push 0x6188dc
push 0x6188dc
push 0x6188dc
push 0x6188dc
push 0x6188dc
lea edx, [esp + 0x80]
push edx
mov dword [esp + 0x68], ecx
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x68]
push ecx
lea ecx, [esp + 0x144]
call fcn.004701a0
test al, al
je 0x46cc7b
cmp edi, ebx
jne 0x46cc4a
push 7
push str.general
lea ecx, [esp + 0x58]
mov dword [esp + 0x70], 0xf
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
call fcn.0040bad0
lea edx, [esp + 0x50]
push edx
mov ecx, esi
mov byte [esp + 0x17c], 7
call fcn.0046dad0
cmp dword [esp + 0x68], 0x10
mov edi, eax
mov byte [esp + 0x178], 6
jb 0x46cc3a
mov eax, dword [esp + 0x54]
push eax
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x68], 0xf
mov dword [esp + 0x64], ebx
mov byte [esp + 0x54], bl
lea ecx, [esp + 0x94]
push ecx
call fcn.0043e250
add esp, 4
lea edx, [esp + 0x94]
push edx
mov ecx, edi
call fcn.0046d220
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0xb8]
push ecx
mov ecx, eax
call fcn.0040b880
push 0x6188dc
push 0x6188dc
push 0x6188dc
push 0x6188dc
push 0x6188dc
push 0x6188dc
push 0x6188dc
push 0x6188dc
push 0x6188dc
push 0x6188dc
push 0x6188dc
push 0x6188dc
push 0x6188dc
push 0x6188dc
push 0x6188dc
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x70]
lea edx, [esp + 0xb8]
push ecx
lea ecx, [esp + 0x110]
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], 0x470c80
call fcn.00470560
test al, al
jne 0x46ca70
mov edi, 0x10
cmp dword [esp + 0xc8], edi
jb 0x46cd15
mov edx, dword [esp + 0xb4]
push edx
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
mov esi, 0xf
mov dword [esp + 0xc8], esi
mov dword [esp + 0xc4], ebx
mov byte [esp + 0xb4], bl
cmp dword [esp + 0xac], edi
jb 0x46cd48
mov eax, dword [esp + 0x98]
push eax
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0xac], esi
mov dword [esp + 0xa8], ebx
mov byte [esp + 0x98], bl
cmp dword [esp + 0x90], edi
jb 0x46cd73
mov ecx, dword [esp + 0x7c]
push ecx
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
lea ecx, [esp + 0xcc]
mov dword [esp + 0x90], esi
mov dword [esp + 0x8c], ebx
mov byte [esp + 0x7c], bl
mov byte [esp + 0x178], 2
call fcn.00470b80
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x46cdae
push eax
call sub.MSVCR90.dll_free
add esp, 4
mov dword [esp + 0x14], ebx
lea ecx, [esp + 0x100]
mov byte [esp + 0x178], bl
call fcn.00470b80
lea ecx, [esp + 0x134]
mov dword [esp + 0x178], 0xffffffff
call fcn.00470b80
mov al, 1
mov ecx, dword [esp + 0x170]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x158]
xor ecx, esp
call fcn.0058ecc6
mov esp, ebp
pop ebp
ret 4