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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x49a73d
mov eax, dword fs:[0]
push eax
sub esp, 0x15c
mov eax, dword [0x4bf490]
xor eax, esp
mov dword [esp + 0x154], eax
push esi
push edi
mov eax, dword [0x4bf490]
xor eax, esp
push eax
lea eax, [esp + 0x168]
mov dword fs:[0], eax
cmp dword [ebx + 0x140], 0
je 0x473712
lea esi, [ebx + 0x124]
mov eax, esi
call fcn.00473f30
lea ecx, [esp + 0xf4]
push ecx
mov edi, eax
call fcn.004612a2
xor edi, edi
mov dword [esp + 0x170], edi
cmp dword [esi + 0x1c], edi
je 0x47340d
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x10]
push dword [ecx + eax*4]
call fcn.00402e6a
inc dword [esi + 0x18]
mov eax, dword [esi + 0x18]
cmp dword [esi + 0x14], eax
ja 0x473405
mov dword [esi + 0x18], edi
dec dword [esi + 0x1c]
jne 0x47340d
mov dword [esi + 0x18], edi
mov eax, dword [esp + 0x134]
mov byte [esp + 0x13], 1
cmp eax, 0x7d8
jne 0x473452
lea eax, [esp + 0xf8]
mov ecx, ebx
call fcn.0047329e
test al, al
jne 0x4736ac
or dword [esp + 0x170], 0xffffffff
lea eax, [esp + 0xf4]
push eax
call fcn.00402e6a
xor al, al
jmp 0x473714
cmp eax, 0x1398
jne 0x473478
push dword [esp + 0x13c]
mov ecx, dword [ebx + 0xc4]
mov eax, dword [ecx]
lea edx, [esp + 0xfc]
push edx
call dword [eax + 0x18]
jmp 0x4736ac
cmp eax, 0x7da
jne 0x473496
mov ecx, dword [ebx + 0xc4]
push dword [esp + 0x13c]
mov eax, dword [ecx]
call dword [eax + 0x20]
jmp 0x4736ac
cmp eax, 0x13a0
jne 0x4734d2
push edi
sub esp, 0x1c
push 7
pop ecx
mov edi, esp
push dword [esp + 0x158]
lea esi, [esp + 0x11c]
push dword [esp + 0x160]
rep movsd dword es:[edi], dword [esi]
push dword [ebx + 0xb4]
call fcn.0046409c
add esp, 0x2c
xor edi, edi
jmp 0x4736ac
cmp eax, 0x7d9
jne 0x4736ac
push 7
pop esi
push edi
lea ecx, [esp + 0x148]
mov dword [esp + 0x160], esi
call fcn.0040290d
mov byte [esp + 0x170], 1
push edi
lea ecx, [esp + 0xdc]
mov dword [esp + 0xf4], esi
call fcn.0040290d
mov byte [esp + 0x170], 2
cmp dword [esp + 0x10c], edi
je 0x473605
lea esi, [esp + 0x14]
lea eax, [esp + 0xf8]
call fcn.00436000
mov ecx, eax
call fcn.00408df8
xor edi, edi
cmp word [eax], 0x5b
jne 0x473605
mov eax, dword [esp + 0x10c]
add eax, 0xfffffffe
push eax
inc edi
push edi
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x104]
push eax
call fcn.00408f2b
mov byte [esp + 0x170], 3
mov ecx, dword [ebx + 0xc4]
mov edx, dword [ecx]
push eax
lea eax, [esp + 0x20]
push eax
call dword [edx]
mov byte [esp + 0x170], 4
push 0xffffffffffffffff
xor esi, esi
push esi
push eax
lea ecx, [esp + 0xe4]
call fcn.00403486
mov byte [esp + 0x170], 3
push esi
push edi
lea ecx, [esp + 0x24]
call fcn.0040292b
mov byte [esp + 0x170], 2
push esi
push edi
lea ecx, [esp + 0x5c]
call fcn.0040292b
mov ecx, dword [ebx + 0xc4]
mov eax, dword [ecx]
lea edx, [esp + 0xd8]
push edx
lea edx, [esp + 0x3c]
push edx
call dword [eax]
mov byte [esp + 0x170], 5
push 0xffffffffffffffff
push esi
push eax
lea ecx, [esp + 0x150]
call fcn.00403486
mov byte [esp + 0x170], 2
push esi
push edi
lea ecx, [esp + 0x40]
call fcn.0040292b
xor edi, edi
jmp 0x47365f
push 0xffffffffffffffff
push edi
lea eax, [esp + 0x100]
push eax
lea ecx, [esp + 0xe4]
call fcn.00403486
mov ecx, dword [ebx + 0xc4]
mov eax, dword [ecx]
lea edx, [esp + 0xf8]
push edx
lea edx, [esp + 0x74]
push edx
call dword [eax]
mov byte [esp + 0x170], 6
push 0xffffffffffffffff
push edi
push eax
lea ecx, [esp + 0x150]
call fcn.00403486
mov byte [esp + 0x170], 2
push edi
push 1
lea ecx, [esp + 0x78]
call fcn.0040292b
mov ecx, dword [ebx + 0xc4]
mov eax, dword [ecx]
lea edx, [esp + 0x144]
push edx
lea edx, [esp + 0xdc]
push edx
call dword [eax + 0x1c]
mov byte [esp + 0x13], al
mov byte [esp + 0x170], 1
push edi
push 1
lea ecx, [esp + 0xe0]
call fcn.0040292b
mov byte [esp + 0x170], 0
push edi
push 1
lea ecx, [esp + 0x14c]
call fcn.0040292b
xor eax, eax
cmp byte [esp + 0x13], al
setne al
push eax
push 0x13ad
lea eax, [esp + 0x94]
push eax
call fcn.0045e54a
mov byte [esp + 0x170], 7
mov ecx, dword [ebx + 0xc8]
mov edx, dword [ecx]
push eax
call dword [edx + 8]
mov byte [esp + 0x170], 0
lea eax, [esp + 0x8c]
push eax
call fcn.00402e6a
or dword [esp + 0x170], 0xffffffff
lea eax, [esp + 0xf4]
push eax
call fcn.00402e6a
cmp dword [ebx + 0x140], edi
jne 0x4733bf
mov al, 1
mov ecx, dword [esp + 0x168]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x154]
xor ecx, esp
call fcn.00476b4b
mov esp, ebp
pop ebp
ret