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

Disassembly:
test dword [0x7eda90], 0xffffff80
jne 0x4ff490
test dword [0x7eda90], 0xffffffff
jne 0x4ff72c
call fcn.006a6b5c
jmp fcn.004ff468
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 + 0x7bc24c]
test ebx, ebx
je 0x4ff4d5
movzx ebx, byte [ebx + 0x10]
test bl, 2
jne 0x4ff4d5
add ecx, 0x94
inc edx
cmp edx, 0x400
jl 0x4ff4ab
mov ecx, 0
cmove edx, ecx
movsx edi, dx
mov word [ebp + 0x21], di
imul edx, edi, 0x94
lea edi, [edx + 0x7bc1c0]
mov dword [edi + 0x8c], ebp
push 0
push eax
push edi
mov ecx, dword [esp + 0x28]
call fcn.005501ac
movsx eax, word [edi + 8]
neg eax
movsx esi, ax
cmp esi, dword [edi + 0x84]
jg 0x4ff514
mov eax, dword [edi + 0x80]
jmp 0x4ff535
mov ecx, dword [edi + 0x80]
call fcn.004db418
mov ecx, esi
shl ecx, 7
call fcn.004dbd48
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 0x4ff708
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.005501ac
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 0x4ff626
mov ebp, dword [esp]
movsx eax, word [ebp + 0x1f]
test eax, eax
jne 0x4ff717
mov ecx, ebp
call fcn.004ff9c8
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 + 0x7bc24c]
test ebx, ebx
je 0x4ff770
movzx ebx, byte [ebx + 0x10]
test bl, 2
jne 0x4ff770
add ecx, 0x94
inc edx
cmp edx, 0x400
jl 0x4ff747
jne 0x4ff770
mov edx, 0
movsx edi, dx
mov word [ebp + 0x21], di
imul edx, edi, 0x94
lea edi, [edx + 0x7bc1c0]
mov dword [edi + 0x8c], ebp
push 0
push eax
push edi
mov ecx, dword [esp + 0x28]
call fcn.005501ac
movsx eax, word [edi + 8]
neg eax
movsx esi, ax
cmp esi, dword [edi + 0x84]
jg 0x4ff7af
mov eax, dword [edi + 0x80]
jmp 0x4ff7d0
mov ecx, dword [edi + 0x80]
call fcn.004db418
mov ecx, esi
shl ecx, 7
call fcn.004dbd48
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 0x4ff9a3
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.005501ac
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 0x4ff8c1
mov ebp, dword [esp]
movsx eax, word [ebp + 0x1f]
test eax, eax
jne 0x4ff9b2
mov ecx, ebp
call fcn.004ff9c8
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