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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5f145e
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x66d060]
xor eax, esp
mov dword [esp + 0x90], eax
push ebx
push esi
push edi
mov eax, dword [0x66d060]
xor eax, esp
push eax
lea eax, [esp + 0xa8]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x20], edi
xor ebx, ebx
mov dword [esp + 0x1c], ebx
mov eax, dword [edi + 4]
mov byte [esp + 0x13], bl
mov ecx, dword [eax + 0x78]
test ecx, ecx
je 0x472735
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test al, al
jne 0x472735
mov esi, dword [edi + 4]
mov ecx, dword [esi + 0x78]
test ecx, ecx
je 0x47272a
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test al, al
jne 0x47270d
mov ecx, dword [esi + 0x78]
mov eax, dword [ecx]
mov eax, dword [eax]
call eax
mov dl, al
mov byte [esp + 0x13], dl
test dl, dl
je 0x472735
mov ecx, esi
call fcn.0045de30
mov dl, al
mov byte [esp + 0x13], dl
test dl, dl
jne 0x472735
mov ecx, dword [esi + 0x78]
push 0
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x472735
mov ecx, esi
call fcn.0045de30
mov byte [esp + 0x13], al
mov eax, dword [edi + 4]
mov ecx, dword [eax + 0x78]
test ecx, ecx
je 0x47274e
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test al, al
je 0x47299c
push 0x64
call fcn.005540f2
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0xb0], 0
test eax, eax
je 0x47277e
lea ecx, [edi + 8]
push ecx
mov ecx, eax
call fcn.0045d100
mov edx, eax
mov dword [esp + 0x14], eax
jmp 0x472784
xor edx, edx
mov dword [esp + 0x14], edx
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], 0
mov byte [esp + 0x40], 0
mov dword [esp + 0xb0], 1
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
mov dword [esp + 0x9c], 0xf
mov dword [esp + 0x98], 0
mov byte [esp + 0x88], 0
mov eax, dword [ebp + 8]
mov byte [esp + 0xb0], 3
mov eax, dword [eax]
mov ecx, dword [eax]
mov dword [esp + 0x18], ecx
cmp ecx, eax
je 0x472938
lea edi, [ecx + 0x10]
lea eax, [esp + 0x28]
cmp eax, edi
je 0x472809
push 0xffffffffffffffff
push 0
push edi
mov ecx, eax
call fcn.0045f9d0
lea eax, [edi + 0x18]
lea ecx, [esp + 0x40]
cmp ecx, eax
je 0x47281e
push 0xffffffffffffffff
push 0
push eax
call fcn.0045f9d0
push 0x64
call fcn.005540f2
mov esi, eax
add esp, 4
mov dword [esp + 0x24], esi
mov byte [esp + 0xb0], 4
test esi, esi
je 0x472867
push str.MapPrefEntry
lea ecx, [esp + 0x5c]
call fcn.0045e4d0
lea eax, [esp + 0x58]
mov byte [esp + 0xb0], 5
or ebx, 1
mov ecx, esi
push eax
mov dword [esp + 0x20], ebx
call fcn.0045d100
mov esi, eax
jmp 0x472869
xor esi, esi
mov dword [esp + 0xb0], 3
test bl, 1
je 0x4728a4
and ebx, 0xfffffffe
cmp dword [esp + 0x6c], 0x10
jb 0x47288f
push dword [esp + 0x58]
call fcn.00496180
add esp, 4
mov dword [esp + 0x6c], 0xf
mov dword [esp + 0x68], 0
mov byte [esp + 0x58], 0
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
mov byte [esp + 0xb0], 7
lea ecx, [esp + 0x70]
mov eax, dword [esi]
push edi
push ecx
mov ecx, esi
call dword [eax + 0xc]
mov byte [esp + 0xb0], 3
cmp dword [esp + 0x84], 0x10
jb 0x472902
push dword [esp + 0x70]
call fcn.00496180
add esp, 4
mov eax, dword [esi]
lea ecx, [esp + 0x40]
push ecx
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [esp + 0x14]
push esi
mov eax, dword [ecx]
call dword [eax + 0x10]
lea ecx, [esp + 0x18]
call fcn.00460440
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x18]
cmp ecx, dword [eax]
jne 0x4727f2
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
mov ecx, dword [edi + 4]
lea eax, [edi + 8]
push edx
push eax
call fcn.0046e8d0
cmp byte [esp + 0x13], 0
mov bl, al
je 0x47295f
mov ecx, dword [edi + 4]
mov ecx, dword [ecx + 0x78]
test ecx, ecx
je 0x47295f
mov edx, dword [ecx]
push 0
call dword [edx + 4]
cmp dword [esp + 0x3c], 0x10
jb 0x472972
push dword [esp + 0x28]
call fcn.00496180
add esp, 4
cmp dword [esp + 0x54], 0x10
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
jb 0x47299a
push dword [esp + 0x40]
call fcn.00496180
add esp, 4
mov al, bl
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x90]
xor ecx, esp
call fcn.0055337c
mov esp, ebp
pop ebp
ret 4