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

Disassembly:
sub esp, 0x48
mov eax, dword [0x101b0cd0]
xor eax, esp
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x50]
push ebp
mov ebp, dword [esp + 0x58]
push esi
mov esi, dword [esp + 0x54]
push edi
mov dword [esp + 0xc], eax
mov eax, 0xff
mov edi, 0x55
mov byte [esp + 0x48], 0x49
mov byte [esp + 0x49], 0x44
mov byte [esp + 0x4a], 0x41
mov byte [esp + 0x4b], 0x54
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], 0x33
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], eax
mov dword [esp + 0x10], 0x80
mov dword [esp + 0x14], 8
mov dword [esp + 0x18], 0x88
mov dword [esp + 0x1c], 0x22
mov dword [esp + 0x20], 0xaa
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], eax
test esi, esi
je 0x10127926
test byte [esi + 0x70], 0x40
jne 0x1012756a
push esi
call fcn.1012a780
add esp, 4
cmp byte [esi + 0x123], 0
je 0x10127672
test byte [esi + 0x74], 2
je 0x10127672
movzx eax, byte [esi + 0x124]
cmp eax, 5
ja case.default.0x10127591
jmp dword [eax*4 + 0x10127938]
test byte [esi + 0xe4], 7
je 0x10127672
test ebp, ebp
je 0x101275b8
push 0xff
push ebp
push esi
call fcn.10129e70
add esp, 0xc
push esi
call fcn.1012d3b0
add esp, 4
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.1005392f
add esp, 0x48
ret
test byte [esi + 0xe4], 7
jne 0x101275e9
cmp dword [esi + 0xcc], 5
jae 0x10127672
test ebp, ebp
je 0x101275b8
push 0xf
jmp 0x101275ae
mov eax, dword [esi + 0xe4]
mov ecx, eax
and cl, 7
cmp cl, 4
je 0x10127672
test ebp, ebp
je 0x101275b8
test al, 4
jmp 0x101275a7
mov eax, 3
test byte [esi + 0xe4], al
jne 0x1012761e
cmp dword [esi + 0xcc], eax
jae 0x10127672
test ebp, ebp
je 0x101275b8
push 0x33
jmp 0x101275ae
mov eax, dword [esi + 0xe4]
mov edx, eax
and dl, 3
cmp dl, 2
je 0x10127672
test ebp, ebp
je 0x101275b8
test al, 2
jmp 0x101275a7
test byte [esi + 0xe4], 1
jne 0x10127657
cmp dword [esi + 0xcc], 2
jae 0x10127672
test ebp, ebp
je 0x101275b8
push edi
jmp 0x101275ae
test byte [esi + 0xe4], 1
je 0x101275b8
test byte [esi + 0x6c], 4
jne 0x10127683
push str.Invalid_attempt_to_read_row_data
push esi
call fcn.101256d0
mov eax, dword [esi + 0xec]
mov dword [esi + 0x84], eax
mov al, byte [esi + 0x129]
cmp al, 8
movzx eax, al
jb 0x101276a8
shr eax, 3
imul eax, dword [esi + 0xe0]
jmp 0x101276b5
imul eax, dword [esi + 0xe0]
add eax, 7
shr eax, 3
mov edi, dword [esp + 0x48]
inc eax
mov dword [esi + 0x88], eax
cmp dword [esi + 0x7c], 0
jne 0x1012772d
cmp dword [esi + 0x10c], 0
jne 0x101276f7
nop
push 0
push esi
call fcn.1012ab00
push esi
call fcn.1012aa80
add esp, 0xc
mov dword [esi + 0x10c], eax
cmp dword [esi + 0x11c], edi
jne 0x101277a2
test eax, eax
je 0x101276d0
mov eax, dword [esi + 0xb4]
mov ecx, dword [esi + 0x10c]
mov edx, dword [esi + 0xb0]
mov dword [esi + 0x7c], eax
mov dword [esi + 0x78], edx
cmp eax, ecx
jbe 0x10127716
mov dword [esi + 0x7c], ecx
mov ecx, dword [esi + 0x7c]
push ecx
push edx
push esi
call fcn.10129a40
mov edx, dword [esi + 0x7c]
add esp, 0xc
sub dword [esi + 0x10c], edx
lea eax, [esi + 0x78]
push 1
push eax
call fcn.1014ad60
add esp, 8
cmp eax, 1
je 0x101277ad
test eax, eax
jne 0x101277e0
cmp dword [esi + 0x88], eax
jne 0x101276c0
movzx eax, byte [esi + 0x127]
mov cl, byte [esi + 0x126]
mov dl, byte [esi + 0x12a]
mov byte [esi + 0x109], al
mov al, byte [esi + 0x129]
mov byte [esi + 0x108], cl
mov ecx, dword [esi + 0xe0]
lea edi, [esi + 0x100]
mov byte [esi + 0x10b], al
cmp al, 8
mov dword [edi], ecx
mov byte [esi + 0x10a], dl
movzx eax, al
jb 0x101277f6
shr eax, 3
imul eax, ecx
jmp 0x101277ff
push str.Not_enough_image_data
push esi
call fcn.101256d0
cmp dword [esi + 0x88], 0
jne 0x101277c5
cmp dword [esi + 0x7c], 0
jne 0x101277c5
cmp dword [esi + 0x10c], 0
je 0x101277d3
push str.Extra_compressed_data
push esi
call fcn.10125700
add esp, 8
or dword [esi + 0x6c], 8
or dword [esi + 0x70], 0x20
jmp 0x10127754
mov eax, dword [esi + 0x90]
test eax, eax
jne 0x101277ef
mov eax, str.Decompression_error
push eax
push esi
call fcn.101256d0
imul eax, ecx
add eax, 7
shr eax, 3
mov dword [esi + 0x104], eax
mov eax, dword [esi + 0xec]
mov cl, byte [eax]
test cl, cl
je 0x10127829
mov edx, dword [esi + 0xe8]
movzx ecx, cl
push ecx
inc edx
push edx
inc eax
push eax
push edi
push esi
call fcn.1012a5c0
add esp, 0x14
mov eax, dword [esi + 0xdc]
mov ecx, dword [esi + 0xec]
mov edx, dword [esi + 0xe8]
inc eax
push eax
push ecx
push edx
call fcn.1005a380
add esp, 0xc
test byte [esi + 0x230], 4
je 0x1012786a
cmp byte [esi + 0x234], 0x40
jne 0x1012786a
mov eax, dword [esi + 0xec]
inc eax
push eax
push edi
call fcn.10130df0
add esp, 8
cmp dword [esi + 0x74], 0
jne 0x10127879
test dword [esi + 0x70], 0x400000
je 0x10127882
push esi
call fcn.10130ed0
add esp, 4
cmp byte [esi + 0x123], 0
je 0x101278d4
test byte [esi + 0x74], 2
je 0x101278d4
cmp byte [esi + 0x124], 6
jae 0x101278a3
push esi
call fcn.1012a160
add esp, 4
test ebp, ebp
je 0x101278bd
movzx ecx, byte [esi + 0x124]
mov edx, dword [esp + ecx*4 + 0x2c]
push edx
push ebp
push esi
call fcn.10129e70
add esp, 0xc
mov eax, dword [esp + 0xc]
test eax, eax
je 0x101278fe
movzx ecx, byte [esi + 0x124]
mov edx, dword [esp + ecx*4 + 0x10]
push edx
push eax
jmp 0x101278f5
mov eax, dword [esp + 0xc]
test eax, eax
je 0x101278eb
push 0xff
push eax
push esi
call fcn.10129e70
add esp, 0xc
test ebp, ebp
je 0x101278fe
push 0xff
push ebp
push esi
call fcn.10129e70
add esp, 0xc
push esi
call fcn.1012d3b0
mov eax, dword [esi + 0x198]
add esp, 4
test eax, eax
je 0x10127926
movzx ecx, byte [esi + 0x124]
mov edx, dword [esi + 0xe4]
push ecx
push edx
push esi
call eax
add esp, 0xc
mov ecx, dword [esp + 0x50]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.1005392f
add esp, 0x48
ret