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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4cebb8
mov eax, dword fs:[0]
push eax
sub esp, 0x78
push ebx
push esi
push edi
mov eax, dword [0x51f714]
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 0x401ed1
xor eax, eax
jmp 0x40207b
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.0040246a
mov dword [esp + 0x90], ebx
lea eax, [esp + 0x48]
lea esi, [esp + 0x20]
call fcn.00402389
mov byte [esp + 0x90], 1
mov eax, dword [edi + 0x44]
cmp eax, ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], ebx
jle 0x402036
jmp 0x401f26
mov edi, dword [ebp + 8]
mov eax, dword [esp + 0x10]
lea ecx, [edi + 0x40]
call fcn.0046d00a
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.00401105
mov byte [esp + 0x90], 2
push dword [esp + 0x14]
mov esi, dword [ebp + 8]
push dword [esp + 0x6c]
mov ecx, esi
call fcn.004020ca
cmp eax, ebx
je 0x402012
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.004cbd75
mov edi, eax
pop ecx
mov dword [esp + 0x1c], edi
mov byte [esp + 0x90], 3
mov esi, edi
call fcn.00402522
push eax
call fcn.00402502
push eax
push dword [esp + 0x44]
mov eax, edi
push dword [esp + 0x44]
lea esi, [esp + 0x30]
call fcn.00402542
mov byte [esp + 0x90], 2
cmp edi, ebx
je 0x402012
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.00402093
inc dword [esp + 0x10]
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x18]
jl 0x401f23
lea esi, [esp + 0x48]
call fcn.004022dd
push eax
call fcn.00402522
push eax
call fcn.00402502
push eax
push ebx
push ebx
mov ecx, esi
call fcn.004022f9
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.004023ad
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