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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xdc
mov eax, dword [0x100ad00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x18]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
mov dword [eax], 0
mov edx, dword [ebx + 4]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xcc], ebx
mov dword [ebp - 0xd0], edx
push edi
mov edi, dword [ebp + 0x1c]
test eax, eax
jl 0x1002787e
jg 0x1002787a
test esi, esi
je 0x1002787e
mov ecx, esi
jmp 0x10027882
xor ecx, ecx
xor eax, eax
push eax
push ecx
push 0xc4
lea eax, [ebp - 0xc8]
mov ecx, edx
push eax
push ebx
call dword [section..rdata]
call dword [ebp - 0xd0]
add esp, 0x14
test eax, eax
jns 0x100278cb
push eax
push dword [ebp + 0x10]
push esi
push str.Error_reading_LX_header_at__RTfoff:__Rrc
push eax
push edi
call fcn.10014710
add esp, 0x18
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10001210
mov esp, ebp
pop ebp
ret
mov cl, byte [ebp - 0xc8]
mov al, byte [ebp - 0xc7]
cmp cl, 0x4c
jne 0x10028260
cmp al, 0x58
jne 0x10028260
cmp dword [ebp - 0xc4], 0
jne 0x1002824a
cmp byte [ebp - 0xc6], 0
jne 0x1002824a
cmp byte [ebp - 0xc5], 0
jne 0x1002824a
mov eax, dword [ebp - 0xc0]
dec eax
cmp ax, 2
ja 0x1002824a
cmp dword [ebp - 0xa0], 0x1000
jne 0x1002824a
mov esi, dword [ebx + 0xc]
mov ecx, esi
push ebx
call dword [section..rdata]
call esi
add esp, 4
test edx, edx
jne 0x1002795f
cmp eax, 0xffffffef
jae 0x1002795f
mov esi, dword [ebx + 0xc]
mov ecx, esi
push ebx
call dword [section..rdata]
call esi
add esp, 4
mov ecx, eax
jmp 0x10027964
mov ecx, 0xffffffef
cmp dword [ebp - 0x7c], ecx
ja 0x1002824a
cmp dword [ebp - 0x48], ecx
ja 0x1002824a
mov edx, dword [ebp - 0x40]
cmp edx, ecx
ja 0x1002824a
mov eax, dword [ebp - 0x3c]
add eax, edx
cmp eax, ecx
ja 0x1002824a
mov esi, dword [ebp - 0x90]
xor eax, eax
sub ecx, dword [ebp + 0xc]
sbb eax, dword [ebp + 0x10]
sub ecx, 0xc4
sbb eax, 0
xor edx, edx
cmp edx, eax
jg 0x1002824a
jl 0x100279b9
cmp esi, ecx
ja 0x1002824a
xor edx, edx
cmp edx, eax
jg 0x1002824a
mov edx, dword [ebp - 0x98]
jl 0x100279d3
cmp edx, ecx
ja 0x1002824a
xor ebx, ebx
add edx, esi
cmp ebx, eax
jg 0x1002824a
jl 0x100279e9
cmp edx, ecx
ja 0x1002824a
mov ebx, dword [ebp - 0x88]
mov edx, dword [ebp - 0x84]
lea ecx, [ebx + esi]
cmp ebx, 0xc4
jae 0x10027a29
test edx, edx
je 0x10027a29
push ebx
push str.Object_table_is_inside_the_header:__x
push 0xffffa63b
push edi
call fcn.10014710
add esp, 0x10
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10001210
mov esp, ebp
pop ebp
ret
lea eax, [edx + edx*2]
lea ebx, [ebx + eax*8]
cmp ebx, ecx
jbe 0x10027a58
push edx
push str.Object_table_spans_beyond_the_executable:_e32_objcnt_u
push 0xffffa63b
push edi
call fcn.10014710
add esp, 0x10
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10001210
mov esp, ebp
pop ebp
ret
cmp edx, 0x8000
jb 0x10027a85
push edx
push str.Too_many_segments:__x_n
push 0xffffa63b
push edi
call fcn.10014710
add esp, 0x10
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10001210
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x80]
test eax, eax
je 0x10027ab9
cmp eax, ebx
jb 0x10027a94
cmp eax, ecx
jbe 0x10027ab9
push eax
push str.Bad_object_page_map_table_offset:__x
push 0xffffa63b
push edi
call fcn.10014710
add esp, 0x10
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10001210
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x74], 0
je 0x10027afc
mov eax, dword [ebp - 0x78]
cmp eax, ebx
jb 0x10027ae9
cmp eax, ecx
ja 0x10027ae9
mov edx, dword [ebp - 0x74]
lea eax, [edx*8]
sub eax, edx
mov edx, dword [ebp - 0x78]
lea eax, [edx + eax*2]
mov edx, dword [ebp - 0x84]
cmp eax, ecx
jbe 0x10027afc
mov eax, dword [ebp - 0x78]
push eax
push dword [ebp - 0x74]
push str.Resource_table_is_out_of_bounds:__x_entries_at__x
push 0xffffa63b
jmp 0x10028272
mov edi, dword [ebp - 0x70]
test edi, edi
je 0x10027b0e
cmp edi, ebx
jb 0x10027b31
lea eax, [ecx - 2]
cmp edi, eax
ja 0x10027b31
mov eax, dword [ebp - 0x6c]
test eax, eax
je 0x10027b1d
cmp eax, ebx
jb 0x10027b31
cmp eax, ecx
jae 0x10027b31
cmp dword [ebp - 0x64], 0
je 0x10027b47
mov edi, dword [ebp - 0x68]
cmp edi, ebx
jb 0x10027b31
lea eax, [ecx - 2]
cmp edi, eax
jbe 0x10027b47
pop edi
pop esi
mov eax, 0xffffa63b
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10001210
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp - 0x98]
mov edi, ecx
mov eax, dword [ebp - 0x60]
add ecx, ebx
test eax, eax
je 0x10027b73
cmp eax, edi
jb 0x10027b60
cmp eax, ecx
jbe 0x10027b73
mov edi, eax
mov esi, edi
lea ecx, [ebx + esi]
sub esi, dword [ebp - 0x88]
mov dword [ebp - 0x90], esi
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x10027b82
cmp eax, edi
jb 0x10027ba9
cmp eax, ecx
ja 0x10027ba9
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x10027b9a
cmp ebx, edi
jb 0x10027ba9
cmp ebx, ecx
ja 0x10027ba9
mov eax, dword [ebp - 0x54]
add eax, ebx
cmp eax, ecx
ja 0x10027ba9
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x10027bbf
cmp eax, edi
jb 0x10027ba9
cmp eax, ecx
jbe 0x10027bbf
pop edi
pop esi
mov eax, 0xffffa63a
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10001210
mov esp, ebp
pop ebp
ret
lea edi, [edx + edx*4]
inc edx
shl edi, 4
add edi, 0x19f
and edi, 0xfffffff8
lea eax, [edx + edx*8]
add edi, eax
lea eax, [esi + 2]
add eax, edi
push 0x10079cc7
push eax
call fcn.10003840
mov esi, eax
add esp, 8
test esi, esi
jne 0x10027c01
pop edi
lea eax, [esi - 8]
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10001210
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0xdc]
mov dword [eax], esi
mov eax, dword [ebp - 0xcc]
mov dword [esi + 0xc], eax
mov dword [esi], 0
mov dword [esi + 4], 1
mov dword [esi + 8], 0
movzx eax, word [ebp - 0xc0]
sub eax, 1
je 0x10027c62
sub eax, 1
je 0x10027c4f
sub eax, 1
jne 0x10027c73
mov dword [esi + 0x140], 0x11
mov dword [esi + 0x1c], 4
jmp 0x10027c73
mov dword [esi + 0x140], 0x10
mov dword [esi + 0x1c], 4
jmp 0x10027c73
mov dword [esi + 0x140], 4
mov dword [esi + 0x1c], 3
mov dword [esi + 0x18], 1
mov dword [esi + 0x10], 4
mov eax, dword [ebp - 0xb8]
mov ecx, eax
and ecx, 0x38000
cmp ecx, 0x18000
ja 0x10027cce
je 0x10027cad
test ecx, ecx
je 0x10027cbe
cmp ecx, 0x8000
je 0x10027cad
cmp ecx, 0x10000
jne 0x10027ce5
and al, 8
movzx eax, al
neg eax
sbb eax, eax
add eax, 6
mov dword [esi + 0x14], eax
jmp 0x10027ce5
shr eax, 4
not eax
and eax, 1
or eax, 2
mov dword [esi + 0x14], eax
jmp 0x10027ce5
cmp ecx, 0x20000
je 0x10027cde
cmp ecx, 0x28000
jne 0x10027ce5
mov dword [esi + 0x14], 6
mov eax, dword [ebp - 0x84]
mov ecx, dword [ebp + 0x10]
mov dword [esi + 0x144], eax
mov dword [esi + 0x138], 0
mov dword [esi + 0x13c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
test ecx, ecx
jl 0x10027d2a
mov eax, dword [ebp + 0xc]
jg 0x10027d2e
test eax, eax
jae 0x10027d2e
xor eax, eax
xor ecx, ecx
mov dword [esi + 0x30], eax
lea eax, [ebp - 0xc8]
push 0xc4
push eax
lea eax, [esi + 0x38]
mov dword [esi + 0x34], ecx
push eax
call sym.IntelFirmwareInterfaceInstallHelper.dll_nocrt_memcpy
mov edx, dword [esi + 0x70]
lea ebx, [esi + edi]
mov ecx, dword [esi + 0x78]
lea eax, [ebx - 1]
add eax, edx
mov dword [esi + 0xfc], ebx
mov dword [esi + 0x100], eax
add esp, 0xc
mov eax, dword [ebp - 0xcc]
mov dword [esi + 0x104], 0
mov dword [esi + 0x108], 0
mov dword [esi + 0x10c], 0
mov dword [esi + 0x110], 0
mov dword [esi + 0x114], 0
mov dword [esi + 0x118], 0
mov dword [esi + 0x11c], 0
mov dword [esi + 0x120], 0
mov dword [esi + 0x124], 0
mov dword [esi + 0x128], 0
mov dword [esi + 0x12c], 0
mov dword [esi + 0x130], 0
mov dword [esi + 0x134], 0
mov edi, dword [eax + 4]
xor eax, eax
add ecx, dword [esi + 0x30]
adc eax, dword [esi + 0x34]
push eax
push ecx
push edx
push ebx
push dword [ebp - 0xcc]
mov ecx, edi
call dword [section..rdata]
call edi
add esp, 0x14
test eax, eax
js 0x1002827b
mov eax, dword [esi + 0x100]
mov byte [eax + 1], 0
mov eax, dword [esi + 0x100]
mov byte [eax + 2], 0
cmp dword [esi + 0x7c], 0
je 0x10027e3e
mov eax, dword [esi + 0xfc]
mov dword [esi + 0x104], eax
mov eax, dword [esi + 0x80]
test eax, eax
je 0x10027e57
sub eax, dword [esi + 0x78]
add eax, dword [esi + 0xfc]
mov dword [esi + 0x108], eax
cmp dword [esi + 0x8c], 0
je 0x10027e75
mov eax, dword [esi + 0x88]
sub eax, dword [esi + 0x78]
add eax, dword [esi + 0xfc]
mov dword [esi + 0x10c], eax
mov eax, dword [esi + 0x90]
test eax, eax
je 0x10027e8e
sub eax, dword [esi + 0x78]
add eax, dword [esi + 0xfc]
mov dword [esi + 0x110], eax
mov eax, dword [esi + 0x94]
test eax, eax
je 0x10027ea7
sub eax, dword [esi + 0x78]
add eax, dword [esi + 0xfc]
mov dword [esi + 0x114], eax
mov ecx, dword [esi + 0x110]
test ecx, ecx
je 0x10027ed0
mov eax, dword [esi + 0x100]
sub eax, ecx
push 0
inc eax
push eax
push ecx
call fcn.10028be0
mov ecx, eax
add esp, 0xc
mov dword [esi + 0x138], ecx
jmp 0x10027ed6
mov ecx, dword [esi + 0x138]
test ecx, ecx
jne 0x10027ef0
pop edi
pop esi
mov eax, 0xffffa634
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10001210
mov esp, ebp
pop ebp
ret
movzx eax, byte [ecx]
inc ecx
mov dword [esi + 0x138], ecx
mov dword [esi + 0x13c], eax
cmp byte [eax + ecx], 0
jne 0x10028234
push ecx
call sym.IntelFirmwareInterfaceInstallHelper.dll_nocrt_strlen
add esp, 4
cmp dword [esi + 0x13c], eax
jne 0x10028234
mov ebx, dword [esi + 0x144]
xor edi, edi
test ebx, ebx
je 0x10027fdb
mov ecx, dword [esi + 0x104]
add ecx, 0x10
jmp 0x10027f40
mov edx, dword [ecx - 0xc]
test edx, 0xfff
jne 0x10028150
mov eax, dword [ecx - 0x10]
add eax, edx
cmp eax, edx
jbe 0x10028150
mov eax, dword [ecx - 0x10]
mov ebx, dword [ecx]
add eax, 0xfff
cmp ebx, eax
ja 0x10028150
test ebx, ebx
je 0x10027fa7
mov edx, dword [esi + 0x108]
mov eax, dword [ecx - 4]
lea eax, [edx + eax*8]
mov edx, dword [ecx - 0xc]
cmp eax, dword [esi + 0x100]
ja 0x10028150
mov eax, dword [ecx - 4]
add eax, ebx
mov ebx, dword [esi + 0x108]
lea eax, [ebx + eax*8]
cmp eax, dword [esi + 0x100]
ja 0x10028150
test edi, edi
je 0x10027fc9
test byte [ecx - 8], 8
jne 0x10027fc9
mov ebx, dword [ecx - 0x24]
cmp edx, ebx
jbe 0x10028150
mov eax, dword [ecx - 0x18]
add eax, ebx
cmp edx, eax
jb 0x10028150
mov ebx, dword [esi + 0x144]
inc edi
add ecx, 0x18
cmp edi, ebx
jb 0x10027f40
test byte [ebp - 0xb8], 0x18
jne 0x10027ff4
test byte [ebp + 0x14], 3
mov dword [ebp - 0xd0], 1
je 0x10027ffe
mov dword [ebp - 0xd0], 0
lea edx, [ebx + ebx*4]
xor ecx, ecx
shl edx, 4
xor eax, eax
add edx, 0x148
mov dword [ebp - 0xcc], ecx
add edx, esi
mov dword [ebp - 0xd4], eax
mov dword [ebp - 0xd8], edx
test ebx, ebx
je 0x10028216
xor ebx, ebx
lea edi, [esi + 0x14c]
push eax
push str.seg_u
push 9
push edx
mov dword [edi - 4], edx
call fcn.10014880
mov edx, dword [ebp - 0xd8]
add esp, 0x10
inc edx
mov dword [edi], eax
add edx, eax
mov dword [edi + 0x2c], 0xffffffff
xor eax, eax
mov dword [edi + 0x30], 0xffffffff
mov dword [edi + 0x34], 0xffffffff
mov dword [edi + 0x38], 0xffffffff
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov eax, dword [esi + 0x104]
mov dword [ebp - 0xd8], edx
test dword [ebx + eax + 8], 0x2000
je 0x10028098
mov dword [edi + 8], 1
mov eax, dword [esi + 0x104]
test dword [ebx + eax + 8], 0x1000
je 0x100280af
mov dword [edi + 8], 2
mov eax, dword [esi + 0x104]
test dword [ebx + eax + 8], 0x4000
je 0x100280c6
mov dword [edi + 8], 4
mov eax, dword [esi + 0x104]
test dword [ebx + eax + 8], 0x8000
je 0x100280d7
mov dword [edi + 8], 8
cmp dword [ebp - 0xd0], 0
mov dword [edi + 0x1c], 0x1000
mov dword [edi + 0x20], 0
mov eax, dword [esi + 0x104]
mov eax, dword [eax + ebx]
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], 0
mov eax, dword [esi + 0x104]
mov eax, dword [eax + ebx + 4]
mov dword [edi + 0x24], eax
mov eax, dword [ebp - 0xcc]
mov dword [edi + 0x28], 0
mov dword [edi + 0x3c], eax
mov dword [edi + 0x40], 0
jne 0x10028166
mov eax, dword [ebp - 0xd4]
inc eax
cmp eax, dword [esi + 0x144]
jae 0x10028166
mov ecx, dword [esi + 0x104]
add ecx, ebx
test byte [ecx + 8], 8
jne 0x10028166
test byte [ecx + 0x20], 8
jne 0x10028166
mov eax, dword [ecx + 0x1c]
sub eax, dword [ecx + 4]
jmp 0x10028179
pop edi
pop esi
mov eax, 0xffffa639
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10001210
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x104]
mov eax, dword [eax + ebx]
add eax, 0xfff
and eax, 0xfffff000
mov ecx, dword [ebp - 0xcc]
mov dword [edi + 0x44], eax
add ecx, eax
mov dword [edi + 0x48], 0
mov eax, dword [esi + 0x104]
mov dword [ebp - 0xcc], ecx
mov eax, dword [eax + ebx + 8]
and eax, 0x27
movzx eax, byte [eax + 0x100282a8]
jmp dword [eax*4 + 0x1002828c]
mov dword [edi + 0xc], 0
jmp 0x100281e0
mov eax, dword [esi + 0x104]
mov eax, dword [eax + ebx + 8]
and al, 0xf
cmp al, 8
jne 0x100281f7
mov dword [edi + 0xc], 1
mov eax, dword [ebp - 0xd4]
add ebx, 0x18
inc eax
add edi, 0x50
mov dword [ebp - 0xd4], eax
cmp eax, dword [esi + 0x144]
jb 0x10028032
mov eax, dword [ebp - 0xdc]
mov dword [esi + 0x24], ecx
pop edi
mov dword [eax], esi
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10001210
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 0xffffa633
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10001210
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 0xffffa63c
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10001210
mov esp, ebp
pop ebp
ret
movzx eax, al
push eax
movzx eax, cl
push eax
push str.Not_LX_magic:__02x__02x
push 0xfffffda8
push edi
call fcn.10014710
add esp, 0x14
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10001210
mov esp, ebp
pop ebp
ret