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

Disassembly:
push 0xffffffffffffffff
push 0x4b0faa
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4cd094]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
xor esi, esi
cmp dword [0x512d48], esi
je 0x4105d6
call fcn.00458bc0
cmp dword [0x512d70], esi
je 0x4105e3
call fcn.00458bc0
lea eax, [esp + 0x54]
push eax
mov dword [esp + 0x1c], esi
call fcn.00417370
mov dword [esp + 0x80], esi
mov eax, dword [0x4d149c]
mov edi, dword [eax + 4]
mov esi, dword [edi]
mov ebp, eax
mov dword [esp + 0x38], eax
jmp 0x410610
cmp ebp, dword [esp + 0x38]
jne 0x41090d
cmp esi, edi
sete al
test al, al
sete al
test al, al
je 0x410661
cmp esi, dword [ebp + 4]
je 0x41065c
mov ecx, dword [esi + 8]
mov dx, word [ecx]
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x4c]
push ecx
lea ebx, [esp + 0x5c]
mov word [esp + 0x30], dx
mov dword [esp + 0x34], 0xffffffff
call fcn.00417490
cmp esi, dword [ebp + 4]
je 0x41065c
mov esi, dword [esi]
jmp 0x410610
jmp fcn.00406760
mov eax, dword [0x4d149c]
mov esi, dword [eax + 4]
mov ecx, dword [esi]
mov edx, eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x40], eax
lea ecx, [ecx]
cmp edx, dword [esp + 0x40]
jne 0x41090d
cmp ecx, esi
sete al
test al, al
sete al
test al, al
je 0x4108e3
cmp ecx, dword [edx + 4]
je 0x41065c
mov eax, dword [ecx + 8]
cmp eax, dword [0x4d1480]
mov dword [esp + 0x14], eax
je 0x4108ba
call fcn.00405c90
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], 0
mov byte [esp + 0x80], 1
mov eax, dword [0x4d1480]
movzx ecx, word [eax]
lea edx, [esp + 0x48]
push edx
push ecx
call fcn.00410310
mov ecx, dword [esp + 0x54]
mov ebp, dword [ecx]
add esp, 8
mov ebx, ecx
jmp 0x4106f0
cmp ebp, ebx
sete al
test al, al
sete al
test al, al
je 0x410795
cmp ebp, ecx
je 0x4108d4
mov esi, dword [ebp + 8]
mov edi, dword [0x4d1480]
call fcn.00411220
mov ecx, dword [esp + 0x14]
cmp eax, ecx
je 0x410731
mov ecx, dword [esp + 0x4c]
cmp ebp, ecx
je 0x4108d4
mov ebp, dword [ebp]
jmp 0x4106f0
mov dx, word [ecx]
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x64]
push ecx
mov word [esp + 0x38], dx
mov dword [esp + 0x3c], esi
call fcn.00415980
mov byte [esp + 0x80], 0
mov ecx, dword [esp + 0x4c]
mov eax, dword [ecx]
mov dword [ecx], ecx
mov ecx, dword [esp + 0x4c]
mov dword [ecx + 4], ecx
mov ecx, dword [esp + 0x4c]
xor edi, edi
cmp eax, ecx
mov dword [esp + 0x50], edi
je 0x410786
mov esi, dword [eax]
push eax
call fcn.004804d5
mov ecx, dword [esp + 0x50]
add esp, 4
cmp esi, ecx
mov eax, esi
jne 0x410771
push ecx
call fcn.004804d5
mov dword [esp + 0x50], edi
jmp 0x4108af
mov ecx, dword [esp + 0x58]
mov eax, dword [ecx]
lea edx, [esp + 0x54]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], edx
mov esi, ecx
lea esp, [esp]
xor ebx, ebx
cmp edx, ebx
je 0x4108de
lea ecx, [esp + 0x54]
cmp edx, ecx
jne 0x4108de
cmp eax, esi
sete cl
test cl, cl
sete cl
test cl, cl
je 0x4107f7
cmp eax, dword [edx + 4]
je 0x4108d9
lea edx, [esp + 0x28]
mov dword [eax + 0x10], 0xffffffff
call fcn.00422a90
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
jmp 0x4107b0
mov edi, dword [0x4d1480]
lea ecx, [esp + 0x54]
call fcn.004173e0
mov ecx, dword [esp + 0x14]
mov dword [eax], 1
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x58]
push eax
mov eax, dword [0x4d1480]
mov dword [esp + 0x20], ebx
movzx edx, word [ecx]
push ebx
push edx
push eax
call fcn.00410400
add esp, 0x14
cmp eax, ebx
je 0x410868
push eax
call fcn.004112a0
mov esi, eax
add esp, 4
cmp esi, ebx
jne 0x410849
call fcn.00458bc0
mov ecx, dword [esp + 0x14]
mov dx, word [ecx]
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x70]
push ecx
mov word [esp + 0x40], dx
mov dword [esp + 0x44], esi
call fcn.00415980
mov byte [esp + 0x80], 0
mov ecx, dword [esp + 0x4c]
mov eax, dword [ecx]
mov dword [ecx], ecx
mov ecx, dword [esp + 0x4c]
mov dword [ecx + 4], ecx
mov ecx, dword [esp + 0x4c]
cmp eax, ecx
mov dword [esp + 0x50], ebx
je 0x4108a5
jmp 0x410890
mov esi, dword [eax]
push eax
call fcn.004804d5
mov ecx, dword [esp + 0x50]
add esp, 4
cmp esi, ecx
mov eax, esi
jne 0x410890
push ecx
call fcn.004804d5
mov dword [esp + 0x50], ebx
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
add esp, 4
cmp ecx, dword [edx + 4]
je 0x41065c
mov eax, dword [ecx]
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x24], eax
mov ecx, eax
jmp 0x410680
jmp fcn.004068c0
jmp fcn.00422930
jmp fcn.004229a0
mov dword [esp + 0x80], 0xffffffff
lea eax, [esp + 0x54]
call fcn.0041cca0
mov al, 1
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret
jmp fcn.004067d0