Function at 0x475528
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff64
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea ebx, [ebp - 0x54]
mov esi, 1
mov byte [ebp - 6], 0
xor eax, eax
mov dword [ebp - 0x40], eax
mov byte [ebp - 4], 0
mov byte [ebp - 7], 0
xor edx, edx
mov dword [ebp - 0x34], edx
mov byte [ebp - 3], 0
mov byte [ebp - 5], 0
mov byte [ebp - 1], 1
mov byte [ebp - 2], 0
mov dword [ebp - 0x44], 0xcc0020
cmp dword [edi + esi*4], 0
je 0x475631
mov ecx, dword [edi + esi*4]
cmp byte [ecx], 0x2d
jne 0x475631
push 0x68
push dword [edi + esi*4]
call fcn.0054e1ec
add esp, 8
test eax, eax
je 0x475597
mov byte [ebp - 6], 1
push 0x69
push dword [edi + esi*4]
call fcn.0054e1ec
add esp, 8
test eax, eax
je 0x4755af
mov dword [ebp - 0x44], 0xbb0226
push 0x6e
push dword [edi + esi*4]
call fcn.0054e1ec
add esp, 8
test eax, eax
je 0x4755c4
mov byte [ebp - 1], 0
push 0x63
push dword [edi + esi*4]
call fcn.0054e1ec
add esp, 8
test eax, eax
je 0x4755d9
mov byte [ebp - 3], 1
push 0x73
push dword [edi + esi*4]
call fcn.0054e1ec
add esp, 8
test eax, eax
je 0x4755ee
mov byte [ebp - 4], 1
push 0x74
push dword [edi + esi*4]
call fcn.0054e1ec
add esp, 8
test eax, eax
je 0x475603
mov byte [ebp - 5], 1
push 0x6c
push dword [edi + esi*4]
call fcn.0054e1ec
add esp, 8
test eax, eax
je 0x475618
mov byte [ebp - 7], 1
push 0x6d
push dword [edi + esi*4]
call fcn.0054e1ec
add esp, 8
test eax, eax
je 0x475630
mov dword [ebp - 0x40], 1
inc esi
cmp dword [edi + esi*4], 0
jne 0x475660
cmp byte [ebp - 3], 0
je 0x47564e
push 0
call fcn.004754bf
mov eax, 1
jmp 0x475f0c
push 0
push 0
push dword [edi]
push 0
call fcn.00479438
jmp 0x475f0c
push 0
push dword [edi + esi*4]
call fcn.00412c63
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x4756a3
mov edx, dword [ebp - 0x3c]
cmp dword [edx + 0x810], 0
je 0x4756a3
mov ecx, dword [ebp - 0x3c]
cmp dword [ecx + 0x6f8], 0
je 0x4756a3
mov eax, dword [ebp - 0x3c]
cmp dword [eax + 0x8f4], 0
je 0x4756a3
mov edx, dword [ebp - 0x3c]
cmp dword [edx + 0x6bc], 9
je 0x4756b5
push 7
push 0
push dword [edi]
push 0
call fcn.00479438
jmp 0x475f0c
cmp byte [ebp - 6], 0
je 0x4756c5
mov ecx, dword [ebp - 0x3c]
push dword [ecx]
call fcn.004925a0
inc esi
cmp dword [edi + esi*4], 0
jne 0x4756f6
cmp byte [ebp - 1], 0
je 0x4756e4
push dword [ebp - 0x3c]
call fcn.00472184
mov eax, 1
jmp 0x475f0c
push 0
push 0
push dword [edi]
push 0
call fcn.00479438
jmp 0x475f0c
cmp byte [ebp - 5], 0
je 0x475709
push dword [edi + esi*4]
call fcn.005570e0
pop ecx
mov dword [ebp - 0x34], eax
inc esi
cmp dword [edi + esi*4], 0
je 0x475716
cmp dword [edi + esi*4 + 4], 0
jne 0x475728
push 0
push 0
push dword [edi]
push 0
call fcn.00479438
jmp 0x475f0c
push dword [edi + esi*4]
call fcn.005570e0
pop ecx
mov dword [ebp - 0x74], eax
push dword [edi + esi*4 + 4]
call fcn.005570e0
pop ecx
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], 0xffffffff
mov dword [ebp - 0x68], 0xffffffff
add esi, 2
cmp byte [ebp - 4], 0
je 0x47578d
cmp dword [edi + esi*4], 0
je 0x47578d
push dword [edi + esi*4]
call fcn.004e54ab
test eax, eax
je 0x47578d
cmp dword [edi + esi*4 + 4], 0
je 0x47578d
push dword [edi + esi*4]
call fcn.005570e0
pop ecx
mov dword [ebp - 0x6c], eax
push dword [edi + esi*4 + 4]
call fcn.005570e0
pop ecx
mov dword [ebp - 0x68], eax
add esi, 2
cmp dword [edi + esi*4], 0
je 0x4757ef
push dword [edi + esi*4]
call fcn.004e54ab
test eax, eax
je 0x4757ef
cmp dword [edi + esi*4 + 4], 0
je 0x4757ef
cmp dword [edi + esi*4 + 8], 0
je 0x4757ef
cmp dword [edi + esi*4 + 0xc], 0
je 0x4757ef
push dword [edi + esi*4]
call fcn.005570e0
pop ecx
mov dword [ebp - 0x84], eax
push dword [edi + esi*4 + 4]
call fcn.005570e0
pop ecx
mov dword [ebp - 0x80], eax
push dword [edi + esi*4 + 8]
call fcn.005570e0
pop ecx
mov dword [ebp - 0x7c], eax
push dword [edi + esi*4 + 0xc]
call fcn.005570e0
pop ecx
mov dword [ebp - 0x78], eax
add esi, 4
jmp 0x47580a
xor edx, edx
mov dword [ebp - 0x84], edx
xor ecx, ecx
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x7c], 0xffffffff
mov dword [ebp - 0x78], 0xffffffff
cmp dword [edi + esi*4], 0
jne 0x475822
push 0
push 0
push dword [edi]
push 0
call fcn.00479438
jmp 0x475f0c
push 0
push 0x104
push dword [ebp + 0xc]
push esi
push edi
call fcn.004e648f
mov esi, eax
test esi, esi
jge 0x47584b
push 3
push 0
push dword [edi]
push 0
call fcn.00479438
jmp 0x475f0c
push dword [ebp + 0xc]
push dword [ebp + 0xc]
call fcn.0042cf68
test eax, eax
jne 0x47586c
push 3
push 0
push dword [edi]
push 0
call fcn.00479438
jmp 0x475f0c
cmp byte [ebp - 3], 0
je 0x47588f
push 0
lea eax, [ebp - 0x38]
push eax
push dword [ebp + 0xc]
call fcn.00475457
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x47589d
mov byte [ebp - 2], 1
jmp 0x4758f8
push 1
lea edx, [ebp - 0x38]
push edx
push dword [ebp + 0xc]
call fcn.00475457
xor ecx, ecx
mov dword [ebp - 0xc], ecx
xor eax, eax
mov dword [ebp - 0x38], eax
lea edx, [ebp - 0x38]
push edx
lea ecx, [ebp - 0xc]
push ecx
mov eax, dword [ebp - 0x3c]
push dword [eax]
push dword [ebp + 0xc]
call fcn.0042f73c
cmp dword [ebp - 0xc], 0
jne 0x4758f8
cmp dword [0x5646d8], 0
je 0x4758d2
call fcn.00475307
jmp 0x47589d
push dword [ebp + 0xc]
push dword [edi]
push 0
push 0x835
call fcn.0042c771
push eax
push 0x5803c4
call sub.USER32.dll_wsprintfA
add esp, 0x10
xor eax, eax
jmp 0x475f0c
mov edx, dword [ebp - 0x3c]
push dword [edx + 0x810]
call sub.USER32.dll_GetDC
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x475916
xor eax, eax
jmp 0x475f0c
xor edx, edx
mov dword [ebp - 0x14], edx
xor ecx, ecx
mov dword [ebp - 0x18], ecx
xor esi, esi
xor eax, eax
mov dword [ebp - 0x10], eax
xor edx, edx
mov dword [ebp - 0x28], edx
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
push dword [ebp - 0x24]
call sub.GDI32.dll_CreateCompatibleDC
mov edi, eax
test edi, edi
je 0x475e35
push dword [ebp - 0xc]
push edi
call sub.GDI32.dll_SelectObject
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x9c]
push eax
push 0x18
push dword [ebp - 0xc]
call sub.GDI32.dll_GetObjectA
push dword [ebp - 0x24]
call sub.GDI32.dll_CreateCompatibleDC
mov esi, eax
test esi, esi
je 0x475e35
mov eax, dword [ebp - 0x3c]
push dword [eax + 0x8f4]
push esi
call sub.GDI32.dll_SelectObject
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x38], 0
je 0x4759c2
mov edx, dword [ebp - 0x3c]
cmp dword [edx + 0x8f8], 0
je 0x4759b6
mov ecx, dword [ebp - 0x3c]
push dword [ecx + 0x8f8]
call fcn.004752ab
test eax, eax
jne 0x4759b6
mov eax, dword [ebp - 0x3c]
push dword [eax + 0x8f8]
call sub.GDI32.dll_DeleteObject
mov edx, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x38]
mov dword [edx + 0x8f8], ecx
cmp dword [ebp - 0x6c], 0xffffffff
jne 0x4759fa
cmp dword [ebp - 0x68], 0xffffffff
jne 0x4759fa
cmp dword [ebp - 0x7c], 0xffffffff
jne 0x4759ee
cmp dword [ebp - 0x78], 0xffffffff
jne 0x4759ee
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x6c], eax
mov edx, dword [ebp - 0x94]
mov dword [ebp - 0x68], edx
jmp 0x4759fa
mov ecx, dword [ebp - 0x7c]
mov dword [ebp - 0x6c], ecx
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x7c], 0xffffffff
jne 0x475a18
cmp dword [ebp - 0x78], 0xffffffff
jne 0x475a18
mov edx, dword [ebp - 0x98]
mov dword [ebp - 0x7c], edx
mov ecx, dword [ebp - 0x94]
mov dword [ebp - 0x78], ecx
cmp byte [ebp - 5], 0
je 0x475c7f
push dword [ebp - 0x24]
call sub.GDI32.dll_CreateCompatibleDC
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x475e35
push dword [ebp - 0x78]
push dword [ebp - 0x7c]
push dword [ebp - 0x24]
call sub.GDI32.dll_CreateCompatibleBitmap
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x475e35
push dword [ebp - 0x1c]
push dword [ebp - 0x28]
call sub.GDI32.dll_SelectObject
mov dword [ebp - 0x20], eax
push 0xcc0020
push dword [ebp - 0x80]
push dword [ebp - 0x84]
push edi
push dword [ebp - 0x78]
push dword [ebp - 0x7c]
push 0
push 0
push dword [ebp - 0x28]
call sub.GDI32.dll_BitBlt
push dword [ebp - 0x20]
push dword [ebp - 0x28]
call sub.GDI32.dll_SelectObject
push dword [ebp - 0x14]
push edi
call sub.GDI32.dll_SelectObject
push dword [ebp - 0x1c]
push edi
call sub.GDI32.dll_SelectObject
mov dword [ebp - 0x14], eax
push dword [ebp - 0x34]
push dword [ebp - 0x78]
push dword [ebp - 0x7c]
push dword [ebp - 0x28]
push edi
call fcn.00476c15
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x475e35
push 0
push esi
call sub.GDI32.dll_SetTextColor
mov dword [ebp - 0x2c], eax
push 0xffffff
push esi
call sub.GDI32.dll_SetBkColor
mov dword [ebp - 0x30], eax
cmp byte [ebp - 7], 0
je 0x475bfa
push esi
push edi
lea esi, [ebp - 0x74]
mov edi, ebx
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
push esi
push edi
lea esi, [ebp - 0x84]
lea edi, [ebp - 0x64]
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
mov edx, dword [ebp - 0x70]
add edx, dword [ebp - 0x68]
mov eax, dword [ebx + 4]
cmp edx, eax
jl 0x475c68
mov ecx, dword [ebp - 0x70]
add ecx, dword [ebp - 0x68]
mov edx, eax
add edx, dword [ebp - 0x58]
cmp ecx, edx
jge 0x475b32
mov ecx, dword [ebp - 0x70]
add ecx, dword [ebp - 0x68]
sub ecx, eax
mov dword [ebp - 0x58], ecx
mov eax, dword [ebp - 0x74]
mov dword [ebx], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x5c], eax
mov edx, dword [ebp - 0x74]
add edx, dword [ebp - 0x6c]
mov eax, dword [ebx]
cmp edx, eax
jl 0x475be9
mov edx, dword [ebp - 0x74]
add edx, dword [ebp - 0x6c]
mov ecx, eax
add ecx, dword [ebp - 0x5c]
cmp edx, ecx
jge 0x475b67
mov edx, dword [ebp - 0x74]
add edx, dword [ebp - 0x6c]
sub edx, eax
mov dword [ebp - 0x5c], edx
mov edx, dword [ebp - 0x5c]
mov dword [ebx + 8], edx
mov eax, dword [ebp - 0x58]
mov dword [ebx + 0xc], eax
cmp dword [ebp - 0x40], 1
jne 0x475b89
push dword [ebp - 0x58]
push edx
push eax
push dword [ebx + 8]
push esi
call fcn.00429dda
jmp 0x475b97
push 0
push 0
push 0
push 0
push edi
call fcn.00429dda
push 0x8800c6
push dword [ebp - 0x58]
push dword [ebp - 0x5c]
push 0
push 0
push dword [ebp - 0x28]
push dword [ebx + 0xc]
push dword [ebx + 8]
push dword [ebx + 4]
push dword [ebx]
push esi
call sub.GDI32.dll_StretchBlt
push 0xee0086
push dword [ebp - 0x58]
push dword [ebp - 0x5c]
push 0
push 0
push edi
push dword [ebx + 0xc]
push dword [ebx + 8]
push dword [ebx + 4]
push dword [ebx]
push esi
call sub.GDI32.dll_StretchBlt
mov eax, dword [ebp - 0x5c]
test eax, eax
jle 0x475be9
add dword [ebx], eax
jmp 0x475b3d
cmp dword [ebp - 0x58], 0
jle 0x475c68
mov edx, dword [ebp - 0x58]
add dword [ebx + 4], edx
jmp 0x475b07
cmp dword [ebp - 0x40], 1
jne 0x475c14
push dword [ebp - 0x78]
push dword [ebp - 0x7c]
push dword [ebp - 0x68]
push dword [ebp - 0x6c]
push esi
call fcn.00429dda
jmp 0x475c22
push 0
push 0
push 0
push 0
push edi
call fcn.00429dda
push 0x8800c6
push dword [ebp - 0x78]
push dword [ebp - 0x7c]
push 0
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x68]
push dword [ebp - 0x6c]
push dword [ebp - 0x70]
push dword [ebp - 0x74]
push esi
call sub.GDI32.dll_StretchBlt
push 0xee0086
push dword [ebp - 0x78]
push dword [ebp - 0x7c]
push 0
push 0
push edi
push dword [ebp - 0x68]
push dword [ebp - 0x6c]
push dword [ebp - 0x70]
push dword [ebp - 0x74]
push esi
call sub.GDI32.dll_StretchBlt
push dword [ebp - 0x2c]
push esi
call sub.GDI32.dll_SetTextColor
push dword [ebp - 0x30]
push esi
call sub.GDI32.dll_SetBkColor
jmp 0x475dc9
cmp byte [ebp - 7], 0
je 0x475d7c
push esi
push edi
lea esi, [ebp - 0x74]
mov edi, ebx
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
push esi
push edi
lea esi, [ebp - 0x84]
lea edi, [ebp - 0x64]
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
mov edx, dword [ebp - 0x70]
add edx, dword [ebp - 0x68]
mov eax, dword [ebx + 4]
cmp edx, eax
jl 0x475dc9
mov ecx, dword [ebp - 0x70]
add ecx, dword [ebp - 0x68]
mov edx, eax
add edx, dword [ebp - 0x58]
cmp ecx, edx
jge 0x475cd8
mov ecx, dword [ebp - 0x70]
add ecx, dword [ebp - 0x68]
sub ecx, eax
mov dword [ebp - 0x58], ecx
mov eax, dword [ebp - 0x74]
mov dword [ebx], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x5c], eax
mov edx, dword [ebp - 0x74]
add edx, dword [ebp - 0x6c]
mov eax, dword [ebx]
cmp edx, eax
jl 0x475d6b
mov edx, dword [ebp - 0x74]
add edx, dword [ebp - 0x6c]
mov ecx, eax
add ecx, dword [ebp - 0x5c]
cmp edx, ecx
jge 0x475d09
mov edx, dword [ebp - 0x74]
add edx, dword [ebp - 0x6c]
sub edx, eax
mov dword [ebp - 0x5c], edx
mov edx, dword [ebp - 0x5c]
mov dword [ebx + 8], edx
mov eax, dword [ebp - 0x58]
mov dword [ebx + 0xc], eax
cmp dword [ebp - 0x40], 1
jne 0x475d2b
push dword [ebp - 0x58]
push edx
push eax
push dword [ebx + 8]
push esi
call fcn.00429dda
jmp 0x475d39
push 0
push 0
push 0
push 0
push edi
call fcn.00429dda
push dword [ebp - 0x44]
push dword [ebp - 0x58]
push dword [ebp - 0x5c]
push dword [ebp - 0x80]
push dword [ebp - 0x84]
push edi
push dword [ebx + 0xc]
push dword [ebx + 8]
push dword [ebx + 4]
push dword [ebx]
push esi
call sub.GDI32.dll_StretchBlt
mov eax, dword [ebp - 0x5c]
test eax, eax
jle 0x475d6b
add dword [ebx], eax
jmp 0x475ce3
cmp dword [ebp - 0x58], 0
jle 0x475dc9
mov edx, dword [ebp - 0x58]
add dword [ebx + 4], edx
jmp 0x475cad
cmp dword [ebp - 0x40], 1
jne 0x475d96
push dword [ebp - 0x78]
push dword [ebp - 0x7c]
push dword [ebp - 0x68]
push dword [ebp - 0x6c]
push esi
call fcn.00429dda
jmp 0x475da4
push 0
push 0
push 0
push 0
push edi
call fcn.00429dda
push dword [ebp - 0x44]
push dword [ebp - 0x78]
push dword [ebp - 0x7c]
push dword [ebp - 0x80]
push dword [ebp - 0x84]
push edi
push dword [ebp - 0x68]
push dword [ebp - 0x6c]
push dword [ebp - 0x70]
push dword [ebp - 0x74]
push esi
call sub.GDI32.dll_StretchBlt
cmp byte [ebp - 1], 0
je 0x475def
push 0xcc0020
push dword [ebp - 0x70]
push dword [ebp - 0x74]
push esi
push dword [ebp - 0x68]
push dword [ebp - 0x6c]
push dword [ebp - 0x70]
push dword [ebp - 0x74]
push dword [ebp - 0x24]
call sub.GDI32.dll_BitBlt
mov ecx, dword [ebp - 0x84]
add ecx, dword [ebp - 0x7c]
mov eax, dword [ebp - 0x3c]
cmp ecx, dword [eax + 0x904]
jle 0x475e15
mov edx, dword [ebp - 0x84]
add edx, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x3c]
mov dword [ecx + 0x904], edx
mov eax, dword [ebp - 0x80]
add eax, dword [ebp - 0x78]
mov edx, dword [ebp - 0x3c]
cmp eax, dword [edx + 0x908]
jle 0x475e35
mov ecx, dword [ebp - 0x80]
add ecx, dword [ebp - 0x78]
mov eax, dword [ebp - 0x3c]
mov dword [eax + 0x908], ecx
cmp dword [ebp - 0x28], 0
je 0x475e5f
cmp dword [ebp - 0x10], 0
je 0x475e57
push dword [ebp - 0x10]
push dword [ebp - 0x28]
call sub.GDI32.dll_SelectObject
mov dword [ebp - 0x10], eax
push dword [ebp - 0x10]
call sub.GDI32.dll_DeleteObject
push dword [ebp - 0x28]
call sub.GDI32.dll_DeleteDC
test esi, esi
je 0x475e78
cmp dword [ebp - 0x18], 0
je 0x475e72
push dword [ebp - 0x18]
push esi
call sub.GDI32.dll_SelectObject
push esi
call sub.GDI32.dll_DeleteDC
test edi, edi
je 0x475e9f
cmp dword [ebp - 0x14], 0
je 0x475e99
push dword [ebp - 0x14]
push edi
call sub.GDI32.dll_SelectObject
cmp dword [ebp - 0x1c], 0
je 0x475e99
push dword [ebp - 0x1c]
call sub.GDI32.dll_DeleteObject
push edi
call sub.GDI32.dll_DeleteDC
cmp byte [ebp - 2], 0
jne 0x475ef6
cmp byte [ebp - 3], 0
je 0x475ebd
push dword [ebp - 0x38]
push dword [ebp - 0xc]
push dword [ebp + 0xc]
call fcn.00475393
test eax, eax
jne 0x475ef6
cmp dword [ebp - 0xc], 0
je 0x475ecb
push dword [ebp - 0xc]
call sub.GDI32.dll_DeleteObject
xor edx, edx
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0x38], 0
je 0x475ef6
push dword [ebp - 0x38]
call fcn.004752d9
test eax, eax
jne 0x475ef6
push dword [ebp - 0x38]
call fcn.004752ab
test eax, eax
jne 0x475ef6
push dword [ebp - 0x38]
call sub.GDI32.dll_DeleteObject
push dword [ebp - 0x24]
mov ecx, dword [ebp - 0x3c]
push dword [ecx + 0x810]
call sub.USER32.dll_ReleaseDC
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8