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

Disassembly:
test dword [0x7eeab0], 0xffffff80
jne 0x4ff5b0
test dword [0x7eeab0], 0xffffffff
jne 0x4ff84c
call fcn.006a7b4c
jmp fcn.004ff588
push edi
push esi
push ebp
push ebx
sub esp, 8
mov ebp, ecx
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov dword [ebp + 0xc], edx
mov dword [ebp + 0x1b], eax
xor edx, edx
xor ecx, ecx
mov ebx, dword [ecx + 0x7bd26c]
test ebx, ebx
je 0x4ff5f5
movzx ebx, byte [ebx + 0x10]
test bl, 2
jne 0x4ff5f5
add ecx, 0x94
inc edx
cmp edx, 0x400
jl 0x4ff5cb
mov ecx, 0
cmove edx, ecx
movsx edi, dx
mov word [ebp + 0x21], di
imul edx, edi, 0x94
lea edi, [edx + 0x7bd1e0]
mov dword [edi + 0x8c], ebp
push 0
push eax
push edi
mov ecx, dword [esp + 0x28]
call fcn.00550458
movsx eax, word [edi + 8]
neg eax
movsx esi, ax
cmp esi, dword [edi + 0x84]
jg 0x4ff634
mov eax, dword [edi + 0x80]
jmp 0x4ff655
mov ecx, dword [edi + 0x80]
call fcn.004db4f8
mov ecx, esi
shl ecx, 7
call fcn.004dbe28
mov dword [edi + 0x80], eax
mov dword [edi + 0x84], esi
mov edx, dword [edi]
mov dword [eax], edx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov ebx, dword [edi + 8]
mov dword [eax + 8], ebx
mov edx, dword [edi + 0xc]
mov dword [eax + 0xc], edx
mov edx, dword [edi + 0x10]
mov dword [eax + 0x10], edx
mov edx, dword [edi + 0x14]
mov dword [eax + 0x14], edx
mov edx, dword [edi + 0x18]
mov dword [eax + 0x18], edx
mov edx, dword [edi + 0x1c]
mov dword [eax + 0x1c], edx
mov edx, dword [edi + 0x20]
mov dword [eax + 0x20], edx
mov edx, dword [edi + 0x24]
mov dword [eax + 0x24], edx
mov edx, dword [edi + 0x28]
mov dword [eax + 0x28], edx
mov edx, dword [edi + 0x2c]
mov dword [eax + 0x2c], edx
mov edx, dword [edi + 0x30]
mov dword [eax + 0x30], edx
mov edx, dword [edi + 0x34]
mov dword [eax + 0x34], edx
mov edx, dword [edi + 0x38]
mov dword [eax + 0x38], edx
mov edx, dword [edi + 0x3c]
mov dword [eax + 0x3c], edx
mov edx, dword [edi + 0x40]
mov dword [eax + 0x40], edx
mov edx, dword [edi + 0x44]
mov dword [eax + 0x44], edx
mov edx, dword [edi + 0x48]
mov dword [eax + 0x48], edx
mov edx, dword [edi + 0x4c]
mov dword [eax + 0x4c], edx
mov edx, dword [edi + 0x50]
mov dword [eax + 0x50], edx
mov edx, dword [edi + 0x54]
mov dword [eax + 0x54], edx
mov edx, dword [edi + 0x58]
mov dword [eax + 0x58], edx
mov edx, dword [edi + 0x5c]
mov dword [eax + 0x5c], edx
mov edx, dword [edi + 0x60]
mov dword [eax + 0x60], edx
mov edx, dword [edi + 0x64]
mov dword [eax + 0x64], edx
mov edx, dword [edi + 0x68]
mov dword [eax + 0x68], edx
mov edx, dword [edi + 0x6c]
mov dword [eax + 0x6c], edx
mov edx, dword [edi + 0x70]
mov dword [eax + 0x70], edx
mov edx, dword [edi + 0x74]
mov dword [eax + 0x74], edx
mov edx, dword [edi + 0x78]
mov dword [eax + 0x78], edx
mov edx, dword [edi + 0x7c]
mov dword [eax + 0x7c], edx
lea edx, [eax + 0x80]
mov dword [edi + 0x88], edx
mov ecx, dword [eax + 4]
mov dword [ebp + 4], ecx
mov edx, dword [eax + 0xc]
cmp esi, 1
jle 0x4ff828
mov ecx, 1
lea ebx, [eax + 0x10]
mov dword [esp + 4], esi
mov dword [esp], ebp
mov ebp, eax
mov esi, edi
mov edi, ecx
add ebx, 0x80
add ebp, 0x80
push 0
push edx
push ebp
mov ecx, dword [esp + 0x28]
call fcn.00550458
mov edx, dword [ebp + 0xc]
mov ecx, dword [esi + 0x88]
mov eax, dword [ebx]
mov dword [ecx], eax
mov eax, dword [ebx + 4]
mov dword [ecx + 4], eax
mov eax, dword [ebx + 8]
mov dword [ecx + 8], eax
mov eax, dword [ebx + 0xc]
mov dword [ecx + 0xc], eax
mov eax, dword [ebx + 0x10]
mov dword [ecx + 0x10], eax
mov eax, dword [ebx + 0x14]
mov dword [ecx + 0x14], eax
mov eax, dword [ebx + 0x18]
mov dword [ecx + 0x18], eax
mov eax, dword [ebx + 0x1c]
mov dword [ecx + 0x1c], eax
mov eax, dword [ebx + 0x20]
mov dword [ecx + 0x20], eax
mov eax, dword [ebx + 0x24]
mov dword [ecx + 0x24], eax
mov eax, dword [ebx + 0x28]
mov dword [ecx + 0x28], eax
mov eax, dword [ebx + 0x2c]
mov dword [ecx + 0x2c], eax
mov eax, dword [ebx + 0x30]
mov dword [ecx + 0x30], eax
mov eax, dword [ebx + 0x34]
mov dword [ecx + 0x34], eax
mov eax, dword [ebx + 0x38]
mov dword [ecx + 0x38], eax
mov eax, dword [ebx + 0x3c]
mov dword [ecx + 0x3c], eax
mov eax, dword [ebx + 0x40]
mov dword [ecx + 0x40], eax
mov eax, dword [ebx + 0x44]
mov dword [ecx + 0x44], eax
mov eax, dword [ebx + 0x48]
mov dword [ecx + 0x48], eax
mov eax, dword [ebx + 0x4c]
mov dword [ecx + 0x4c], eax
mov eax, dword [ebx + 0x50]
mov dword [ecx + 0x50], eax
mov eax, dword [ebx + 0x54]
mov dword [ecx + 0x54], eax
mov eax, dword [ebx + 0x58]
mov dword [ecx + 0x58], eax
mov eax, dword [ebx + 0x5c]
mov dword [ecx + 0x5c], eax
mov eax, dword [ebx + 0x60]
mov dword [ecx + 0x60], eax
mov eax, dword [ebx + 0x64]
mov dword [ecx + 0x64], eax
mov eax, dword [ebx + 0x68]
mov dword [ecx + 0x68], eax
mov eax, dword [ebx + 0x6c]
mov dword [ecx + 0x6c], eax
add dword [esi + 0x88], 0x70
inc edi
movsx ecx, di
mov eax, dword [esp + 4]
cmp eax, ecx
jg 0x4ff746
mov ebp, dword [esp]
movsx eax, word [ebp + 0x1f]
test eax, eax
jne 0x4ff837
mov ecx, ebp
call fcn.004ffae8
mov eax, dword [ebp]
push 0
mov ecx, ebp
call dword [eax + 0x10]
add esp, 8
pop ebx
pop ebp
pop esi
pop edi
ret 8
push edi
push esi
push ebp
push ebx
sub esp, 8
mov ebp, ecx
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov dword [ebp + 0xc], edx
mov dword [ebp + 0x1b], eax
xor edx, edx
xor ecx, ecx
mov ebx, dword [ecx + 0x7bd26c]
test ebx, ebx
je 0x4ff890
movzx ebx, byte [ebx + 0x10]
test bl, 2
jne 0x4ff890
add ecx, 0x94
inc edx
cmp edx, 0x400
jl 0x4ff867
jne 0x4ff890
mov edx, 0
movsx edi, dx
mov word [ebp + 0x21], di
imul edx, edi, 0x94
lea edi, [edx + 0x7bd1e0]
mov dword [edi + 0x8c], ebp
push 0
push eax
push edi
mov ecx, dword [esp + 0x28]
call fcn.00550458
movsx eax, word [edi + 8]
neg eax
movsx esi, ax
cmp esi, dword [edi + 0x84]
jg 0x4ff8cf
mov eax, dword [edi + 0x80]
jmp 0x4ff8f0
mov ecx, dword [edi + 0x80]
call fcn.004db4f8
mov ecx, esi
shl ecx, 7
call fcn.004dbe28
mov dword [edi + 0x80], eax
mov dword [edi + 0x84], esi
mov edx, dword [edi]
mov dword [eax], edx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov ebx, dword [edi + 8]
mov dword [eax + 8], ebx
mov edx, dword [edi + 0xc]
mov dword [eax + 0xc], edx
mov edx, dword [edi + 0x10]
mov dword [eax + 0x10], edx
mov edx, dword [edi + 0x14]
mov dword [eax + 0x14], edx
mov edx, dword [edi + 0x18]
mov dword [eax + 0x18], edx
mov edx, dword [edi + 0x1c]
mov dword [eax + 0x1c], edx
mov edx, dword [edi + 0x20]
mov dword [eax + 0x20], edx
mov edx, dword [edi + 0x24]
mov dword [eax + 0x24], edx
mov edx, dword [edi + 0x28]
mov dword [eax + 0x28], edx
mov edx, dword [edi + 0x2c]
mov dword [eax + 0x2c], edx
mov edx, dword [edi + 0x30]
mov dword [eax + 0x30], edx
mov edx, dword [edi + 0x34]
mov dword [eax + 0x34], edx
mov edx, dword [edi + 0x38]
mov dword [eax + 0x38], edx
mov edx, dword [edi + 0x3c]
mov dword [eax + 0x3c], edx
mov edx, dword [edi + 0x40]
mov dword [eax + 0x40], edx
mov edx, dword [edi + 0x44]
mov dword [eax + 0x44], edx
mov edx, dword [edi + 0x48]
mov dword [eax + 0x48], edx
mov edx, dword [edi + 0x4c]
mov dword [eax + 0x4c], edx
mov edx, dword [edi + 0x50]
mov dword [eax + 0x50], edx
mov edx, dword [edi + 0x54]
mov dword [eax + 0x54], edx
mov edx, dword [edi + 0x58]
mov dword [eax + 0x58], edx
mov edx, dword [edi + 0x5c]
mov dword [eax + 0x5c], edx
mov edx, dword [edi + 0x60]
mov dword [eax + 0x60], edx
mov edx, dword [edi + 0x64]
mov dword [eax + 0x64], edx
mov edx, dword [edi + 0x68]
mov dword [eax + 0x68], edx
mov edx, dword [edi + 0x6c]
mov dword [eax + 0x6c], edx
mov edx, dword [edi + 0x70]
mov dword [eax + 0x70], edx
mov edx, dword [edi + 0x74]
mov dword [eax + 0x74], edx
mov edx, dword [edi + 0x78]
mov dword [eax + 0x78], edx
mov edx, dword [edi + 0x7c]
mov dword [eax + 0x7c], edx
lea edx, [eax + 0x80]
mov dword [edi + 0x88], edx
mov ecx, dword [eax + 4]
mov dword [ebp + 4], ecx
mov edx, dword [eax + 0xc]
cmp esi, 1
jle 0x4ffac3
mov ecx, 1
lea ebx, [eax + 0x10]
mov dword [esp + 4], esi
mov dword [esp], ebp
mov ebp, eax
mov esi, edi
mov edi, ecx
add ebx, 0x80
add ebp, 0x80
push 0
push edx
push ebp
mov ecx, dword [esp + 0x28]
call fcn.00550458
mov edx, dword [ebp + 0xc]
mov ecx, dword [esi + 0x88]
mov eax, dword [ebx]
mov dword [ecx], eax
mov eax, dword [ebx + 4]
mov dword [ecx + 4], eax
mov eax, dword [ebx + 8]
mov dword [ecx + 8], eax
mov eax, dword [ebx + 0xc]
mov dword [ecx + 0xc], eax
mov eax, dword [ebx + 0x10]
mov dword [ecx + 0x10], eax
mov eax, dword [ebx + 0x14]
mov dword [ecx + 0x14], eax
mov eax, dword [ebx + 0x18]
mov dword [ecx + 0x18], eax
mov eax, dword [ebx + 0x1c]
mov dword [ecx + 0x1c], eax
mov eax, dword [ebx + 0x20]
mov dword [ecx + 0x20], eax
mov eax, dword [ebx + 0x24]
mov dword [ecx + 0x24], eax
mov eax, dword [ebx + 0x28]
mov dword [ecx + 0x28], eax
mov eax, dword [ebx + 0x2c]
mov dword [ecx + 0x2c], eax
mov eax, dword [ebx + 0x30]
mov dword [ecx + 0x30], eax
mov eax, dword [ebx + 0x34]
mov dword [ecx + 0x34], eax
mov eax, dword [ebx + 0x38]
mov dword [ecx + 0x38], eax
mov eax, dword [ebx + 0x3c]
mov dword [ecx + 0x3c], eax
mov eax, dword [ebx + 0x40]
mov dword [ecx + 0x40], eax
mov eax, dword [ebx + 0x44]
mov dword [ecx + 0x44], eax
mov eax, dword [ebx + 0x48]
mov dword [ecx + 0x48], eax
mov eax, dword [ebx + 0x4c]
mov dword [ecx + 0x4c], eax
mov eax, dword [ebx + 0x50]
mov dword [ecx + 0x50], eax
mov eax, dword [ebx + 0x54]
mov dword [ecx + 0x54], eax
mov eax, dword [ebx + 0x58]
mov dword [ecx + 0x58], eax
mov eax, dword [ebx + 0x5c]
mov dword [ecx + 0x5c], eax
mov eax, dword [ebx + 0x60]
mov dword [ecx + 0x60], eax
mov eax, dword [ebx + 0x64]
mov dword [ecx + 0x64], eax
mov eax, dword [ebx + 0x68]
mov dword [ecx + 0x68], eax
mov eax, dword [ebx + 0x6c]
mov dword [ecx + 0x6c], eax
add dword [esi + 0x88], 0x70
inc edi
movsx ecx, di
mov eax, dword [esp + 4]
cmp eax, ecx
jg 0x4ff9e1
mov ebp, dword [esp]
movsx eax, word [ebp + 0x1f]
test eax, eax
jne 0x4ffad2
mov ecx, ebp
call fcn.004ffae8
mov eax, dword [ebp]
push 0
mov ecx, ebp
call dword [eax + 0x10]
add esp, 8
pop ebx
pop ebp
pop esi
pop edi
ret 8