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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [0x80044514]
cmp byte [esi + 0x56], 0
push edi
je 0x80020fed
and byte [esi + 0x56], 0
jmp 0x80020ff5
call sym.xboxkrnl.exe_Ordinal_129
mov byte [esi + 0x54], al
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x10], eax
cmp byte [esi + 0x49], 0
mov ebx, dword [ebp + 0x24]
mov dword [esi + 0x58], ebx
je 0x80021019
mov cl, byte [esi + 0x54]
cmp cl, 1
jae 0x80021019
call sym.xboxkrnl.exe_Ordinal_163
jmp 0x8002126c
xor edx, edx
cmp dword [ebp + 8], edx
mov dword [esi + 0x50], edx
mov byte [ebp - 1], 1
mov dword [ebp - 0xc], edx
jbe 0x80021167
add ebx, 0x14
cmp dword [ebp + 0x10], 1
mov eax, dword [ebp + 0xc]
mov edi, dword [eax + edx*4]
jne 0x800210ae
cmp byte [edi], 2
jne 0x8002108f
mov eax, dword [edi + 4]
test eax, eax
jg 0x80021052
cmp esi, dword [edi + 0x18]
jne 0x800210ed
cmp eax, 0x80000000
je 0x800210c3
dec dword [edi + 4]
jne 0x80021084
cmp byte [edi + 0x1c], 1
mov dword [edi + 0x18], esi
jne 0x80021072
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]
or edi, dword [ebp - 0xc]
jmp 0x800212af
cmp dword [edi + 4], 0
jle 0x800210ed
mov al, byte [edi]
mov cl, al
and cl, 7
cmp cl, 1
jne 0x80021279
and dword [edi + 4], 0
jmp 0x80021280
cmp byte [edi], 2
jne 0x800210e3
mov eax, dword [edi + 0x18]
cmp esi, eax
jne 0x800210d7
cmp dword [edi + 4], 0x80000000
jne 0x800210d7
mov cl, byte [esi + 0x54]
call sym.xboxkrnl.exe_Ordinal_163
push 0xc0000191
call sym.xboxkrnl.exe_Ordinal_27
jmp 0x800210ed
cmp dword [edi + 4], 0
jg 0x800210ed
cmp esi, eax
je 0x800210ed
jmp 0x800210e9
cmp dword [edi + 4], 0
jg 0x800210ed
and byte [ebp - 1], 0
mov ax, word [ebp + 0x10]
mov edx, dword [ebp - 0xc]
mov word [ebx + 2], ax
lea eax, [ebx + 4]
mov word [ebx], dx
inc edx
lea ecx, [ebx - 0x14]
mov dword [ebx - 8], edi
mov dword [ebx - 0xc], esi
mov dword [ebx - 4], eax
add ebx, 0x18
cmp edx, dword [ebp + 8]
mov dword [ebp - 0xc], edx
jb 0x80021031
mov ebx, dword [ebp + 0x24]
cmp dword [ebp + 0x10], 0
jne 0x8002112d
cmp byte [ebp - 1], 0
jne 0x80021284
cmp byte [ebp + 0x1c], 0
je 0x8002116c
movsx eax, byte [ebp + 0x18]
cmp byte [eax + esi + 0x2d], 0
jne 0x80021291
cmp byte [ebp + 0x18], 0
je 0x80021153
lea eax, [esi + 0x3c]
cmp dword [eax], eax
jne 0x8002129f
cmp byte [esi + 0x2d], 0
je 0x8002117c
and byte [esi + 0x2d], 0
mov edi, 0x101
jmp 0x800212b5
mov ecx, dword [ebp - 8]
jmp 0x8002111d
cmp byte [ebp + 0x18], 0
je 0x8002117c
cmp byte [esi + 0x4a], 0
jne 0x800212a3
mov eax, dword [ebp + 0x20]
test eax, eax
je 0x800211ce
mov edx, dword [eax + 4]
or edx, dword [eax]
je 0x800212aa
lea eax, [esi + 0xb0]
mov dword [ecx + 0x10], eax
lea edi, [esi + 0x88]
mov dword [ebp - 8], eax
lea eax, [edi + 8]
mov dword [edi + 0xc], eax
mov dword [eax], eax
mov eax, dword [ebp + 0x20]
push dword [eax + 4]
mov ecx, edi
push dword [eax]
call fcn.80023bbb
test eax, eax
je 0x800212aa
mov eax, dword [edi + 0x10]
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x18], eax
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x14], eax
mov dword [ecx + 0x10], ebx
mov eax, ebx
jmp 0x800211d8
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx + 0xc]
add ecx, 8
mov dword [eax], ecx
mov dword [eax + 4], edx
mov dword [edx], eax
mov dword [ecx + 4], eax
mov eax, dword [eax + 0x10]
cmp eax, ebx
mov dword [ebp - 8], eax
jne 0x800211d5
mov ecx, dword [esi + 0x78]
test ecx, ecx
je 0x80021201
call fcn.80021d14
mov al, byte [ebp + 0x1c]
mov byte [esi + 0x2f], al
mov al, byte [ebp + 0x18]
mov byte [esi + 0x55], al
mov al, byte [ebp + 0x14]
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 [0x8004996c]
lea eax, [esi + 0x5c]
mov dword [eax], 0x80049968
mov dword [esi + 0x60], ecx
mov dword [ecx], eax
mov dword [0x8004996c], eax
call fcn.80020194
mov edi, eax
cmp edi, 0xc0
jne 0x8002124c
call fcn.800232ff
cmp edi, 0x100
jne 0x800212ca
cmp dword [ebp + 0x20], 0
je 0x8002126c
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x20]
push eax
lea edx, [ebp - 0x18]
call fcn.80020d3c
mov dword [ebp + 0x20], eax
call sym.xboxkrnl.exe_Ordinal_129
mov byte [esi + 0x54], al
jmp 0x80020ffb
cmp al, 5
jne 0x80021280
dec dword [edi + 4]
mov edi, edx
jmp 0x800212af
mov dword [ecx + 0x10], ebx
call fcn.800236a2
mov edi, dword [esi + 0x50]
jmp 0x800212af
movsx eax, byte [ebp + 0x18]
and byte [eax + esi + 0x2d], 0
jmp 0x8002115d
mov byte [esi + 0x4a], 1
mov edi, 0xc0
jmp 0x800212b5
mov edi, 0x102
push esi
call fcn.80020d97
mov cl, byte [esi + 0x54]
call sym.xboxkrnl.exe_Ordinal_163
cmp edi, 0xc0
jne 0x800212ca
call fcn.800232ff
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 0x20