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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52b431
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x53a090]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [ebp + 8]
mov dword [esi], 0x43c33c
xor eax, eax
mov dword [esi + 0x1c], 7
mov dword [esi + 0x18], 0
mov dword [ebp - 0x34], esi
mov word [esi + 8], ax
mov dword [ebp - 4], eax
mov dword [esi + 0x34], 7
mov dword [esi + 0x30], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x4c], 0x43c24c
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], eax
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], eax
mov dword [esi + 0x60], eax
mov dword [esi + 0x64], eax
xor ecx, ecx
mov dword [esi + 0x8c], 7
mov dword [esi + 0x88], eax
mov word [esi + 0x78], cx
mov dword [esi + 0xa4], 7
mov dword [esi + 0xa0], ecx
mov word [esi + 0x90], cx
lea edi, [esi + 0xa8]
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], ecx
mov word [edi], ax
mov dword [esi + 0xd4], 7
mov dword [esi + 0xd0], ecx
mov word [esi + 0xc0], cx
mov byte [ebp - 4], 7
mov al, byte [ebx + 4]
mov byte [esi + 4], al
lea eax, [ebp - 0x2c]
push eax
mov ecx, ebx
call fcn.004700b0
mov ecx, eax
lea eax, [esi + 8]
mov dword [ebp - 0x30], ecx
cmp eax, ecx
je 0x4765b9
cmp dword [eax + 0x14], 8
jb 0x47659e
push dword [eax]
call fcn.00510ee0
mov ecx, dword [ebp - 0x30]
add esp, 4
lea eax, [esi + 8]
xor edx, edx
push ecx
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], 0
mov ecx, eax
mov word [eax], dx
call fcn.00485ca0
cmp dword [ebp - 0x18], 8
jb 0x4765ca
push dword [ebp - 0x2c]
call fcn.00510ee0
add esp, 4
lea eax, [ebp - 0x2c]
push eax
mov ecx, ebx
call fcn.0046fdd0
mov ecx, eax
lea eax, [esi + 0x20]
mov dword [ebp - 0x30], ecx
cmp eax, ecx
je 0x476612
cmp dword [eax + 0x14], 8
jb 0x4765f7
push dword [eax]
call fcn.00510ee0
mov ecx, dword [ebp - 0x30]
add esp, 4
lea eax, [esi + 0x20]
xor edx, edx
push ecx
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], 0
mov ecx, eax
mov word [eax], dx
call fcn.00485ca0
cmp dword [ebp - 0x18], 8
jb 0x476623
push dword [ebp - 0x2c]
call fcn.00510ee0
add esp, 4
mov dword [esi + 0x44], 1
movzx eax, byte [ebx + 0x55]
mov byte [esi + 0x48], al
movzx eax, byte [ebx + 0x54]
mov byte [esi + 0x49], al
cmp byte [ebx + 4], 0
je 0x47664e
cmp byte [ebx + 0x124], 0
je 0x47664e
mov eax, 1
jmp 0x476650
xor eax, eax
mov byte [esi + 0x4a], al
lea eax, [ebx + 0x68]
push eax
lea ecx, [esi + 0x4c]
call fcn.004707c0
push 0
push 0x407d38
lea ecx, [esi + 0x78]
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], 0
mov dword [esi + 0x70], 0
mov dword [esi + 0x74], 0
call fcn.004878c0
push 0
push 0x407d38
lea ecx, [esi + 0x90]
call fcn.004878c0
lea eax, [ebp - 0x2c]
push eax
mov ecx, ebx
call fcn.0046fff0
mov ebx, eax
cmp edi, ebx
je 0x4766d4
cmp dword [edi + 0x14], 8
jb 0x4766b9
push dword [edi]
call fcn.00510ee0
add esp, 4
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
push ebx
mov ecx, edi
mov word [edi], ax
call fcn.00485ca0
cmp dword [ebp - 0x18], 8
jb 0x4766e5
push dword [ebp - 0x2c]
call fcn.00510ee0
add esp, 4
push 0
push 0x407d38
lea ecx, [esi + 0xc0]
call fcn.004878c0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0050ecf7
mov esp, ebp
pop ebp
ret 4