Function at 0x40ad00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x438703
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x10]
mov eax, dword [edi + 0x1c]
push eax
call fcn.00434bf8
push 0x190
mov dword [esp + 0x30], 0
call fcn.0042f4c1
add esp, 4
mov dword [esp + 0xc], eax
test eax, eax
mov byte [esp + 0x2c], 1
je 0x40ad58
push 0
mov ecx, eax
call fcn.0040edc0
mov esi, eax
jmp 0x40ad5a
xor esi, esi
mov ecx, dword [edi + 4]
push esi
mov byte [esp + 0x30], 0
call fcn.0040cc50
test eax, eax
jne 0x40ad9a
test esi, esi
je 0x40ad78
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
call fcn.00434c6a
pop edi
pop esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret
lea eax, [esp + 0x10]
mov ecx, edi
push eax
push esi
call fcn.004056b0
test esi, esi
je 0x40adb3
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
push ebx
push ebp
call fcn.0041e2df
mov ebp, eax
and ebp, 0x80000003
jns 0x40adc9
dec ebp
or ebp, 0xfffffffc
inc ebp
mov eax, dword [edi + 0x30]
xor esi, esi
mov dword [esp + 0x14], eax
inc eax
test eax, eax
mov dword [esp + 0x10], ebp
jl 0x40afae
mov ebx, dword [sym.imp.GDI32.dll_BitBlt]
jmp 0x40adeb
mov ebp, dword [esp + 0x10]
mov ecx, edi
call fcn.00405020
test eax, eax
jne 0x40afae
test ebp, ebp
jne 0x40ae66
mov eax, dword [edi + 0x34]
xor edx, edx
imul eax, esi
div dword [edi + 0x30]
lea ebp, [edi + 0x54]
test ebp, ebp
jne 0x40ae14
xor ecx, ecx
jmp 0x40ae17
mov ecx, dword [ebp + 4]
push 0xcc0020
push eax
push 0
push ecx
push 1
push esi
push eax
mov eax, dword [esp + 0x38]
push 0
push eax
call ebx
mov eax, dword [edi + 0x34]
xor edx, edx
imul eax, esi
div dword [edi + 0x30]
inc eax
test ebp, ebp
jne 0x40ae4f
push 0xcc0020
push ebp
push esi
push ebp
push eax
push 1
push ebp
push esi
jmp 0x40af8b
mov ebp, dword [ebp + 4]
push 0xcc0020
push 0
push esi
push ebp
push eax
push 1
push 0
push esi
jmp 0x40af8b
cmp ebp, 1
jne 0x40aecd
mov eax, dword [edi + 0x34]
mov ecx, dword [edi + 0x30]
imul eax, esi
xor edx, edx
div ecx
lea edx, [edi + 0x54]
sub ecx, esi
test edx, edx
je 0x40ae84
mov edx, dword [edx + 4]
push 0xcc0020
push eax
push ecx
push edx
mov edx, dword [esp + 0x2c]
push 1
push esi
push eax
push ecx
push edx
call ebx
mov eax, dword [edi + 0x34]
mov ecx, dword [edi + 0x30]
imul eax, esi
xor edx, edx
mov ebp, ecx
div ecx
sub ebp, esi
lea ecx, [edi + 0x54]
inc eax
test ecx, ecx
je 0x40aeb4
mov ecx, dword [ecx + 4]
push 0xcc0020
push 0
push ebp
push ecx
push eax
mov eax, dword [esp + 0x30]
push 1
push 0
push ebp
push eax
jmp 0x40af90
mov ecx, dword [edi + 0x34]
cmp ebp, 2
jne 0x40af30
mov eax, ecx
xor edx, edx
imul eax, esi
div dword [edi + 0x30]
lea ebp, [edi + 0x54]
sub ecx, eax
test ebp, ebp
jne 0x40aeec
xor eax, eax
jmp 0x40aeef
mov eax, dword [ebp + 4]
push 0xcc0020
push ecx
push 0
push eax
push 1
push esi
push ecx
mov ecx, dword [esp + 0x38]
push 0
push ecx
call ebx
mov ecx, dword [edi + 0x34]
xor edx, edx
mov eax, ecx
imul eax, esi
div dword [edi + 0x30]
sub ecx, eax
inc eax
test ebp, ebp
je 0x40af1c
mov ebp, dword [ebp + 4]
mov edx, dword [esp + 0x1c]
push 0xcc0020
push ecx
push esi
push ebp
push eax
push 1
push ecx
push esi
push edx
jmp 0x40af90
mov eax, ecx
mov ebp, dword [edi + 0x30]
imul eax, esi
xor edx, edx
div ebp
lea edx, [edi + 0x54]
sub ecx, eax
mov eax, ebp
sub eax, esi
test edx, edx
je 0x40af4c
mov edx, dword [edx + 4]
push 0xcc0020
push ecx
push eax
push edx
push 1
push esi
push ecx
push eax
mov eax, dword [esp + 0x3c]
push eax
call ebx
mov ecx, dword [edi + 0x34]
mov ebp, dword [edi + 0x30]
mov eax, ecx
xor edx, edx
imul eax, esi
div ebp
sub ebp, esi
lea edx, [edi + 0x54]
sub ecx, eax
inc eax
test edx, edx
je 0x40af7e
mov edx, dword [edx + 4]
push 0xcc0020
push ecx
push ebp
push edx
push eax
push 1
push ecx
push ebp
mov ecx, dword [esp + 0x3c]
push ecx
call ebx
mov ebp, dword [esp + 0x14]
inc esi
mov ecx, edi
lea edx, [ebp + 2]
push edx
push esi
call fcn.004058d0
lea eax, [ebp + 1]
cmp esi, eax
jle 0x40ade7
lea ecx, [esp + 0x18]
mov dword [esp + 0x34], 0xffffffff
call fcn.00434c6a
mov ecx, dword [esp + 0x2c]
pop ebp
pop ebx
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret