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

Disassembly:
push 0xffffffffffffffff
push 0x5c9290
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x78
push ebx
push ebp
mov ebp, ecx
push esi
push edi
lea ecx, [esp + 0x40]
call fcn.00544b40
xor esi, esi
lea ecx, [esp + 0x6c]
mov dword [esp + 0x90], esi
call fcn.00558060
lea ecx, [esp + 0x74]
mov byte [esp + 0x90], 1
call fcn.00558060
mov al, byte [esp + 0x11]
mov dword [esp + 0x7c], esi
mov byte [esp + 0x78], al
mov dword [esp + 0x80], esi
mov dword [esp + 0x84], esi
lea ecx, [esp + 0x5c]
mov byte [esp + 0x90], 2
call fcn.005589e0
mov cl, byte [esp + 0x11]
mov dword [esp + 0x50], esi
mov byte [esp + 0x4c], cl
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], esi
push 6
push 0x609660
lea ecx, [esp + 0x30]
mov byte [esp + 0x98], 4
call fcn.00558100
push 6
push 0x609658
lea ecx, [esp + 0x2c]
mov byte [esp + 0x98], 5
call fcn.00558100
push 6
push 0x609650
lea ecx, [esp + 0x28]
mov byte [esp + 0x98], 6
call fcn.00558100
push 6
push 0x609648
lea ecx, [esp + 0x24]
mov byte [esp + 0x98], 7
call fcn.00558100
push 0x96
push esi
lea ecx, [esp + 0x30]
mov byte [esp + 0x98], 8
call fcn.005584a0
push 0x96
push esi
lea ecx, [esp + 0x2c]
call fcn.005584a0
push 0x96
push esi
lea ecx, [esp + 0x28]
call fcn.005584a0
push 0x96
push esi
lea ecx, [esp + 0x24]
call fcn.005584a0
mov eax, dword [ebp + 0x1c]
lea esi, [ebp + 0x18]
push eax
lea edx, [esp + 0x1c]
mov ecx, dword [eax]
push ecx
push edx
mov ecx, esi
call fcn.004050b0
lea ecx, [ebp + 0x24]
call fcn.00559480
lea ecx, [ebp + 0x34]
call fcn.0055a260
mov al, byte [ebp + 0x14]
test al, al
je 0x4076d0
push ecx
lea eax, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
call fcn.00558070
mov ecx, dword [0x619a6c]
call fcn.00544c70
mov edi, dword [esp + 0x98]
mov ebx, dword [edi + 4]
mov eax, dword [edi + 8]
cmp ebx, eax
je 0x40764d
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push ebx
call fcn.00558070
mov ecx, dword [0x619a6c]
call fcn.00544db0
mov eax, dword [edi + 8]
add ebx, 4
cmp ebx, eax
jne 0x40762b
lea ecx, [esp + 0x40]
push ecx
mov ecx, dword [0x619a6c]
call fcn.00545270
test al, al
je 0x4078fc
mov ebx, dword [edi + 4]
mov eax, dword [edi + 8]
cmp ebx, eax
mov dword [esp + 0x18], 0
je 0x4076d7
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x40]
push edx
call fcn.00545400
test al, al
je 0x4076bb
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push ebx
call fcn.00558070
lea ecx, [esp + 0x70]
call fcn.00558390
mov eax, dword [esi + 4]
lea ecx, [esp + 0x6c]
push ecx
lea edx, [esp + 0x34]
push eax
push edx
mov ecx, esi
mov word [esp + 0x7c], 0
call fcn.00405050
mov ecx, dword [esp + 0x18]
mov eax, dword [edi + 8]
add ebx, 4
inc ecx
cmp ebx, eax
mov dword [esp + 0x18], ecx
jne 0x407677
jmp 0x4076d7
mov edi, dword [esp + 0x98]
mov eax, dword [ebp + 0x20]
test eax, eax
ja 0x407793
mov ebx, dword [edi + 4]
mov eax, dword [edi + 8]
cmp ebx, eax
je 0x407747
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push ebx
call fcn.00558070
lea ecx, [esp + 0x70]
call fcn.00558390
mov edi, dword [esi + 4]
mov word [esp + 0x70], 0
mov ecx, esi
mov eax, dword [edi + 4]
push eax
push edi
call fcn.00405110
mov dword [edi + 4], eax
mov ecx, dword [eax + 4]
mov dword [ecx], eax
lea ecx, [esp + 0x6c]
add eax, 8
push ecx
push eax
call fcn.00405140
mov edx, dword [esi + 8]
add esp, 8
inc edx
add ebx, 4
mov dword [esi + 8], edx
mov edx, dword [esp + 0x98]
cmp ebx, dword [edx + 8]
jne 0x4076ec
mov eax, dword [ebp + 0x20]
test eax, eax
ja 0x407793
push 0
push 1
push ecx
lea eax, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
call fcn.00558070
push ecx
lea edx, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
mov byte [esp + 0xa4], 9
call fcn.00558070
mov ecx, 0x619a58
mov byte [esp + 0xa0], 8
call fcn.00543af0
jmp 0x4075f3
push 0
lea eax, [esp + 0x15]
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x40], esp
push eax
push 0x619c18
call fcn.00404ee0
sub esp, 0x10
lea edx, [esp + 0x36]
mov ecx, esp
mov dword [esp + 0x3c], esp
push edx
push 0x619c18
mov byte [esp + 0xbc], 0xa
call fcn.00404ee0
mov ecx, dword [0x619a60]
mov byte [esp + 0xb4], 8
call fcn.005455c0
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax]
cmp ecx, eax
mov dword [esp + 0x14], ecx
je 0x40789c
mov ax, word [0x609644]
mov cl, byte [0x609646]
xor edx, edx
mov word [esp + 0x34], ax
mov dword [esp + 0x37], edx
lea eax, [esp + 0x34]
mov byte [esp + 0x36], cl
mov word [esp + 0x3b], dx
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x41], dl
call fcn.00404fe0
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
call fcn.00558070
mov ecx, ebp
call fcn.00407a00
push 0
push 0xffff
sub esp, 0x10
lea edx, [esp + 0x2b]
mov ecx, esp
mov dword [esp + 0x44], esp
lea eax, [esp + 0x4c]
push edx
push eax
call fcn.00404ee0
lea ecx, [esp + 0x2c]
mov byte [esp + 0xa8], 0xb
call fcn.00404fe0
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
call fcn.00558070
mov ecx, dword [0x619a60]
mov byte [esp + 0xac], 8
call fcn.00545a80
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
mov ecx, dword [ebp + 0x1c]
cmp eax, ecx
mov dword [esp + 0x14], eax
jne 0x4077f1
mov ecx, dword [0x619a60]
push 0
call fcn.00545f70
cmp ax, 0xb
jne 0x407793
mov eax, dword [esi + 4]
mov dword [esp + 0x18], eax
mov edi, dword [eax]
cmp edi, eax
je 0x4075f3
mov ebx, edi
mov edi, dword [edi]
mov edx, dword [ebx + 4]
mov eax, dword [ebx]
mov dword [edx], eax
mov ecx, dword [ebx]
mov edx, dword [ebx + 4]
mov dword [ecx + 4], edx
lea ecx, [ebx + 8]
call fcn.004043e0
push ebx
call fcn.005bc500
mov ecx, dword [esi + 8]
mov eax, dword [esp + 0x1c]
add esp, 4
dec ecx
cmp edi, eax
mov dword [esi + 8], ecx
jne 0x4078c4
jmp 0x4075f3
lea ecx, [esp + 0x1c]
mov byte [esp + 0x90], 7
call fcn.005581a0
lea ecx, [esp + 0x20]
mov byte [esp + 0x90], 6
call fcn.005581a0
lea ecx, [esp + 0x24]
mov byte [esp + 0x90], 5
call fcn.005581a0
lea ecx, [esp + 0x28]
mov byte [esp + 0x90], 4
call fcn.005581a0
xor ebx, ebx
push ebx
call fcn.005bc500
add esp, 4
lea ecx, [esp + 0x5c]
mov byte [esp + 0x90], 2
call fcn.00558a00
mov eax, dword [esp + 0x80]
mov esi, dword [esp + 0x7c]
cmp esi, eax
mov byte [esp + 0x90], 0xd
mov edi, eax
je 0x407987
mov ecx, esi
call fcn.005581a0
add esi, 4
cmp esi, edi
jne 0x407975
mov esi, dword [esp + 0x7c]
push esi
call fcn.005bc500
add esp, 4
lea ecx, [esp + 0x74]
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
mov byte [esp + 0x90], 0xc
call fcn.005581a0
lea ecx, [esp + 0x6c]
mov byte [esp + 0x90], 0
call fcn.005581a0
lea ecx, [esp + 0x40]
mov dword [esp + 0x90], 0xffffffff
call fcn.005581a0
mov ecx, dword [esp + 0x88]
pop edi
pop esi
pop ebp
xor ax, ax
mov dword fs:[0], ecx
pop ebx
add esp, 0x84
ret 4