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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4e8124
mov eax, dword fs:[0]
push eax
sub esp, 0x78
push ebx
push esi
push edi
mov eax, dword [0x541770]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea eax, [esp + 0x28]
xor ebx, ebx
push eax
push dword [edi + 4]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
call dword [sym.imp.USER32.dll_GetWindowRect]
cmp dword [edi + 0x44], ebx
jne 0x402b93
xor eax, eax
jmp 0x402d3d
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
sub ecx, dword [esp + 0x28]
push 0x26200a
push eax
push ecx
lea eax, [esp + 0x54]
push eax
call fcn.0040323b
mov dword [esp + 0x90], ebx
lea eax, [esp + 0x48]
lea esi, [esp + 0x20]
call fcn.0040315a
mov byte [esp + 0x90], 1
mov eax, dword [edi + 0x44]
cmp eax, ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], ebx
jle 0x402cf8
jmp 0x402be8
mov edi, dword [ebp + 8]
mov eax, dword [esp + 0x10]
lea ecx, [edi + 0x40]
call fcn.00481a75
mov esi, dword [eax]
lea eax, [esp + 0x38]
push eax
push esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 0x58]
push eax
push esi
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
call dword [sym.imp.USER32.dll_GetClientRect]
sub esp, 0x10
mov edi, esp
push dword [esp + 0x24]
lea esi, [esp + 0x4c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [sym.imp.USER32.dll_GetWindowDC]
lea ecx, [esp + 0x78]
push ecx
mov ecx, eax
call fcn.00401da0
mov byte [esp + 0x90], 2
push dword [esp + 0x14]
mov esi, dword [ebp + 8]
push dword [esp + 0x6c]
mov ecx, esi
call fcn.00402d8c
cmp eax, ebx
je 0x402cd4
push 2
lea eax, [esp + 0x3c]
push eax
push dword [esi + 4]
push ebx
call dword [sym.imp.USER32.dll_MapWindowPoints]
push dword [esp + 0x80]
call fcn.004e4ea0
mov edi, eax
pop ecx
mov dword [esp + 0x1c], edi
mov byte [esp + 0x90], 3
mov esi, edi
call fcn.004032f3
push eax
call fcn.004032d3
push eax
push dword [esp + 0x44]
mov eax, edi
push dword [esp + 0x44]
lea esi, [esp + 0x30]
call fcn.00403313
mov byte [esp + 0x90], 2
cmp edi, ebx
je 0x402cd4
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax]
mov byte [esp + 0x90], 1
lea eax, [esp + 0x68]
push eax
call fcn.00402d55
inc dword [esp + 0x10]
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x18]
jl 0x402be5
lea esi, [esp + 0x48]
call fcn.004030ae
push eax
call fcn.004032f3
push eax
call fcn.004032d3
push eax
push ebx
push ebx
mov ecx, esi
call fcn.004030ca
mov esi, eax
mov byte [esp + 0x90], bl
push dword [esp + 0x20]
call sub.gdiplus.dll_GdipDeleteGraphics
or dword [esp + 0x90], 0xffffffff
lea eax, [esp + 0x48]
push eax
call fcn.0040317e
mov eax, esi
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4