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

Disassembly:
push 0xffffffffffffffff
push 0x4b4520
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c
mov eax, dword [esp + 0x7c]
push ebx
push ebp
xor ebx, ebx
push esi
push ebx
push 0x80
push 3
push ebx
push ebx
push 0x80000000
mov ebp, ecx
push eax
call dword [0x4b6118]
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0x10], esi
jne 0x42c5ba
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
add esp, 0x78
ret 0xc
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x8c]
push ebx
push ebx
push ecx
push edx
push esi
call dword [0x4b611c]
mov dword [esp + 0xc], eax
lea eax, [esp + 0xc]
push ebx
push eax
lea ecx, [esp + 0x60]
push 0x20
push ecx
push esi
call dword [0x4b618c]
cmp byte [esp + 0x59], 0xfe
je 0x42c608
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
add esp, 0x78
ret 0xc
mov esi, dword [esp + 0x5c]
push edi
mov edi, dword [esp + 0x5e]
and esi, 0xffff
and edi, 0xffff
mov eax, esi
imul eax, edi
mov ecx, dword [ebp + 0x338]
mov dword [esp + 0x8c], eax
cmp ecx, eax
je 0x42c691
cmp ecx, ebx
push eax
je 0x42c663
mov edx, dword [ebp + 0x328]
push edx
call fcn.004a7341
mov ecx, dword [ebp + 0x32c]
mov dword [ebp + 0x328], eax
mov eax, dword [esp + 0x94]
push eax
push ecx
call fcn.004a7341
add esp, 0x10
jmp 0x42c67e
call fcn.004a7e4f
mov edx, dword [esp + 0x90]
mov dword [ebp + 0x328], eax
push edx
call fcn.004a7e4f
add esp, 8
mov dword [ebp + 0x32c], eax
mov eax, dword [esp + 0x8c]
mov dword [ebp + 0x338], eax
mov ecx, dword [ebp + 0x338]
mov dword [ebp + 0x330], edi
mov edi, dword [ebp + 0x328]
mov edx, ecx
xor eax, eax
mov dword [ebp + 0x334], esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov dword [esp + 0x8c], ebx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [ebp + 0x338]
mov edi, dword [ebp + 0x32c]
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov edi, dword [ebp + 0x334]
mov eax, dword [ebp + 0x330]
dec edi
mov dword [esp + 0x18], eax
imul edi, eax
mov dword [esp + 0x90], edi
mov ecx, dword [esp + 0x70]
xor eax, eax
cmp ecx, ebx
mov dword [esp + 0x84], 1
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], ebx
mov esi, ecx
jbe 0x42c763
push ecx
call fcn.004a7e4f
add esp, 4
cmp eax, ebx
mov dword [esp + 0x1c], eax
je 0x42c763
mov dword [esp + 0x2c], esi
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0x10]
push ebx
push ecx
push edx
push eax
mov eax, dword [esp + 0x24]
push eax
call dword [0x4b618c]
mov ecx, dword [esp + 0x1c]
push ebx
push ecx
call fcn.004037d0
add esp, 8
cmp eax, ebx
mov dword [esp + 0x4c], eax
mov esi, eax
jbe 0x42c7bc
mov ecx, dword [esp + 0x3c]
push eax
cmp ecx, ebx
je 0x42c7a6
push ecx
call fcn.004a7341
add esp, 8
jmp 0x42c7ae
call fcn.004a7e4f
add esp, 4
cmp eax, ebx
mov dword [esp + 0x3c], eax
je 0x42c7c0
mov dword [esp + 0x4c], esi
jmp 0x42c7c0
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x1c]
push eax
push edx
call fcn.004037d0
mov eax, dword [esp + 0x24]
add esp, 8
cmp eax, ebx
je 0x42c7df
push eax
call fcn.004a72f9
add esp, 4
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x42c7f0
push eax
call fcn.004a72f9
add esp, 4
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x42c801
push eax
call fcn.004a72f9
add esp, 4
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x42c812
push eax
call fcn.004a72f9
add esp, 4
mov ecx, dword [ebp + 0x334]
xor eax, eax
cmp ecx, ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], ebx
jle 0x42c8a0
jmp 0x42c847
mov edi, dword [esp + 0x90]
mov edx, dword [esp + 0x3c]
mov ecx, dword [ebp + 0x330]
lea esi, [edx + edi]
mov edi, dword [ebp + 0x328]
mov edx, dword [esp + 0x8c]
add edi, edx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x8c]
mov esi, dword [esp + 0x90]
add edi, ecx
sub esi, ecx
mov ecx, dword [ebp + 0x334]
inc eax
mov dword [esp + 0x8c], edi
cmp eax, ecx
mov dword [esp + 0x90], esi
jl 0x42c840
mov eax, dword [ebp + 0x338]
mov ecx, dword [ebp + 0x328]
push eax
push ecx
mov ecx, ebp
call fcn.0042c9d0
mov ecx, dword [ebp + 0x18]
mov dword [ebp + 0x24], eax
imul ecx, eax
mov eax, dword [ebp + 8]
mov edx, eax
mov dword [ebp + 0xc], eax
sub edx, ecx
cmp eax, edx
mov dword [ebp + 0x10], edx
jae 0x42c8d7
add ecx, eax
mov dword [ebp + 0x10], eax
mov dword [ebp + 0xc], ecx
mov ecx, 0x40
xor eax, eax
lea edi, [ebp + 0x228]
mov byte [esp + 0x84], bl
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x1c]
mov dword [ebp + 4], 1
cmp eax, ebx
pop edi
je 0x42c906
push eax
call fcn.004a72f9
add esp, 4
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x42c917
push eax
call fcn.004a72f9
add esp, 4
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x42c928
push eax
call fcn.004a72f9
add esp, 4
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x42c939
push eax
call fcn.004a72f9
add esp, 4
lea ecx, [esp + 0x18]
call fcn.00405ae0
lea ecx, [esp + 0x18]
call fcn.00405ae0
lea ecx, [esp + 0x38]
mov dword [esp + 0x80], 0xffffffff
call fcn.00405be0
mov ecx, dword [esp + 0x78]
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x78
ret 0xc