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

Disassembly:
push 0xffffffffffffffff
push 0x43a7c5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa0
push ebx
push ebp
push esi
mov esi, dword [esp + 0xbc]
push edi
push esi
lea ecx, [esp + 0x90]
call fcn.00433768
xor ebx, ebx
lea eax, [esp + 0x4c]
mov dword [esp + 0xb8], ebx
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
lea edx, [esp + 0x4c]
push edx
lea eax, [esp + 0xa4]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
lea ecx, [esp + 0x8c]
push ecx
lea edx, [esp + 0x64]
push edx
lea edi, [esp + 0xa8]
call fcn.00406510
push 0x76554c
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x68]
mov byte [esp + 0xc0], 1
call fcn.00435000
lea ecx, [esp + 0x3c]
call fcn.004332c1
mov byte [esp + 0xb8], 2
mov ecx, dword [esp + 0x90]
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x40]
call fcn.004336d1
call fcn.004099a0
lea ecx, [eax + 8]
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x34], ebx
mov ebp, 0x22
lea ebx, [esp + 0x18]
lea eax, [esp + 0x10]
mov dword [esp + 0x18], ebp
call fcn.0040ac30
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x40bb28
mov edx, dword [eax + 0x12]
mov eax, dword [eax + 0x16]
mov dword [esp + 0x5c], edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], vtable.CBitmap.0
mov byte [esp + 0xb8], 3
mov esi, dword [esp + 0x64]
mov dword [esp + 0x14], esi
call fcn.004099a0
test esi, esi
mov edi, dword [sym.imp.GDI32.dll_CreateDIBitmap]
je 0x40bc03
lea esi, [eax + 8]
lea ebx, [esp + 0x18]
lea eax, [esp + 0x10]
mov ecx, esi
mov dword [esp + 0x18], ebp
call fcn.0040ac30
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
add eax, 0xe
mov dword [esp + 0x20], eax
lea ebx, [esp + 0x18]
lea eax, [esp + 0x10]
mov ecx, esi
mov dword [esp + 0x18], ebp
call fcn.0040ac30
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
add eax, 0xe
mov dword [esp + 0x38], eax
lea ebx, [esp + 0x18]
lea eax, [esp + 0x10]
mov ecx, esi
mov dword [esp + 0x18], ebp
call fcn.0040ac30
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
lea ecx, [eax + 0xe]
call fcn.00409a10
movzx ecx, ax
mov dword [esp + 0x30], ecx
lea ebx, [esp + 0x18]
lea eax, [esp + 0x10]
mov ecx, esi
mov dword [esp + 0x18], ebp
call fcn.0040ac30
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x30]
push 0
push edx
lea edx, [eax + ecx + 0x36]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x1c]
push edx
push 4
push eax
push ecx
call edi
push eax
lea ecx, [esp + 0x2c]
call fcn.004339ce
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x40]
push edx
push eax
call fcn.00433a57
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x34]
push 0xcc0020
push 0
push 0
push ecx
mov ecx, dword [esp + 0x60]
push edx
mov edx, dword [esp + 0x60]
mov esi, eax
mov eax, dword [esp + 0x70]
push eax
mov eax, dword [esp + 0x7c]
push ecx
push edx
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
test esi, esi
je 0x40bc48
mov esi, dword [esi + 4]
mov ecx, dword [esp + 0x40]
push esi
push ecx
call fcn.00433a57
lea ecx, [esp + 0x28]
call fcn.00433a25
call fcn.004099a0
lea ecx, [eax + 8]
xor esi, esi
mov ebp, 0x24
lea ebx, [esp + 0x14]
lea eax, [esp + 0x10]
mov dword [esp + 0x38], 0
mov dword [esp + 0x30], esi
mov dword [esp + 0x14], ebp
call fcn.0040ac30
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x40bca1
mov edx, dword [eax + 0x12]
mov eax, dword [eax + 0x16]
mov dword [esp + 0x38], edx
mov dword [esp + 0x30], eax
mov esi, eax
mov ebx, dword [esp + 0x64]
mov dword [esp + 0x10], ebx
call fcn.004099a0
test ebx, ebx
je 0x40bd62
lea esi, [eax + 8]
lea ebx, [esp + 0x14]
lea eax, [esp + 0x24]
mov ecx, esi
mov dword [esp + 0x14], ebp
call fcn.0040ac30
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
add eax, 0xe
mov dword [esp + 0x24], eax
lea ebx, [esp + 0x14]
lea eax, [esp + 0x20]
mov ecx, esi
mov dword [esp + 0x14], ebp
call fcn.0040ac30
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
add eax, 0xe
mov dword [esp + 0x20], eax
lea ebx, [esp + 0x14]
lea eax, [esp + 0x18]
mov ecx, esi
mov dword [esp + 0x14], ebp
call fcn.0040ac30
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
lea ecx, [eax + 0xe]
call fcn.00409a10
movzx ecx, ax
mov dword [esp + 0x18], ecx
lea ebx, [esp + 0x14]
lea eax, [esp + 0x1c]
mov ecx, esi
mov dword [esp + 0x14], ebp
call fcn.0040ac30
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
push 0
push edx
lea edx, [eax + ecx + 0x36]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x18]
push edx
push 4
push eax
push ecx
call edi
push eax
lea ecx, [esp + 0x2c]
call fcn.004339ce
mov esi, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x40]
push edx
push eax
call fcn.00433a57
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x50]
mov ebx, dword [esp + 0x34]
push 0xcc0020
push 0
push 0
push edx
mov edx, dword [esp + 0x5c]
mov ebp, eax
lea eax, [ecx + ebx]
mov ecx, dword [esp + 0x48]
push esi
push ecx
push eax
mov eax, dword [esp + 0x80]
push edx
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
test ebp, ebp
je 0x40bdad
mov ebp, dword [ebp + 4]
mov ecx, dword [esp + 0x40]
push ebp
push ecx
call fcn.00433a57
lea ecx, [esp + 0x28]
call fcn.00433a25
mov ebp, dword [esp + 0x64]
mov dword [esp + 0x20], ebp
call fcn.004099a0
test ebp, ebp
je 0x40be8e
lea esi, [eax + 8]
lea ebx, [esp + 0x10]
lea eax, [esp + 0x1c]
mov ecx, esi
mov dword [esp + 0x10], 0x25
call fcn.0040ac30
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
lea ebp, [eax + 0xe]
lea ebx, [esp + 0x10]
lea eax, [esp + 0x1c]
mov ecx, esi
mov dword [esp + 0x10], 0x25
call fcn.0040ac30
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
add eax, 0xe
mov dword [esp + 0x24], eax
lea ebx, [esp + 0x10]
lea eax, [esp + 0x1c]
mov ecx, esi
mov dword [esp + 0x10], 0x25
call fcn.0040ac30
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
lea ecx, [eax + 0xe]
call fcn.00409a10
movzx edx, ax
lea ebx, [esp + 0x10]
lea eax, [esp + 0x1c]
mov ecx, esi
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], 0x25
call fcn.0040ac30
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x14]
push 0
push ecx
mov ecx, dword [esp + 0x28]
lea eax, [eax + edx + 0x36]
push eax
push 4
push ebp
push ecx
call edi
push eax
lea ecx, [esp + 0x2c]
call fcn.004339ce
mov esi, dword [esp + 0x30]
mov ebx, dword [esp + 0x34]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x40]
push edx
push eax
call fcn.00433a57
mov ebp, dword [esp + 0x4c]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
push 0xcc0020
push 1
sub ecx, ebp
push dword [esp + 0x40]
mov ebp, dword [esp + 0x4c]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x64]
push 0
push 0
sub eax, esi
sub eax, edx
push ebp
sub eax, ebx
push eax
add edx, esi
push ecx
mov ecx, dword [esp + 0x6c]
add edx, ebx
push edx
mov edx, dword [esp + 0x88]
push ecx
push edx
call dword [sym.imp.GDI32.dll_StretchBlt]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x40bef2
mov eax, dword [eax + 4]
push eax
mov eax, dword [esp + 0x44]
push eax
call fcn.00433a57
lea ecx, [esp + 0x28]
call fcn.00433a25
mov ebp, dword [esp + 0x64]
mov dword [esp + 0x20], ebp
call fcn.004099a0
test ebp, ebp
je 0x40bfd3
lea esi, [eax + 8]
lea ebx, [esp + 0x10]
lea eax, [esp + 0x1c]
mov ecx, esi
mov dword [esp + 0x10], 0x23
call fcn.0040ac30
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
lea ebp, [eax + 0xe]
lea ebx, [esp + 0x10]
lea eax, [esp + 0x1c]
mov ecx, esi
mov dword [esp + 0x10], 0x23
call fcn.0040ac30
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
add eax, 0xe
mov dword [esp + 0x24], eax
lea ebx, [esp + 0x10]
lea eax, [esp + 0x1c]
mov ecx, esi
mov dword [esp + 0x10], 0x23
call fcn.0040ac30
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
lea ecx, [eax + 0xe]
call fcn.00409a10
movzx ecx, ax
mov dword [esp + 0x14], ecx
lea ebx, [esp + 0x10]
lea eax, [esp + 0x1c]
mov ecx, esi
mov dword [esp + 0x10], 0x23
call fcn.0040ac30
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
push 0
push edx
lea edx, [eax + ecx + 0x36]
mov eax, dword [esp + 0x28]
push edx
push 4
push ebp
push eax
call edi
push eax
lea ecx, [esp + 0x2c]
call fcn.004339ce
mov esi, dword [esp + 0x30]
mov ebx, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x40]
push ecx
push edx
call fcn.00433a57
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x38]
push 0xcc0020
push 0
push 0
push ecx
mov ecx, dword [esp + 0x74]
mov ebp, eax
mov eax, dword [esp + 0x68]
push esi
sub eax, esi
push edx
sub eax, ebx
push eax
mov eax, dword [esp + 0x68]
push eax
push ecx
call dword [sym.imp.GDI32.dll_BitBlt]
test ebp, ebp
je 0x40c018
mov ebp, dword [ebp + 4]
mov edx, dword [esp + 0x40]
push ebp
push edx
call fcn.00433a57
lea ecx, [esp + 0x28]
call fcn.00433a25
mov esi, dword [esp + 0x64]
mov dword [esp + 0x20], esi
call fcn.004099a0
test esi, esi
je 0x40c0f5
lea esi, [eax + 8]
lea ebx, [esp + 0x10]
lea eax, [esp + 0x1c]
mov ecx, esi
mov dword [esp + 0x10], 0x21
call fcn.0040ac30
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
lea ebp, [eax + 0xe]
lea ebx, [esp + 0x10]
lea eax, [esp + 0x1c]
mov ecx, esi
mov dword [esp + 0x10], 0x21
call fcn.0040ac30
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
add eax, 0xe
mov dword [esp + 0x24], eax
lea ebx, [esp + 0x10]
lea eax, [esp + 0x1c]
mov ecx, esi
mov dword [esp + 0x10], 0x21
call fcn.0040ac30
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
lea ecx, [eax + 0xe]
call fcn.00409a10
movzx eax, ax
mov dword [esp + 0x14], eax
lea ebx, [esp + 0x10]
lea eax, [esp + 0x1c]
mov ecx, esi
mov dword [esp + 0x10], 0x21
call fcn.0040ac30
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x14]
push 0
push ecx
mov ecx, dword [esp + 0x28]
lea eax, [eax + edx + 0x36]
push eax
push 4
push ebp
push ecx
call edi
push eax
lea ecx, [esp + 0x2c]
call fcn.004339ce
mov ebx, dword [esp + 0x34]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x40]
push edx
push eax
call fcn.00433a57
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x5c]
push 0xcc0020
push 0
push 0
push ecx
mov ecx, dword [esp + 0x74]
mov esi, eax
mov eax, dword [esp + 0x68]
push ebx
push edx
sub eax, ebx
push eax
mov eax, dword [esp + 0x68]
push eax
push ecx
call dword [sym.imp.GDI32.dll_BitBlt]
test esi, esi
je 0x40c138
mov esi, dword [esi + 4]
mov edx, dword [esp + 0x40]
push esi
push edx
call fcn.00433a57
lea ecx, [esp + 0x28]
call fcn.00433a25
mov eax, dword [esp + 0xc0]
mov ecx, dword [eax + 0x50]
push 1
call fcn.0042e44e
test eax, eax
je 0x40c2b6
mov esi, dword [esp + 0x64]
mov dword [esp + 0x18], esi
call fcn.004099a0
test esi, esi
mov ebp, 0x26
je 0x40c227
lea esi, [eax + 8]
lea ebx, [esp + 0x10]
lea eax, [esp + 0x1c]
mov ecx, esi
mov dword [esp + 0x10], ebp
call fcn.0040ac30
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
add eax, 0xe
mov dword [esp + 0x20], eax
lea ebx, [esp + 0x10]
lea eax, [esp + 0x1c]
mov ecx, esi
mov dword [esp + 0x10], ebp
call fcn.0040ac30
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
add eax, 0xe
mov dword [esp + 0x24], eax
lea ebx, [esp + 0x10]
lea eax, [esp + 0x1c]
mov ecx, esi
mov dword [esp + 0x10], ebp
call fcn.0040ac30
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
lea ecx, [eax + 0xe]
call fcn.00409a10
movzx ecx, ax
mov dword [esp + 0x14], ecx
lea ebx, [esp + 0x10]
lea eax, [esp + 0x1c]
mov ecx, esi
mov dword [esp + 0x10], ebp
call fcn.0040ac30
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
push 0
push edx
lea edx, [eax + ecx + 0x36]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
push edx
push 4
push eax
push ecx
call edi
push eax
lea ecx, [esp + 0x2c]
call fcn.004339ce
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x40]
push edx
push eax
call fcn.00433a57
mov dword [esp + 0x18], eax
call fcn.004099a0
lea ecx, [eax + 8]
lea ebx, [esp + 0x10]
lea eax, [esp + 0x1c]
xor esi, esi
xor edi, edi
mov dword [esp + 0x10], ebp
call fcn.0040ac30
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x40c266
mov esi, dword [eax + 0x12]
mov edi, dword [eax + 0x16]
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0xc0]
mov eax, dword [ecx + 0x58]
mov ecx, dword [esp + 0x50]
push 0xcc0020
push 0
push 0
push edx
push edi
add eax, ecx
mov ecx, dword [esp + 0x78]
push esi
push eax
mov eax, dword [esp + 0x68]
push eax
push ecx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x40c2a2
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x40]
push eax
push edx
call fcn.00433a57
lea ecx, [esp + 0x28]
call fcn.00433a25
mov byte [esp + 0xb8], 2
lea ecx, [esp + 0x28]
mov dword [esp + 0x28], vtable.CGdiObject.0
call fcn.00433a25
lea ecx, [esp + 0x3c]
mov byte [esp + 0xb8], 1
call fcn.0043374f
lea eax, [esp + 0x60]
push eax
mov byte [esp + 0xbc], 0
call fcn.004065f0
lea ecx, [esp + 0x8c]
mov dword [esp + 0xb8], 0xffffffff
call fcn.004337c3
mov ecx, dword [esp + 0xb0]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xac
ret 4