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

Disassembly:
mov eax, 0x2d80
call fcn.004b7ac0
mov eax, dword [0x52e144]
xor eax, esp
mov dword [esp + 0x2d7c], eax
mov byte [esp + 3], 0
jmp 0x41488f
mov eax, dword [0x53861c]
test eax, eax
je 0x4148d7
cmp dword [0x538620], 0
je 0x4148d7
cmp dword [0x538624], 0
je 0x4148d7
cmp dword [0x538628], 0
je 0x4148d7
cmp dword [0x53862c], 0
je 0x4148d7
cmp dword [0x538630], 0
je 0x4148d7
cmp dword [0x538634], 0
je 0x4148d7
cmp byte [0x536ec8], 0
jne 0x4148ee
xor al, al
mov ecx, dword [esp + 0x2d7c]
xor ecx, esp
call fcn.004b6da3
add esp, 0x2d80
ret
push edi
push 0
push 0
push 0
push 0
push 0x50d147
call eax
mov edi, eax
mov dword [esp + 0x24], edi
test edi, edi
jne 0x414920
xor al, al
pop edi
mov ecx, dword [esp + 0x2d7c]
xor ecx, esp
call fcn.004b6da3
add esp, 0x2d80
ret
mov eax, dword [0x536cbc]
test eax, eax
jne 0x414933
mov eax, 0x50
mov dword [0x536cbc], eax
push ebx
push eax
push 0x536ec8
push 0x50f8f4
call fcn.00404690
add esp, 4
push eax
push 0x527e20
call fcn.00401350
movzx eax, word [0x536cbc]
add esp, 0x10
push 1
push 0
push 3
push 0
push 0
push eax
push 0x536ec8
push edi
call dword [0x538620]
mov ebx, eax
mov dword [esp + 0x30], ebx
test ebx, ebx
jne 0x41499d
push edi
call dword [0x538624]
pop ebx
xor al, al
pop edi
mov ecx, dword [esp + 0x2d7c]
xor ecx, esp
call fcn.004b6da3
add esp, 0x2d80
ret
push ebp
push esi
push 0x63
lea ecx, [esp + 0x12d]
push 0
push ecx
mov byte [esp + 0x134], 0
call fcn.004b6dc0
push 0x63
lea edx, [esp + 0x71]
push 0
push edx
mov byte [esp + 0x78], 0
call fcn.004b6dc0
xor eax, eax
push 0x53972c
mov byte [esp + 0x5c], 0
mov dword [esp + 0x5d], eax
mov dword [esp + 0x61], eax
mov dword [esp + 0x65], eax
mov dword [esp + 0x69], eax
mov dword [esp + 0x6d], eax
mov dword [esp + 0x71], eax
mov dword [esp + 0x75], eax
mov byte [esp + 0x79], al
call fcn.00404300
add esp, 0x1c
push eax
push 0x50f8ec
mov dword [esp + 0x34], eax
call fcn.00404690
add esp, 4
push eax
lea eax, [esp + 0x48]
push eax
call fcn.004b79a8
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.004b71f6
call fcn.004b7208
mov esi, eax
inc esi
xor esi, 0xacf1
lea ecx, [esp + 0x44]
push esi
push ecx
mov dword [esp + 0x30], esi
call fcn.00404390
add esp, 0xc
push esi
lea edx, [esp + 0x44]
push edx
push 0x50f8dc
call fcn.00404690
add esp, 4
push eax
lea eax, [esp + 0x6c]
push eax
call fcn.004b79a8
push 0x50f8cc
call fcn.00404690
push eax
lea ecx, [esp + 0x140]
push ecx
call fcn.004b79a8
add esp, 0x1c
push 0
push 0
push 0
push 0
push 0
lea edx, [esp + 0x13c]
push edx
push 0x50f8c0
call fcn.00404690
add esp, 4
push eax
push ebx
call dword [0x538628]
mov ebp, eax
mov dword [esp + 0x1c], ebp
test ebp, ebp
jne 0x414aca
push ebx
call dword [0x538624]
push edi
call dword [0x538624]
xor al, al
jmp 0x414ed3
push 0x3ff
lea eax, [esp + 0x191]
push 0
push eax
mov byte [esp + 0x198], 0
call fcn.004b6dc0
lea eax, [esp + 0x6c]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x414af0
sub eax, edx
mov esi, eax
push esi
push 0x50f3c8
call fcn.00404690
add esp, 4
push eax
lea ecx, [esp + 0x194]
push ecx
call fcn.004b79a8
lea eax, [esp + 0x198]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x414b24
sub eax, edx
push esi
lea edx, [esp + 0x64]
push edx
push eax
lea eax, [esp + 0x198]
push eax
push ebp
call dword [0x53862c]
test eax, eax
jne 0x414b6e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x50f8ac
call fcn.00404690
add esp, 4
push eax
push 0x527e20
call fcn.00401350
add esp, 0xc
jmp 0x414ea8
push 0x27ff
xor edi, edi
lea ecx, [esp + 0x591]
push edi
push ecx
mov byte [esp + 0x598], 0
call fcn.004b6dc0
mov ebp, 0x19000
push ebp
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], edi
call fcn.004b97b1
mov ebx, eax
add esp, 0x10
test ebx, ebx
je 0x414e9c
jmp 0x414bb0
mov esi, dword [esp + 0x1c]
push 0
push 0
lea edx, [esp + 0x20]
push edx
push esi
mov dword [esp + 0x24], 0
call dword [0x538630]
test eax, eax
je 0x414c56
mov eax, dword [esp + 0x18]
cmp eax, 0x2800
jbe 0x414bea
mov eax, 0x2800
mov dword [esp + 0x18], eax
jmp 0x414bee
test eax, eax
jbe 0x414c4b
lea ecx, [esp + 0x14]
push ecx
push eax
lea edx, [esp + 0x594]
push edx
push esi
call dword [0x538634]
test eax, eax
je 0x414c4b
mov eax, dword [esp + 0x14]
add eax, edi
cmp eax, ebp
jb 0x414c2e
add ebp, ebp
push ebp
call fcn.004b97b1
push edi
mov esi, eax
push ebx
push esi
call fcn.004b6e40
push ebx
call fcn.004b97a6
add esp, 0x14
mov ebx, esi
mov ecx, dword [esp + 0x14]
push ecx
lea edx, [esp + 0x590]
push edx
lea eax, [edi + ebx]
push eax
call fcn.004b6e40
add esp, 0xc
add edi, dword [esp + 0x14]
cmp dword [esp + 0x14], 0
jne 0x414bb0
xor ebp, ebp
mov byte [edi + ebx], 0
cmp ebx, ebp
je 0x414e9c
push ebx
call fcn.004044d0
mov eax, ebx
add esp, 4
mov dword [esp + 0x28], ebp
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x414c76
push 0x63
sub eax, edx
mov byte [esp + 0xc8], cl
lea ecx, [esp + 0xc9]
mov esi, eax
push 0
push ecx
mov dword [esp + 0x48], esi
call fcn.004b6dc0
add esp, 0xc
xor edi, edi
test esi, esi
jbe 0x414e93
mov esi, dword [0x537f08]
cmp byte [ebx + edi], 0x7c
lea eax, [edi + 1]
mov dword [esp + 0x20], eax
jne 0x414e51
mov eax, dword [esp + 0x28]
sub edi, eax
inc ebp
cmp edi, 0x32
jae 0x414e76
test edi, edi
je 0x414e76
push edi
add eax, ebx
push eax
lea edx, [esp + 0xcc]
push edx
call fcn.004b6e40
mov eax, dword [esp + 0x2c]
add esp, 0xc
mov byte [esp + edi + 0xc4], 0
mov dword [esp + 0x28], eax
cmp ebp, 1
jne 0x414d45
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0xc8]
push 0x50f3a4
push edx
mov dword [esp + 0x40], 0
call fcn.004b9078
mov eax, dword [esp + 0x38]
xor eax, dword [esp + 0x30]
add esp, 0xc
xor eax, 0x781af00d
cmp dword [esp + 0x34], eax
jne 0x414e61
mov byte [esp + 0x13], 1
jmp 0x414e4b
cmp ebp, 2
jne 0x414dc4
push 0x537f08
lea ecx, [esp + 0xc8]
push 0x50f3a4
push ecx
call fcn.004b9078
mov esi, dword [0x537f08]
xor esi, dword [esp + 0x38]
add esp, 0xc
xor esi, dword [esp + 0x24]
xor esi, 0xc4fea187
mov dword [0x537f08], esi
jbe 0x414e51
lea edx, [esi*8]
sub edx, esi
add edx, edx
add edx, edx
add edx, edx
push edx
call fcn.004b958c
mov ecx, dword [0x537f08]
lea edx, [ecx*8]
sub edx, ecx
add edx, edx
add edx, edx
add edx, edx
push edx
push 0
push eax
mov dword [0x537f04], eax
call fcn.004b6dc0
add esp, 0x10
jmp 0x414e4b
cmp ebp, 3
jb 0x414e51
mov edx, dword [0x537f04]
mov ecx, ebp
and ecx, 1
lea eax, [ecx + ebp]
shr eax, 1
sub eax, 2
test edx, edx
je 0x414e68
cmp eax, esi
jae 0x414e6f
cmp ecx, 1
jne 0x414e29
lea esi, [eax*8]
sub esi, eax
add esi, esi
add esi, esi
push edi
lea eax, [esp + 0xc8]
add esi, esi
push eax
lea ecx, [esi + edx + 4]
push ecx
call fcn.004b8a4f
mov edx, dword [0x537f04]
add esp, 0xc
add esi, edi
mov byte [esi + edx + 4], 0
jmp 0x414e4b
lea ecx, [eax*8]
sub ecx, eax
lea edx, [edx + ecx*8]
push edx
lea eax, [esp + 0xc8]
push 0x50f3a4
push eax
call fcn.004b9078
add esp, 0xc
mov esi, dword [0x537f08]
mov edi, dword [esp + 0x20]
cmp edi, dword [esp + 0x3c]
jb 0x414cb0
jmp 0x414e93
push 0x50f89c
jmp 0x414e7b
push 0x50f884
jmp 0x414e7b
push 0x50f86c
jmp 0x414e7b
push 0x50f858
call fcn.00404690
push eax
push 0x527e20
call fcn.00401350
mov byte [esp + 0x1f], 0
add esp, 0xc
push ebx
call fcn.004b97a6
add esp, 4
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x1c]
mov edi, dword [esp + 0x30]
push ebp
call dword [0x538624]
push ebx
call dword [0x538624]
push edi
call dword [0x538624]
jmp 0x414ecf
mov al, byte [esp + 0x13]
mov ecx, dword [esp + 0x2d8c]
pop esi
pop ebp
pop ebx
pop edi
xor ecx, esp
call fcn.004b6da3
add esp, 0x2d80
ret