Function at 0x41de29
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
mov eax, dword [0x4bca50]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push esi
push edi
mov esi, ecx
mov eax, dword [esi + 4]
lea ecx, [esp + 0x40]
push ecx
xor ebx, ebx
push eax
mov edi, edx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], eax
call dword [sym.imp.USER32.dll_BeginPaint]
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], eax
cmp edi, ebx
je 0x41de6d
mov dword [esp + 0x34], edi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x41dea0
lea eax, [esp + 0x40]
push eax
push dword [esp + 0x40]
call dword [sym.imp.USER32.dll_EndPaint]
mov ecx, dword [esp + 0x84]
pop edi
pop esi
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.0047099a
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x10]
push eax
push dword [esi + 4]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
call dword [sym.imp.USER32.dll_GetClientRect]
push dword [esp + 0x34]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [esp + 0x18]
sub ecx, dword [esp + 0x10]
mov edi, eax
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x14]
push eax
push ecx
push dword [esp + 0x3c]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push edi
mov dword [esp + 0x38], eax
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
call fcn.0041e206
push 1
push edi
call dword [sym.imp.GDI32.dll_SetBkMode]
mov eax, dword [esi + 0x60]
cmp eax, 2
jne 0x41dfb1
cmp dword [esi + 0x68], ebx
je 0x41dfb1
mov eax, dword [esi + 0x58]
cmp eax, ebx
je 0x41df26
push eax
call fcn.00457070
mov dword [esi + 0x58], ebx
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
sub ecx, dword [esp + 0x10]
push eax
push ecx
push ebx
call fcn.00457360
push 0xffffffffffffffff
push eax
mov dword [esi + 0x58], eax
call fcn.004570d0
lea eax, [esp + 0x20]
push eax
push ecx
lea eax, [esi + 0x68]
mov ecx, esp
push eax
call fcn.00419c1c
call fcn.00417eff
movzx eax, byte [esi + 0x78]
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x20]
push eax
push dword [esi + 0x68]
push dword [esi + 0x58]
call fcn.00417e6c
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x2c]
add esp, 0x1c
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x14]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x14]
push eax
push dword [esi + 0x58]
mov dword [esp + 0x30], ebx
push edi
call fcn.00457680
jmp 0x41e00f
cmp eax, 1
jne 0x41dfff
mov edx, dword [esi + 0x64]
cmp edx, ebx
je 0x41dfff
mov al, byte [esi + 0x78]
mov ecx, dword [esp + 0x18]
sub ecx, dword [esp + 0x10]
mov byte [esp + 0x22], al
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x14]
mov byte [esp + 0x20], bl
mov byte [esp + 0x21], bl
mov byte [esp + 0x23], 1
push dword [esp + 0x20]
mov dword [esi + 0x58], edx
push eax
push ecx
push ebx
push ebx
push edx
push eax
push ecx
push dword [esp + 0x34]
push dword [esp + 0x34]
push edi
call fcn.004578b0
jmp 0x41e00f
mov eax, dword [esi + 0x58]
cmp eax, ebx
je 0x41e00f
push eax
call fcn.00457070
mov dword [esi + 0x58], ebx
mov eax, dword [esi + 0x6c]
cmp eax, 2
jne 0x41e0bf
cmp dword [esi + 0x74], ebx
je 0x41e0bf
mov eax, dword [esi + 0x5c]
cmp eax, ebx
je 0x41e034
push eax
call fcn.00457070
mov dword [esi + 0x5c], ebx
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
sub ecx, dword [esp + 0x10]
push eax
push ecx
push ebx
call fcn.00457360
push 0xffffffffffffffff
push eax
mov dword [esi + 0x5c], eax
call fcn.004570d0
lea eax, [esp + 0x20]
push eax
push ecx
lea eax, [esi + 0x74]
mov ecx, esp
push eax
call fcn.00419c1c
call fcn.00417eff
movzx eax, byte [esi + 0x79]
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x20]
push eax
push dword [esi + 0x74]
push dword [esi + 0x5c]
call fcn.00417e6c
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x2c]
add esp, 0x1c
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x14]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x14]
push eax
push dword [esi + 0x5c]
mov dword [esp + 0x30], ebx
push edi
call fcn.00457680
jmp 0x41e11d
cmp eax, 1
jne 0x41e10d
mov edx, dword [esi + 0x70]
cmp edx, ebx
je 0x41e10d
mov al, byte [esi + 0x79]
mov ecx, dword [esp + 0x18]
sub ecx, dword [esp + 0x10]
mov byte [esp + 0x22], al
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x14]
mov byte [esp + 0x20], bl
mov byte [esp + 0x21], bl
mov byte [esp + 0x23], 1
push dword [esp + 0x20]
mov dword [esi + 0x5c], edx
push eax
push ecx
push ebx
push ebx
push edx
push eax
push ecx
push dword [esp + 0x34]
push dword [esp + 0x34]
push edi
call fcn.004578b0
jmp 0x41e11d
mov eax, dword [esi + 0x5c]
cmp eax, ebx
je 0x41e11d
push eax
call fcn.00457070
mov dword [esi + 0x5c], ebx
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x14]
push 0xcc0020
push ebx
push ebx
push edi
push eax
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x24]
push eax
push ebx
push ebx
push dword [esp + 0x54]
call dword [sym.imp.GDI32.dll_BitBlt]
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
push dword [esp + 0x30]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
call esi
test eax, eax
je 0x41e15e
mov dword [esp + 0x30], ebx
cmp dword [esp + 0x30], ebx
je 0x41e16a
push dword [esp + 0x30]
call esi
cmp edi, ebx
je 0x41e175
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
xor ebx, ebx
inc ebx
jmp 0x41de7a