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

Disassembly:
sub esp, 0x5c
push ebp
xor ebp, ebp
cmp dword [esp + 0x64], ebp
je 0x427df2
mov eax, 1
cmp dword [esp + 0x68], eax
jb 0x427df2
cmp dword [esp + 0x6c], eax
jb 0x427df2
push edi
mov edi, dword [esp + 0x74]
cmp edi, eax
jb 0x427df1
cmp edi, 0xfe
jbe 0x4276aa
mov dword [esp + 0x74], 0xfe
mov edi, dword [esp + 0x74]
mov eax, dword [edi*4 + 0x4fa610]
mov ecx, dword [edi*4 + str._t_v_f_r_r]
push ebx
push esi
mov dword [esp + 0x44], ecx
mov dword [esp + 0x58], eax
xor ecx, ecx
lea esi, [edi + edi + 1]
mov eax, esi
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00492d4e
add esp, 4
sub esi, edi
mov dword [esp + 0x54], ebp
mov dword [esp + 0x68], esi
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x60], ebp
jmp 0x427704
mov edi, dword [esp + 0x7c]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x70]
add ecx, edx
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], ebp
mov dword [esp + 0x64], ecx
mov dword [esp + 0x40], ebp
lea esi, [eax + 1]
lea edi, [eax + edi*4 + 1]
lea ecx, [ecx]
movzx edx, byte [ecx]
mov byte [esi - 1], dl
movzx edx, byte [ecx + 1]
mov byte [esi], dl
movzx edx, byte [ecx + 2]
mov byte [esi + 1], dl
mov dl, byte [ecx + 3]
mov byte [esp + 0x13], dl
mov byte [esi + 2], dl
movzx edx, byte [esi - 1]
add ebp, 1
mov ebx, ebp
imul ebx, edx
add dword [esp + 0x14], ebx
movzx edx, byte [esi]
mov ebx, ebp
imul ebx, edx
add dword [esp + 0x18], ebx
movzx edx, byte [esi + 1]
mov ebx, ebp
imul ebx, edx
add dword [esp + 0x1c], ebx
movzx edx, byte [esp + 0x13]
mov dword [esp + 0x48], edx
mov ebx, ebp
imul ebx, edx
movzx edx, byte [esi - 1]
add dword [esp + 0x24], edx
movzx edx, byte [esi]
add dword [esp + 0x28], edx
movzx edx, byte [esi + 1]
add dword [esp + 0x2c], edx
mov edx, dword [esp + 0x4c]
add dword [esp + 0x20], ebx
add edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x40]
test ebx, ebx
mov dword [esp + 0x4c], edx
jbe 0x42786a
mov edx, dword [esp + 0x7c]
sub edx, ebx
add edx, 1
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x74]
add edx, 0xffffffff
cmp ebx, edx
ja 0x4277f2
add ecx, 4
movzx edx, byte [ecx]
mov byte [edi - 1], dl
movzx edx, byte [ecx + 1]
mov byte [edi], dl
movzx edx, byte [ecx + 2]
mov byte [edi + 1], dl
mov dl, byte [ecx + 3]
mov byte [esp + 0x13], dl
mov byte [edi + 2], dl
movzx edx, byte [edi - 1]
imul edx, dword [esp + 0x40]
add dword [esp + 0x14], edx
movzx edx, byte [edi]
imul edx, dword [esp + 0x40]
add dword [esp + 0x18], edx
movzx edx, byte [edi + 1]
imul edx, dword [esp + 0x40]
add dword [esp + 0x1c], edx
movzx edx, byte [esp + 0x13]
mov dword [esp + 0x48], edx
imul edx, dword [esp + 0x40]
add dword [esp + 0x20], edx
movzx edx, byte [edi - 1]
add dword [esp + 0x30], edx
movzx edx, byte [edi]
add dword [esp + 0x34], edx
movzx edx, byte [edi + 1]
add dword [esp + 0x38], edx
mov edx, dword [esp + 0x48]
add dword [esp + 0x3c], edx
mov edx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x7c]
add esi, 4
add edi, 4
cmp ebp, ebx
mov dword [esp + 0x40], ebp
jbe 0x427750
mov ecx, dword [esp + 0x74]
add ecx, 0xffffffff
cmp ebx, ecx
mov edi, ebx
mov esi, ebx
mov dword [esp + 0x48], edi
jbe 0x427899
mov edi, ecx
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x5c]
add ecx, edi
mov edi, dword [esp + 0x70]
lea ecx, [edi + ecx*4]
mov edi, dword [esp + 0x64]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x50], 0
mov ebp, dword [esp + 0x58]
mov ecx, dword [esp + 0x44]
mov ebx, ebp
imul ebx, dword [esp + 0x14]
shr ebx, cl
add edi, 4
mov byte [edi - 4], bl
mov ebx, ebp
imul ebx, dword [esp + 0x18]
shr ebx, cl
mov byte [edi - 3], bl
mov ebx, ebp
imul ebx, dword [esp + 0x1c]
shr ebx, cl
mov byte [edi - 2], bl
mov ebx, ebp
mov ebp, dword [esp + 0x20]
imul ebx, ebp
shr ebx, cl
mov ecx, dword [esp + 0x24]
sub dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x28]
sub dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x2c]
sub dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x68]
mov byte [edi - 1], bl
mov ebx, dword [esp + 0x7c]
sub ebp, edx
add ecx, esi
lea ebx, [ebx + ebx + 1]
cmp ecx, ebx
mov dword [esp + 0x20], ebp
jb 0x427925
sub ecx, ebx
movzx ebx, byte [eax + ecx*4]
sub dword [esp + 0x24], ebx
lea ebx, [eax + ecx*4 + 1]
mov dword [esp + 0x4c], ebx
movzx ebx, byte [ebx]
sub dword [esp + 0x28], ebx
movzx ebx, byte [eax + ecx*4 + 2]
sub dword [esp + 0x2c], ebx
movzx ebx, byte [eax + ecx*4 + 3]
sub edx, ebx
mov ebx, dword [esp + 0x74]
add ebx, 0xffffffff
cmp dword [esp + 0x48], ebx
jae 0x427963
add dword [esp + 0x40], 4
add dword [esp + 0x48], 1
mov ebp, dword [esp + 0x40]
movzx ebx, byte [ebp]
mov byte [eax + ecx*4], bl
movzx ebx, byte [ebp + 1]
mov ebp, dword [esp + 0x4c]
mov byte [ebp], bl
mov ebx, dword [esp + 0x40]
movzx ebx, byte [ebx + 2]
lea ebp, [eax + ecx*4 + 2]
mov byte [ebp], bl
mov ebx, dword [esp + 0x40]
mov bl, byte [ebx + 3]
mov byte [eax + ecx*4 + 3], bl
movzx ecx, byte [eax + ecx*4]
add dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x4c]
movzx ecx, byte [ecx]
add dword [esp + 0x34], ecx
mov ecx, ebp
mov dword [esp + 0x64], ebp
movzx ebp, byte [ecx]
mov ecx, dword [esp + 0x38]
add ecx, ebp
add dword [esp + 0x1c], ecx
movzx ebp, bl
mov ebx, dword [esp + 0x3c]
add ebx, ebp
mov ebp, dword [esp + 0x30]
add dword [esp + 0x14], ebp
mov ebp, dword [esp + 0x34]
add dword [esp + 0x18], ebp
add dword [esp + 0x20], ebx
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x7c]
add esi, 1
lea ecx, [ecx + ecx + 1]
xor ebp, ebp
cmp esi, ecx
mov dword [esp + 0x3c], ebx
jb 0x4279f1
xor esi, esi
movzx ecx, byte [eax + esi*4]
add dword [esp + 0x24], ecx
movzx ecx, byte [eax + esi*4 + 1]
add dword [esp + 0x28], ecx
movzx ecx, byte [eax + esi*4 + 2]
add dword [esp + 0x2c], ecx
movzx ecx, byte [eax + esi*4 + 3]
mov ebx, dword [esp + 0x74]
add edx, ecx
movzx ecx, byte [eax + esi*4]
sub dword [esp + 0x30], ecx
movzx ecx, byte [eax + esi*4 + 1]
sub dword [esp + 0x34], ecx
movzx ecx, byte [eax + esi*4 + 2]
sub dword [esp + 0x38], ecx
movzx ecx, byte [eax + esi*4 + 3]
sub dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x50]
add ecx, 1
cmp ecx, ebx
mov dword [esp + 0x50], ecx
jb 0x4278b6
mov ecx, dword [esp + 0x54]
add dword [esp + 0x5c], ebx
add ecx, 1
lea edx, [ebx*4]
add dword [esp + 0x60], edx
cmp ecx, dword [esp + 0x78]
mov dword [esp + 0x54], ecx
jb 0x427700
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x50], ebp
mov dword [esp + 0x60], ecx
jmp 0x427a82
xor ebp, ebp
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], ebp
mov dword [esp + 0x40], ebp
lea esi, [eax + 1]
lea edi, [eax + edx*4 + 1]
movzx edx, byte [ecx]
mov byte [esi - 1], dl
movzx edx, byte [ecx + 1]
mov byte [esi], dl
movzx edx, byte [ecx + 2]
mov byte [esi + 1], dl
mov dl, byte [ecx + 3]
mov byte [esp + 0x13], dl
mov byte [esi + 2], dl
movzx edx, byte [esi - 1]
add ebp, 1
mov ebx, ebp
imul ebx, edx
movzx edx, byte [esi]
add dword [esp + 0x14], ebx
imul edx, ebp
add dword [esp + 0x18], edx
movzx edx, byte [esi + 1]
mov ebx, ebp
imul ebx, edx
add dword [esp + 0x1c], ebx
movzx edx, byte [esp + 0x13]
mov dword [esp + 0x48], edx
mov ebx, ebp
imul ebx, edx
movzx edx, byte [esi - 1]
add dword [esp + 0x24], edx
movzx edx, byte [esi]
add dword [esp + 0x28], edx
movzx edx, byte [esi + 1]
add dword [esp + 0x2c], edx
mov edx, dword [esp + 0x4c]
add dword [esp + 0x20], ebx
add edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x40]
test ebx, ebx
mov dword [esp + 0x4c], edx
jbe 0x427be0
mov edx, dword [esp + 0x7c]
sub edx, ebx
add edx, 1
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x78]
add edx, 0xffffffff
cmp ebx, edx
ja 0x427b68
mov edx, dword [esp + 0x74]
add edx, edx
add edx, edx
add ecx, edx
movzx edx, byte [ecx]
mov byte [edi - 1], dl
movzx edx, byte [ecx + 1]
mov byte [edi], dl
movzx edx, byte [ecx + 2]
mov byte [edi + 1], dl
mov dl, byte [ecx + 3]
mov byte [esp + 0x13], dl
mov byte [edi + 2], dl
movzx edx, byte [edi - 1]
imul edx, dword [esp + 0x40]
add dword [esp + 0x14], edx
movzx edx, byte [edi]
imul edx, dword [esp + 0x40]
add dword [esp + 0x18], edx
movzx edx, byte [edi + 1]
imul edx, dword [esp + 0x40]
add dword [esp + 0x1c], edx
movzx edx, byte [esp + 0x13]
mov dword [esp + 0x48], edx
imul edx, dword [esp + 0x40]
add dword [esp + 0x20], edx
movzx edx, byte [edi - 1]
add dword [esp + 0x30], edx
movzx edx, byte [edi]
add dword [esp + 0x34], edx
movzx edx, byte [edi + 1]
add dword [esp + 0x38], edx
mov edx, dword [esp + 0x48]
add dword [esp + 0x3c], edx
mov edx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x7c]
add esi, 4
add edi, 4
cmp ebp, ebx
mov dword [esp + 0x40], ebp
jbe 0x427ac1
mov edi, dword [esp + 0x78]
add edi, 0xffffffff
cmp ebx, edi
mov ecx, ebx
mov esi, ebx
mov dword [esp + 0x48], ecx
jbe 0x427c0f
mov ecx, edi
mov dword [esp + 0x48], edi
imul ecx, dword [esp + 0x74]
add ecx, dword [esp + 0x50]
mov edi, dword [esp + 0x70]
lea ecx, [edi + ecx*4]
mov edi, dword [esp + 0x60]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x54], 0
nop
mov ebp, dword [esp + 0x58]
mov ecx, dword [esp + 0x44]
mov ebx, ebp
imul ebx, dword [esp + 0x14]
shr ebx, cl
mov byte [edi], bl
mov ebx, ebp
imul ebx, dword [esp + 0x18]
shr ebx, cl
mov byte [edi + 1], bl
mov ebx, ebp
imul ebx, dword [esp + 0x1c]
shr ebx, cl
mov byte [edi + 2], bl
mov ebx, ebp
mov ebp, dword [esp + 0x20]
imul ebx, ebp
shr ebx, cl
mov ecx, dword [esp + 0x74]
add ecx, ecx
add ecx, ecx
mov byte [edi + 3], bl
mov ebx, dword [esp + 0x7c]
add edi, ecx
mov ecx, dword [esp + 0x24]
sub dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x28]
sub dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x2c]
sub dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x68]
sub ebp, edx
add ecx, esi
lea ebx, [ebx + ebx + 1]
cmp ecx, ebx
mov dword [esp + 0x20], ebp
jb 0x427ca5
sub ecx, ebx
movzx ebx, byte [eax + ecx*4]
sub dword [esp + 0x24], ebx
lea ebx, [eax + ecx*4 + 1]
mov dword [esp + 0x4c], ebx
movzx ebx, byte [ebx]
sub dword [esp + 0x28], ebx
movzx ebx, byte [eax + ecx*4 + 2]
sub dword [esp + 0x2c], ebx
movzx ebx, byte [eax + ecx*4 + 3]
sub edx, ebx
mov ebx, dword [esp + 0x78]
add ebx, 0xffffffff
cmp dword [esp + 0x48], ebx
jae 0x427cea
mov ebx, dword [esp + 0x74]
add ebx, ebx
add ebx, ebx
add dword [esp + 0x40], ebx
add dword [esp + 0x48], 1
mov ebp, dword [esp + 0x40]
movzx ebx, byte [ebp]
mov byte [eax + ecx*4], bl
movzx ebx, byte [ebp + 1]
mov ebp, dword [esp + 0x4c]
mov byte [ebp], bl
mov ebx, dword [esp + 0x40]
movzx ebx, byte [ebx + 2]
lea ebp, [eax + ecx*4 + 2]
mov byte [ebp], bl
mov ebx, dword [esp + 0x40]
mov bl, byte [ebx + 3]
mov byte [eax + ecx*4 + 3], bl
movzx ecx, byte [eax + ecx*4]
add dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x4c]
movzx ecx, byte [ecx]
add dword [esp + 0x34], ecx
mov ecx, ebp
mov dword [esp + 0x64], ebp
movzx ebp, byte [ecx]
mov ecx, dword [esp + 0x38]
add ecx, ebp
add dword [esp + 0x1c], ecx
movzx ebp, bl
mov ebx, dword [esp + 0x3c]
add ebx, ebp
mov ebp, dword [esp + 0x30]
add dword [esp + 0x14], ebp
mov ebp, dword [esp + 0x34]
add dword [esp + 0x18], ebp
add dword [esp + 0x20], ebx
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x7c]
add esi, 1
lea ecx, [ecx + ecx + 1]
cmp esi, ecx
mov dword [esp + 0x3c], ebx
jb 0x427d76
xor esi, esi
movzx ecx, byte [eax + esi*4]
add dword [esp + 0x24], ecx
sub dword [esp + 0x30], ecx
movzx ecx, byte [eax + esi*4 + 1]
sub dword [esp + 0x34], ecx
movzx ebx, byte [eax + esi*4 + 1]
movzx ecx, byte [eax + esi*4 + 3]
add dword [esp + 0x28], ebx
sub dword [esp + 0x3c], ecx
movzx ebx, byte [eax + esi*4 + 2]
movzx ebp, byte [eax + esi*4 + 3]
mov ecx, dword [esp + 0x54]
add dword [esp + 0x2c], ebx
sub dword [esp + 0x38], ebx
add ecx, 1
add edx, ebp
cmp ecx, dword [esp + 0x78]
mov dword [esp + 0x54], ecx
jb 0x427c30
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x60]
add edx, 1
add ecx, 4
cmp edx, dword [esp + 0x74]
mov dword [esp + 0x50], edx
mov dword [esp + 0x60], ecx
jb 0x427a80
push eax
call fcn.00493b60
add esp, 4
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x5c
ret