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

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0xa24
test eax, eax
push ebx
push ebp
push esi
push edi
jne 0x65d4f1
pop edi
pop esi
pop ebp
mov ax, 0x10
pop ebx
add esp, 0xa24
ret
mov ecx, dword [0x64a720]
mov eax, dword [eax + 0x54]
push ecx
push eax
call fcn.006555c0
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x65d519
pop edi
pop esi
pop ebp
mov ax, 2
pop ebx
add esp, 0xa24
ret
mov ax, word [ebp + 0x44]
test ax, ax
je 0x65daec
cmp ax, 0xffff
je 0x65daec
mov edx, dword [esp + 0xa3c]
push ebp
and edx, 0xfff
push edx
call fcn.0065d4a0
add esp, 8
test ax, ax
je 0x65d561
push ebp
push eax
call fcn.00654640
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa24
ret
mov eax, dword [esp + 0xa44]
test eax, eax
je 0x65d4e2
mov esi, dword [esp + 0xa50]
test si, si
jbe 0x65d4e2
cmp si, 0x38
jbe 0x65d595
pop edi
pop esi
pop ebp
mov ax, 0x14
pop ebx
add esp, 0xa24
ret
xor eax, eax
mov ebx, dword [fcn.0064b1ec]
mov dword [esp + 0x24], eax
xor edx, edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x24]
movsx ecx, word [ebp + 0x5a]
mov dx, word [ebp + ecx*2 + 0x46]
push edx
push 0x647098
push eax
call ebx
xor ecx, ecx
xor edx, edx
mov dword [esp + 0x48], ecx
lea eax, [esp + 0x48]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dx, word [ebp + 0x44]
push edx
push 0x647098
push eax
call ebx
mov ecx, 0xc
xor eax, eax
lea edi, [esp + 0x78]
lea edx, [esp + 0x78]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0xa58]
and ecx, 0xffff
push ecx
push 0x647098
push edx
stosw word es:[edi], ax
call ebx
mov ecx, dword [esp + 0xa60]
xor eax, eax
mov dword [esp + 0x3c], eax
push ecx
lea edx, [esp + 0x40]
mov dword [esp + 0x44], eax
push 0x64718c
push edx
mov dword [esp + 0x50], eax
call ebx
mov ecx, 0x1c
xor eax, eax
lea edi, [esp + 0x138]
rep stosd dword es:[edi], eax
mov ecx, 0x1c
lea edi, [esp + 0xc4]
rep stosd dword es:[edi], eax
mov eax, esi
mov esi, dword [esp + 0xa74]
and eax, 0xffff
lea edi, [esp + 0x138]
mov ecx, eax
mov dword [esp + 0x44], eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x138]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0xc4]
push ecx
push eax
push edx
call fcn.0065ee90
mov ecx, dword [esp + 0x50]
xor eax, eax
mov dword [esp + 0x6c], eax
push ecx
lea edx, [esp + 0x70]
mov dword [esp + 0x74], eax
push 0x647098
push edx
mov dword [esp + 0x80], eax
call ebx
mov esi, dword [esp + 0xaa0]
add esp, 0x48
mov edi, 0x647384
mov cl, byte [esi]
mov dl, byte [edi]
mov al, cl
cmp cl, dl
jne 0x65d6e3
test al, al
je 0x65d6df
mov dl, byte [esi + 1]
mov cl, byte [edi + 1]
mov al, dl
cmp dl, cl
jne 0x65d6e3
add esi, 2
add edi, 2
test al, al
jne 0x65d6bb
xor eax, eax
jmp 0x65d6e8
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x65d749
mov ecx, dword [esp + 0xa54]
mov dword [esp + 0x48], eax
and ecx, 0xffff
lea edx, [esp + 0x48]
push ecx
mov dword [esp + 0x50], eax
push 0x647098
push edx
mov dword [esp + 0x5c], eax
call ebx
lea eax, [esp + 0x54]
lea ecx, [esp + 0x3c]
push eax
lea edx, [esp + 0xa4]
push ecx
lea eax, [esp + 0x2c]
push edx
lea ecx, [esp + 0x78]
push eax
lea edx, [esp + 0x58]
push ecx
lea eax, [esp + 0x44]
push edx
push eax
push 7
push 0x647090
call fcn.0065f680
add esp, 0x30
jmp 0x65d779
lea ecx, [esp + 0x30]
lea edx, [esp + 0x94]
push ecx
lea eax, [esp + 0x1c]
push edx
lea ecx, [esp + 0x68]
push eax
lea edx, [esp + 0x48]
push ecx
lea eax, [esp + 0x34]
push edx
push eax
push 6
push 0x647090
call fcn.0065f680
add esp, 0x20
mov edx, eax
test edx, edx
jne 0x65d795
push ebp
push 0x4a
call fcn.00654640
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa24
ret
mov ecx, 0x64
xor eax, eax
lea edi, [esp + 0x584]
lea ebx, [esp + 0x584]
rep stosd dword es:[edi], eax
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push edx
mov eax, ecx
mov esi, edi
mov edi, ebx
mov ebx, dword [fcn.0064b254]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call ebx
xor ecx, ecx
lea edx, [esp + 0x58]
mov dword [esp + 0x58], ecx
lea eax, [esp + 0x588]
mov dword [esp + 0x5c], ecx
push edx
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0xa60]
push eax
push ecx
push 3
push 0x646f8c
call fcn.0065f680
mov edx, eax
add esp, 0x18
test edx, edx
jne 0x65d820
push ebp
push 0x4a
call fcn.00654640
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa24
ret
mov ecx, 0x64
xor eax, eax
lea edi, [esp + 0x3f4]
lea esi, [esp + 0x3f4]
rep stosd dword es:[edi], eax
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x10], esi
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0x10]
push edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call ebx
lea ecx, [esp + 0x3f8]
push ecx
call fcn.0065f760
mov edx, eax
add esp, 8
test edx, edx
jne 0x65d889
push ebp
push 0x4a
call fcn.00654640
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa24
ret
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
lea esi, [esp + 0x3f4]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x10], esi
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0x10]
push edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call ebx
mov ecx, 0x64
xor eax, eax
lea edi, [esp + 0x268]
lea edx, [esp + 0x3f8]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x268]
push ecx
push ebp
push edx
call fcn.0065ba50
add esp, 0x10
test ax, ax
je 0x65d8fb
push ebp
push eax
call fcn.00654570
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa24
ret
lea eax, [esp + 0x264]
push eax
call fcn.0065f450
mov esi, eax
add esp, 4
test esi, esi
jne 0x65d927
push ebp
push 0x42
call fcn.00654640
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa24
ret
mov ecx, 0x64
xor eax, eax
lea edi, [esp + 0x714]
lea edx, [esp + 0x8a4]
rep stosd dword es:[edi], eax
mov ecx, 0x64
lea edi, [esp + 0x8a4]
rep stosd dword es:[edi], eax
mov ecx, 0x64
lea edi, [esp + 0x264]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x264]
lea eax, [esp + 0x714]
push ecx
push edx
push eax
push esi
push 3
push 0x646f8c
call fcn.0065f2b0
push esi
mov edi, eax
call ebx
add esp, 0x1c
test di, di
je 0x65d99b
push ebp
push 0x42
call fcn.00654640
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa24
ret
mov esi, 0x647088
lea eax, [esp + 0x714]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x65d9cf
test cl, cl
je 0x65d9cb
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x65d9cf
add eax, 2
add esi, 2
test cl, cl
jne 0x65d9a7
xor eax, eax
jmp 0x65d9d4
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x65d9fb
lea eax, [esp + 0x8a4]
push eax
call dword [fcn.0064b208]
push ebp
push eax
call fcn.00654640
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa24
ret
mov ecx, 0x1c
xor eax, eax
lea edi, [esp + 0x1f0]
lea edx, [esp + 0x94]
rep stosd dword es:[edi], eax
mov ecx, 0x1c
lea edi, [esp + 0x94]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x1f0]
lea eax, [esp + 0x264]
push ecx
push edx
push eax
push 2
push 0x647090
call fcn.0065f2b0
add esp, 0x14
test ax, ax
je 0x65da5b
push ebp
push 0x42
call fcn.00654640
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa24
ret
mov ecx, 0x1c
xor eax, eax
lea edi, [esp + 0x17c]
lea edx, [esp + 0x94]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x17c]
push ecx
push edx
call fcn.0065ef20
mov edi, dword [esp + 0xa50]
add esp, 8
test edi, edi
je 0x65daa7
mov ecx, dword [esp + 0x14]
lea esi, [esp + 0x17c]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0xa4c]
test esi, esi
je 0x65dac5
lea ecx, [esp + 0x1f0]
push ecx
call dword [fcn.0064b1f0]
add esp, 4
mov dword [esi], eax
lea esi, [ebp + 0x68]
push esi
call dword [fcn.0064b268]
mov edi, dword [esi]
push ebp
add edi, 0x78
push 0
mov dword [esi], edi
call fcn.00654640
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa24
ret
pop edi
pop esi
pop ebp
mov ax, 0x47
pop ebx
add esp, 0xa24
ret