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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5f12b9
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x66d060]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
push edi
mov eax, dword [0x66d060]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
xor eax, eax
mov dword [esp + 0x18], eax
mov ecx, edi
mov dword [esp + 0x14], eax
mov eax, dword [edi]
push dword [eax + 4]
call fcn.00472f80
mov eax, dword [edi]
mov dword [esp + 0x18], 0
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], 0
mov ecx, dword [esi + 4]
push eax
call fcn.0046e970
test al, al
je 0x471f72
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x1c]
push eax
mov bl, 1
call fcn.0045d950
mov dword [esp + 0x80], 0
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
mov eax, 0xf
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], eax
mov byte [esp + 0x40], 0
mov byte [esp + 0x80], 2
mov ecx, dword [esp + 0x1c]
mov esi, ecx
cmp ecx, dword [esp + 0x20]
je 0x471f0f
test bl, bl
je 0x471f0b
push 0xa
push str.MapPrefKey
lea ecx, [esp + 0x60]
mov dword [esp + 0x74], 0xf
mov dword [esp + 0x70], 0
mov byte [esp + 0x60], 0
call fcn.00460dd0
lea eax, [esp + 0x40]
mov byte [esp + 0x80], 3
mov ecx, dword [esi]
push eax
lea eax, [esp + 0x5c]
push eax
call fcn.0046e7a0
mov byte [esp + 0x80], 2
mov bh, al
cmp dword [esp + 0x6c], 0x10
jb 0x471e49
push dword [esp + 0x58]
call fcn.00496180
add esp, 4
test bh, bh
je 0x471edb
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x34]
call fcn.0045f9d0
mov ecx, dword [esi]
lea edx, [esp + 0x58]
push edx
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov byte [esp + 0x80], 4
mov ecx, dword [esp + 0x14]
or ecx, 1
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x13]
push ecx
push eax
call fcn.00463000
test al, al
mov dword [esp + 0x80], 2
mov eax, dword [esp + 0x14]
setne bh
test al, 1
je 0x471ec3
and eax, 0xfffffffe
cmp dword [esp + 0x6c], 0x10
mov dword [esp + 0x14], eax
jb 0x471ec3
push dword [esp + 0x58]
call fcn.00496180
add esp, 4
mov ecx, edi
test bh, bh
je 0x471edd
lea eax, [esp + 0x28]
push eax
call fcn.00472db0
mov cl, byte [esp + 0x13]
mov byte [eax], cl
jmp 0x471efe
mov ecx, edi
mov eax, dword [edi]
xor bl, bl
push dword [eax + 4]
call fcn.00472f80
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 0x471de6
mov eax, dword [esp + 0x54]
cmp eax, 0x10
jb 0x471f20
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 0x471f48
push dword [esp + 0x28]
call fcn.00496180
add esp, 4
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
test eax, eax
je 0x471f6e
push eax
call fcn.00496180
add esp, 4
mov al, bl
jmp 0x471f95
mov eax, dword [edi]
mov ecx, edi
push dword [eax + 4]
call fcn.00472f80
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], 0
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.0055337c
mov esp, ebp
pop ebp
ret 4