Function at 0x42035e
Capabilities:
Capture screenshot

Disassembly:
push ebp
lea ebp, [esp - 0x64]
sub esp, 0xb8
push ebx
push esi
push edi
mov edi, dword [0x467ff0]
mov al, 1
cmp al, byte [ecx + 1]
mov ecx, dword [0x465b20]
sbb esi, esi
and esi, dword [0x467ff4]
push 1
xor ebx, ebx
push ebx
push 0xffffffffffffffff
push 0x459b8c
mov dword [ebp - 0xc], edi
mov dword [ebp - 4], esi
call fcn.00401592
cmp edi, ebx
je 0x4203ad
push 1
push ebx
push 0xffffffffffffffff
push ebx
mov ecx, edi
call fcn.00401592
cmp esi, ebx
je 0x4203be
push 1
push ebx
push 0xffffffffffffffff
push ebx
mov ecx, esi
call fcn.00401592
xor eax, eax
test byte [0x4651f4], 1
mov dword [ebp - 0x20], ebx
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
jne 0x4203fd
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
je 0x420a76
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
add dword [ebp + 0x6c], ecx
add dword [ebp + 0x70], eax
add dword [ebp + 0x74], ecx
add dword [ebp + 0x78], eax
mov edi, dword [ebp + 0x7c]
or dword [ebp + 0x38], 0xffffffff
push 0x2e
push edi
mov dword [ebp + 0x5c], ebx
mov dword [ebp + 0x20], ebx
mov dword [ebp + 0x3c], ebx
mov dword [ebp + 0x44], ebx
call fcn.00456490
mov esi, eax
cmp esi, ebx
pop ecx
pop ecx
je 0x420468
inc esi
push 0x45ca24
push esi
call fcn.00441811
test eax, eax
pop ecx
pop ecx
je 0x420454
push 0x45ca20
push esi
call fcn.00441811
test eax, eax
pop ecx
pop ecx
je 0x420454
push 0x45ca1c
push esi
call fcn.00441811
test eax, eax
pop ecx
pop ecx
jne 0x420468
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x31
call esi
push 0x32
mov dword [ebp + 0x3c], eax
call esi
mov dword [ebp + 0x44], eax
push edi
call fcn.00401a22
mov esi, eax
cmp byte [esi], 0x2a
pop ecx
jne 0x420595
mov ebx, 0x459be0
inc esi
movsx eax, byte [esi]
push eax
call fcn.00441c9f
cmp eax, 0x48
pop ecx
je 0x420560
cmp eax, 0x57
je 0x420552
push 4
push str.Icon
push esi
call fcn.00441854
add esp, 0xc
test eax, eax
jne 0x4204c1
add esi, 4
push esi
call fcn.004019fa
mov dword [ebp + 0x20], eax
jmp 0x42056c
push 5
push str.Trans
push esi
call fcn.00441854
add esp, 0xc
test eax, eax
jne 0x420531
push 0x20
add esi, 5
lea eax, [ebp - 0x54]
push esi
push eax
call fcn.00438c79
lea eax, [ebp - 0x54]
push ebx
push eax
call fcn.00438f35
add esp, 0x14
test eax, eax
je 0x4204f8
mov byte [eax], 0
lea eax, [ebp - 0x54]
push eax
call fcn.00437acd
cmp eax, 0xffffffff
pop ecx
jne 0x42051c
push 0x10
lea eax, [ebp - 0x54]
push 0
push eax
call fcn.004010a9
add esp, 0xc
mov dword [ebp + 0x38], eax
jmp 0x42056d
movzx ecx, ah
mov ch, al
shr eax, 0x10
movzx eax, al
shl ecx, 8
or ecx, eax
mov dword [ebp + 0x38], ecx
jmp 0x42056d
push esi
call fcn.004019fa
test eax, eax
pop ecx
mov dword [ebp + 0x5c], eax
jge 0x420543
and dword [ebp + 0x5c], 0
mov eax, 0xff
cmp dword [ebp + 0x5c], eax
jle 0x42056d
mov dword [ebp + 0x5c], eax
jmp 0x42056d
lea eax, [esi + 1]
push eax
call fcn.004019fa
mov dword [ebp + 0x3c], eax
jmp 0x42056c
lea eax, [esi + 1]
push eax
call fcn.004019fa
mov dword [ebp + 0x44], eax
pop ecx
push ebx
push esi
call fcn.00438f35
test eax, eax
pop ecx
pop ecx
je 0x420a76
inc eax
push eax
mov edi, eax
call fcn.00401a22
mov esi, eax
cmp byte [esi], 0x2a
pop ecx
je 0x42047f
xor ebx, ebx
push ebx
push dword [ebp + 0x20]
lea eax, [ebp - 8]
push eax
push dword [ebp + 0x44]
push dword [ebp + 0x3c]
push edi
call fcn.004383ab
mov edi, eax
add esp, 0x18
cmp edi, ebx
mov dword [ebp + 4], edi
je 0x420a76
push ebx
call dword [sym.imp.USER32.dll_GetDC]
cmp eax, ebx
mov dword [ebp + 0x24], eax
jne 0x4205d3
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x420a76
cmp dword [ebp - 8], 1
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [ebp + 0x2c], ebx
mov dword [ebp + 0x1c], ebx
mov dword [ebp + 0x48], ebx
mov dword [ebp + 0x40], ebx
mov dword [ebp + 0x20], ebx
mov byte [ebp + 0x7f], 0
jne 0x420641
lea eax, [ebp - 0x34]
push eax
push edi
call dword [sym.imp.USER32.dll_GetIconInfo]
test eax, eax
je 0x42062a
push 1
lea eax, [ebp + 0x63]
push eax
lea eax, [ebp + 0x18]
push eax
lea eax, [ebp + 0x28]
push eax
push dword [ebp + 0x24]
push dword [ebp - 0x28]
call fcn.00420ada
add esp, 0x18
push dword [ebp - 0x24]
mov dword [ebp + 0x40], eax
call esi
push dword [ebp - 0x28]
call esi
push 1
push edi
call fcn.0043829f
mov edi, eax
cmp edi, ebx
pop ecx
pop ecx
mov dword [ebp + 4], edi
je 0x420a76
push 8
lea eax, [ebp + 0x63]
push eax
lea eax, [ebp + 0x18]
push eax
lea eax, [ebp + 0x28]
push eax
push dword [ebp + 0x24]
push edi
call fcn.00420ada
add esp, 0x18
cmp eax, ebx
mov dword [ebp + 0x34], eax
je 0x420a06
mov esi, dword [ebp + 0x74]
sub esi, dword [ebp + 0x6c]
mov ebx, dword [ebp + 0x78]
sub ebx, dword [ebp + 0x70]
push dword [ebp + 0x24]
inc esi
inc ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
xor edi, edi
cmp eax, edi
mov dword [ebp + 0x2c], eax
je 0x420a06
push ebx
push esi
push dword [ebp + 0x24]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
cmp eax, edi
mov dword [ebp + 0x1c], eax
je 0x420a06
push eax
push dword [ebp + 0x2c]
call dword [sym.imp.GDI32.dll_SelectObject]
cmp eax, edi
mov dword [ebp + 0x20], eax
je 0x420a06
push 0xcc0020
push dword [ebp + 0x70]
push dword [ebp + 0x6c]
push dword [ebp + 0x24]
push ebx
push esi
push edi
push edi
push dword [ebp + 0x2c]
call dword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
je 0x420a06
push 8
lea eax, [ebp + 0x77]
push eax
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp + 0x4c]
push eax
push dword [ebp + 0x2c]
push dword [ebp + 0x1c]
call fcn.00420ada
add esp, 0x18
cmp eax, edi
mov dword [ebp + 0x48], eax
je 0x420a06
mov ebx, dword [ebp + 0x28]
mov esi, dword [ebp + 0x4c]
imul ebx, dword [ebp + 0x18]
imul esi, dword [ebp + 0x14]
cmp byte [ebp + 0x63], 0
mov dword [ebp + 0x44], ebx
mov dword [ebp + 8], esi
jne 0x42071f
cmp byte [ebp + 0x77], 0
je 0x420753
cmp dword [ebp + 0x38], 0xffffffff
mov eax, 0xf8f8f8
je 0x42072d
and dword [ebp + 0x38], eax
xor ecx, ecx
cmp esi, edi
jle 0x420740
mov edx, dword [ebp + 0x48]
lea edx, [edx + ecx*4]
and dword [edx], eax
inc ecx
cmp ecx, esi
jl 0x420733
xor ecx, ecx
cmp ebx, edi
jle 0x420768
mov edx, dword [ebp + 0x34]
lea edx, [edx + ecx*4]
and dword [edx], eax
inc ecx
cmp ecx, ebx
jl 0x420746
cmp ebx, edi
jle 0x420768
mov eax, dword [ebp + 0x34]
add eax, 3
mov ecx, ebx
mov byte [eax], 0
add eax, 4
dec ecx
jne 0x42075f
cmp dword [ebp + 0x5c], 1
jge 0x42086b
cmp esi, edi
jle 0x420787
mov eax, dword [ebp + 0x48]
add eax, 3
mov ecx, esi
mov byte [eax], 0
add eax, 4
dec ecx
jne 0x42077e
cmp esi, edi
mov dword [ebp + 0x58], edi
jle 0x4209f1
mov dword [ebp + 0x74], edi
mov eax, dword [ebp + 0x34]
mov eax, dword [eax]
mov ecx, dword [ebp + 0x48]
mov edx, dword [ebp + 0x74]
cmp dword [edx + ecx], eax
je 0x4207b9
mov ecx, dword [ebp + 0x40]
cmp ecx, edi
je 0x4207b0
cmp dword [ecx], edi
jne 0x4207b9
cmp eax, dword [ebp + 0x38]
jne 0x420856
mov eax, dword [ebp + 0x58]
cdq
idiv dword [ebp + 0x4c]
mov ecx, dword [ebp + 0x14]
sub ecx, eax
cmp dword [ebp + 0x18], ecx
jg 0x420856
mov eax, dword [ebp + 0x4c]
sub eax, edx
cmp dword [ebp + 0x28], eax
jg 0x420856
cmp ebx, edi
mov byte [ebp + 0x7f], 1
mov dword [ebp + 0x50], edi
mov dword [ebp + 0x30], edi
jle 0x420a06
mov edx, dword [ebp + 0x4c]
mov eax, dword [ebp + 0x34]
mov esi, dword [ebp + 0x74]
mov ebx, dword [ebp + 0x40]
shl edx, 2
mov byte [ebp + 0x7f], 1
mov dword [ebp + 0x78], esi
sub ebx, eax
mov ecx, dword [eax]
mov edi, dword [ebp + 0x48]
cmp dword [esi + edi], ecx
je 0x42081d
cmp dword [ebp + 0x40], 0
je 0x420818
cmp dword [ebx + eax], 0
jne 0x42081d
cmp ecx, dword [ebp + 0x38]
jne 0x42084a
inc dword [ebp + 0x50]
mov ecx, dword [ebp + 0x50]
cmp ecx, dword [ebp + 0x28]
jge 0x42082d
add esi, 4
jmp 0x420837
and dword [ebp + 0x50], 0
add dword [ebp + 0x78], edx
mov esi, dword [ebp + 0x78]
inc dword [ebp + 0x30]
mov ecx, dword [ebp + 0x30]
add eax, 4
cmp ecx, dword [ebp + 0x44]
jl 0x420802
jmp 0x420a06
mov ebx, dword [ebp + 0x44]
mov esi, dword [ebp + 8]
mov byte [ebp + 0x7f], 0
xor edi, edi
inc dword [ebp + 0x58]
add dword [ebp + 0x74], 4
cmp dword [ebp + 0x58], esi
jl 0x420795
jmp 0x4209f1
cmp esi, edi
mov dword [ebp + 0x58], edi
jle 0x4209f1
mov dword [ebp + 0xc], edi
mov eax, dword [ebp + 0x58]
cdq
idiv dword [ebp + 0x4c]
mov ecx, dword [ebp + 0x14]
sub ecx, eax
cmp dword [ebp + 0x18], ecx
jg 0x4209e1
mov eax, dword [ebp + 0x4c]
sub eax, edx
cmp dword [ebp + 0x28], eax
jg 0x4209e1
cmp ebx, edi
mov byte [ebp + 0x7f], 1
mov dword [ebp + 0x50], edi
mov dword [ebp + 0x30], edi
jle 0x420a06
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 0x34]
mov dword [ebp + 0x3c], eax
mov dword [ebp + 0x10], eax
mov eax, dword [ebp + 0x40]
sub eax, esi
mov byte [ebp + 0x7f], 1
mov dword [ebp - 0x10], eax
mov eax, dword [esi]
mov dl, byte [esi + 1]
shr eax, 0x10
movzx eax, al
cmp dword [ebp + 0x5c], eax
jle 0x4208dc
mov byte [ebp + 0x77], 0
jmp 0x4208e4
mov cl, al
sub cl, byte [ebp + 0x5c]
mov byte [ebp + 0x77], cl
movzx edx, dl
cmp dword [ebp + 0x5c], edx
mov dword [ebp], edx
jle 0x4208f5
mov byte [ebp + 0x7b], 0
jmp 0x4208fd
mov cl, dl
sub cl, byte [ebp + 0x5c]
mov byte [ebp + 0x7b], cl
movzx ecx, byte [esi]
cmp dword [ebp + 0x5c], ecx
jle 0x42090b
mov byte [ebp + 0x56], 0
jmp 0x420916
mov dl, cl
sub dl, byte [ebp + 0x5c]
mov byte [ebp + 0x56], dl
mov edx, dword [ebp]
mov edi, 0xff
sub edi, eax
cmp dword [ebp + 0x5c], edi
jle 0x420926
or al, 0xff
jmp 0x420929
add al, byte [ebp + 0x5c]
mov edi, 0xff
sub edi, edx
cmp dword [ebp + 0x5c], edi
jle 0x42093b
mov byte [ebp + 0x63], 0xff
jmp 0x420941
add dl, byte [ebp + 0x5c]
mov byte [ebp + 0x63], dl
mov edx, 0xff
sub edx, ecx
cmp dword [ebp + 0x5c], edx
jle 0x420953
mov byte [ebp + 0x57], 0xff
jmp 0x420959
add cl, byte [ebp + 0x5c]
mov byte [ebp + 0x57], cl
mov ecx, dword [ebp + 0x48]
mov edx, dword [ebp + 0x3c]
lea edi, [edx + ecx]
mov cl, byte [edi + 2]
cmp cl, byte [ebp + 0x77]
mov dl, byte [edi + 1]
mov bl, byte [edi]
jb 0x420987
cmp cl, al
ja 0x420987
cmp dl, byte [ebp + 0x7b]
jb 0x420987
cmp dl, byte [ebp + 0x63]
ja 0x420987
cmp bl, byte [ebp + 0x56]
jb 0x420987
cmp bl, byte [ebp + 0x57]
jbe 0x42099d
cmp dword [ebp + 0x40], 0
je 0x420996
mov eax, dword [ebp - 0x10]
cmp dword [esi + eax], 0
jne 0x42099d
mov eax, dword [esi]
cmp eax, dword [ebp + 0x38]
jne 0x4209d5
inc dword [ebp + 0x50]
mov eax, dword [ebp + 0x50]
cmp eax, dword [ebp + 0x28]
jge 0x4209ae
add dword [ebp + 0x3c], 4
jmp 0x4209c1
mov eax, dword [ebp + 0x4c]
and dword [ebp + 0x50], 0
shl eax, 2
add dword [ebp + 0x10], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp + 0x3c], eax
inc dword [ebp + 0x30]
mov eax, dword [ebp + 0x30]
add esi, 4
cmp eax, dword [ebp + 0x44]
jl 0x4208c6
jmp 0x420a06
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0x44]
mov byte [ebp + 0x7f], 0
xor edi, edi
inc dword [ebp + 0x58]
add dword [ebp + 0xc], 4
cmp dword [ebp + 0x58], esi
jl 0x420879
mov ecx, dword [0x465b20]
push 1
push edi
push 0xffffffffffffffff
push 0x459f14
call fcn.00401592
push dword [ebp + 0x24]
xor edi, edi
push edi
call dword [sym.imp.USER32.dll_ReleaseDC]
push dword [ebp + 4]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
call esi
cmp dword [ebp + 0x2c], edi
je 0x420a3c
cmp dword [ebp + 0x20], edi
je 0x420a33
push dword [ebp + 0x20]
push dword [ebp + 0x2c]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp + 0x2c]
call dword [sym.imp.GDI32.dll_DeleteDC]
cmp dword [ebp + 0x1c], edi
je 0x420a46
push dword [ebp + 0x1c]
call esi
cmp dword [ebp + 0x34], edi
je 0x420a54
push dword [ebp + 0x34]
call fcn.0043dff1
pop ecx
cmp dword [ebp + 0x40], edi
je 0x420a62
push dword [ebp + 0x40]
call fcn.0043dff1
pop ecx
cmp dword [ebp + 0x48], edi
je 0x420a70
push dword [ebp + 0x48]
call fcn.0043dff1
pop ecx
cmp byte [ebp + 0x7f], 0
jne 0x420a7b
xor eax, eax
inc eax
jmp 0x420ad0
mov ecx, dword [ebp - 0xc]
cmp ecx, edi
je 0x420a99
mov eax, dword [ebp + 0x58]
cdq
idiv dword [ebp + 0x4c]
sub edx, dword [ebp - 0x20]
add edx, dword [ebp + 0x6c]
push edx
call fcn.004018c8
test eax, eax
je 0x420ab7
mov ecx, dword [ebp - 4]
cmp ecx, edi
je 0x420abb
mov eax, dword [ebp + 0x58]
cdq
idiv dword [ebp + 0x4c]
sub eax, dword [ebp - 0x1c]
add eax, dword [ebp + 0x70]
push eax
call fcn.004018c8
test eax, eax
jne 0x420abb
xor eax, eax
jmp 0x420ad0
mov ecx, dword [0x465b20]
push 1
push edi
push 0xffffffffffffffff
push 0x45871c
call fcn.00401592
pop edi
pop esi
pop ebx
add ebp, 0x64
leave
ret 0x14