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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x65024d9b
sub esp, 0x6c
mov eax, dword [esp + 0x70]
mov ecx, dword [eax + 0x18c]
test ecx, ecx
jne 0x65024a61
mov ecx, dword [esp + 0x78]
lea edx, [ecx + 1]
mov ebx, dword [esp + 0x7c]
cmp ebx, edx
jb 0x65024980
mov ebp, dword [esp + 0x74]
jmp 0x650249bd
lea eax, [0x65091320]
mov dword [esp], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edx
call fcn.64fc47f0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
inc ecx
mov ebp, eax
mov ebx, edx
mov eax, dword [esp + 0x70]
mov edx, ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x68], ebp
mov dword [esp + 0x4c], edx
mov dword [esp + 0x48], ebx
mov dword [ebp + ecx*4], 0x100
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
call fcn.65025010
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x84]
test edx, edx
je 0x65024a1a
mov ebx, dword [esp + 0x88]
cmp ebx, 0xffff
jg 0x65024a14
lea ebp, [ebx + 5]
shl ebp, 3
mov esi, 1
jmp 0x65024a25
xor esi, esi
xor ebp, ebp
jmp 0x65024a25
mov ebx, dword [esp + 0x88]
xor esi, esi
xor ebp, ebp
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x2c], ebp
xchg esi, eax
mov byte [esp + 0x2b], al
xchg esi, eax
xchg esi, eax
test al, al
xchg esi, eax
je 0x65024a5d
mov edi, dword [esp + 0x70]
mov dword [esp + 0x58], eax
mov eax, 0x109
mov dword [esp + 0x40], eax
xor eax, eax
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x58]
jmp 0x65024ccb
xor edi, edi
jmp 0x65024a65
add esp, 0x6c
ret
mov dword [esp + 0x44], edi
mov eax, dword [0x65156040]
mov dword [esp + 0x64], eax
mov ecx, dword [0x65156044]
mov dword [esp + 0x60], ecx
mov edx, dword [esp + 0x70]
mov dword [esp], edx
mov dword [esp + 4], edi
call fcn.65024390
mov eax, dword [esp + 8]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x70]
mov edx, dword [ecx + 0x180]
mov ebx, dword [ecx + 0x184]
mov dword [esp], ecx
mov ebp, dword [esp + 0x3c]
mov dword [esp + 4], ebp
mov esi, dword [esp + 0x38]
mov dword [esp + 8], esi
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebx
call fcn.65023ee0
mov eax, dword [esp + 0x70]
mov ecx, dword [eax + 0x188]
mov dword [esp], ecx
lea ecx, [eax + 0x10c]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x13
mov dword [esp + 0xc], 0x13
mov dword [esp + 0x10], 7
call fcn.650263a0
mov eax, dword [esp + 0x70]
mov ecx, dword [eax + 0x180]
mov edx, dword [eax + 0x184]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0xc], ecx
call fcn.65024210
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x30]
cmp eax, edx
jge 0x65024b4c
mov edx, dword [esp + 0x70]
mov ebx, dword [edx + 0x180]
mov ebp, dword [edx + 0x184]
movzx esi, byte [esp + 0x2b]
xchg esi, eax
test al, al
xchg esi, eax
jmp 0x65024b63
movzx ebx, byte [esp + 0x2b]
test bl, bl
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x30]
mov ebx, dword [esp + 0x64]
mov ebp, dword [esp + 0x60]
je 0x65024bbd
mov esi, dword [esp + 0x2c]
cmp eax, esi
jle 0x65024bbd
mov dword [esp], edx
mov eax, dword [esp + 0x88]
mov dword [esp + 4], eax
movzx ecx, byte [esp + 0x80]
mov byte [esp + 8], cl
call fcn.650248a0
mov eax, dword [esp + 0x70]
mov dword [esp], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0xc], eax
call fcn.65023d30
add esp, 0x6c
ret
mov dword [esp + 0x60], ebp
mov dword [esp + 0x64], ebx
cmp dword [0x65156040], ebx
jne 0x65024c11
mov eax, dword [edx + 0x18c]
test eax, eax
jne 0x65024c45
movzx eax, byte [esp + 0x80]
test al, al
je 0x65024bea
mov eax, 3
jmp 0x65024bef
mov eax, 2
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 3
call fcn.65023b70
mov edx, dword [esp + 0x70]
mov ebx, dword [esp + 0x64]
mov ebp, dword [esp + 0x60]
jmp 0x65024c45
mov dword [esp], edx
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
movzx eax, byte [esp + 0x80]
mov byte [esp + 0x10], al
call fcn.650245f0
mov edx, dword [esp + 0x70]
mov ebx, dword [esp + 0x64]
mov ebp, dword [esp + 0x60]
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
mov ebx, dword [ebx + 8]
mov esi, dword [ebp]
mov edi, dword [ebp + 4]
mov ebp, dword [ebp + 8]
mov dword [esp], edx
mov edx, dword [esp + 0x68]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], ebp
call fcn.650252b0
add esp, 0x6c
ret
lea ebp, [edx + 1]
lea edx, [edx + esi - 0x101]
movsx edx, byte [edx]
imul edx, ebx
mov ebx, dword [esp + 0x44]
add edx, ebx
mov edi, dword [esp + 0x70]
mov ebx, dword [esp + 0x88]
movzx esi, byte [esp + 0x2b]
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x84]
mov ebp, dword [esp + 0x2c]
mov edx, dword [esp + 0x40]
cmp edx, eax
jge 0x65024d06
mov ebx, dword [edi + 0x160]
mov ebp, dword [edi + 0x15c]
cmp edx, ebx
jae 0x65024d91
mov ebx, dword [ebp + edx*4]
mov ebp, dword [0x6507a944]
mov esi, dword [0x6507a940]
lea edi, [edx - 0x101]
cmp ebp, edi
ja 0x65024c92
jmp 0x65024d88
mov edx, dword [esp + 0x44]
mov dword [esp + 0x50], eax
mov eax, 4
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x50]
jmp 0x65024d42
lea esi, [ebx + 1]
add ebx, edi
movsx ebx, byte [ebx]
imul ebx, ebp
add edx, ebx
mov edi, dword [esp + 0x70]
mov ebx, dword [esp + 0x88]
mov ebp, dword [esp + 0x2c]
mov dword [esp + 0x34], esi
movzx esi, byte [esp + 0x2b]
mov ebx, dword [esp + 0x34]
cmp ebx, ecx
jge 0x65024d6f
mov ebp, dword [edi + 0x16c]
mov esi, dword [edi + 0x168]
cmp ebx, ebp
jae 0x65024d7f
mov ebp, dword [esi + ebx*4]
mov esi, dword [0x6507a974]
mov edi, dword [0x6507a970]
cmp ebx, esi
jb 0x65024d1d
jmp 0x65024d76
mov edi, edx
jmp 0x65024a65
mov eax, ebx
mov ecx, esi
call fcn.64fda100
mov eax, ebx
mov ecx, ebp
call fcn.64fda100
mov eax, edi
mov ecx, ebp
call fcn.64fda100
mov eax, edx
mov ecx, ebx
call fcn.64fda100
nop
call fcn.64fd8c20
jmp fcn.65024940