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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push edi
mov edi, ecx
mov dword [ebp - 8], edi
cmp dword [edi], 0
je 0x463f57
push ebx
mov ebx, dword [sym.imp.PAL.dll_PalMemoryFree]
mov eax, 8
push esi
lea esi, [edi + 0x2c]
mov dword [ebp - 4], eax
mov ecx, dword [esi]
test ecx, ecx
je 0x463c14
call fcn.00462f70
mov eax, dword [esi]
push dword [eax + 0x10]
call ebx
push dword [esi]
call ebx
mov eax, dword [ebp - 4]
add esp, 8
add esi, 4
sub eax, 1
mov dword [ebp - 4], eax
jne 0x463bf8
mov eax, dword [edi + 0x28]
test eax, eax
je 0x463c4e
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x463c34
push eax
push edi
call ecx
add esp, 8
mov esi, dword [edi + 0x28]
mov eax, dword [esi + 0xc]
mov dword [edi + 0x28], eax
push dword [esi]
call ebx
push esi
call ebx
mov eax, dword [edi + 0x28]
add esp, 8
test eax, eax
jne 0x463c26
push dword [edi + 0x10]
call ebx
mov esi, dword [edi + 0xc]
xor eax, eax
add esp, 4
mov dword [esi + 8], 0
mov dword [esi + 0xa8], 0
mov dword [esi + 0xac], 0
mov dword [esi + 0xb0], 0
mov dword [esi + 0xc8], 0
mov dword [esi + 0xcc], 0
mov dword [esi + 0xd0], 0
mov dword [esi + 0xe8], 0
mov word [esi + 0xf4], ax
mov dword [esi + 0x108], eax
mov dword [esi + 0x10c], eax
mov dword [esi + 0x110], eax
mov dword [esi + 0x120], eax
mov dword [esi + 0x124], eax
mov dword [esi + 0x128], eax
cmp dword [edi + 4], eax
jne 0x463f1f
movss xmm0, dword [esi + 0x1a0]
addss xmm0, dword [esi + 0x58]
mov eax, dword [esi + 0x178]
add dword [esi + 0x1c], eax
mov eax, dword [esi + 0x17c]
add dword [esi + 0x20], eax
movss dword [esi + 0x58], xmm0
movss xmm0, dword [esi + 0x1ac]
addss xmm0, dword [esi + 0x78]
mov eax, dword [esi + 0x180]
add dword [esi + 0x24], eax
mov eax, dword [esi + 0x184]
add dword [esi + 0x34], eax
movss dword [esi + 0x78], xmm0
movss xmm0, dword [esi + 0x1b0]
addss xmm0, dword [esi + 0x7c]
mov eax, dword [esi + 0x188]
add dword [esi + 0x38], eax
mov eax, dword [esi + 0x18c]
add dword [esi + 0x3c], eax
movss dword [esi + 0x7c], xmm0
movss xmm0, dword [esi + 0x1b4]
addss xmm0, dword [esi + 0x80]
push 0
movss dword [esi + 0x80], xmm0
movss xmm0, dword [esi + 0x1b8]
addss xmm0, dword [esi + 0x90]
movss dword [esi + 0x90], xmm0
movss xmm0, dword [esi + 0x1bc]
addss xmm0, dword [esi + 0x94]
movss dword [esi + 0x94], xmm0
movss xmm0, dword [esi + 0x1c0]
addss xmm0, dword [esi + 0x98]
movss dword [esi + 0x98], xmm0
call dword [sym.imp.PAL.dll_PalTaskGetTaskData]
add eax, 0x28548
add esp, 4
xor ecx, ecx
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], ecx
lea ebx, [eax + 0x5c]
cmp dword [ebx - 0x5c], 0
je 0x463e03
mov eax, dword [ebx - 0x50]
not eax
test eax, 0x40000
jne 0x463e03
xor edx, edx
mov ecx, ebx
nop dword [eax]
test dword [ecx - 4], 0x10000000
je 0x463df7
imul eax, dword [ecx], 0x2dc
mov edi, dword [ebp - 0xc]
cmp esi, dword [eax + edi]
je 0x463e4c
inc edx
add ecx, 0x50
cmp edx, 8
jl 0x463de0
mov ecx, dword [ebp - 4]
inc ecx
add ebx, 0x2dc
mov dword [ebp - 4], ecx
cmp ecx, 0x40
jl 0x463dc3
xor eax, eax
movzx ecx, word [esi + 0x1a4]
movzx edx, word [esi + 0x1a6]
movzx ebx, word [esi + 0x1a8]
mov edi, dword [ebp - 8]
test eax, eax
je 0x463e53
movzx eax, word [esi + 0x1aa]
add word [esi + 0x60], cx
add word [esi + 0x62], dx
add word [esi + 0x64], bx
add word [esi + 0x66], ax
jmp 0x463f1f
mov eax, 1
jmp 0x463e14
movzx eax, byte [esi + 0x5f]
add ax, cx
mov dword [ebp - 4], 0xff
movzx eax, ax
mov dword [ebp - 0xc], eax
movzx eax, byte [esi + 0x5e]
add ax, dx
movzx edx, word [esi + 0x1aa]
movzx ecx, ax
movzx eax, byte [esi + 0x5d]
add ax, bx
movzx ebx, ax
movzx eax, byte [esi + 0x5c]
add ax, dx
movzx edx, ax
mov eax, dword [ebp - 0xc]
cmp ax, word [ebp - 4]
jle 0x463e9c
mov eax, 0xff
jmp 0x463eaa
test ax, ax
mov dword [ebp - 0xc], 0
cmovs eax, dword [ebp - 0xc]
cmp cx, word [ebp - 4]
jle 0x463eb7
mov ecx, 0xff
jmp 0x463ec5
test cx, cx
mov dword [ebp - 0xc], 0
cmovs ecx, dword [ebp - 0xc]
cmp bx, word [ebp - 4]
jle 0x463ed2
mov ebx, 0xff
jmp 0x463ee0
test bx, bx
mov dword [ebp - 0xc], 0
cmovs ebx, dword [ebp - 0xc]
cmp dx, word [ebp - 4]
jle 0x463eed
mov edx, 0xff
jmp 0x463efb
test dx, dx
mov dword [ebp - 0xc], 0
cmovs edx, dword [ebp - 0xc]
cwde
movzx ecx, cl
shl eax, 8
or ecx, eax
movzx eax, bl
shl ecx, 8
or ecx, eax
movzx eax, dl
shl ecx, 8
or ecx, eax
xor eax, eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
mov dword [esi + 0x64], eax
push 0x4c
lea eax, [esi + 0x178]
push 0
push eax
call fcn.0048e190
mov ecx, dword [edi + 0x4c]
add esp, 0xc
mov eax, dword [edi + 0x50]
mov dword [ecx + 0x50], eax
mov ecx, dword [edi + 0x50]
pop esi
pop ebx
test ecx, ecx
je 0x463f4a
mov eax, dword [edi + 0x4c]
mov dword [ecx + 0x4c], eax
push 0x54
push 0
push edi
call fcn.0048e190
add esp, 0xc
pop edi
mov esp, ebp
pop ebp
ret