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

Disassembly:
sub esp, 0x44
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x60]
push ebx
push esi
mov esi, dword [esp + 0x50]
push eax
lea edx, [esp + 0x18]
push ecx
lea eax, [esp + 0x24]
push edx
mov edx, dword [esp + 0x6c]
lea ecx, [esp + 0x30]
push eax
mov eax, dword [esp + 0x6c]
push ecx
mov ecx, dword [esp + 0x6c]
push edx
mov edx, dword [esp + 0x6c]
push eax
push ecx
xor ebx, ebx
push edx
push esi
mov dword [esp + 0x3c], ebx
call fcn.004216e0
add esp, 0x28
test eax, eax
jne 0x4277cf
pop esi
pop ebx
add esp, 0x44
ret
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x5c]
mov dword [esp + 0x5c], ebx
push eax
push ecx
mov ecx, dword [esp + 0x6c]
lea eax, [esp + 0x2c]
push edx
push eax
push ecx
push esi
call fcn.00427ab0
add esp, 0x18
test eax, eax
jne 0x4277ff
pop esi
pop ebx
add esp, 0x44
ret
mov eax, dword [esp + 0x28]
push edi
mov edi, dword [esp + 0x30]
mov ecx, eax
xor edx, edx
cmp eax, ebx
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], edx
jle 0x427a8d
push ebp
xor esi, esi
test edi, edi
mov dword [esp + 0x10], esi
jle 0x427a7f
mov eax, esi
mov edi, dword [esp + 0x64]
imul eax, ecx
add eax, edx
cmp byte [eax + edi], 1
jne 0x427a62
inc edx
cmp edx, ecx
mov dword [esp + 0x74], edx
jg 0x427a62
jmp 0x427857
mov esi, dword [esp + 0x10]
lea eax, [esi - 1]
mov ebp, eax
cmp ebp, 0xffffffff
mov dword [esp + 0x68], ebp
jl 0x4279f1
imul eax, ecx
mov dword [esp + 0x6c], eax
mov eax, ecx
neg eax
mov dword [esp + 0x20], eax
jmp 0x427882
mov ecx, dword [esp + 0x70]
mov esi, dword [esp + 0x10]
lea eax, [esi + 1]
mov ebx, eax
mov eax, dword [esp + 0x5c]
cmp ebx, eax
mov dword [esp + 0x14], ebx
jg 0x4279cf
mov eax, dword [esp + 0x58]
mov eax, dword [eax + 0x78]
lea esi, [eax + edx]
mov eax, ebx
imul eax, ecx
mov dword [esp + 0x28], esi
mov dword [esp + 0x18], eax
jmp 0x4278bc
mov esi, dword [esp + 0x28]
mov ebp, dword [esp + 0x68]
mov edx, dword [esp + 0x74]
cmp edx, esi
jge 0x4278f9
mov edi, dword [esp + 0x64]
cmp edx, dword [esp + 0x70]
jge 0x4278f9
cmp ebp, ebx
mov eax, ebp
jg 0x4278f4
mov ecx, dword [esp + 0x6c]
add ecx, edx
add ecx, edi
test eax, eax
jl 0x4278eb
cmp eax, dword [esp + 0x5c]
jge 0x4278eb
cmp byte [ecx], 1
je 0x4279ed
add ecx, dword [esp + 0x70]
inc eax
cmp eax, ebx
jle 0x4278d8
inc edx
cmp edx, esi
jl 0x4278c4
mov eax, dword [esp + 0x58]
mov esi, ebp
mov edx, ebp
mov edi, dword [eax + 0x74]
sub esi, edi
cmp ebp, esi
jle 0x427955
mov ecx, dword [esp + 0x6c]
test edx, edx
jl 0x427955
mov eax, dword [esp + 0x60]
mov ebx, dword [esp + 0x74]
cmp eax, ebx
jg 0x427942
test eax, eax
jl 0x427939
cmp eax, dword [esp + 0x70]
jge 0x427939
mov ebp, dword [esp + 0x64]
lea ebx, [ecx + eax]
cmp byte [ebx + ebp], 1
je 0x4279c7
mov ebx, dword [esp + 0x74]
inc eax
cmp eax, ebx
jle 0x42791e
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x68]
dec edx
add ecx, ebx
mov ebx, dword [esp + 0x14]
cmp edx, esi
jg 0x42790e
mov ecx, dword [esp + 0x18]
mov edx, ebx
add edi, ebx
cmp edx, edi
jge 0x427a04
cmp edx, dword [esp + 0x5c]
jge 0x427a04
mov eax, dword [esp + 0x60]
mov esi, dword [esp + 0x74]
cmp eax, esi
jg 0x42799b
test eax, eax
jl 0x427992
cmp eax, dword [esp + 0x70]
jge 0x427992
mov ebp, dword [esp + 0x64]
lea esi, [ecx + eax]
cmp byte [esi + ebp], 1
je 0x4279a8
mov esi, dword [esp + 0x74]
inc eax
cmp eax, esi
jle 0x42797b
mov eax, dword [esp + 0x70]
mov ebp, dword [esp + 0x68]
inc edx
add ecx, eax
jmp 0x42795d
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x5c]
inc ebx
add edx, ecx
cmp ebx, eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], edx
jle 0x4278b0
mov ebp, dword [esp + 0x68]
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x6c]
dec ebp
add ecx, eax
cmp ebp, 0xffffffff
mov dword [esp + 0x68], ebp
mov dword [esp + 0x6c], ecx
jge 0x42787a
jmp 0x4279f1
mov edx, dword [esp + 0x74]
mov ecx, dword [esp + 0x70]
inc edx
cmp edx, ecx
mov dword [esp + 0x74], edx
jle 0x427853
jmp 0x427a62
test ebp, ebp
jge 0x427a0a
xor ebp, ebp
mov ecx, dword [esp + 0x74]
mov edi, dword [esp + 0x60]
mov eax, dword [esp + 0x58]
mov esi, ebx
sub esi, ebp
sub ecx, edi
push esi
lea edx, [ebp + 1]
push ecx
push edx
push edi
push eax
call fcn.004280c0
mov eax, dword [esp + 0x88]
add esp, 0x14
cmp edi, eax
mov edx, edi
jge 0x427a62
cmp ebp, ebx
jge 0x427a59
mov eax, ebp
mov ecx, esi
imul eax, dword [esp + 0x70]
add eax, edx
mov edi, dword [esp + 0x64]
mov byte [eax + edi], 0
mov edi, dword [esp + 0x70]
add eax, edi
dec ecx
jne 0x427a48
mov eax, dword [esp + 0x74]
inc edx
cmp edx, eax
jl 0x427a39
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
mov ecx, dword [esp + 0x70]
inc esi
cmp esi, edi
mov dword [esp + 0x10], esi
jl 0x42782f
inc edx
cmp edx, ecx
mov dword [esp + 0x60], edx
jl 0x427821
pop ebp
mov ecx, dword [esp + 0x60]
push ecx
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebx
add esp, 0x44
ret