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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x55dab0
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x5c04b4]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
push edi
mov eax, dword [0x5c04b4]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov esi, edx
mov dword [esp + 0x28], esi
mov edi, ecx
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x4873f0
mov eax, dword [esi]
jmp 0x4873f2
mov eax, esi
xor ecx, ecx
mov word [eax], cx
cmp dword [edi], 9
jne 0x48761c
mov dword [esp + 0x24], ecx
lea edx, [esp + 0x24]
mov ecx, edi
call fcn.00440ca0
cmp dword [esp + 0x24], 0
jle 0x48761c
push 0
lea eax, [esp + 0x50]
mov ecx, edi
push eax
call fcn.00448c30
mov dword [esp + 0x80], 0
cmp dword [eax], 5
setne bl
mov dword [esp + 0x80], 0xffffffff
lea ecx, [esp + 0x4c]
call fcn.00440820
test bl, bl
jne 0x48761c
push 0
lea eax, [esp + 0x30]
mov ecx, edi
push eax
call fcn.00448c30
mov dword [esp + 0x80], 1
lea ecx, [esp + 0x1c]
push 0x574c4c
push ecx
mov ecx, eax
call fcn.00448b10
mov byte [esp + 0x80], 2
mov eax, dword [eax]
test eax, eax
je 0x487492
add eax, 8
jmp 0x487497
mov eax, 0x5c6a88
push eax
mov ecx, esi
call fcn.0041d5b0
mov byte [esp + 0x80], 1
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4874ce
dec dword [eax]
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
jne 0x4874ce
push dword [esp + 0x1c]
call dword [sym.imp.MSVCR120.dll_free]
add esp, 4
mov dword [esp + 0x1c], 0
mov dword [esp + 0x80], 0xffffffff
lea ecx, [esp + 0x2c]
call fcn.00440820
lea edx, [esp + 0x14]
mov dword [esp + 0x14], 0
mov ecx, edi
mov esi, 1
call fcn.00440ca0
cmp dword [esp + 0x14], esi
jle 0x48761c
push esi
lea eax, [esp + 0x40]
mov ecx, edi
push eax
call fcn.00448c30
mov dword [esp + 0x80], 3
cmp dword [eax], 5
sete bl
mov dword [esp + 0x80], 0xffffffff
lea ecx, [esp + 0x3c]
call fcn.00440820
test bl, bl
je 0x4875fe
mov ebx, dword [esp + 0x28]
mov ecx, ebx
push 0x2c
push 1
call fcn.0041e2e0
push esi
lea eax, [esp + 0x60]
mov ecx, edi
push eax
call fcn.00448c30
mov dword [esp + 0x80], 4
lea ecx, [esp + 0x18]
push 0x574c4c
push ecx
mov ecx, eax
call fcn.00448b10
mov byte [esp + 0x80], 5
mov edx, dword [eax]
test edx, edx
je 0x487589
add edx, 8
jmp 0x48758e
mov edx, 0x5c6a88
cmp word [edx], 0
jne 0x487598
xor eax, eax
jmp 0x4875b2
mov eax, edx
lea ecx, [eax + 2]
mov dword [esp + 0x20], ecx
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4875a1
sub eax, dword [esp + 0x20]
sar eax, 1
push eax
push edx
mov ecx, ebx
call fcn.0041e200
mov byte [esp + 0x80], 4
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4875ea
dec dword [eax]
mov eax, dword [esp + 0x18]
mov eax, dword [eax]
jne 0x4875ea
push dword [esp + 0x18]
call dword [sym.imp.MSVCR120.dll_free]
add esp, 4
mov dword [esp + 0x18], 0
mov dword [esp + 0x80], 0xffffffff
lea ecx, [esp + 0x5c]
call fcn.00440820
lea edx, [esp + 0x14]
mov dword [esp + 0x14], 0
mov ecx, edi
inc esi
call fcn.00440ca0
cmp esi, dword [esp + 0x14]
jl 0x487504
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.00553510
mov esp, ebp
pop ebp
ret