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

Disassembly:
push ecx
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
push ebx
push ebp
mov ebp, dword [esp + 0x10]
lea eax, [esp + 8]
push esi
mov esi, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x1c]
push ecx
push edx
push esi
push eax
push ebp
mov dword [esp + 0x24], 0
call fcn.00426160
add esp, 0x18
test eax, eax
jne 0x426ebb
pop esi
pop ebp
pop ebx
pop ecx
ret
mov ecx, dword [esi + 4]
imul ecx, dword [esi + 8]
shl ecx, 2
push ecx
call dword [sym.imp.MSVCRT.dll_malloc]
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x426eea
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
xor eax, eax
pop esi
pop ebp
pop ebx
pop ecx
ret
mov ecx, dword [esi + 4]
push edi
imul ecx, dword [esi + 8]
shl ecx, 2
mov edx, ecx
xor eax, eax
mov edi, ebx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esi + 4]
xor edi, edi
test eax, eax
jle 0x426f41
mov eax, dword [esi + 8]
xor edx, edx
xor ecx, ecx
test eax, eax
jle 0x426f35
imul eax, edi
mov ebp, dword [esp + 0x10]
add eax, ecx
movsx ebp, byte [eax + ebp]
add edx, ebp
inc ecx
mov dword [ebx + eax*4], edx
mov eax, dword [esi + 8]
cmp ecx, eax
jl 0x426f1b
mov eax, dword [esi + 4]
inc edi
cmp edi, eax
jl 0x426f10
mov ebp, dword [esp + 0x18]
mov eax, dword [ebp + 0x74]
mov ecx, dword [ebp + eax*4 + 0x78]
mov ebp, dword [esp + 0x24]
mov al, byte [ecx + 0x3d28f68]
test al, al
je 0x426fad
mov eax, dword [esi + 8]
mov dword [esp + 0x30], 0
test eax, eax
jle 0x426fad
mov eax, dword [esi + 4]
xor edi, edi
test eax, eax
jle 0x426f9d
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
push ebp
push edx
mov edx, dword [esi + 8]
push ecx
mov ecx, dword [esp + 0x24]
push ebx
push edx
push eax
mov eax, dword [esp + 0x48]
push eax
push edi
push 2
push ecx
call fcn.004270b0
add edi, eax
mov eax, dword [esi + 4]
add esp, 0x28
cmp edi, eax
jl 0x426f6e
mov eax, dword [esp + 0x30]
mov ecx, dword [esi + 8]
inc eax
cmp eax, ecx
mov dword [esp + 0x30], eax
jl 0x426f65
mov eax, dword [esp + 0x18]
mov edx, dword [eax + 0x74]
mov ecx, dword [eax + edx*4 + 0x78]
mov dl, byte [ecx + 0x3d291ac]
test dl, dl
je 0x42701d
mov ecx, dword [esi + 8]
mov dword [esp + 0x30], 0
test ecx, ecx
jle 0x42701d
mov eax, dword [esi + 4]
xor edi, edi
test eax, eax
jle 0x427009
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
push ebp
push edx
mov edx, dword [esi + 8]
push ecx
mov ecx, dword [esp + 0x24]
push ebx
push edx
push eax
mov eax, dword [esp + 0x48]
push eax
push edi
push 1
push ecx
call fcn.004270b0
add edi, eax
mov eax, dword [esi + 4]
add esp, 0x28
cmp edi, eax
jl 0x426fda
mov eax, dword [esp + 0x30]
mov ecx, dword [esi + 8]
inc eax
cmp eax, ecx
mov dword [esp + 0x30], eax
jl 0x426fd1
mov eax, dword [esp + 0x18]
mov edx, dword [eax + 0x74]
mov eax, dword [eax + edx*4 + 0x78]
mov cl, byte [eax + 0x3d291e0]
test cl, cl
je 0x427085
mov eax, dword [esi + 8]
mov dword [esp + 0x30], 0
test eax, eax
jle 0x427085
mov eax, dword [esi + 4]
xor edi, edi
test eax, eax
jle 0x427075
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x10]
push ebp
push ecx
mov ecx, dword [esi + 8]
push edx
mov edx, dword [esp + 0x3c]
push ebx
push ecx
push eax
mov eax, dword [esp + 0x30]
push edx
push edi
push 0
push eax
call fcn.004270b0
add edi, eax
mov eax, dword [esi + 4]
add esp, 0x28
cmp edi, eax
jl 0x427046
mov eax, dword [esp + 0x30]
mov ecx, dword [esi + 8]
inc eax
cmp eax, ecx
mov dword [esp + 0x30], eax
jl 0x42703d
mov esi, dword [sym.imp.MSVCRT.dll_free]
push ebx
call esi
mov ecx, dword [esp + 0x14]
push ecx
call esi
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret