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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5f13c7
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x66d060]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push esi
push edi
mov eax, dword [0x66d060]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov ecx, edi
mov eax, dword [edi]
push dword [eax + 4]
call fcn.00460390
mov eax, dword [edi]
mov dword [esp + 0x18], ebx
mov dword [eax + 4], eax
mov eax, dword [edi]
mov dword [eax], eax
mov eax, dword [edi]
mov dword [eax + 8], eax
lea eax, [esp + 0x18]
push eax
lea eax, [esi + 8]
mov dword [edi + 4], ebx
mov ecx, dword [esi + 4]
push eax
call fcn.0046e970
test al, al
je 0x472630
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x1c]
push eax
mov byte [esp + 0x1a], 1
call fcn.0045d950
mov dword [esp + 0x98], ebx
mov dword [esp + 0x6c], 0xf
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
mov eax, 0xf
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], eax
mov byte [esp + 0x40], bl
mov byte [esp + 0x98], 3
mov ecx, dword [esp + 0x1c]
mov esi, ecx
cmp ecx, dword [esp + 0x20]
je 0x4725a3
cmp byte [esp + 0x16], 0
je 0x47259f
push 0xa
push str.MapPrefKey
lea ecx, [esp + 0x78]
mov dword [esp + 0x8c], 0xf
mov dword [esp + 0x88], 0
mov byte [esp + 0x78], 0
call fcn.00460dd0
lea eax, [esp + 0x40]
mov byte [esp + 0x98], 4
mov ecx, dword [esi]
push eax
lea eax, [esp + 0x74]
push eax
call fcn.0046e7a0
mov byte [esp + 0x98], 3
cmp dword [esp + 0x84], 0x10
mov byte [esp + 0x17], al
jb 0x4724da
push dword [esp + 0x70]
call fcn.00496180
mov al, byte [esp + 0x1b]
add esp, 4
test al, al
je 0x47256c
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x64]
call fcn.0045f9d0
mov ecx, dword [esi]
lea edx, [esp + 0x70]
push edx
mov eax, dword [ecx]
call dword [eax + 0x1c]
or ebx, 1
mov byte [esp + 0x98], 5
lea ecx, [esp + 0x28]
mov dword [esp + 0x18], ebx
cmp ecx, eax
je 0x472521
push 0xffffffffffffffff
push 0
push eax
call fcn.0045f9d0
mov dword [esp + 0x98], 3
test bl, 1
je 0x47254a
and ebx, 0xfffffffe
cmp dword [esp + 0x84], 0x10
jb 0x47254a
push dword [esp + 0x70]
call fcn.00496180
add esp, 4
lea eax, [esp + 0x58]
mov ecx, edi
push eax
call fcn.00472d20
lea ecx, [esp + 0x28]
cmp eax, ecx
je 0x472592
push 0xffffffffffffffff
push 0
push ecx
mov ecx, eax
call fcn.0045f9d0
jmp 0x472592
mov eax, dword [edi]
mov ecx, edi
mov byte [esp + 0x16], 0
push dword [eax + 4]
call fcn.00460390
mov eax, dword [edi]
mov dword [eax + 4], eax
mov eax, dword [edi]
mov dword [eax], eax
mov eax, dword [edi]
mov dword [eax + 8], eax
mov dword [edi + 4], 0
add esi, 4
cmp esi, dword [esp + 0x20]
jne 0x472465
mov eax, dword [esp + 0x54]
cmp eax, 0x10
jb 0x4725b4
push dword [esp + 0x40]
call fcn.00496180
add esp, 4
cmp dword [esp + 0x3c], 0x10
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], 0
mov byte [esp + 0x40], 0
jb 0x4725dc
push dword [esp + 0x28]
call fcn.00496180
add esp, 4
cmp dword [esp + 0x6c], 0x10
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
jb 0x472604
push dword [esp + 0x58]
call fcn.00496180
add esp, 4
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x6c], 0xf
mov dword [esp + 0x68], 0
mov byte [esp + 0x58], 0
test eax, eax
je 0x47262a
push eax
call fcn.00496180
add esp, 4
mov al, byte [esp + 0x16]
jmp 0x47264f
mov eax, dword [edi]
mov ecx, edi
push dword [eax + 4]
call fcn.00460390
mov eax, dword [edi]
mov dword [eax + 4], eax
mov eax, dword [edi]
mov dword [eax], eax
mov eax, dword [edi]
mov dword [eax + 8], eax
mov al, 1
mov dword [edi + 4], ebx
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.0055337c
mov esp, ebp
pop ebp
ret 4