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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
mov esi, dword [0x80044d54]
cmp byte [esi + 0x56], 0
push edi
je 0x80020a17
and byte [esi + 0x56], 0
jmp 0x80020a1f
call sym.xboxkrnl.exe_Ordinal_129
mov byte [esi + 0x54], al
mov ebx, dword [ebp + 0x18]
mov edi, dword [ebp + 8]
mov dword [ebp - 4], ebx
cmp byte [esi + 0x49], 0
je 0x80020a40
mov cl, byte [esi + 0x54]
cmp cl, 1
jae 0x80020a40
call sym.xboxkrnl.exe_Ordinal_163
jmp 0x80020bc9
xor ecx, ecx
mov dword [esi + 0x50], ecx
cmp byte [edi], 2
jne 0x80020a75
mov eax, dword [edi + 4]
cmp eax, ecx
jg 0x80020a56
cmp esi, dword [edi + 0x18]
jne 0x80020a7e
cmp eax, 0x80000000
jne 0x80020bd6
mov cl, byte [esi + 0x54]
call sym.xboxkrnl.exe_Ordinal_163
push 0xc0000191
call sym.xboxkrnl.exe_Ordinal_27
jmp 0x80020a7e
cmp dword [edi + 4], ecx
jg 0x80020c06
lea eax, [ebp - 0x2c]
mov dword [esi + 0x58], eax
and word [ebp - 0x18], 0
cmp byte [ebp + 0x14], 0
mov dword [ebp - 0x20], edi
mov word [ebp - 0x16], 1
mov dword [ebp - 0x24], esi
je 0x80020acf
movsx eax, byte [ebp + 0x10]
cmp byte [eax + esi + 0x2d], 0
jne 0x80020c22
cmp byte [ebp + 0x10], 0
je 0x80020abb
lea eax, [esi + 0x3c]
cmp dword [eax], eax
jne 0x80020c30
cmp byte [esi + 0x2d], 0
je 0x80020adf
and byte [esi + 0x2d], 0
mov edi, 0x101
jmp 0x80020c46
cmp byte [ebp + 0x10], 0
je 0x80020adf
cmp byte [esi + 0x4a], 0
jne 0x80020c34
test ebx, ebx
je 0x80020b2e
mov eax, dword [ebx + 4]
or eax, dword [ebx]
je 0x80020c3b
lea eax, [esi + 0xb0]
mov dword [ebp - 0x1c], eax
lea ebx, [esi + 0x88]
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], eax
lea ecx, [ebp - 0x2c]
mov dword [eax + 0x10], ecx
mov eax, dword [ebp + 0x18]
push dword [eax + 4]
mov ecx, ebx
push dword [eax]
call fcn.80023968
test eax, eax
je 0x80020c3b
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [ebx + 0x14]
mov dword [ebp - 8], eax
jmp 0x80020b34
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x1c], eax
lea eax, [edi + 8]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], eax
lea edx, [ebp - 0x2c]
mov dword [ecx], edx
lea ecx, [ebp - 0x2c]
mov dword [eax + 4], ecx
mov ecx, dword [esi + 0x78]
test ecx, ecx
je 0x80020b57
call fcn.80021d7c
mov al, byte [ebp + 0x14]
mov byte [esi + 0x2f], al
mov al, byte [ebp + 0x10]
mov byte [esi + 0x55], al
mov al, byte [ebp + 0xc]
mov byte [esi + 0x57], al
mov eax, dword [sym.xboxkrnl.exe_Ordinal_156]
mov dword [esi + 0x64], eax
mov byte [esi + 0x2c], 5
mov ecx, dword [0x800461c4]
lea eax, [esi + 0x5c]
mov dword [eax], 0x800461c0
mov dword [esi + 0x60], ecx
mov dword [ecx], eax
mov dword [0x800461c4], eax
call fcn.80020d04
mov ebx, eax
cmp ebx, 0xc0
jne 0x80020ba2
call fcn.800232f7
cmp ebx, 0x100
jne 0x80020c5f
cmp dword [ebp + 0x18], 0
je 0x80020bc6
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0x14]
push eax
lea edx, [ebp - 0xc]
call fcn.800204cf
mov dword [ebp + 0x18], eax
mov ebx, dword [ebp + 0x18]
call sym.xboxkrnl.exe_Ordinal_129
mov byte [esi + 0x54], al
jmp 0x80020a28
dec dword [edi + 4]
jne 0x80020c01
cmp byte [edi + 0x1c], 1
mov dword [edi + 0x18], esi
jne 0x80020bef
and byte [edi + 0x1c], 0
mov dword [esi + 0x50], 0x80
mov eax, dword [esi + 0x14]
mov edx, dword [eax]
lea ecx, [edi + 0x10]
mov dword [ecx], edx
mov dword [edi + 0x14], eax
mov dword [edx + 4], ecx
mov dword [eax], ecx
mov edi, dword [esi + 0x50]
jmp 0x80020c40
mov al, byte [edi]
mov dl, al
and dl, 7
cmp dl, 1
jne 0x80020c17
mov dword [edi + 4], ecx
jmp 0x80020c1e
cmp al, 5
jne 0x80020c1e
dec dword [edi + 4]
xor edi, edi
jmp 0x80020c40
movsx eax, byte [ebp + 0x10]
and byte [eax + esi + 0x2d], 0
jmp 0x80020ac5
mov byte [esi + 0x4a], 1
mov edi, 0xc0
jmp 0x80020c46
mov edi, 0x102
push esi
call fcn.80020465
mov cl, byte [esi + 0x54]
call sym.xboxkrnl.exe_Ordinal_163
cmp edi, 0xc0
jne 0x80020c5b
call fcn.800232f7
mov eax, edi
jmp 0x80020c61
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 0x14