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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1bc
mov eax, dword [0x48a348]
xor eax, esp
mov dword [esp + 0x1b8], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x10], ecx
mov ecx, dword [ebp + 0x20]
mov dword [esp + 0x40], eax
xor esi, esi
lea eax, [ebx + ecx]
cmp ebx, eax
mov dword [esp + 0x54], edx
mov dword [esp + 0x30], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x58], eax
jge 0x42c278
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x1c]
add eax, edx
mov dword [esp + 0x48], eax
mov dword [esp + 0x34], ecx
jmp 0x42bf33
mov edx, dword [ebp + 0x14]
cmp edx, dword [esp + 0x48]
mov dword [esp + 0x20], edx
jge 0x42c23e
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x3c], eax
jmp 0x42bf58
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x3c]
cmp eax, 0x10
mov dword [esp + 0x28], 0x10
mov dword [esp + 0x2c], 0x10
jge 0x42bf71
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x34]
cmp eax, 0x10
jge 0x42bf7e
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x2c]
lea eax, [ecx + edx]
mov ecx, dword [esp + 0x28]
add ecx, ebx
mov dword [esp + 0x68], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x7c], ecx
lea eax, [esp + 0x70]
push eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x74], edx
mov edx, dword [edi]
mov edx, dword [edx + 0x14]
lea ecx, [esp + 0xa4]
push ecx
push eax
mov ecx, edi
mov dword [esp + 0x80], ebx
call edx
mov eax, dword [esp + 0x10]
add eax, esi
mov dword [esp + 0x18], eax
mov byte [eax], 0
mov eax, dword [esp + 0x28]
imul eax, dword [esp + 0x2c]
lea ecx, [esp + 0x15]
push ecx
lea edx, [esp + 0x1b]
push edx
lea ecx, [esp + 0x64]
push ecx
lea edx, [esp + 0x58]
lea ebx, [esi + 1]
mov dword [esp + 0x44], esi
push edx
lea ecx, [esp + 0xb0]
mov esi, ebx
mov dword [esp + 0x54], eax
call fcn.0042c480
mov al, byte [esp + 0x27]
add esp, 0x10
cmp dword [esp + 0x30], 0
je 0x42c018
cmp al, byte [esp + 0x50]
je 0x42c035
mov ecx, dword [esp + 0x18]
or byte [ecx], 2
mov edx, dword [esp + 0x10]
mov byte [edx + esi], al
mov dword [esp + 0x30], 1
mov byte [esp + 0x50], al
inc esi
jmp 0x42c039
mov ecx, dword [esp + 0x18]
cmp dword [esp + 0x5c], 0
jne 0x42c220
or byte [ecx], 8
cmp dword [esp + 0x4c], 0
mov al, byte [ecx]
je 0x42c07b
cmp dword [esp + 0x24], 0
mov dl, byte [esp + 0x15]
je 0x42c061
cmp dl, byte [esp + 0x16]
je 0x42c087
or al, 4
mov byte [ecx], al
mov eax, dword [esp + 0x10]
mov byte [eax + esi], dl
mov dword [esp + 0x24], 1
mov byte [esp + 0x16], dl
inc esi
jmp 0x42c087
or al, 0x10
mov dword [esp + 0x24], 0
mov byte [ecx], al
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x18]
push eax
push ecx
add edx, esi
push edx
lea ecx, [esp + 0xb4]
call fcn.0042c2a0
xor ecx, ecx
add esp, 0x14
cmp eax, ecx
jne 0x42c1ab
mov esi, dword [esp + 0x44]
cmp esi, 0x40
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x20]
jle 0x42c15f
mov byte [eax], 0x20
mov eax, dword [esp + 0x68]
mov dword [esp + 0x90], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], ecx
lea eax, [esp + 0x90]
push eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x98], edx
mov edx, dword [edi]
mov edx, dword [edx + 0x14]
lea ecx, [esp + 0xa4]
push ecx
push eax
mov ecx, edi
call edx
mov eax, dword [edi]
lea ecx, [edi + 0x78]
push ecx
push esi
mov esi, dword [esp + 0x18]
lea edx, [esi + ebx + 2]
push edx
mov edx, dword [eax + 0x38]
lea ecx, [esp + 0xac]
push ecx
mov ecx, edi
call edx
mov ecx, eax
sar ecx, 8
mov edx, eax
and ecx, 0xff
shl edx, 8
or ecx, edx
mov word [esi + ebx], cx
lea esi, [ebx + eax + 2]
jmp 0x42c220
mov byte [eax], 1
mov eax, dword [esp + 0x68]
mov dword [esp + 0x80], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x8c], ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x88], eax
lea eax, [esp + 0x80]
push eax
mov eax, dword [esp + 0x44]
mov esi, ebx
add ecx, esi
mov dword [esp + 0x88], edx
mov edx, dword [edi]
mov edx, dword [edx + 0x14]
push ecx
push eax
mov ecx, edi
call edx
add esi, dword [esp + 0x44]
jmp 0x42c220
cmp eax, 0x80
jle 0x42c21e
sub eax, dword [esp + 0x38]
lea ecx, [esp + 0xa0]
lea esi, [eax + esi - 1]
mov eax, dword [esp + 0x10]
add eax, ebx
push esi
push eax
push ecx
mov dword [esp + 0x44], eax
call fcn.00463790
mov eax, dword [esp + 0x24]
or byte [eax], 0x40
mov ecx, dword [esp + 0x1c]
mov edx, dword [edi]
mov edx, dword [edx + 0x38]
add esp, 0xc
lea eax, [edi + 0xb0]
push eax
lea eax, [ecx + ebx + 2]
push esi
push eax
lea ecx, [esp + 0xac]
push ecx
mov ecx, edi
call edx
mov ecx, eax
sar ecx, 8
mov edx, eax
shl edx, 8
and ecx, 0xff
or ecx, edx
mov edx, dword [esp + 0x38]
mov word [edx], cx
lea esi, [ebx + eax + 2]
jmp 0x42c220
add esi, eax
mov eax, dword [esp + 0x20]
sub dword [esp + 0x3c], 0x10
mov ebx, dword [esp + 0x1c]
add eax, 0x10
cmp eax, dword [esp + 0x48]
mov dword [esp + 0x20], eax
jl 0x42bf50
cmp esi, 0x578
jle 0x42c262
mov ecx, dword [esp + 0x54]
mov eax, dword [edi]
mov edx, dword [esp + 0x10]
mov eax, dword [eax + 0x30]
push ecx
push esi
push edx
mov ecx, edi
call eax
add dword [edi + 0x58], esi
add dword [edi + 0x54], esi
xor esi, esi
sub dword [esp + 0x34], 0x10
add ebx, 0x10
cmp ebx, dword [esp + 0x58]
mov dword [esp + 0x1c], ebx
jl 0x42bf30
add dword [edi + 0x58], esi
add dword [edi + 0x54], esi
mov ecx, dword [esp + 0x1c4]
pop edi
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.0045dc1f
mov esp, ebp
pop ebp
ret 0x1c