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

Disassembly:
push 0xffffffffffffffff
push 0x1012f8f6
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101b441c]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x24], esi
fld1
xor eax, eax
xor ecx, ecx
fst qword [esi + 0x18]
xor edx, edx
fstp qword [esi + 0x20]
mov word [esi + 4], ax
mov word [esi + 0xa], ax
mov word [esi + 0x10], ax
mov word [esi + 0x28], ax
mov eax, 1
mov word [esi + 6], cx
mov word [esi + 0xc], cx
mov word [esi + 0x12], cx
lea ebp, [esi + 0x34]
xor ebx, ebx
mov ecx, ebp
mov dword [esi], ebx
mov word [esi + 8], dx
mov word [esi + 0xe], dx
mov word [esi + 0x14], dx
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
call fcn.10035ab0
lea ecx, [esi + 0x3c]
mov dword [esp + 0x30], ebx
call fcn.10035ab0
mov edi, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
mov byte [esp + 0x30], 1
mov word [esi + 0x44], ax
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], ebx
cmp edi, ebx
je 0x10125d14
push ebx
push ebx
mov ecx, 0x1500
push ebp
lea edx, [esp + 0x48]
mov word [esp + 0x4a], cx
push edx
mov ecx, edi
mov word [esp + 0x4c], ax
call fcn.100d6da0
push ebx
mov eax, 0x22
mov word [esp + 0x42], ax
push ebx
lea eax, [esi + 0x3c]
push eax
lea ecx, [esp + 0x48]
push ecx
mov ecx, edi
call fcn.100d6da0
push ebx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x44]
mov edx, 0x40
push ecx
mov ecx, edi
mov word [esp + 0x4a], dx
call fcn.100d6d80
test eax, eax
jbe 0x1012581b
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x1012581b
mov ebp, 0x1019bedc
mov cl, byte [eax]
cmp cl, byte [ebp]
jne 0x10125807
cmp cl, bl
je 0x10125803
mov cl, byte [eax + 1]
cmp cl, byte [ebp + 1]
jne 0x10125807
add eax, 2
add ebp, 2
cmp cl, bl
jne 0x101257e6
xor eax, eax
jmp 0x1012580c
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x1012581b
mov eax, 5
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
push ebx
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x44]
mov edx, 0x15
push ecx
mov ecx, edi
mov dword [esp + 0x44], ebx
mov word [esp + 0x4a], dx
call fcn.100d6800
mov eax, dword [esp + 0x38]
cmp eax, 1
jge 0x10125849
mov eax, 1
push ebx
push ebx
mov dword [esi], eax
lea ebp, [esi + 4]
push ebp
lea eax, [esp + 0x48]
mov edx, 0x51
push eax
mov ecx, edi
mov word [esp + 0x4e], dx
call fcn.100d6d50
movzx eax, word [ebp]
cmp ax, bx
jbe 0x10125875
dec eax
mov word [ebp], ax
push ebx
mov ecx, 0x50
lea ebp, [esi + 6]
push ebp
lea edx, [esp + 0x44]
mov word [esp + 0x46], cx
push edx
mov ecx, edi
call fcn.100d6730
xor ecx, ecx
cmp ecx, eax
sbb eax, eax
neg eax
mov dword [esi + 0x48], eax
je 0x10125958
push 1
lea eax, [esi + 8]
push eax
lea edx, [esp + 0x44]
push edx
mov ecx, edi
call fcn.100d6730
cmp eax, 2
jae 0x10125958
call fcn.10037680
lea ecx, [eax + 0x14]
mov dword [esp + 0x14], eax
call fcn.10035670
mov eax, dword [esp + 0x14]
cmp dword [eax + 0xc], ebx
je 0x101258e7
lea ecx, [eax + 0x10]
call fcn.10035670
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 4]
jmp 0x101258ea
mov eax, dword [eax + 8]
movzx ecx, word [esi + 8]
push 0x1018e154
push ecx
push str.assuming_Left_
push str.WARNING:_missing_second_value_for_OverlayOrigin_...
push eax
call fcn.10002d50
add esp, 8
push eax
call fcn.10002d50
add esp, 8
mov ecx, eax
call fcn.10125550
push eax
call fcn.10002d50
add esp, 8
push 0xa
mov ecx, eax
mov dword [esp + 0x18], eax
call fcn.10002f60
mov ecx, dword [esp + 0x14]
call fcn.10002ba0
call fcn.10037680
mov dword [esp + 0x14], eax
cmp dword [eax + 0xc], ebx
je 0x10125950
lea ecx, [eax + 0x10]
call fcn.100356c0
mov eax, dword [esp + 0x14]
lea ecx, [eax + 0x14]
call fcn.100356c0
dec word [ebp]
dec word [esi + 8]
push ebx
push ebx
lea ebp, [esi + 0xe]
push ebp
lea eax, [esp + 0x48]
mov edx, 0x10
push eax
mov ecx, edi
mov word [esp + 0x4e], dx
call fcn.100d6d50
xor ecx, ecx
cmp ecx, eax
movzx eax, word [ebp]
sbb edx, edx
push ebx
neg edx
and dword [esi + 0x48], edx
push ebx
mov ecx, 0x11
lea ebp, [esi + 0x10]
push ebp
lea edx, [esp + 0x48]
mov word [esp + 0x4a], cx
push edx
mov ecx, edi
mov word [esi + 0xa], ax
call fcn.100d6d50
xor ecx, ecx
cmp ecx, eax
movzx eax, word [ebp]
sbb edx, edx
push ebx
neg edx
and dword [esi + 0x48], edx
push ebx
mov ecx, pe_nt_image_headers32
lea ebp, [esi + 0x12]
push ebp
lea edx, [esp + 0x48]
mov word [esp + 0x4a], cx
push edx
mov ecx, edi
mov word [esi + 0xc], ax
call fcn.100d6d50
xor ecx, ecx
cmp ecx, eax
push ebx
mov eax, 0x102
mov word [esp + 0x42], ax
push ebx
lea eax, [esi + 0x14]
sbb edx, edx
push eax
lea ecx, [esp + 0x48]
neg edx
and dword [esi + 0x48], edx
push ecx
mov ecx, edi
call fcn.100d6d50
xor edx, edx
cmp edx, eax
sbb eax, eax
neg eax
and dword [esi + 0x48], eax
mov ecx, 0x3000
mov word [esp + 0x3e], cx
je 0x10125d14
push ebx
lea eax, [esi + 0x6c]
push eax
lea edx, [esp + 0x44]
push edx
mov ecx, edi
call fcn.100d69a0
add eax, eax
mov dword [esp + 0x14], eax
jne 0x10125a77
xor eax, eax
mov word [esi + 4], ax
push ebx
lea eax, [esi + 0x6c]
push eax
mov ecx, 0x7fe0
lea eax, [esp + 0x1c]
mov word [esp + 0x1c], cx
mov edx, 0x10
push eax
mov ecx, edi
mov word [esp + 0x22], dx
call fcn.100d69a0
mov edi, dword [esp + 0x40]
xor ecx, ecx
add eax, eax
cmp dword [esi + 0x6c], ebx
mov dword [esp + 0x14], eax
setne cl
mov dword [esi + 0x60], ecx
jmp 0x10125a80
mov edi, 1
mov dword [esp + 0x40], edi
cmp word [ebp], di
je 0x10125b3b
mov edx, dword [0x10199a74]
mov ecx, 0x101b5bc0
mov dword [esp + 0x20], edx
call fcn.10035670
mov eax, dword [0x101b5bbc]
mov ecx, 0x101b5bc0
mov dword [esp + 0x1c], eax
call fcn.100356c0
mov ecx, dword [esp + 0x1c]
test dword [esp + 0x20], ecx
je 0x10125b37
movzx edx, word [ebp]
push 0x1018e154
push edi
push str.__..._assuming
push edx
push str.WARNING:_invalid_value_for_OverlayBitsAllocated__
call fcn.10037680
mov ecx, eax
call fcn.10001220
push eax
call fcn.10002d50
add esp, 8
mov ecx, eax
call fcn.1000b7e0
push eax
call fcn.10002d50
add esp, 8
mov ecx, eax
call fcn.1000b7e0
push eax
call fcn.10002d50
add esp, 8
mov edi, eax
push 0xa
mov ecx, edi
call fcn.10002f60
mov ecx, edi
call fcn.10002ba0
call fcn.10037680
mov edi, eax
cmp dword [edi + 0xc], ebx
je 0x10125b2b
lea ecx, [edi + 0x10]
call fcn.100356c0
lea ecx, [edi + 0x14]
call fcn.100356c0
mov edi, dword [esp + 0x40]
mov word [ebp], di
mov ax, word [esi + 0x14]
cmp ax, word [ebp]
jb 0x10125bfa
mov edi, dword [0x10199a74]
mov ecx, 0x101b5bc0
call fcn.10035670
mov ecx, dword [0x101b5bbc]
mov dword [esp + 0x40], ecx
mov ecx, 0x101b5bc0
call fcn.100356c0
test dword [esp + 0x40], edi
je 0x10125bf0
movzx edx, word [ebp]
movzx eax, word [esi + 0x14]
push 0x1018e154
dec edx
push edx
push str.__..._assuming
push eax
push str.WARNING:_invalid_value_for_OverlayBitPosition__
call fcn.10037680
mov ecx, eax
call fcn.10001220
push eax
call fcn.10002d50
add esp, 8
mov ecx, eax
call fcn.1000b7e0
push eax
call fcn.10002d50
add esp, 8
mov ecx, eax
call fcn.100d4340
push eax
call fcn.10002d50
add esp, 8
mov edi, eax
push 0xa
mov ecx, edi
call fcn.10002f60
mov ecx, edi
call fcn.10002ba0
call fcn.10037680
mov edi, eax
cmp dword [edi + 0xc], ebx
je 0x10125be8
lea ecx, [edi + 0x10]
call fcn.100356c0
lea ecx, [edi + 0x14]
call fcn.100356c0
mov cx, word [ebp]
dec cx
mov word [esi + 0x14], cx
cmp dword [esi + 0x60], ebx
je 0x10125c8a
movzx eax, word [esi + 0x14]
mov cx, word [esp + 0x48]
cmp ax, cx
ja 0x10125c8a
movzx edx, ax
movzx eax, word [esp + 0x44]
movzx ecx, cx
add edx, eax
cmp edx, ecx
jle 0x10125c8a
mov edx, dword [0x10199a74]
push edx
call fcn.1003cc70
add esp, 4
test eax, eax
je 0x10125c87
movzx eax, word [esi + 0x14]
push str.___refers_to_bit_position_within_stored_pixel_value__
push eax
push str.ERROR:_invalid_value_for_OverlayBitPosition__
call fcn.10037680
mov ecx, eax
call fcn.10001220
push eax
call fcn.10002d50
add esp, 8
mov ecx, eax
call fcn.1000b7e0
push eax
call fcn.10002d50
add esp, 8
mov edi, eax
push 0xa
mov ecx, edi
call fcn.10002f60
mov ecx, edi
call fcn.10002ba0
call fcn.10037680
mov ecx, eax
call fcn.10001250
mov dword [esi + 0x6c], ebx
mov eax, dword [esi + 0x6c]
cmp eax, ebx
je 0x10125d0a
mov ecx, dword [esp + 0x14]
cmp ecx, ebx
je 0x10125cb8
movzx edi, word [esi + 0xe]
movzx edx, word [ebp]
imul edx, edi
movzx edi, word [esi + 0x10]
imul edx, edi
imul edx, dword [esi]
add edx, 7
shr edx, 3
cmp ecx, edx
jae 0x10125d0a
mov eax, dword [0x10199a70]
push eax
call fcn.1003cc70
add esp, 4
test eax, eax
je 0x10125d02
push str.ERROR:_overlay_data_length_is_too_short__
call fcn.10037680
mov ecx, eax
call fcn.10001220
push eax
call fcn.10002d50
add esp, 8
mov edi, eax
push 0xa
mov ecx, edi
call fcn.10002f60
mov ecx, edi
call fcn.10002ba0
call fcn.10037680
mov ecx, eax
call fcn.10001250
mov dword [esi + 0x48], ebx
mov dword [esi + 0x6c], ebx
jmp 0x10125d14
xor ecx, ecx
cmp eax, ebx
setne cl
mov dword [esi + 0x48], ecx
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 0x14