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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45043d
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x461840]
xor eax, esp
mov dword [esp + 0x90], eax
push ebx
push esi
push edi
mov eax, dword [0x461840]
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.0040cff0
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.00413a00
test al, al
je 0x417fd3
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0x16], 1
call fcn.0040b1f0
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 0x417f33
jmp 0x417db0
cmp byte [esp + 0x12], 0
je 0x417f33
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.004171e0
mov esi, dword [esi + 0x24]
mov eax, dword [esp + 0x1c]
cmp eax, esi
jne 0x417e18
mov byte [esp + 0x13], 0
jmp 0x417e2e
push 0xffffffffffffffff
add eax, 0x28
push 0
push eax
lea ecx, [esp + 0x74]
call fcn.004015f0
mov byte [esp + 0x13], 1
mov esi, 0x10
mov byte [esp + 0xb0], 3
cmp dword [esp + 0x98], esi
jb 0x417e54
mov eax, dword [esp + 0x84]
push eax
call fcn.00435ff1
add esp, 4
cmp byte [esp + 0x13], 0
je 0x417eee
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x70]
push ecx
lea ecx, [esp + 0x58]
call fcn.004015f0
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.004015f0
mov dword [esp + 0xb0], 3
test byte [esp + 0x18], 1
je 0x417ed1
and dword [esp + 0x18], 0xfffffffe
cmp dword [esp + 0x98], esi
jb 0x417ed1
mov ecx, dword [esp + 0x84]
push ecx
call fcn.00435ff1
add esp, 4
lea edx, [esp + 0x4c]
mov ecx, ebx
call fcn.00418750
push 0xffffffffffffffff
push 0
lea edx, [esp + 0x38]
push edx
mov ecx, eax
call fcn.004015f0
jmp 0x417f19
mov eax, dword [ebx + 4]
mov ecx, dword [eax + 4]
push ecx
mov ecx, ebx
mov byte [esp + 0x16], 0
call fcn.0040cff0
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 0x417db0
mov ebx, 0x10
cmp dword [esp + 0x7c], ebx
jb 0x417f4b
mov edx, dword [esp + 0x68]
push edx
call fcn.00435ff1
add esp, 4
mov dword [esp + 0x7c], edi
mov dword [esp + 0x78], esi
mov byte [esp + 0x68], 0
cmp dword [esp + 0x44], ebx
jb 0x417f6b
mov eax, dword [esp + 0x30]
push eax
call fcn.00435ff1
add esp, 4
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], esi
mov byte [esp + 0x30], 0
cmp dword [esp + 0x60], ebx
jb 0x417f8b
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.00435ff1
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 0x417fa9
push eax
call fcn.00435ff1
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.00435af5
mov esp, ebp
pop ebp
ret 4
mov edx, dword [ebx + 4]
mov eax, dword [edx + 4]
push eax
mov ecx, ebx
call fcn.0040cff0
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 0x417fad