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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4f29d6
sub esp, 0x58
mov edx, dword [esp + 0x5c]
mov ebx, dword [edx + 0x18]
sub ebx, dword [edx + 0x10]
mov dword [esp + 8], ebx
lea ebp, [ebx - 1]
mov esi, dword [esp + 0x60]
mov edi, dword [esi + 0x10]
mov dword [esp + 0x3c], edi
mov eax, ebx
mov ebx, dword [esi + 0x14]
mov dword [esp + 0x38], ebx
mov ecx, ebp
mov ebp, dword [esi + 0x18]
mov dword [esp + 0x34], ebp
mov esi, dword [esi + 0x1c]
mov dword [esp + 0x30], esi
jmp 0x4f293c
mov ebx, dword [esp + 0x20]
inc ebx
mov edi, dword [esp + 0x84]
mov esi, edi
mov edi, dword [esp + 0x18]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
cmp esi, edx
jle 0x4f2771
add ebx, edx
mov esi, dword [esp + 0x70]
cmp ebx, esi
jae 0x4f29ba
mov esi, dword [esp + 0x6c]
movzx ebx, word [esi + ebx*2]
test bx, bx
je 0x4f2764
add edi, edx
cmp ecx, edi
jbe 0x4f2758
lea edi, [edi + edi*2]
cmp ebp, edi
jbe 0x4f29b1
movsx ebx, bx
mov esi, dword [esp + 0x54]
movzx edx, byte [esi + edi]
imul edx, ebx
add dword [esp + 0x48], edx
lea edx, [edi + 1]
cmp ebp, edx
jbe 0x4f29a8
movzx edx, byte [edi + esi + 1]
imul edx, ebx
add dword [esp + 0x4c], edx
lea edx, [edi + 2]
cmp ebp, edx
jbe 0x4f299f
movzx edx, byte [edi + esi + 2]
imul edx, ebx
add dword [esp + 0x50], edx
mov edx, dword [esp + 0x14]
add edx, ebx
jmp 0x4f26b3
jg 0x4f2760
lea edi, [eax + eax*2 - 3]
jmp 0x4f2705
xor edi, edi
jmp 0x4f2705
mov esi, dword [esp + 0x54]
mov edx, dword [esp + 0x14]
jmp 0x4f26b3
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x38]
sub edx, ebx
mov ebx, dword [esp + 0x60]
imul edx, dword [ebx + 0xc]
mov dword [esp + 0x2c], edx
mov ebp, dword [esp + 0x10]
mov esi, dword [esp + 0x3c]
sub ebp, esi
lea ebp, [ebp + ebp*2]
lea esi, [edx + ebp]
mov edi, dword [esp + 0x48]
mov edx, dword [esp + 0x14]
test edx, edx
je 0x4f299a
mov dword [esp + 0x28], ebp
mov eax, edi
mov ebp, edx
cmp ebp, 0xffffffff
je 0x4f27ba
cdq
idiv ebp
jmp 0x4f27bc
neg eax
cmp eax, 0x100
jae 0x4f290b
mov edx, dword [ebx + 4]
mov edi, dword [ebx]
cmp edx, esi
jbe 0x4f2991
mov byte [edi + esi], al
mov eax, dword [esp + 0x4c]
cmp ebp, 0xffffffff
je 0x4f27e5
cdq
idiv ebp
jmp 0x4f27e7
neg eax
cmp eax, 0x100
jae 0x4f28f3
mov edx, dword [ebx + 4]
mov edi, dword [ebx]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x2c]
lea ebx, [ebp + ebx + 1]
cmp edx, ebx
jbe 0x4f2988
mov byte [esi + edi + 1], al
mov eax, dword [esp + 0x50]
mov ebx, dword [esp + 0x14]
cmp ebx, 0xffffffff
je 0x4f2821
cdq
idiv ebx
jmp 0x4f2823
neg eax
cmp eax, 0x100
jae 0x4f28db
mov edx, dword [esp + 0x60]
mov ebx, dword [edx + 4]
mov edi, dword [edx]
mov edx, dword [esp + 0x28]
lea edx, [ebp + edx + 2]
cmp edx, ebx
jae 0x4f297f
mov byte [esi + edi + 2], al
mov eax, dword [esp + 0xc]
lea ebx, [eax + 1]
mov eax, dword [esp + 0x84]
mov edx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x54]
mov esi, dword [esp + 8]
mov edi, dword [esp + 0x6c]
mov eax, esi
mov edx, ebp
mov ebp, dword [esp + 0x1c]
mov esi, dword [esp + 0x84]
mov edi, dword [esp + 0x10]
mov edi, dword [esp + 0x30]
cmp ebx, edi
jge 0x4f2923
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov edi, dword [esp + 0x7c]
cmp ebx, edi
jae 0x4f29c3
mov dword [esp + 0xc], ebx
mov edi, dword [esp + 0x78]
mov edi, dword [edi + ebx*4]
mov dword [esp + 0x18], edi
imul ebx, esi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x40], eax
xor eax, eax
mov dword [esp + 0x20], eax
xor eax, eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x40]
jmp 0x4f26d5
cmp eax, 0xff
jle 0x4f28ec
mov eax, 0xffffffff
jmp 0x4f282e
xor eax, eax
jmp 0x4f282e
cmp eax, 0xff
jle 0x4f2904
mov eax, 0xffffffff
jmp 0x4f27f2
xor eax, eax
jmp 0x4f27f2
cmp eax, 0xff
jle 0x4f291c
mov eax, 0xffffffff
jmp 0x4f27c7
xor eax, eax
jmp 0x4f27c7
mov edx, dword [esp + 0x10]
inc edx
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x5c]
mov ebp, dword [esp + 0x34]
mov esi, edi
mov edi, edx
mov edx, dword [esp + 0x5c]
cmp edi, ebp
jge 0x4f297b
mov ebp, dword [edx + 4]
mov esi, dword [edx]
mov ebx, dword [edx + 8]
mov edx, dword [edx + 0xc]
imul edx, edi
cmp edx, ebp
ja 0x4f29cc
mov dword [esp + 0x10], edi
sub ebp, edx
mov dword [esp + 0x1c], ebp
sub ebx, edx
neg ebx
sar ebx, 0x1f
and edx, ebx
add edx, esi
mov dword [esp + 0x54], edx
mov ebx, dword [esp + 0x38]
mov esi, dword [esp + 0x84]
jmp 0x4f287c
add esp, 0x58
ret
mov eax, edx
mov ecx, ebx
call fcn.0045ad60
mov eax, ebx
mov ecx, edx
call fcn.0045ad60
mov eax, esi
mov ecx, edx
call fcn.0045ad60
call fcn.0042f460
mov eax, edx
mov ecx, ebp
call fcn.0045ad60
mov eax, edx
mov ecx, ebp
call fcn.0045ad60
mov eax, edi
mov ecx, ebp
call fcn.0045ad60
mov eax, ebx
mov ecx, esi
call fcn.0045ad60
mov eax, ebx
mov ecx, edi
call fcn.0045ad60
mov eax, edx
mov ecx, ebp
call fcn.0045adc0
nop
call fcn.00459790
jmp fcn.004f2660