Function at 0x406a20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x438293
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 0x406a78
push 0
mov ecx, eax
call fcn.0040edc0
mov esi, eax
jmp 0x406a7a
xor esi, esi
mov ecx, dword [edi + 4]
push esi
mov byte [esp + 0x30], 0
call fcn.0040cc50
test eax, eax
jne 0x406aba
test esi, esi
je 0x406a98
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 0x406ad3
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
mov eax, dword [edi + 0x30]
xor esi, esi
shr eax, 1
mov dword [esp + 0xc], eax
inc eax
push ebx
push ebp
test eax, eax
jl 0x406ca3
mov ebx, dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, edi
call fcn.00405020
test eax, eax
jne 0x406ca3
mov eax, dword [edi + 0x34]
xor edx, edx
imul eax, esi
div dword [edi + 0x30]
lea ebp, [edi + 0x54]
test ebp, ebp
jne 0x406b14
xor ecx, ecx
jmp 0x406b17
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]
mov ecx, dword [edi + 0x30]
imul eax, esi
xor edx, edx
div ecx
sub ecx, esi
test ebp, ebp
jne 0x406b44
xor edx, edx
jmp 0x406b47
mov edx, dword [ebp + 4]
push 0xcc0020
push eax
push ecx
push edx
push 1
push esi
push eax
push ecx
mov ecx, dword [esp + 0x3c]
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
test ebp, ebp
jne 0x406b72
xor eax, eax
jmp 0x406b75
mov eax, dword [ebp + 4]
mov edx, dword [esp + 0x1c]
push 0xcc0020
push ecx
push 0
push eax
push 1
push esi
push ecx
push 0
push edx
call ebx
mov eax, dword [edi + 0x34]
mov ecx, dword [edi + 0x30]
imul eax, esi
xor edx, edx
div ecx
mov edx, dword [edi + 0x34]
sub edx, eax
mov eax, ecx
sub eax, esi
test ebp, ebp
jne 0x406ba9
xor ecx, ecx
jmp 0x406bac
mov ecx, dword [ebp + 4]
push 0xcc0020
push edx
push eax
push ecx
push 1
push esi
push edx
push eax
mov eax, dword [esp + 0x3c]
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 0x406bd4
xor ecx, ecx
jmp 0x406bd7
mov ecx, dword [ebp + 4]
push 0xcc0020
push 0
push esi
push ecx
mov ecx, dword [esp + 0x2c]
push eax
push 1
push 0
push esi
push ecx
call ebx
mov ecx, dword [edi + 0x30]
xor edx, edx
mov eax, ecx
sub eax, esi
mov dword [esp + 0x10], eax
mov eax, dword [edi + 0x34]
imul eax, esi
div ecx
inc eax
test ebp, ebp
jne 0x406c0b
xor edx, edx
jmp 0x406c0e
mov edx, dword [ebp + 4]
mov ecx, dword [esp + 0x10]
push 0xcc0020
push 0
push ecx
push edx
mov edx, dword [esp + 0x2c]
push eax
push 1
push 0
push ecx
push edx
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
jne 0x406c40
xor edx, edx
jmp 0x406c43
mov edx, dword [ebp + 4]
push 0xcc0020
push ecx
push esi
push edx
push eax
mov eax, dword [esp + 0x30]
push 1
push ecx
push esi
push eax
call ebx
mov eax, dword [edi + 0x34]
mov ecx, dword [edi + 0x30]
imul eax, esi
xor edx, edx
div ecx
mov edx, dword [edi + 0x34]
sub ecx, esi
sub edx, eax
inc eax
test ebp, ebp
je 0x406c73
mov ebp, dword [ebp + 4]
push 0xcc0020
push edx
push ecx
push ebp
push eax
push 1
push edx
push ecx
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 0x406aef
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