Function at 0x415750
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x488250
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a4100]
xor eax, esp
push eax
lea eax, [esp + 0x7c]
mov dword fs:[0], eax
mov edi, ecx
mov ebp, dword [edi + 0xc]
mov esi, dword [edi + 0x10]
xor ebx, ebx
push 0x2c
lea eax, [esp + 0x50]
push ebx
push eax
mov dword [esp + 0x38], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], esi
call fcn.00474b70
add esp, 0xc
push ebx
push ebx
lea eax, [esp + 0x38]
push eax
mov ecx, 0x20
mov word [esp + 0x66], cx
push ebx
lea ecx, [esp + 0x5c]
push ecx
mov edx, 1
push ebx
mov dword [esp + 0x64], 0x28
mov dword [esp + 0x74], ebx
mov dword [esp + 0x68], ebp
mov dword [esp + 0x6c], esi
mov word [esp + 0x70], dx
mov dword [esp + 0x48], ebx
call dword [sym.imp.GDI32.dll_CreateDIBSection]
mov edx, dword [esp + 0x54]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x50]
dec edx
imul edx, eax
neg eax
lea edx, [ecx + edx*4]
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], eax
cmp dword [edi + 0x170], ebx
je 0x415a5a
mov eax, dword [edi + 0x124]
cmp eax, ebx
je 0x41599b
cmp dword [eax], ebx
je 0x41599b
mov ebp, dword [edi + 0x130]
cmp ebp, ebx
je 0x4158ea
cmp dword [ebp + 0x14], ebx
jne 0x4158df
xor eax, eax
cmp dword [ebp + 0x10], ebx
sete al
cmp eax, ebx
jne 0x4158df
mov eax, edi
call fcn.00414e10
cmp eax, ebp
jne 0x4158d0
cmp dword [edi + 0x188], ebx
jle 0x4158df
push edi
lea ecx, [edi + 0x140]
lea eax, [esp + 0x40]
call fcn.0041c520
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
push eax
lea ebx, [esp + 0x24]
call fcn.00402b10
mov dword [esp + 0x84], 0
mov eax, dword [edi + 0x50]
mov ecx, dword [edi + 0x118]
mov esi, dword [esp + 0x24]
push eax
push ecx
lea ebx, [edi + 0x184]
lea ecx, [esp + 0x44]
call fcn.0041e910
add esp, 8
lea eax, [esp + 0x20]
mov dword [esp + 0x84], 0xffffffff
call fcn.00402ad0
xor ebx, ebx
jmp 0x4158df
mov edx, dword [ebp]
mov edx, dword [edx]
lea eax, [esp + 0x2c]
push eax
push edi
mov ecx, ebp
call edx
mov ebp, dword [ebp + 8]
cmp ebp, ebx
jne 0x415836
mov ebp, dword [esp + 0x18]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov byte [esp + 0x19], bl
mov byte [esp + 0x18], bl
push eax
lea ebx, [esp + 0x24]
mov byte [esp + 0x1f], 1
mov byte [esp + 0x1e], 0xff
call fcn.00402b10
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x24]
mov edx, dword [esp + 0x8c]
push ecx
push eax
push ebp
xor edi, edi
push edi
push edi
push esi
push eax
push ebp
push edi
push edi
push edx
call dword [sym.imp.MSIMG32.dll_AlphaBlend]
cmp esi, edi
je 0x415966
mov eax, dword [esp + 0x28]
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esp + 0x20]
cmp eax, edi
je 0x41595f
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
cmp eax, edi
je 0x415985
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [esp + 0x7c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret 4
mov esi, dword [edi + 0x130]
cmp esi, ebx
je 0x4159cb
cmp dword [esi + 0x14], ebx
jne 0x4159c4
xor eax, eax
cmp dword [esi + 0x10], ebx
sete al
cmp eax, ebx
jne 0x4159c4
mov eax, dword [esi]
mov edx, dword [eax]
lea ecx, [esp + 0x2c]
push ecx
push edi
mov ecx, esi
call edx
mov esi, dword [esi + 8]
cmp esi, ebx
jne 0x4159a5
cmp dword [edi + 0x188], ebx
jle 0x4158ee
push edi
lea ecx, [edi + 0x140]
lea eax, [esp + 0x40]
call fcn.0041c520
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
push eax
lea ebx, [esp + 0x24]
call fcn.00402b10
mov dword [esp + 0x84], 1
mov ecx, dword [edi + 0x50]
mov edx, dword [edi + 0x118]
mov esi, dword [esp + 0x24]
push ecx
push edx
lea ebx, [edi + 0x184]
lea ecx, [esp + 0x44]
call fcn.0041e910
add esp, 8
test esi, esi
je 0x415a53
mov eax, dword [esp + 0x28]
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esp + 0x20]
test eax, eax
je 0x415a4c
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
xor ebx, ebx
jmp 0x4158ee
mov esi, dword [edi + 0x130]
cmp esi, ebx
je 0x4158ee
cmp dword [esi + 0x14], ebx
jne 0x415a87
xor eax, eax
cmp dword [esi + 0x10], ebx
sete al
cmp eax, ebx
jne 0x415a87
mov edx, dword [esi]
mov edx, dword [edx]
lea eax, [esp + 0x2c]
push eax
push edi
mov ecx, esi
call edx
mov esi, dword [esi + 8]
cmp esi, ebx
jne 0x415a68
jmp 0x4158ee