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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x101a0053
mov eax, dword fs:[0]
push eax
sub esp, 0x1a8
push ebx
push esi
push edi
mov eax, dword [0x10218460]
xor eax, esp
push eax
lea eax, [esp + 0x1b8]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x14], ebx
lea eax, [esp + 0x2c]
call fcn.10067d70
mov esi, dword [ebp + 8]
xor ecx, ecx
mov dword [esp + 0x1c0], ecx
mov eax, dword [esi + 0xc]
add eax, 0xfffffffe
cmp eax, 0xe
ja case.0x10141e23.4
movzx eax, byte [eax + 0x101422c0]
jmp dword [eax*4 + 0x1014229c]
mov edi, str.egr_Bitmap_version_
mov ebx, esi
call fcn.1005b870
mov ecx, esi
lea esi, [esp + 0x2c]
call fcn.10067f30
sub esp, 0x18
mov eax, esp
mov ecx, 0x10220a98
mov dword [esp + 0x3c], esp
call fcn.10062a10
lea eax, [esp + 0x60]
call fcn.10089c40
mov ecx, esi
push ecx
mov edi, eax
mov byte [esp + 0x1dc], 1
call fcn.10068050
lea ecx, [esp + 0x48]
mov byte [esp + 0x1c0], 0
call fcn.10067db0
mov ebx, dword [ebp + 8]
mov edi, 0x101b33b4
call fcn.1005b870
lea ecx, [esp + 0x20]
mov eax, ebx
call fcn.1005ba90
mov edi, 0x101b33bc
call fcn.1005b870
lea ecx, [esp + 0x18]
mov eax, ebx
call fcn.1005ba90
mov edi, str.pixel_type_
call fcn.1005b870
lea edx, [esp + 0x24]
push edx
mov esi, ebx
call fcn.101472c0
add esp, 4
mov edi, str.alignment_exponent_
call fcn.1005b870
lea ecx, [esp + 0x28]
mov eax, ebx
call fcn.1005ba90
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
push edx
mov edx, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x30]
push edx
call eax
mov edi, str.array_
call fcn.1005b870
xor edi, edi
cmp dword [esp + 0x18], edi
jle 0x10141f4f
mov eax, dword [esp + 0x20]
xor esi, esi
test eax, eax
jle 0x10141f46
jmp 0x10141f20
mov eax, dword [ebp + 8]
lea ecx, [esp + 0x1c]
call fcn.1005ba30
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
mov ecx, esi
call fcn.10141830
mov eax, dword [esp + 0x20]
add esi, 1
cmp esi, eax
jl 0x10141f20
add edi, 1
cmp edi, dword [esp + 0x18]
jl 0x10141f10
mov esi, dword [ebp + 8]
mov eax, esi
mov ecx, dword [esp + 0x1b8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
sub esp, 0x18
mov eax, esp
mov ecx, 0x10220a98
mov dword [esp + 0x2c], esp
call fcn.10062a10
lea eax, [esp + 0x90]
call fcn.10089c40
mov edi, eax
mov byte [esp + 0x1d8], 3
mov ecx, esi
lea esi, [esp + 0x44]
call fcn.10067f30
push eax
mov byte [esp + 0x1dc], 4
call fcn.10068050
lea ecx, [esp + 0x78]
mov byte [esp + 0x1c0], 0
call fcn.10067db0
mov esi, dword [ebp + 8]
lea ecx, [esp + 0x28]
mov eax, esi
call fcn.1005ba90
lea ecx, [esp + 0x24]
mov eax, esi
call fcn.1005ba90
push 0
push 1
push 0
push 4
lea ecx, [esp + 0x28]
push ecx
call fcn.1005b590
lea ecx, [esp + 0x1c]
mov eax, esi
call fcn.1005ba90
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
mov edx, dword [ebx]
mov edx, dword [edx + 0xc]
push eax
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x20]
push eax
push ecx
mov ecx, ebx
call edx
mov eax, dword [ebx + 0x1c]
cmp eax, 5
ja case.default.0x1014201e
jmp dword [eax*4 + 0x101422d0]
mov eax, dword [ebx + 8]
cdq
push edx
push eax
mov eax, dword [ebx + 4]
push 0
push 1
push eax
call fcn.1005b590
jmp 0x10141f52
mov edi, dword [ebx + 4]
push eax
call fcn.10141480
mov edx, dword [ebx + 0x14]
mov ecx, dword [ebx + 0x24]
sar eax, 3
imul edx, eax
sub ecx, edx
mov dword [esp + 0x24], edx
mov edx, dword [ebx + 0x18]
add esp, 4
test edx, edx
mov dword [esp + 0x14], edx
jle 0x10141f4f
cdq
mov dword [esp + 0x34], eax
mov eax, ecx
mov dword [esp + 0x38], edx
cdq
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], edx
mov eax, dword [ebx + 0x14]
mov ecx, dword [esp + 0x38]
mov esi, dword [ebp + 8]
cdq
push edx
mov edx, dword [esp + 0x38]
push eax
push ecx
push edx
push edi
call fcn.1005b590
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x20]
push eax
push ecx
push 0
push 1
add edx, edi
push edx
call fcn.1005b590
mov eax, dword [esp + 0x14]
add edi, dword [ebx + 0x24]
sub eax, 1
test eax, eax
mov dword [esp + 0x14], eax
jg 0x1014207e
jmp 0x10141f52
lea esi, [esp + 0xd8]
call fcn.101470b0
mov byte [esp + 0x1c0], 5
mov eax, dword [eax + 4]
push eax
push str.esm_InStream_egr_Bitmap::read__esm_InStream_inA__:_cannot_read_pixel_array_of_type__s
lea eax, [esp + 0x68]
call fcn.100595b0
add esp, 8
push 0x102051a0
lea ecx, [esp + 0x64]
push ecx
call fcn.1017d044
lea esi, [esp + 0xfc]
call fcn.101412d0
mov edx, dword [ebp + 8]
push ebx
push edx
mov ebx, eax
mov byte [esp + 0x1c8], 6
call fcn.101484d0
mov ecx, esi
mov byte [esp + 0x1c0], 0
call fcn.10141320
jmp 0x10141f4f
mov dword [esp + 0x88], vtable.egr_Bmp.0
mov dword [esp + 0xc4], vtable.ert_TmplArr_unsigned_int_.0
mov dword [esp + 0xc8], ecx
mov dword [esp + 0xcc], ecx
mov dword [esp + 0xd0], ecx
mov byte [esp + 0xd4], cl
mov byte [esp + 0xd5], cl
push ebx
lea eax, [esp + 0x8c]
push eax
mov ecx, esi
mov byte [esp + 0x1c8], 7
call fcn.10149cc0
lea ecx, [esp + 0x88]
mov byte [esp + 0x1c0], 0
call fcn.10149c30
jmp 0x10141f52
lea eax, [esp + 0x1c]
call fcn.101486d0
mov ecx, esi
mov byte [esp + 0x1c0], 8
call fcn.10148710
test al, al
je 0x101421c6
mov eax, esi
call fcn.10148750
jmp 0x10141f52
lea ecx, [esp + 0x80]
push str.esm_InStream_egr_Bitmap::read__esm_InStream_inA__:_not_implemented_for_io_type_esm_IO_PGM
push ecx
call fcn.10012550
add esp, 8
push 0x10205210
lea edx, [esp + 0x84]
push edx
call fcn.1017d044
lea eax, [esp + 0x1c]
call fcn.101489c0
mov ecx, esi
mov byte [esp + 0x1c0], 9
call fcn.10148a00
test al, al
je 0x10142216
push ebx
mov eax, esi
call fcn.10148a40
jmp 0x10141f52
lea eax, [esp + 0x70]
push str.esm_InStream_egr_Bitmap::read__esm_InStream_inA__:_not_implemented_for_io_type_esm_IO_PPM
push eax
call fcn.10012550
add esp, 8
push 0x10205210
lea ecx, [esp + 0x74]
push ecx
call fcn.1017d044
lea edx, [esp + 0x50]
push str.esm_InStream_egr_Bitmap::read__esm_InStream_inA__:_not_implemented_for_PNG_format
push edx
call fcn.10012550
add esp, 8
push 0x10205210
lea eax, [esp + 0x54]
push eax
call fcn.1017d044
lea ecx, [esp + 0x58]
push str.esm_InStream_egr_Bitmap::read___esm_InStream_inA__:_not_implemented_for_GIF_format
push ecx
call fcn.10012550
add esp, 8
push 0x10205210
lea edx, [esp + 0x5c]
push edx
call fcn.1017d044
lea eax, [esp + 0x68]
push str.esm_InStream_egr_Bitmap::read___esm_InStream_inA__:_not_implemented_for_given_io_type
push eax
call fcn.10012550
add esp, 8
push 0x10205210
lea ecx, [esp + 0x6c]
push ecx
call fcn.1017d044
mov edi, edi
sub bl, byte [esi]
adc al, 16
insb byte es:[edi], dx
pop ds
adc al, 0x10
add byte [ecx], ah
adc al, 16
xor al, 0x21
adc al, 16
pop eax
and dl, byte [eax + edx]
aaa
and dl, byte [eax + edx]
sahf
and dword [eax + edx], edx
in eax, dx
and dword [eax + edx], edx
jns 0x101422e0
adc al, 0x10
add byte [ecx], al
or byte [eax], cl
add al, byte [ebx]
or byte [eax], cl
add al, 8
or byte [eax], cl
add eax, 630195974
and byte [eax + edx], dl
and eax, 0x3d101420
and byte [eax + edx], dl
cmp eax, 0x3d101420
and byte [eax + edx], dl
cmp eax, 0xcc101420
int3
cmp eax, 0x3d101420
and byte [eax + edx], dl
int3