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

Disassembly:
sub esp, 0x5c
push ebx
push ebp
push esi
mov esi, dword [esp + 0x7c]
push edi
mov dword [esp + 0x2c], ecx
xor eax, eax
mov ecx, 0xe
lea edi, [esp + 0x34]
rep stosd dword es:[edi], eax
mov edi, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
xor ebp, ebp
cmp edi, ebp
mov eax, 0xfffffffd
mov dword [esp + 0x18], edi
mov dword [esp + 0x20], ecx
je 0x4f782d
mov al, byte [esi + 0x38]
mov cl, al
shr cl, 2
mov bl, al
and cl, 1
and bl, 1
test al, 0x18
mov byte [esp + 0x30], al
mov eax, dword [esp + 0x7c]
setne byte [esp + 0x13]
cmp eax, ebp
mov byte [esp + 0x12], cl
jbe 0x4f75b9
test bl, bl
push 0x38
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], ebp
mov dword [esp + 0x58], ebp
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x60], ebp
push 0x68ecc8
je 0x4f7590
push 0xfffffffffffffff1
lea edx, [esp + 0x40]
push edx
jmp 0x4f7597
push 0xf
lea eax, [esp + 0x40]
push eax
call fcn.005023a0
add esp, 0x10
cmp eax, ebp
mov dword [esp + 0x14], eax
je 0x4f75bd
mov ecx, dword [esp + 0x74]
pop edi
pop esi
mov dword [ecx], ebp
pop ebp
xor al, al
pop ebx
add esp, 0x5c
ret 0x14
mov dword [esp + 0x14], ebp
test bl, bl
je 0x4f768b
cmp dword [esp + 0x7c], ebp
jbe 0x4f768b
test byte [esi + 0x38], 0x18
mov eax, dword [esp + 0x20]
mov ebp, edi
mov ebx, eax
je 0x4f75ef
mov ebp, dword [esi + 0x18]
test ebp, ebp
mov ebx, dword [esi + 0x1c]
jne 0x4f75ef
test eax, eax
jbe 0x4f7652
mov ebp, edi
mov ebx, eax
test ebx, ebx
je 0x4f7652
mov ecx, dword [esp + 0x74]
mov edi, dword [esp + 0x70]
mov eax, ebx
shr eax, 8
mov byte [esp + 0x26], al
not al
mov byte [esp + 0x28], al
mov dl, bl
not dl
lea eax, [esp + 0x24]
mov dword [esp + 0x34], eax
mov byte [esp + 0x27], dl
mov edx, dword [ecx]
lea eax, [esp + 0x34]
push 0
push eax
mov byte [esp + 0x2c], 0
mov byte [esp + 0x2d], bl
mov dword [esp + 0x40], 5
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edx
call fcn.005025b0
add esp, 8
test eax, eax
je 0x4f765e
mov ecx, dword [esp + 0x74]
mov dword [ecx], 0
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x5c
ret 0x14
mov edx, dword [esp + 0x74]
mov eax, dword [edx]
lea ecx, [esp + 0x34]
push 2
push ecx
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebx
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], eax
call fcn.005025b0
add esp, 8
mov dword [esp + 0x14], eax
xor ebp, ebp
jmp 0x4f768f
mov edi, dword [esp + 0x70]
cmp dword [esp + 0x14], ebp
jne 0x4f7829
mov al, byte [esp + 0x12]
mov edx, dword [esp + 0x48]
xor ebx, ebx
test al, al
mov dword [esp + 0x24], edx
mov dword [esp + 0x1c], edi
je 0x4f7752
mov eax, dword [esi + 0x28]
movzx edx, byte [esi + 0x3a]
movzx ebx, byte [esi + 0x39]
lea eax, [eax + eax*2]
imul edx, eax
imul ebx, eax
test edx, edx
jne 0x4f76f3
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x74]
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 ecx, eax
mov dword [edx], ecx
mov dword [esp + 0x14], 0
jmp 0x4f7752
test ebx, ebx
jle 0x4f7726
mov esi, dword [esp + 0x18]
mov ecx, ebx
mov ebp, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x80]
add ecx, ebx
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x70]
add ecx, ebx
mov dword [esp + 0x1c], ecx
mov ebp, dword [esi + 0x24]
imul ebp, eax
sub ebp, edx
sub ebp, ebx
test ebp, ebp
jle 0x4f7752
mov eax, dword [esp + 0x18]
lea esi, [edx + eax]
mov eax, dword [esp + 0x1c]
mov ecx, ebp
lea edi, [edx + eax]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x7c]
test eax, eax
jbe 0x4f7827
mov edx, dword [esp + 0x74]
mov edi, dword [edx]
mov ecx, dword [esp + 0x78]
sub edi, ebp
mov dword [esp + 0x38], eax
mov al, byte [esp + 0x13]
sub edi, ebx
test al, al
mov dword [esp + 0x34], ecx
mov dword [esp + 0x70], edi
je 0x4f77c8
mov esi, dword [esp + 0x2c]
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
lea edx, [esp + 0x34]
push 4
push edx
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], ecx
call fcn.005025b0
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x50]
mov ebp, dword [esp + 0x2c]
mov edx, dword [esi + 0xc]
add esp, 8
push eax
sub ecx, ebp
push ecx
mov ecx, dword [esp + 0x24]
push edx
lea eax, [esp + 0x7c]
push eax
push ecx
mov ecx, esi
call fcn.004f7350
jmp 0x4f7816
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x34]
push 2
push eax
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], edi
call fcn.005025b0
add esp, 8
test eax, eax
je 0x4f7802
cmp eax, 1
je 0x4f7802
mov ecx, edi
mov edi, dword [esp + 0x1c]
mov edx, ecx
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x48]
sub ebp, edx
add ebp, ebx
add ebp, eax
mov eax, dword [esp + 0x74]
mov dword [eax], ebp
lea ecx, [esp + 0x34]
push ecx
call fcn.00503bf0
add esp, 4
mov dword [esp + 0x14], eax
xor ebp, ebp
mov eax, dword [esp + 0x14]
pop edi
xor edx, edx
cmp eax, ebp
pop esi
sete dl
pop ebp
mov al, dl
pop ebx
add esp, 0x5c
ret 0x14