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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x456f5d
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x468620]
xor eax, esp
mov dword [esp + 0x90], eax
push ebx
push esi
push edi
mov eax, dword [0x468620]
xor eax, esp
push eax
lea eax, [esp + 0xa8]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
xor edi, edi
mov dword [esp + 0x18], edi
mov eax, dword [ebx + 4]
mov esi, ecx
mov ecx, dword [eax + 4]
push ecx
mov ecx, ebx
call fcn.0040cba0
mov eax, dword [ebx + 4]
mov dword [eax + 4], eax
mov eax, dword [ebx + 4]
mov dword [eax], eax
mov eax, dword [ebx + 4]
mov dword [eax + 8], eax
lea edx, [esi + 8]
mov dword [ebx + 8], edi
mov esi, dword [esi + 4]
mov dword [esp + 0x14], edi
push edx
lea edi, [esp + 0x18]
call fcn.00413530
test al, al
je 0x417a03
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0x16], 1
call fcn.0040af30
xor esi, esi
mov dword [esp + 0xb0], esi
mov edi, 0xf
mov dword [esp + 0x60], edi
mov dword [esp + 0x5c], esi
mov byte [esp + 0x4c], 0
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], esi
mov byte [esp + 0x30], 0
mov dword [esp + 0x7c], edi
mov dword [esp + 0x78], esi
mov byte [esp + 0x68], 0
mov byte [esp + 0xb0], 3
mov eax, dword [esp + 0x20]
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x24]
je 0x417963
jmp 0x4177e0
cmp byte [esp + 0x12], 0
je 0x417963
push 0xa
push str.MapPrefKey
lea ecx, [esp + 0x8c]
mov dword [esp + 0xa0], edi
mov dword [esp + 0x9c], esi
mov byte [esp + 0x8c], 0
call fcn.00401ba0
mov byte [esp + 0xb0], 4
mov ecx, dword [esp + 0x14]
mov esi, dword [ecx]
lea edx, [esp + 0x1c]
push edx
lea eax, [esi + 0x20]
lea edi, [esp + 0x88]
call fcn.00416c10
mov esi, dword [esi + 0x24]
mov eax, dword [esp + 0x1c]
cmp eax, esi
jne 0x417848
mov byte [esp + 0x13], 0
jmp 0x41785e
push 0xffffffffffffffff
add eax, 0x28
push 0
push eax
lea ecx, [esp + 0x74]
call fcn.004015e0
mov byte [esp + 0x13], 1
mov esi, 0x10
mov byte [esp + 0xb0], 3
cmp dword [esp + 0x98], esi
jb 0x417884
mov eax, dword [esp + 0x84]
push eax
call fcn.0043a5c1
add esp, 4
cmp byte [esp + 0x13], 0
je 0x41791e
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x70]
push ecx
lea ecx, [esp + 0x58]
call fcn.004015e0
mov edx, dword [esp + 0x14]
mov ecx, dword [edx]
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
lea edx, [esp + 0x84]
push edx
call eax
push 0xffffffffffffffff
push 0
mov byte [esp + 0xb8], 5
or dword [esp + 0x20], 1
push eax
lea ecx, [esp + 0x3c]
call fcn.004015e0
mov dword [esp + 0xb0], 3
test byte [esp + 0x18], 1
je 0x417901
and dword [esp + 0x18], 0xfffffffe
cmp dword [esp + 0x98], esi
jb 0x417901
mov ecx, dword [esp + 0x84]
push ecx
call fcn.0043a5c1
add esp, 4
lea edx, [esp + 0x4c]
mov ecx, ebx
call fcn.004181b0
push 0xffffffffffffffff
push 0
lea edx, [esp + 0x38]
push edx
mov ecx, eax
call fcn.004015e0
jmp 0x417949
mov eax, dword [ebx + 4]
mov ecx, dword [eax + 4]
push ecx
mov ecx, ebx
mov byte [esp + 0x16], 0
call fcn.0040cba0
mov eax, dword [ebx + 4]
mov dword [eax + 4], eax
mov eax, dword [ebx + 4]
mov dword [eax], eax
mov eax, dword [ebx + 4]
mov dword [eax + 8], eax
mov dword [ebx + 8], 0
mov eax, dword [esp + 0x14]
add eax, 4
xor esi, esi
mov dword [esp + 0x14], eax
lea edi, [esi + 0xf]
cmp eax, dword [esp + 0x24]
jne 0x4177e0
mov ebx, 0x10
cmp dword [esp + 0x7c], ebx
jb 0x41797b
mov edx, dword [esp + 0x68]
push edx
call fcn.0043a5c1
add esp, 4
mov dword [esp + 0x7c], edi
mov dword [esp + 0x78], esi
mov byte [esp + 0x68], 0
cmp dword [esp + 0x44], ebx
jb 0x41799b
mov eax, dword [esp + 0x30]
push eax
call fcn.0043a5c1
add esp, 4
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], esi
mov byte [esp + 0x30], 0
cmp dword [esp + 0x60], ebx
jb 0x4179bb
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.0043a5c1
add esp, 4
mov eax, dword [esp + 0x20]
mov dword [esp + 0x60], edi
mov dword [esp + 0x5c], esi
mov byte [esp + 0x4c], 0
cmp eax, esi
je 0x4179d9
push eax
call fcn.0043a5c1
add esp, 4
mov al, byte [esp + 0x12]
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.0043a0d5
mov esp, ebp
pop ebp
ret 4
mov edx, dword [ebx + 4]
mov eax, dword [edx + 4]
push eax
mov ecx, ebx
call fcn.0040cba0
mov eax, dword [ebx + 4]
mov dword [eax + 4], eax
mov eax, dword [ebx + 4]
mov dword [eax], eax
mov eax, dword [ebx + 4]
mov dword [eax + 8], eax
mov dword [ebx + 8], 0
mov al, 1
jmp 0x4179dd