Function at 0x4c6f40
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5d3e81
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x8c
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov dword [esp + 0x80], 0
call fcn.005afeed
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x24], eax
mov dword [esp + 0xa4], 1
mov ebp, dword [esp + 0xb0]
push ebp
mov ecx, esi
call fcn.004c6b80
mov edi, dword [esp + 0xac]
mov ecx, dword [edi + 0x1c]
lea eax, [esp + 0x2c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
neg eax
push eax
neg ecx
push ecx
lea edx, [esp + 0x34]
push edx
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [esp + 0xb8]
test eax, eax
jne 0x4c701f
push 0x610358
mov ecx, edi
call fcn.005b1fb3
test eax, eax
je 0x4c7004
mov ecx, edi
call fcn.005bd2f3
push 0
mov ecx, eax
call fcn.005bd174
xor ecx, ecx
cmp eax, edi
sete cl
inc ecx
mov dword [esp + 0xb8], ecx
jmp 0x4c701f
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call fcn.005adc36
xor edx, edx
cmp eax, edi
sete dl
inc edx
mov dword [esp + 0xb8], edx
mov eax, dword [edi + 0x1c]
push eax
call dword [sym.imp.USER32.dll_IsZoomed]
mov eax, dword [esi + 0xac]
test eax, eax
je 0x4c7052
lea ecx, [esp + 0x24]
push ecx
mov ecx, edi
call fcn.005ae956
mov eax, dword [esi + 0xb0]
test eax, eax
je 0x4c7052
lea ecx, [esp + 0x24]
call fcn.004c6ee0
mov edx, dword [esi + 0x44]
cmp dword [edx], 0
je 0x4c7089
mov eax, dword [edi + 0x1c]
mov ebx, dword [0x652d5c]
push 0
push 0
push 0x7f
push eax
call ebx
test eax, eax
mov dword [esp + 0x80], eax
jne 0x4c7089
mov ecx, dword [edi + 0x1c]
push eax
push 1
push 0x7f
push ecx
call ebx
mov dword [esp + 0x80], eax
mov edx, dword [esi + 0x38]
mov ecx, dword [edx]
xor eax, eax
test ecx, ecx
mov dword [esp + 0x7c], eax
je 0x4c70b0
mov ecx, dword [esi + 0x40]
mov edi, dword [ecx + 0xc]
mov ebx, dword [ecx + 4]
sub edi, ebx
js 0x4c70b0
mov eax, dword [ecx + 0xc]
mov edi, ebx
sub eax, edi
mov dword [esp + 0x7c], eax
mov ecx, dword [edx + 4]
test ecx, ecx
je 0x4c70d1
mov ecx, dword [esi + 0x40]
mov edi, dword [ecx + 0x1c]
mov ebx, dword [ecx + 0x14]
sub edi, ebx
cmp eax, edi
jg 0x4c70d1
mov eax, dword [ecx + 0x1c]
mov edi, ebx
sub eax, edi
mov dword [esp + 0x7c], eax
mov ecx, dword [edx + 8]
test ecx, ecx
je 0x4c70f2
mov ecx, dword [esi + 0x40]
mov edx, dword [ecx + 0x2c]
mov ebx, dword [ecx + 0x24]
sub edx, ebx
cmp eax, edx
jg 0x4c70f2
mov eax, dword [ecx + 0x2c]
mov edx, ebx
sub eax, edx
mov dword [esp + 0x7c], eax
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x34]
sub ecx, edx
lea edx, [esp + 0x94]
push edx
mov dword [esp + 0x98], ecx
push ebp
mov ecx, 0x652e80
mov dword [esp + 0xa0], eax
call fcn.00420630
mov ebp, dword [sym.imp.GDI32.dll_BitBlt]
mov edi, eax
mov dword [esp + 0x28], 1
mov dword [esp + 0x20], 0xf
mov eax, dword [esi + 0x44]
mov ecx, dword [esp + 0x28]
cmp dword [eax + ecx*4], 0
je 0x4c720f
mov ebx, dword [esp + 0x20]
mov eax, ecx
cmp dword [esi + 0xe8], eax
jne 0x4c7164
mov ecx, dword [esi + 0xec]
xor edx, edx
cmp ecx, eax
sete dl
inc edx
add ebx, edx
mov eax, dword [esi + 0x38]
cmp dword [eax + ebx*4], 0
je 0x4c720f
mov ecx, dword [esp + 0x28]
push ecx
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x34]
push eax
mov ecx, esi
call fcn.004c6be0
mov ecx, dword [esi + 0x40]
shl ebx, 4
mov edx, dword [ebx + ecx + 4]
lea eax, [ebx + ecx]
mov ecx, dword [eax]
mov dword [esp + 0x18], ecx
mov ecx, dword [eax + 0xc]
sub ecx, edx
mov dword [esp + 0x14], edx
mov edx, dword [eax + 8]
sub edx, dword [eax]
lea eax, [esi + 0xc]
test eax, eax
jne 0x4c71b5
mov dword [esp + 0x10], eax
jmp 0x4c71bc
mov eax, dword [esi + 0x10]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x14]
push 0xcc0020
push eax
mov eax, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x1c]
push eax
mov eax, dword [edi + 4]
push ecx
mov ecx, dword [esp + 0x54]
push edx
mov edx, dword [esp + 0x54]
push ecx
push edx
push eax
call ebp
mov ecx, dword [esi + 0x40]
mov edx, dword [ebx + ecx + 0xc]
lea eax, [ebx + ecx]
mov ecx, dword [eax + 4]
mov ebx, dword [eax]
sub edx, ecx
mov ecx, dword [esp + 0x40]
add edx, ecx
push edx
mov edx, dword [eax + 8]
mov eax, dword [esp + 0x40]
sub edx, ebx
add edx, eax
push edx
push ecx
push eax
mov ecx, edi
call fcn.005b3980
mov eax, dword [esp + 0x20]
mov ebx, dword [esp + 0x28]
add eax, 3
inc ebx
cmp eax, 0x18
mov dword [esp + 0x28], ebx
mov dword [esp + 0x20], eax
jle 0x4c7135
mov ebx, dword [sym.imp.USER32.dll_CopyRect]
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x70]
push ecx
call ebx
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x50]
push eax
call ebx
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x60]
push edx
call ebx
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x88]
push ecx
call ebx
cmp dword [esp + 0xb8], 1
jne 0x4c72de
mov edx, dword [esi + 0x38]
mov eax, dword [edx + 0xc]
test eax, eax
je 0x4c72de
mov eax, dword [esi + 0x40]
mov ecx, dword [eax + 0x30]
mov ebx, dword [eax + 0x34]
mov dword [esp + 0x18], ecx
mov ecx, dword [eax + 0x3c]
mov edx, ebx
sub ecx, edx
mov edx, dword [eax + 0x38]
sub edx, dword [eax + 0x30]
lea eax, [esi + 0xc]
test eax, eax
je 0x4c729d
mov eax, dword [eax + 4]
push 0xcc0020
push ebx
mov ebx, dword [esp + 0x20]
push ebx
push eax
push ecx
push edx
mov edx, dword [edi + 4]
push 0
push 0
push edx
call ebp
mov eax, dword [esi + 0x40]
mov ecx, dword [eax + 0x3c]
mov ebx, dword [eax + 0x34]
mov edx, dword [esp + 0x70]
sub ecx, ebx
add edx, ecx
mov dword [esp + 0x70], edx
mov edx, dword [eax + 0x38]
mov ecx, dword [eax + 0x30]
mov eax, dword [esp + 0x4c]
sub edx, ecx
add eax, edx
mov dword [esp + 0x4c], eax
jmp 0x4c7354
mov eax, dword [esi + 0x38]
cmp dword [eax], 0
je 0x4c7346
mov eax, dword [esi + 0x40]
mov ecx, dword [eax]
mov ebx, dword [eax + 4]
mov dword [esp + 0x18], ecx
mov ecx, dword [eax + 0xc]
mov edx, ebx
sub ecx, edx
mov edx, dword [eax + 8]
sub edx, dword [eax]
lea eax, [esi + 0xc]
test eax, eax
je 0x4c7308
mov eax, dword [esi + 0x10]
push 0xcc0020
push ebx
mov ebx, dword [esp + 0x20]
push ebx
push eax
push ecx
push edx
mov edx, dword [edi + 4]
push 0
push 0
push edx
call ebp
mov eax, dword [esi + 0x40]
mov ecx, dword [eax + 0xc]
mov ebx, dword [eax + 4]
mov edx, dword [esp + 0x70]
sub ecx, ebx
add edx, ecx
mov dword [esp + 0x70], edx
mov edx, dword [eax + 8]
mov ecx, dword [eax]
mov eax, dword [esp + 0x4c]
sub edx, ecx
add eax, edx
mov dword [esp + 0x4c], eax
cmp dword [esp + 0xb8], 1
jne 0x4c73dc
mov eax, dword [esi + 0x38]
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0x4c73dc
mov eax, dword [esi + 0x40]
mov ecx, dword [eax + 0x54]
mov edx, dword [eax + 0x50]
mov ebx, ecx
mov dword [esp + 0x14], edx
mov edx, dword [eax + 0x5c]
mov dword [esp + 0x18], ecx
mov ecx, dword [eax + 0x50]
sub edx, ebx
mov ebx, dword [eax + 0x58]
sub ebx, ecx
sub ecx, dword [eax + 0x58]
sub ecx, dword [esp + 0x2c]
add ecx, dword [esp + 0x34]
lea eax, [esi + 0xc]
test eax, eax
jne 0x4c7396
mov dword [esp + 0x10], eax
jmp 0x4c739d
mov eax, dword [esi + 0x10]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x18]
push 0xcc0020
push eax
mov eax, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x1c]
push eax
push edx
push ebx
push 0
push ecx
mov ecx, dword [edi + 4]
push ecx
call ebp
mov eax, dword [esi + 0x40]
mov ecx, dword [eax + 0x58]
mov edx, dword [eax + 0x50]
mov ebx, dword [esp + 0x54]
sub edx, ecx
add ebx, edx
mov dword [esp + 0x54], ebx
mov ecx, dword [eax + 0x5c]
mov edx, dword [eax + 0x54]
jmp 0x4c7463
mov edx, dword [esi + 0x38]
mov eax, dword [edx + 8]
test eax, eax
je 0x4c746f
mov eax, dword [esi + 0x40]
mov ecx, dword [eax + 0x24]
mov edx, dword [eax + 0x20]
mov ebx, ecx
mov dword [esp + 0x14], edx
mov edx, dword [eax + 0x2c]
mov dword [esp + 0x18], ecx
mov ecx, dword [eax + 0x20]
sub edx, ebx
mov ebx, dword [eax + 0x28]
sub ebx, ecx
sub ecx, dword [eax + 0x28]
sub ecx, dword [esp + 0x2c]
add ecx, dword [esp + 0x34]
lea eax, [esi + 0xc]
test eax, eax
jne 0x4c7422
mov dword [esp + 0x10], eax
jmp 0x4c7429
mov eax, dword [esi + 0x10]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x18]
push 0xcc0020
push eax
mov eax, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x1c]
push eax
push edx
push ebx
push 0
push ecx
mov ecx, dword [edi + 4]
push ecx
call ebp
mov eax, dword [esi + 0x40]
mov ecx, dword [eax + 0x28]
mov edx, dword [eax + 0x20]
mov ebx, dword [esp + 0x54]
sub edx, ecx
add ebx, edx
mov dword [esp + 0x54], ebx
mov ecx, dword [eax + 0x2c]
mov edx, dword [eax + 0x24]
mov eax, dword [esp + 0x60]
sub ecx, edx
add eax, ecx
mov dword [esp + 0x60], eax
mov edx, dword [esi + 0x38]
mov eax, dword [edx + 0x30]
test eax, eax
je 0x4c753b
mov eax, dword [esp + 0xb4]
test eax, eax
jne 0x4c753b
mov eax, dword [esi + 0x40]
mov ecx, dword [eax + 0xc4]
mov edx, dword [eax + 0xc0]
mov ebx, ecx
mov dword [esp + 0x18], ecx
mov ecx, dword [eax + 0xc0]
mov dword [esp + 0x14], edx
mov edx, dword [eax + 0xcc]
sub edx, ebx
mov ebx, dword [eax + 0xc8]
sub ebx, ecx
mov ecx, dword [eax + 0xc4]
sub ecx, dword [eax + 0xcc]
sub ecx, dword [esp + 0x30]
add ecx, dword [esp + 0x38]
lea eax, [esi + 0xc]
test eax, eax
jne 0x4c74dc
mov dword [esp + 0x10], eax
jmp 0x4c74e3
mov eax, dword [esi + 0x10]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x18]
push 0xcc0020
push eax
mov eax, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x1c]
push eax
push edx
push ebx
mov ebx, dword [esp + 0xc8]
push ecx
mov ecx, dword [ebx + 4]
push 0
push ecx
call ebp
mov eax, dword [esi + 0x40]
mov ecx, dword [eax + 0xc0]
mov edx, dword [eax + 0xc8]
sub edx, ecx
add dword [esp + 0x84], edx
mov ecx, dword [eax + 0xc4]
mov edx, dword [eax + 0xcc]
mov eax, dword [esp + 0x78]
sub ecx, edx
add eax, ecx
mov dword [esp + 0x78], eax
jmp 0x4c7542
mov ebx, dword [esp + 0xb0]
mov edx, dword [esi + 0x38]
mov eax, dword [edx + 0x38]
test eax, eax
je 0x4c7631
mov eax, dword [esp + 0xb4]
test eax, eax
jne 0x4c7631
mov eax, dword [esi + 0x40]
mov ecx, dword [eax + 0xe4]
mov edx, dword [eax + 0xe0]
mov dword [esp + 0x14], edx
mov edx, dword [eax + 0xe4]
mov dword [esp + 0x18], ecx
mov ecx, dword [eax + 0xec]
sub ecx, edx
mov edx, dword [eax + 0xe0]
mov dword [esp + 0x20], ecx
mov ecx, dword [eax + 0xe8]
sub ecx, edx
mov edx, dword [eax + 0xec]
mov dword [esp + 0x28], ecx
mov ecx, dword [eax + 0xe4]
sub ecx, edx
sub ecx, dword [esp + 0x30]
add ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
sub edx, dword [eax + 0xe8]
sub edx, dword [esp + 0x2c]
add edx, dword [eax + 0xe0]
lea eax, [esi + 0xc]
test eax, eax
jne 0x4c75d1
mov dword [esp + 0x10], eax
jmp 0x4c75d8
mov eax, dword [esi + 0x10]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x18]
push 0xcc0020
push eax
mov eax, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x3c]
push eax
push ecx
mov ecx, dword [ebx + 4]
push edx
push ecx
call ebp
mov eax, dword [esi + 0x40]
mov ecx, dword [eax + 0xec]
mov edx, dword [eax + 0xe4]
sub edx, ecx
add dword [esp + 0x68], edx
mov ecx, dword [eax + 0xe0]
mov edx, dword [eax + 0xe8]
mov eax, dword [esp + 0x8c]
sub ecx, edx
add eax, ecx
mov dword [esp + 0x8c], eax
mov edx, dword [esi + 0x38]
mov eax, dword [edx + 0x18]
test eax, eax
je 0x4c76b7
mov eax, dword [esp + 0xb4]
test eax, eax
jne 0x4c76b7
mov eax, dword [esi + 0x40]
mov ecx, dword [eax + 0x64]
mov edx, dword [eax + 0x60]
mov dword [esp + 0x14], edx
mov edx, dword [eax + 0x64]
mov dword [esp + 0x18], ecx
mov ecx, dword [eax + 0x6c]
sub ecx, edx
mov edx, dword [eax + 0x68]
sub edx, dword [eax + 0x60]
lea eax, [esi + 0xc]
test eax, eax
jne 0x4c7672
mov dword [esp + 0x10], eax
jmp 0x4c7679
mov eax, dword [eax + 4]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x18]
push 0xcc0020
push eax
mov eax, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x1c]
push eax
push ecx
mov ecx, dword [esp + 0x84]
push edx
mov edx, dword [ebx + 4]
push ecx
push 0
push edx
call ebp
mov eax, dword [esi + 0x40]
mov ecx, dword [eax + 0x6c]
mov edx, dword [eax + 0x64]
add eax, 0x60
mov eax, dword [esp + 0x70]
sub ecx, edx
add eax, ecx
mov dword [esp + 0x70], eax
mov edx, dword [esi + 0x38]
mov eax, dword [edx + 0x20]
test eax, eax
je 0x4c776a
mov eax, dword [esp + 0xb4]
test eax, eax
jne 0x4c776a
mov eax, dword [esi + 0x40]
mov edx, dword [eax + 0x80]
mov ecx, dword [eax + 0x84]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], edx
mov edx, dword [eax + 0x8c]
sub edx, ecx
mov ecx, dword [eax + 0x88]
sub ecx, dword [eax + 0x80]
mov dword [esp + 0x20], ecx
mov ecx, dword [eax + 0x84]
sub ecx, dword [eax + 0x8c]
add ecx, dword [esp + 0x78]
lea eax, [esi + 0xc]
test eax, eax
jne 0x4c7720
mov dword [esp + 0x10], eax
jmp 0x4c7727
mov eax, dword [esi + 0x10]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x18]
push 0xcc0020
push eax
mov eax, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x1c]
push eax
mov eax, dword [ebx + 4]
push edx
mov edx, dword [esp + 0x34]
push edx
push ecx
push 0
push eax
call ebp
mov eax, dword [esi + 0x40]
mov ecx, dword [eax + 0x84]
mov edx, dword [eax + 0x8c]
add eax, 0x80
mov eax, dword [esp + 0x78]
sub ecx, edx
add eax, ecx
mov dword [esp + 0x78], eax
mov edx, dword [esi + 0x38]
mov eax, dword [edx + 0x24]
test eax, eax
je 0x4c7820
mov eax, dword [esp + 0xb4]
test eax, eax
jne 0x4c7820
mov eax, dword [esi + 0x40]
mov edx, dword [eax + 0x90]
mov ecx, dword [eax + 0x94]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], edx
mov edx, dword [eax + 0x9c]
sub edx, ecx
mov ecx, dword [eax + 0x98]
sub ecx, dword [eax + 0x90]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x64]
sub ecx, dword [eax + 0x98]
add ecx, dword [eax + 0x90]
lea eax, [esi + 0xc]
test eax, eax
jne 0x4c77d3
mov dword [esp + 0x10], eax
jmp 0x4c77da
mov eax, dword [esi + 0x10]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x18]
push 0xcc0020
push eax
mov eax, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x70]
push edx
mov edx, dword [esp + 0x34]
push edx
push eax
push ecx
mov ecx, dword [ebx + 4]
push ecx
call ebp
mov eax, dword [esi + 0x40]
mov edx, dword [eax + 0x9c]
mov ecx, dword [eax + 0x94]
add eax, 0x90
mov eax, dword [esp + 0x60]
sub edx, ecx
add eax, edx
mov dword [esp + 0x60], eax
mov eax, dword [esi + 0x38]
mov ecx, dword [eax + 0x2c]
test ecx, ecx
je 0x4c78f2
mov eax, dword [esp + 0xb4]
test eax, eax
jne 0x4c78f2
mov eax, dword [esi + 0x40]
mov ecx, dword [eax + 0xb4]
mov edx, dword [eax + 0xb0]
mov dword [esp + 0x18], ecx
mov ecx, dword [eax + 0xbc]
mov dword [esp + 0x14], edx
sub ecx, dword [eax + 0xb4]
mov edx, dword [eax + 0xb0]
mov dword [esp + 0x20], ecx
mov ecx, dword [eax + 0xb8]
sub ecx, edx
mov edx, dword [eax + 0xbc]
mov dword [esp + 0x28], ecx
mov ecx, dword [eax + 0xb4]
sub ecx, edx
add ecx, dword [esp + 0x68]
mov edx, dword [eax + 0xb0]
sub edx, dword [eax + 0xb8]
add edx, dword [esp + 0x64]
lea eax, [esi + 0xc]
test eax, eax
jne 0x4c78a5
mov dword [esp + 0x10], eax
jmp 0x4c78ac
mov eax, dword [esi + 0x10]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x18]
push 0xcc0020
push eax
mov eax, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x3c]
push eax
push ecx
mov ecx, dword [ebx + 4]
push edx
push ecx
call ebp
mov eax, dword [esi + 0x40]
mov edx, dword [eax + 0xb4]
mov ecx, dword [eax + 0xbc]
add eax, 0xb0
mov eax, dword [esp + 0x68]
sub edx, ecx
add eax, edx
mov dword [esp + 0x68], eax
mov eax, dword [esi + 0x38]
mov ecx, dword [eax + 0x1c]
test ecx, ecx
je 0x4c79ee
mov ebp, dword [esp + 0x70]
cmp ebp, dword [esp + 0x78]
jge 0x4c79ee
mov eax, dword [esp + 0xb4]
test eax, eax
jne 0x4c79ee
mov ecx, dword [esi + 0x3c]
mov ebx, dword [esi + 0x40]
mov eax, dword [ecx + 0x1c]
add ebx, 0x70
cmp eax, 1
jne 0x4c798d
mov ecx, dword [esp + 0xb0]
push 3
call fcn.005b38e5
mov ecx, dword [ebx]
mov edx, dword [ebx + 4]
mov eax, dword [ebx + 0xc]
mov ebx, dword [ebx + 8]
mov ebp, dword [esp + 0x70]
sub ebx, ecx
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x78]
sub ecx, ebp
lea ebp, [esi + 0xc]
sub eax, edx
test ebp, ebp
je 0x4c7963
mov ebp, dword [ebp + 4]
push 0xcc0020
push eax
mov eax, dword [esp + 0x78]
push ebx
push edx
mov edx, dword [esp + 0x28]
push edx
push ebp
push ecx
mov ecx, dword [esp + 0xcc]
mov edx, dword [ecx + 4]
push ebx
push eax
push 0
push edx
call dword [sym.imp.GDI32.dll_StretchBlt]
jmp 0x4c79ee
mov ecx, dword [ebx + 4]
mov eax, dword [ebx + 0xc]
sub eax, ecx
mov edx, dword [esp + 0x78]
sub edx, ebp
cmp eax, edx
mov dword [esp + 0x10], eax
jl 0x4c79a7
mov dword [esp + 0x10], edx
mov edx, dword [ebx]
mov eax, dword [ebx + 8]
sub eax, edx
lea edx, [esi + 0xc]
test edx, edx
je 0x4c79b8
mov edx, dword [edx + 4]
push 0xcc0020
push ecx
mov ecx, dword [ebx]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0xc0]
push ecx
push eax
mov eax, dword [edx + 4]
push ebp
push 0
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [ebx + 4]
mov eax, dword [ebx + 0xc]
mov edx, dword [esp + 0x78]
sub eax, ecx
add ebp, eax
cmp ebp, edx
jl 0x4c7995
mov ecx, dword [esp + 0xb8]
mov ebp, dword [esp + 0x4c]
mov eax, 1
cmp ecx, eax
jne 0x4c7af2
mov ecx, dword [esi + 0x38]
mov edx, dword [ecx + 0x10]
test edx, edx
mov edx, dword [esp + 0x54]
je 0x4c7af6
cmp ebp, edx
jge 0x4c7af6
mov ebx, dword [esi + 0x40]
mov ecx, dword [esi + 0x3c]
add ebx, 0x40
cmp dword [ecx + 0x10], eax
jne 0x4c7a84
push 3
mov ecx, edi
call fcn.005b38e5
mov ecx, dword [ebx]
mov edx, dword [ebx + 4]
mov eax, dword [ebx + 0xc]
mov ebx, dword [ebx + 8]
mov ebp, dword [esp + 0x4c]
sub ebx, ecx
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x54]
sub ecx, ebp
lea ebp, [esi + 0xc]
sub eax, edx
test ebp, ebp
je 0x4c7a5e
mov ebp, dword [ebp + 4]
push 0xcc0020
push eax
push ebx
push edx
mov edx, dword [esp + 0x28]
push edx
push ebp
push eax
mov eax, dword [esp + 0x68]
push ecx
mov ecx, dword [edi + 4]
push 0
push eax
push ecx
call dword [sym.imp.GDI32.dll_StretchBlt]
jmp 0x4c7bd4
mov ecx, dword [ebx]
mov eax, dword [ebx + 8]
sub eax, ecx
jmp 0x4c7a90
sub edx, ebp
cmp eax, edx
mov dword [esp + 0x20], eax
jl 0x4c7a9e
mov dword [esp + 0x20], edx
mov edx, dword [ebx + 4]
mov eax, dword [ebx + 0xc]
sub eax, edx
lea edx, [esi + 0xc]
test edx, edx
jne 0x4c7ab3
mov dword [esp + 0x10], edx
jmp 0x4c7aba
mov edx, dword [edx + 4]
mov dword [esp + 0x10], edx
mov edx, dword [ebx + 4]
push 0xcc0020
push edx
mov edx, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x1c]
push ecx
push eax
mov eax, dword [edi + 4]
push edx
push 0
push ebp
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [ebx]
mov eax, dword [ebx + 8]
mov edx, dword [esp + 0x54]
sub eax, ecx
add ebp, eax
cmp ebp, edx
jl 0x4c7a90
jmp 0x4c7bd4
mov edx, dword [esp + 0x54]
mov ecx, dword [esi + 0x38]
mov eax, dword [ecx + 4]
test eax, eax
je 0x4c7bd4
cmp ebp, edx
jge 0x4c7bd4
mov eax, dword [esi + 0x3c]
mov ebx, dword [esi + 0x40]
mov ecx, dword [eax + 4]
add ebx, 0x10
cmp ecx, 1
jne 0x4c7b70
push 3
mov ecx, edi
call fcn.005b38e5
mov ecx, dword [ebx]
mov edx, dword [ebx + 4]
mov eax, dword [ebx + 0xc]
mov ebx, dword [ebx + 8]
mov ebp, dword [esp + 0x4c]
sub ebx, ecx
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x54]
sub ecx, ebp
lea ebp, [esi + 0xc]
sub eax, edx
test ebp, ebp
je 0x4c7b4d
mov ebp, dword [ebp + 4]
push 0xcc0020
push eax
push ebx
push edx
mov edx, dword [esp + 0x28]
push edx
push ebp
push eax
mov eax, dword [esp + 0x68]
push ecx
mov ecx, dword [edi + 4]
push 0
push eax
push ecx
call dword [sym.imp.GDI32.dll_StretchBlt]
jmp 0x4c7bd4
mov ecx, dword [ebx]
mov eax, dword [ebx + 8]
sub eax, ecx
sub edx, ebp
cmp eax, edx
mov dword [esp + 0x20], eax
jl 0x4c7b85
mov dword [esp + 0x20], edx
mov edx, dword [ebx + 4]
mov eax, dword [ebx + 0xc]
sub eax, edx
lea edx, [esi + 0xc]
test edx, edx
jne 0x4c7b9a
mov dword [esp + 0x10], edx
jmp 0x4c7ba1
mov edx, dword [edx + 4]
mov dword [esp + 0x10], edx
mov edx, dword [ebx + 4]
push 0xcc0020
push edx
mov edx, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x1c]
push ecx
push eax
mov eax, dword [edi + 4]
push edx
push 0
push ebp
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [ebx]
mov eax, dword [ebx + 8]
mov edx, dword [esp + 0x54]
sub eax, ecx
add ebp, eax
cmp ebp, edx
jl 0x4c7b77
mov ecx, dword [esi + 0x38]
mov eax, dword [ecx + 0x28]
test eax, eax
je 0x4c7cf9
mov ebp, dword [esp + 0x60]
cmp ebp, dword [esp + 0x68]
jge 0x4c7cf9
mov eax, dword [esp + 0xb4]
test eax, eax
jne 0x4c7cf9
mov edx, dword [esi + 0x3c]
mov ebx, dword [esi + 0x40]
mov eax, dword [edx + 0x28]
add ebx, 0xa0
cmp eax, 1
jne 0x4c7c8a
mov ecx, dword [esp + 0xb0]
push 3
call fcn.005b38e5
mov eax, dword [ebx + 4]
mov edx, dword [ebx + 0xc]
mov ebp, dword [esp + 0x60]
mov ecx, dword [ebx + 8]
mov ebx, dword [ebx]
sub edx, eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x68]
sub eax, ebp
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], ecx
mov ebp, ecx
mov eax, ebx
sub eax, ebp
add eax, dword [esp + 0x34]
lea ebp, [esi + 0xc]
sub ecx, ebx
test ebp, ebp
je 0x4c7c5a
mov ebp, dword [ebp + 4]
push 0xcc0020
push edx
mov edx, dword [esp + 0x1c]
push ecx
push edx
mov edx, dword [esp + 0x20]
push ebx
push ebp
push edx
mov edx, dword [esp + 0xcc]
push ecx
mov ecx, dword [esp + 0x80]
push ecx
push eax
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.GDI32.dll_StretchBlt]
jmp 0x4c7cf9
mov edx, dword [ebx + 4]
mov eax, dword [ebx + 0xc]
sub eax, edx
mov ecx, dword [esp + 0x68]
sub ecx, ebp
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x4c7ca4
mov dword [esp + 0x10], ecx
mov ecx, dword [ebx]
mov eax, dword [ebx + 8]
sub eax, ecx
mov dword [esp + 0x18], eax
sub ecx, dword [ebx + 8]
add ecx, dword [esp + 0x34]
lea eax, [esi + 0xc]
test eax, eax
je 0x4c7cc0
mov eax, dword [eax + 4]
push 0xcc0020
push edx
mov edx, dword [ebx]
push edx
mov edx, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x28]
push edx
push eax
push ebp
push ecx
mov ecx, dword [esp + 0xd0]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov edx, dword [ebx + 4]
mov eax, dword [ebx + 0xc]
mov ecx, dword [esp + 0x68]
sub eax, edx
add ebp, eax
cmp ebp, ecx
jl 0x4c7c92
mov eax, dword [esi + 0x38]
mov ecx, dword [eax + 0x34]
test ecx, ecx
je 0x4c7e56
mov ecx, dword [esp + 0x54]
cmp dword [esp + 0x4c], ecx
jge 0x4c7e56
mov eax, dword [esp + 0xb4]
test eax, eax
jne 0x4c7e56
mov edx, dword [esi + 0x3c]
mov ebx, dword [esi + 0x40]
mov eax, dword [edx + 4]
add ebx, 0xd0
cmp eax, 1
jne 0x4c7dc4
mov ecx, dword [esp + 0xb0]
push 3
call fcn.005b38e5
mov ebp, dword [ebx + 0xc]
mov ecx, dword [ebx + 4]
mov edx, dword [esp + 0x8c]
mov eax, ebp
sub eax, ecx
mov dword [esp + 0x18], eax
mov eax, dword [ebx]
mov ebx, dword [ebx + 8]
sub ebx, eax
mov dword [esp + 0x14], eax
sub edx, dword [esp + 0x84]
mov eax, ecx
sub eax, ebp
add eax, dword [esp + 0x38]
lea ebp, [esi + 0xc]
test ebp, ebp
jne 0x4c7d86
mov dword [esp + 0x10], ebp
jmp 0x4c7d8d
mov ebp, dword [ebp + 4]
mov dword [esp + 0x10], ebp
mov ebp, dword [esp + 0x18]
push 0xcc0020
push ebp
push ebx
push ecx
mov ecx, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x24]
push ecx
push ebp
push edx
mov edx, dword [esp + 0xa4]
push eax
mov eax, dword [esp + 0xd4]
mov ecx, dword [eax + 4]
push edx
push ecx
call dword [sym.imp.GDI32.dll_StretchBlt]
jmp 0x4c7e56
mov ebp, dword [esp + 0x84]
mov ecx, dword [esp + 0x8c]
cmp ebp, ecx
jge 0x4c7e56
mov edx, dword [ebx]
mov eax, dword [ebx + 8]
sub eax, edx
sub ecx, ebp
cmp eax, ecx
mov dword [esp + 0x20], eax
jl 0x4c7def
mov dword [esp + 0x20], ecx
mov ecx, dword [ebx + 4]
mov eax, dword [ebx + 0xc]
sub eax, ecx
mov dword [esp + 0x18], eax
sub ecx, dword [ebx + 0xc]
add ecx, dword [esp + 0x38]
lea eax, [esi + 0xc]
test eax, eax
jne 0x4c7e0f
mov dword [esp + 0x10], eax
jmp 0x4c7e16
mov eax, dword [eax + 4]
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 4]
push 0xcc0020
push eax
mov eax, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0xc4]
push edx
push ecx
mov ecx, dword [eax + 4]
push ebp
push ecx
call dword [sym.imp.GDI32.dll_BitBlt]
mov edx, dword [ebx]
mov eax, dword [ebx + 8]
mov ecx, dword [esp + 0x8c]
sub eax, edx
add ebp, eax
cmp ebp, ecx
jl 0x4c7de1
mov ebp, dword [esp + 0x80]
test ebp, ebp
je 0x4c7ee0
mov edx, dword [esi + 0x48]
mov eax, dword [edx]
mov dword [esp + 0x3c], eax
mov ecx, dword [edx + 4]
mov dword [esp + 0x40], ecx
mov ecx, dword [edx + 8]
mov dword [esp + 0x44], ecx
mov edx, dword [edx + 0xc]
test eax, eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x48], edx
jl 0x4c7e8f
mov eax, dword [esp + 0x2c]
mov ebx, dword [sym.imp.USER32.dll_OffsetRect]
push 0
push eax
lea eax, [esp + 0x44]
push eax
call ebx
mov eax, dword [esp + 0x40]
test eax, eax
mov eax, dword [esp + 0x38]
jl 0x4c7eaf
mov eax, dword [esp + 0x30]
push eax
push 0
lea ecx, [esp + 0x44]
push ecx
call ebx
test edi, edi
jne 0x4c7ec1
xor eax, eax
jmp 0x4c7ec4
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
push 3
push 0
push 0
push 0x10
push 0x10
push ebp
push edx
push ecx
push eax
call dword [sym.imp.USER32.dll_DrawIconEx]
mov eax, dword [esi + 0xac]
test eax, eax
je 0x4c819e
mov edx, dword [esp + 0x24]
mov eax, dword [edx - 0xc]
test eax, eax
je 0x4c819e
mov eax, dword [edi]
lea ecx, [esi + 0xc4]
push ecx
mov ecx, edi
call dword [eax + 0x28]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x24]
mov ecx, dword [eax - 0xc]
lea edx, [esp + 0x18]
push edx
push ecx
push eax
mov eax, dword [edi + 8]
push eax
call dword [0x652b60]
mov eax, dword [esi + 0xb4]
test eax, eax
mov ebx, dword [esp + 0x2c]
mov edx, dword [esp + 0x34]
mov ecx, ebx
jge 0x4c7f3d
mov ecx, edx
add eax, ecx
mov ecx, dword [esi + 0xbc]
mov dword [esp + 0x3c], eax
sub ecx, dword [esi + 0xb4]
mov eax, ebx
jns 0x4c7f55
mov eax, edx
mov ebx, dword [esi + 0xb4]
mov ebp, dword [esi + 0xbc]
mov ecx, dword [esi + 0xc0]
sub ebp, ebx
mov ebx, dword [esi + 0xb8]
add ebp, eax
mov eax, dword [esp + 0x30]
add ebx, eax
add ecx, eax
mov eax, dword [esi + 0xe0]
sub eax, 0
mov dword [esp + 0x44], ebp
mov dword [esp + 0x40], ebx
mov dword [esp + 0x48], ecx
je 0x4c7fd0
dec eax
je 0x4c7faa
dec eax
jne 0x4c7fd7
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x3c]
sub ebp, edx
dec ebp
inc eax
cmp ebp, eax
jg 0x4c7fde
mov ebp, eax
jmp 0x4c7fde
mov edx, dword [esp + 0x3c]
lea eax, [edx + ebp]
cdq
sub eax, edx
mov ebp, eax
mov eax, dword [esp + 0x18]
cdq
sub eax, edx
sar eax, 1
sar ebp, 1
sub ebp, eax
mov eax, dword [esp + 0x3c]
inc eax
cmp ebp, eax
jg 0x4c7fde
mov ebp, eax
jmp 0x4c7fde
mov ebp, dword [esp + 0x3c]
inc ebp
jmp 0x4c7fde
mov ebp, dword [esp + 0x94]
lea eax, [ecx + ebx]
cdq
sub eax, edx
mov ebx, eax
mov eax, dword [esp + 0x1c]
cdq
sub eax, edx
sar eax, 1
sar ebx, 1
push 1
mov ecx, edi
sub ebx, eax
call fcn.005b38b7
mov eax, dword [esi + 0xd8]
cmp eax, 0xffffffff
je 0x4c8037
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x30]
mov eax, dword [esp + 0x24]
mov ecx, dword [eax - 0xc]
push 0
push ecx
push eax
lea eax, [esp + 0x48]
push eax
push 4
lea ecx, [ebx + 1]
push ecx
lea edx, [ebp + 1]
push edx
push edi
call fcn.004abdb0
add esp, 0x20
jmp 0x4c8155
mov eax, dword [esi + 0xdc]
cmp eax, 0xffffffff
je 0x4c8155
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x30]
mov edx, dword [esp + 0x24]
mov eax, dword [edx - 0xc]
push 0
mov dword [esp + 0x1c], eax
push dword [esp + 0x1c]
lea eax, [ebx - 1]
push edx
lea edx, [esp + 0x48]
push edx
push 4
push eax
lea ecx, [ebp - 1]
push ecx
push edi
call fcn.004abdb0
mov eax, dword [esp + 0x44]
mov ecx, dword [eax - 0xc]
push 0
push ecx
push eax
lea eax, [esp + 0x68]
push eax
push 4
lea eax, [ebx - 1]
push eax
push ebp
push edi
call fcn.004abdb0
mov eax, dword [esp + 0x64]
mov edx, dword [eax - 0xc]
add esp, 0x40
push 0
push edx
push eax
lea edx, [esp + 0x48]
push edx
push 4
lea eax, [ebx - 1]
push eax
lea ecx, [ebp + 1]
push ecx
push edi
call fcn.004abdb0
mov eax, dword [esp + 0x44]
mov ecx, dword [eax - 0xc]
push 0
push ecx
push eax
lea eax, [esp + 0x68]
push eax
push 4
push ebx
lea eax, [ebp - 1]
push eax
push edi
call fcn.004abdb0
mov eax, dword [esp + 0x64]
mov ecx, dword [eax - 0xc]
add esp, 0x40
push 0
push ecx
push eax
lea ecx, [esp + 0x48]
push ecx
push 4
push ebx
lea eax, [ebp + 1]
push eax
push edi
call fcn.004abdb0
mov ecx, dword [esp + 0x44]
mov edx, dword [ecx - 0xc]
push 0
push edx
lea eax, [ebx + 1]
push ecx
lea edx, [esp + 0x68]
push edx
push 4
push eax
lea eax, [ebp - 1]
push eax
push edi
call fcn.004abdb0
mov eax, dword [esp + 0x64]
mov ecx, dword [eax - 0xc]
add esp, 0x40
push 0
push ecx
push eax
lea eax, [esp + 0x48]
push eax
push 4
lea eax, [ebx + 1]
push eax
push ebp
push edi
call fcn.004abdb0
mov eax, dword [esp + 0x44]
mov ecx, dword [eax - 0xc]
push 0
push ecx
push eax
lea ecx, [esp + 0x68]
push ecx
push 4
lea eax, [ebx + 1]
push eax
lea eax, [ebp + 1]
push eax
push edi
call fcn.004abdb0
add esp, 0x40
cmp dword [esp + 0xb8], 2
jne 0x4c8167
mov esi, dword [esi + 0xd0]
jmp 0x4c816d
mov esi, dword [esi + 0xd4]
mov edx, dword [edi]
push esi
mov ecx, edi
call dword [edx + 0x30]
mov eax, dword [esp + 0x24]
mov ecx, dword [eax - 0xc]
push 0
push ecx
push eax
lea eax, [esp + 0x48]
push eax
push 4
push ebx
push ebp
push edi
call fcn.004abdb0
mov eax, dword [esp + 0x34]
mov edx, dword [edi]
add esp, 0x20
push eax
mov ecx, edi
call dword [edx + 0x28]
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x2c]
test edi, edi
jne 0x4c81ae
xor ecx, ecx
jmp 0x4c81b1
mov ecx, dword [edi + 4]
mov esi, dword [esp + 0xb0]
mov edx, dword [esi + 4]
push 0xcc0020
push 0
push 0
push ecx
mov ecx, dword [esp + 0x8c]
push ecx
push eax
push 0
push 0
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
push 0
mov ecx, edi
call fcn.005b3d1f
mov eax, dword [esi]
push 0
mov ecx, esi
call dword [eax + 0x30]
mov dword [esp + 0xa4], 0xffffffff
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
pop edi
pop esi
pop ebp
pop ebx
jg 0x4c8218
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x8c]
mov dword fs:[0], ecx
add esp, 0x98
ret 0x10