Function at 0x4629b0
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 0x462d37
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 0x4629f4
call fcn.00461d50
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 0x4629d8
mov eax, dword [edi + 0x28]
test eax, eax
je 0x462a2e
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x462a14
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 0x462a06
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 0x462cff
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, 0x284c8
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 0x462be3
mov eax, dword [ebx - 0x50]
not eax
test eax, 0x40000
jne 0x462be3
xor edx, edx
mov ecx, ebx
nop dword [eax]
test dword [ecx - 4], 0x10000000
je 0x462bd7
imul eax, dword [ecx], 0x2dc
mov edi, dword [ebp - 0xc]
cmp esi, dword [eax + edi]
je 0x462c2c
inc edx
add ecx, 0x50
cmp edx, 8
jl 0x462bc0
mov ecx, dword [ebp - 4]
inc ecx
add ebx, 0x2dc
mov dword [ebp - 4], ecx
cmp ecx, 0x40
jl 0x462ba3
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 0x462c33
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 0x462cff
mov eax, 1
jmp 0x462bf4
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 0x462c7c
mov eax, 0xff
jmp 0x462c8a
test ax, ax
mov dword [ebp - 0xc], 0
cmovs eax, dword [ebp - 0xc]
cmp cx, word [ebp - 4]
jle 0x462c97
mov ecx, 0xff
jmp 0x462ca5
test cx, cx
mov dword [ebp - 0xc], 0
cmovs ecx, dword [ebp - 0xc]
cmp bx, word [ebp - 4]
jle 0x462cb2
mov ebx, 0xff
jmp 0x462cc0
test bx, bx
mov dword [ebp - 0xc], 0
cmovs ebx, dword [ebp - 0xc]
cmp dx, word [ebp - 4]
jle 0x462ccd
mov edx, 0xff
jmp 0x462cdb
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.0048cf70
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 0x462d2a
mov eax, dword [edi + 0x4c]
mov dword [ecx + 0x4c], eax
push 0x54
push 0
push edi
call fcn.0048cf70
add esp, 0xc
pop edi
mov esp, ebp
pop ebp
ret