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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x2c
mov ebx, eax
mov ebp, dword [eax + 0x10]
cmp byte [ebp + 0x15], 4
jbe 0x4f5f50
xor eax, eax
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret
xor eax, eax
mov al, byte [ebp + 0x15]
jmp dword [eax*4 + 0x7a3624]
mov esi, dword [ebp + 0x44]
mov edx, dword [ebp + 0x20]
mov ecx, 0x28
mov eax, ebx
call fcn.004f5aa0
mov dword [ebp + 0x20], eax
mov edi, dword [eax]
test edi, edi
je 0x4f6251
mov eax, dword [ebp + 0x44]
sub eax, esi
add dword [ebp + 0x48], eax
mov eax, 0x190
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret
mov ecx, dword [ebp + 0x30]
test ecx, ecx
je 0x4f6060
mov eax, ebx
call fcn.004f5c70
mov eax, dword [ebp + 0x48]
cmp eax, 0x64
jbe 0x4f6050
sub eax, 0x64
mov dword [ebp + 0x48], eax
mov eax, 0x64
jmp 0x4f5f44
lea eax, [ebx + 0x10]
call fcn.004f5db0
xor eax, eax
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp + 0x24]
test eax, eax
je 0x4f6072
mov eax, ebp
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.004f5430
mov esi, dword [ebp + 0x44]
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp]
lea edx, [edx + eax*4]
inc eax
mov dword [ebp + 0x18], eax
mov ecx, 0xfffffffd
mov eax, ebx
call fcn.004f5aa0
mov eax, dword [ebp + 8]
cmp dword [ebp + 0x18], eax
jl 0x4f6038
mov byte [ebp + 0x15], 3
mov eax, dword [ebp + 0x44]
sub eax, esi
add dword [ebp + 0x48], eax
mov eax, 0xa
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, 0x64
jmp 0x4f5f44
mov byte [ebp + 0x15], 0
mov dword [ebp + 0x4c], 0
xor eax, eax
jmp 0x4f5f44
mov esi, dword [ebp + 0x8c]
lea edi, [ebp + 0x78]
cmp esi, edi
je 0x4f60a7
nop
test byte [esi + 5], 7
jne 0x4f60a0
mov edx, dword [esi + 8]
cmp dword [edx + 8], 3
jle 0x4f60a0
mov edx, dword [edx]
test byte [edx + 5], 3
jne 0x4f6245
nop
lea esi, [esi]
mov esi, dword [esi + 0x14]
cmp esi, edi
jne 0x4f6080
mov eax, ebp
call fcn.004f5a70
mov eax, dword [ebp + 0x2c]
mov dword [ebp + 0x24], eax
mov dword [ebp + 0x2c], 0
test byte [ebx + 5], 3
je 0x4f60ca
mov edx, ebx
mov eax, ebp
call fcn.004f5300
mov eax, ebp
call fcn.004f53f0
mov eax, ebp
call fcn.004f5a70
mov eax, dword [ebp + 0x28]
mov dword [ebp + 0x24], eax
mov dword [ebp + 0x28], 0
mov eax, ebp
call fcn.004f5a70
mov dword [esp + 4], 0
mov dword [esp], ebx
call fcn.004f5e50
mov dword [esp + 0x14], eax
mov ebx, dword [ebp + 0x30]
test ebx, ebx
je 0x4f6131
mov esi, esi
lea edi, [edi]
mov ebx, dword [ebx]
mov dl, byte [ebp + 0x14]
and edx, 3
mov cl, byte [ebx + 5]
and ecx, 0xfffffff8
or edx, ecx
mov byte [ebx + 5], dl
mov edx, ebx
mov eax, ebp
call fcn.004f5300
cmp ebx, dword [ebp + 0x30]
jne 0x4f6110
mov eax, ebp
call fcn.004f5a70
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x2c]
test eax, eax
je 0x4f61ff
mov dword [esp + 0x1c], ebp
mov ebp, eax
lea esi, [esi]
mov esi, dword [ebp + 0x1c]
test byte [ebp + 5], 0x10
je 0x4f6195
dec esi
mov edi, esi
shl edi, 4
jmp 0x4f6190
mov ebx, dword [ebp + 0xc]
add ebx, edi
mov edx, dword [ebx + 8]
xor ecx, ecx
mov eax, dword [ebx]
call fcn.004f5d60
test eax, eax
je 0x4f618c
mov dword [ebx + 8], 0
dec esi
sub edi, 0x10
cmp esi, 0xffffffff
jne 0x4f6170
xor ecx, ecx
mov cl, byte [ebp + 7]
mov esi, 1
shl esi, cl
dec esi
mov edi, esi
shl edi, 5
jmp 0x4f61b4
dec esi
sub edi, 0x20
cmp esi, 0xffffffff
je 0x4f61f0
mov ebx, dword [ebp + 0x10]
add ebx, edi
mov eax, dword [ebx + 8]
test eax, eax
je 0x4f61b0
mov edx, dword [ebx + 0x18]
mov eax, dword [ebx + 0x10]
mov ecx, 1
call fcn.004f5d60
test eax, eax
je 0x4f6230
mov dword [ebx + 8], 0
cmp dword [ebx + 0x18], 3
jle 0x4f61b0
mov dword [ebx + 0x18], 0xb
jmp 0x4f61b0
mov ebp, dword [ebp + 0x18]
test ebp, ebp
jne 0x4f6150
mov ebp, dword [esp + 0x1c]
xor byte [ebp + 0x14], 3
mov dword [ebp + 0x18], 0
lea eax, [ebp + 0x1c]
mov dword [ebp + 0x20], eax
mov byte [ebp + 0x15], 2
mov eax, dword [ebp + 0x44]
sub eax, dword [esp + 0x14]
sub eax, dword [esp + 0x18]
mov dword [ebp + 0x48], eax
xor eax, eax
jmp 0x4f5f44
mov edx, dword [ebx + 8]
xor ecx, ecx
mov eax, dword [ebx]
call fcn.004f5d60
test eax, eax
jne 0x4f61d9
jmp 0x4f61b0
mov eax, ebp
call fcn.004f5300
jmp 0x4f60a0
mov edi, dword [ebx + 0x10]
mov eax, dword [edi + 8]
mov edx, eax
test eax, eax
js 0x4f62a4
sar edx, 2
cmp dword [edi + 4], edx
jae 0x4f626a
cmp eax, 0x40
jg 0x4f62a9
mov eax, dword [edi + 0x3c]
cmp eax, 0x40
jbe 0x4f629b
mov edx, eax
shr edx, 1
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x34]
mov dword [esp + 4], eax
mov dword [esp], ebx
mov dword [esp + 0x10], edx
call fcn.004fa3a0
mov dword [edi + 0x34], eax
mov edx, dword [esp + 0x10]
mov dword [edi + 0x3c], edx
mov byte [ebp + 0x15], 4
jmp 0x4f5f7f
lea edx, [eax + 3]
jmp 0x4f625d
sar eax, 1
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.004f99d0
jmp 0x4f626a