Function at 0x10116910
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101fec58
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x40
mov eax, dword [0x103b9004]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x40], esi
mov edi, dword [ebx + 0xc]
mov eax, dword [ebx + 8]
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 1
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
test edi, edi
je 0x10116cee
mov edi, dword [edi + 0xc]
mov dword [ebp - 0x3c], str.Width
mov dword [ebp - 0x38], 5
test edi, edi
je 0x10116a14
mov eax, dword [edi + 0x1c]
lea ecx, [edi + 0xc]
test eax, eax
je 0x10116a14
lea edx, [ebp - 0x3c]
mov dword [ebp - 0x18], 0
push edx
push ecx
push eax
lea eax, [ebp - 0x18]
push eax
movzx eax, byte [ecx + 0xb]
push eax
call fcn.10089090
test eax, eax
je 0x10116a14
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x10116a14
call fcn.100898b0
jmp 0x10116a16
xor eax, eax
mov dword [esi + 0x28], eax
mov dword [ebp - 0x3c], str.Height
mov dword [ebp - 0x38], 6
test edi, edi
je 0x10116a62
mov eax, dword [edi + 0x1c]
lea ecx, [edi + 0xc]
test eax, eax
je 0x10116a62
lea edx, [ebp - 0x3c]
mov dword [ebp - 0x18], 0
push edx
push ecx
push eax
lea eax, [ebp - 0x18]
push eax
movzx eax, byte [ecx + 0xb]
push eax
call fcn.10089090
test eax, eax
je 0x10116a62
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x10116a62
call fcn.100898b0
jmp 0x10116a64
xor eax, eax
mov dword [esi + 0x2c], eax
mov ecx, edi
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x4c], str.Filter
push eax
mov dword [ebp - 0x48], 6
call fcn.1008aeb0
mov edx, eax
mov dword [ebp - 0x18], edx
test edx, edx
je 0x10116cee
xorps xmm0, xmm0
movq qword [ebp - 0x20], xmm0
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x20], 0
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x1c], 4
mov dword [ebp - 4], 0
cmp byte [edx], 5
jne 0x10116b89
mov eax, dword [edx + 0x14]
xor edi, edi
test eax, eax
je 0x10116bd9
mov ecx, eax
nop word [eax + eax]
cmp edi, ecx
jae 0x10116b0f
test edi, edi
js 0x10116ae4
cmp edi, eax
jge 0x10116ae4
mov eax, dword [edx + 0x10]
lea ecx, [eax + edi*4]
jmp 0x10116ae6
xor ecx, ecx
mov ecx, dword [ecx]
lea eax, [ebp - 0x3c]
push eax
call fcn.100897e0
cmp dword [ebp - 0x38], 0
je 0x10116b1d
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x34], 0
push eax
lea ecx, [ebp - 0x34]
call fcn.10086f10
mov esi, dword [ebp - 0x34]
jmp 0x10116b22
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
xor esi, esi
mov dword [ebp - 0x34], esi
push ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
push dword [ebp - 0x28]
call fcn.10088b40
mov dword [ebp - 0x44], eax
test eax, eax
je 0x10116b5d
test esi, esi
jne 0x10116b41
mov dword [eax], esi
jmp 0x10116b5d
cmp dword [esi], 0
jl 0x10116b4c
mov dword [eax], esi
inc dword [esi]
jmp 0x10116b5d
lea ecx, [ebp - 0x34]
mov dword [eax], 0
push ecx
mov ecx, eax
call fcn.10086f70
mov byte [ebp - 4], 0
test esi, esi
je 0x10116b76
dec dword [esi]
cmp dword [esi], 1
jge 0x10116b76
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov edx, dword [ebp - 0x18]
inc edi
mov eax, dword [edx + 0x14]
mov ecx, eax
cmp edi, eax
jb 0x10116ad0
jmp 0x10116bd9
lea eax, [ebp - 0x3c]
mov ecx, edx
push eax
call fcn.100897e0
cmp dword [eax + 4], 0
jne 0x10116ba1
xor esi, esi
mov dword [ebp - 0x34], esi
jmp 0x10116bb4
push eax
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x34], 0
call fcn.10086f10
mov esi, dword [ebp - 0x34]
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x30]
call fcn.10002320
test esi, esi
je 0x10116bd9
dec dword [esi]
cmp dword [esi], 1
jge 0x10116bd9
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov ecx, dword [ebp - 0x28]
xor edi, edi
test ecx, ecx
jle 0x10116caa
mov edx, dword [ebp - 0x2c]
mov eax, edx
mov dword [ebp - 0x18], edx
nop
test edi, edi
js 0x10116bfc
cmp edi, ecx
jge 0x10116bfc
test edx, edx
jne 0x10116bfe
xor eax, eax
mov esi, dword [eax]
test esi, esi
je 0x10116c75
cmp dword [esi], 0
jl 0x10116c0d
inc dword [esi]
jmp 0x10116c23
push eax
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x34], 0
call fcn.10086f70
mov esi, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x28]
test esi, esi
je 0x10116c75
mov eax, dword [esi + 4]
cmp eax, 3
jne 0x10116c47
push eax
lea ecx, [esi + 0xc]
mov edx, 0x1039bce8
call fcn.100a4410
add esp, 4
test eax, eax
je 0x10116c8b
mov eax, dword [esi + 4]
cmp eax, 9
jne 0x10116c61
push eax
lea ecx, [esi + 0xc]
mov edx, str.DCTDecode
call fcn.100a4410
add esp, 4
test eax, eax
je 0x10116c8b
dec dword [esi]
cmp dword [esi], 1
jge 0x10116c72
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x18]
inc edi
add eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
cmp edi, ecx
jge 0x10116caa
mov edx, dword [ebp - 0x2c]
jmp 0x10116bf0
mov edi, dword [ebp - 0x40]
mov dword [edi + 0x30], 1
dec dword [esi]
cmp dword [esi], 1
jge 0x10116cad
push esi
mov esi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
call esi
add esp, 4
jmp 0x10116cb3
mov edi, dword [ebp - 0x40]
mov esi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 3
call fcn.10002490
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x30]
test ecx, ecx
je 0x10116cdd
push dword [ebp - 0x2c]
push ecx
mov ecx, dword [ecx + 0x10]
call ecx
add esp, 8
mov eax, edi
jmp 0x10116cf0
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x10116cd9
push eax
call esi
add esp, 4
mov eax, edi
jmp 0x10116cf0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.101f3fd0
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8