Function at 0x475cc5
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff60
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea ebx, [ebp - 0x58]
mov esi, 1
mov byte [ebp - 6], 0
xor eax, eax
mov dword [ebp - 0x44], 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 - 0x48], 0xcc0020
cmp dword [edi + esi*4], 0
je 0x475dce
mov ecx, dword [edi + esi*4]
cmp byte [ecx], 0x2d
jne 0x475dce
push 0x68
push dword [edi + esi*4]
call fcn.0054c230
add esp, 8
test eax, eax
je 0x475d34
mov byte [ebp - 6], 1
push 0x69
push dword [edi + esi*4]
call fcn.0054c230
add esp, 8
test eax, eax
je 0x475d4c
mov dword [ebp - 0x48], 0xbb0226
push 0x6e
push dword [edi + esi*4]
call fcn.0054c230
add esp, 8
test eax, eax
je 0x475d61
mov byte [ebp - 1], 0
push 0x63
push dword [edi + esi*4]
call fcn.0054c230
add esp, 8
test eax, eax
je 0x475d76
mov byte [ebp - 3], 1
push 0x73
push dword [edi + esi*4]
call fcn.0054c230
add esp, 8
test eax, eax
je 0x475d8b
mov byte [ebp - 4], 1
push 0x74
push dword [edi + esi*4]
call fcn.0054c230
add esp, 8
test eax, eax
je 0x475da0
mov byte [ebp - 5], 1
push 0x6c
push dword [edi + esi*4]
call fcn.0054c230
add esp, 8
test eax, eax
je 0x475db5
mov byte [ebp - 7], 1
push 0x6d
push dword [edi + esi*4]
call fcn.0054c230
add esp, 8
test eax, eax
je 0x475dcd
mov dword [ebp - 0x44], 1
inc esi
cmp dword [edi + esi*4], 0
jne 0x475dfd
cmp byte [ebp - 3], 0
je 0x475deb
push 0
call fcn.00475c5c
mov eax, 1
jmp 0x476706
push 0
push 0
push dword [edi]
push 0
call fcn.00479c10
jmp 0x476706
push 0
push dword [edi + esi*4]
call fcn.00412db7
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
je 0x475e40
mov edx, dword [ebp - 0x40]
cmp dword [edx + 0x810], 0
je 0x475e40
mov ecx, dword [ebp - 0x40]
cmp dword [ecx + 0x6f8], 0
je 0x475e40
mov eax, dword [ebp - 0x40]
cmp dword [eax + 0x8f8], 0
je 0x475e40
mov edx, dword [ebp - 0x40]
cmp dword [edx + 0x6bc], 9
je 0x475e52
push 7
push 0
push dword [edi]
push 0
call fcn.00479c10
jmp 0x476706
cmp byte [ebp - 6], 0
je 0x475e62
mov ecx, dword [ebp - 0x40]
push dword [ecx]
call fcn.00492a30
inc esi
cmp dword [edi + esi*4], 0
jne 0x475e93
cmp byte [ebp - 1], 0
je 0x475e81
push dword [ebp - 0x40]
call fcn.004728f8
mov eax, 1
jmp 0x476706
push 0
push 0
push dword [edi]
push 0
call fcn.00479c10
jmp 0x476706
cmp byte [ebp - 5], 0
je 0x475ea6
push dword [edi + esi*4]
call fcn.00555124
pop ecx
mov dword [ebp - 0x34], eax
inc esi
cmp dword [edi + esi*4], 0
je 0x475eb3
cmp dword [edi + esi*4 + 4], 0
jne 0x475ec5
push 0
push 0
push dword [edi]
push 0
call fcn.00479c10
jmp 0x476706
push dword [edi + esi*4]
call fcn.00555124
pop ecx
mov dword [ebp - 0x78], eax
push dword [edi + esi*4 + 4]
call fcn.00555124
pop ecx
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], 0xffffffff
mov dword [ebp - 0x6c], 0xffffffff
add esi, 2
cmp byte [ebp - 4], 0
je 0x475f2a
cmp dword [edi + esi*4], 0
je 0x475f2a
push dword [edi + esi*4]
call fcn.004e43bb
test eax, eax
je 0x475f2a
cmp dword [edi + esi*4 + 4], 0
je 0x475f2a
push dword [edi + esi*4]
call fcn.00555124
pop ecx
mov dword [ebp - 0x70], eax
push dword [edi + esi*4 + 4]
call fcn.00555124
pop ecx
mov dword [ebp - 0x6c], eax
add esi, 2
cmp dword [edi + esi*4], 0
je 0x475f8f
push dword [edi + esi*4]
call fcn.004e43bb
test eax, eax
je 0x475f8f
cmp dword [edi + esi*4 + 4], 0
je 0x475f8f
cmp dword [edi + esi*4 + 8], 0
je 0x475f8f
cmp dword [edi + esi*4 + 0xc], 0
je 0x475f8f
push dword [edi + esi*4]
call fcn.00555124
pop ecx
mov dword [ebp - 0x88], eax
push dword [edi + esi*4 + 4]
call fcn.00555124
pop ecx
mov dword [ebp - 0x84], eax
push dword [edi + esi*4 + 8]
call fcn.00555124
pop ecx
mov dword [ebp - 0x80], eax
push dword [edi + esi*4 + 0xc]
call fcn.00555124
pop ecx
mov dword [ebp - 0x7c], eax
add esi, 4
jmp 0x475fad
xor edx, edx
mov dword [ebp - 0x88], edx
xor ecx, ecx
mov dword [ebp - 0x84], ecx
mov dword [ebp - 0x80], 0xffffffff
mov dword [ebp - 0x7c], 0xffffffff
cmp dword [edi + esi*4], 0
jne 0x475fc5
push 0
push 0
push dword [edi]
push 0
call fcn.00479c10
jmp 0x476706
push 0
push 0x104
push dword [ebp + 0xc]
push esi
push edi
call fcn.004e5393
mov esi, eax
test esi, esi
jge 0x475fee
push 3
push 0
push dword [edi]
push 0
call fcn.00479c10
jmp 0x476706
push dword [ebp + 0xc]
push dword [ebp + 0xc]
call fcn.0042cd5e
test eax, eax
jne 0x47600f
push 3
push 0
push dword [edi]
push 0
call fcn.00479c10
jmp 0x476706
cmp byte [ebp - 3], 0
je 0x476032
push 0
lea eax, [ebp - 0x38]
push eax
push dword [ebp + 0xc]
call fcn.00475bf4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x476040
mov byte [ebp - 2], 1
jmp 0x47609b
push 1
lea edx, [ebp - 0x38]
push edx
push dword [ebp + 0xc]
call fcn.00475bf4
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 - 0x40]
push dword [eax]
push dword [ebp + 0xc]
call fcn.0042f47c
cmp dword [ebp - 0xc], 0
jne 0x47609b
cmp dword [0x56268c], 0
je 0x476075
call fcn.00475aa4
jmp 0x476040
push dword [ebp + 0xc]
push dword [edi]
push 0
push 0x835
call fcn.0042c564
push eax
push 0x57e17c
call sub.USER32.dll_wsprintfA
add esp, 0x10
xor eax, eax
jmp 0x476706
mov edx, dword [ebp - 0x40]
push dword [edx + 0x810]
call sub.USER32.dll_GetDC
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x4760b9
xor eax, eax
jmp 0x476706
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 0x47662f
push dword [ebp - 0xc]
push edi
call sub.GDI32.dll_SelectObject
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0xa0]
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 0x47662f
mov eax, dword [ebp - 0x40]
push dword [eax + 0x8f8]
push esi
call sub.GDI32.dll_SelectObject
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x38], 0
je 0x476165
mov edx, dword [ebp - 0x40]
cmp dword [edx + 0x8fc], 0
je 0x476159
mov ecx, dword [ebp - 0x40]
push dword [ecx + 0x8fc]
call fcn.00475a48
test eax, eax
jne 0x476159
mov eax, dword [ebp - 0x40]
push dword [eax + 0x8fc]
call sub.GDI32.dll_DeleteObject
mov edx, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x38]
mov dword [edx + 0x8fc], ecx
cmp dword [ebp - 0x70], 0xffffffff
jne 0x47619d
cmp dword [ebp - 0x6c], 0xffffffff
jne 0x47619d
cmp dword [ebp - 0x80], 0xffffffff
jne 0x476191
cmp dword [ebp - 0x7c], 0xffffffff
jne 0x476191
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x70], eax
mov edx, dword [ebp - 0x98]
mov dword [ebp - 0x6c], edx
jmp 0x47619d
mov ecx, dword [ebp - 0x80]
mov dword [ebp - 0x70], ecx
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x80], 0xffffffff
jne 0x4761bb
cmp dword [ebp - 0x7c], 0xffffffff
jne 0x4761bb
mov edx, dword [ebp - 0x9c]
mov dword [ebp - 0x80], edx
mov ecx, dword [ebp - 0x98]
mov dword [ebp - 0x7c], ecx
cmp byte [ebp - 5], 0
je 0x476425
push dword [ebp - 0x24]
call sub.GDI32.dll_CreateCompatibleDC
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x47662f
push dword [ebp - 0x7c]
push dword [ebp - 0x80]
push dword [ebp - 0x24]
call sub.GDI32.dll_CreateCompatibleBitmap
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x47662f
push dword [ebp - 0x1c]
push dword [ebp - 0x28]
call sub.GDI32.dll_SelectObject
mov dword [ebp - 0x20], eax
push 0xcc0020
push dword [ebp - 0x84]
push dword [ebp - 0x88]
push edi
push dword [ebp - 0x7c]
push dword [ebp - 0x80]
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 - 0x7c]
push dword [ebp - 0x80]
push dword [ebp - 0x28]
push edi
call fcn.00477411
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x47662f
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 0x4763a0
push esi
push edi
lea esi, [ebp - 0x78]
mov edi, ebx
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
push esi
push edi
lea esi, [ebp - 0x88]
lea edi, [ebp - 0x68]
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
mov edx, dword [ebp - 0x74]
add edx, dword [ebp - 0x6c]
mov eax, dword [ebx + 4]
cmp edx, eax
jl 0x47640e
mov ecx, dword [ebp - 0x74]
add ecx, dword [ebp - 0x6c]
mov edx, eax
add edx, dword [ebp - 0x5c]
cmp ecx, edx
jge 0x4762d8
mov ecx, dword [ebp - 0x74]
add ecx, dword [ebp - 0x6c]
sub ecx, eax
mov dword [ebp - 0x5c], ecx
mov eax, dword [ebp - 0x78]
mov dword [ebx], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x60], eax
mov edx, dword [ebp - 0x78]
add edx, dword [ebp - 0x70]
mov eax, dword [ebx]
cmp edx, eax
jl 0x47638f
mov edx, dword [ebp - 0x78]
add edx, dword [ebp - 0x70]
mov ecx, eax
add ecx, dword [ebp - 0x60]
cmp edx, ecx
jge 0x47630d
mov edx, dword [ebp - 0x78]
add edx, dword [ebp - 0x70]
sub edx, eax
mov dword [ebp - 0x60], edx
mov edx, dword [ebp - 0x60]
mov dword [ebx + 8], edx
mov eax, dword [ebp - 0x5c]
mov dword [ebx + 0xc], eax
cmp dword [ebp - 0x44], 1
jne 0x47632f
push dword [ebp - 0x5c]
push edx
push eax
push dword [ebx + 8]
push esi
call fcn.00429b8b
jmp 0x47633d
push 0
push 0
push 0
push 0
push edi
call fcn.00429b8b
push 0x8800c6
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
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 - 0x5c]
push dword [ebp - 0x60]
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 - 0x60]
test eax, eax
jle 0x47638f
add dword [ebx], eax
jmp 0x4762e3
cmp dword [ebp - 0x5c], 0
jle 0x47640e
mov edx, dword [ebp - 0x5c]
add dword [ebx + 4], edx
jmp 0x4762ad
cmp dword [ebp - 0x44], 1
jne 0x4763ba
push dword [ebp - 0x7c]
push dword [ebp - 0x80]
push dword [ebp - 0x6c]
push dword [ebp - 0x70]
push esi
call fcn.00429b8b
jmp 0x4763c8
push 0
push 0
push 0
push 0
push edi
call fcn.00429b8b
push 0x8800c6
push dword [ebp - 0x7c]
push dword [ebp - 0x80]
push 0
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x6c]
push dword [ebp - 0x70]
push dword [ebp - 0x74]
push dword [ebp - 0x78]
push esi
call sub.GDI32.dll_StretchBlt
push 0xee0086
push dword [ebp - 0x7c]
push dword [ebp - 0x80]
push 0
push 0
push edi
push dword [ebp - 0x6c]
push dword [ebp - 0x70]
push dword [ebp - 0x74]
push dword [ebp - 0x78]
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 0x476575
cmp byte [ebp - 7], 0
je 0x476525
push esi
push edi
lea esi, [ebp - 0x78]
mov edi, ebx
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
push esi
push edi
lea esi, [ebp - 0x88]
lea edi, [ebp - 0x68]
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
mov edx, dword [ebp - 0x74]
add edx, dword [ebp - 0x6c]
mov eax, dword [ebx + 4]
cmp edx, eax
jl 0x476575
mov ecx, dword [ebp - 0x74]
add ecx, dword [ebp - 0x6c]
mov edx, eax
add edx, dword [ebp - 0x5c]
cmp ecx, edx
jge 0x47647e
mov ecx, dword [ebp - 0x74]
add ecx, dword [ebp - 0x6c]
sub ecx, eax
mov dword [ebp - 0x5c], ecx
mov eax, dword [ebp - 0x78]
mov dword [ebx], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x60], eax
mov edx, dword [ebp - 0x78]
add edx, dword [ebp - 0x70]
mov eax, dword [ebx]
cmp edx, eax
jl 0x476514
mov edx, dword [ebp - 0x78]
add edx, dword [ebp - 0x70]
mov ecx, eax
add ecx, dword [ebp - 0x60]
cmp edx, ecx
jge 0x4764af
mov edx, dword [ebp - 0x78]
add edx, dword [ebp - 0x70]
sub edx, eax
mov dword [ebp - 0x60], edx
mov edx, dword [ebp - 0x60]
mov dword [ebx + 8], edx
mov eax, dword [ebp - 0x5c]
mov dword [ebx + 0xc], eax
cmp dword [ebp - 0x44], 1
jne 0x4764d1
push dword [ebp - 0x5c]
push edx
push eax
push dword [ebx + 8]
push esi
call fcn.00429b8b
jmp 0x4764df
push 0
push 0
push 0
push 0
push edi
call fcn.00429b8b
push dword [ebp - 0x48]
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
push dword [ebp - 0x84]
push dword [ebp - 0x88]
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 - 0x60]
test eax, eax
jle 0x476514
add dword [ebx], eax
jmp 0x476489
cmp dword [ebp - 0x5c], 0
jle 0x476575
mov edx, dword [ebp - 0x5c]
add dword [ebx + 4], edx
jmp 0x476453
cmp dword [ebp - 0x44], 1
jne 0x47653f
push dword [ebp - 0x7c]
push dword [ebp - 0x80]
push dword [ebp - 0x6c]
push dword [ebp - 0x70]
push esi
call fcn.00429b8b
jmp 0x47654d
push 0
push 0
push 0
push 0
push edi
call fcn.00429b8b
push dword [ebp - 0x48]
push dword [ebp - 0x7c]
push dword [ebp - 0x80]
push dword [ebp - 0x84]
push dword [ebp - 0x88]
push edi
push dword [ebp - 0x6c]
push dword [ebp - 0x70]
push dword [ebp - 0x74]
push dword [ebp - 0x78]
push esi
call sub.GDI32.dll_StretchBlt
cmp byte [ebp - 1], 0
je 0x4765e3
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov eax, dword [ebp - 0x40]
cmp dword [eax + 0x8fc], 0
je 0x4765aa
push 0
mov edx, dword [ebp - 0x40]
push dword [edx + 0x8fc]
push dword [ebp - 0x24]
call sub.GDI32.dll_SelectPalette
mov dword [ebp - 0x3c], eax
push dword [ebp - 0x24]
call sub.GDI32.dll_RealizePalette
push 0xcc0020
push dword [ebp - 0x74]
push dword [ebp - 0x78]
push esi
push dword [ebp - 0x6c]
push dword [ebp - 0x70]
push dword [ebp - 0x74]
push dword [ebp - 0x78]
push dword [ebp - 0x24]
call sub.GDI32.dll_BitBlt
mov ecx, dword [ebp - 0x40]
cmp dword [ecx + 0x8fc], 0
je 0x4765e3
push 0
push dword [ebp - 0x3c]
push dword [ebp - 0x24]
call sub.GDI32.dll_SelectPalette
mov eax, dword [ebp - 0x88]
add eax, dword [ebp - 0x80]
mov edx, dword [ebp - 0x40]
cmp eax, dword [edx + 0x908]
jle 0x476609
mov ecx, dword [ebp - 0x88]
add ecx, dword [ebp - 0x80]
mov eax, dword [ebp - 0x40]
mov dword [eax + 0x908], ecx
mov edx, dword [ebp - 0x84]
add edx, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x40]
cmp edx, dword [ecx + 0x90c]
jle 0x47662f
mov eax, dword [ebp - 0x84]
add eax, dword [ebp - 0x7c]
mov edx, dword [ebp - 0x40]
mov dword [edx + 0x90c], eax
cmp dword [ebp - 0x28], 0
je 0x476659
cmp dword [ebp - 0x10], 0
je 0x476651
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 0x476672
cmp dword [ebp - 0x18], 0
je 0x47666c
push dword [ebp - 0x18]
push esi
call sub.GDI32.dll_SelectObject
push esi
call sub.GDI32.dll_DeleteDC
test edi, edi
je 0x476699
cmp dword [ebp - 0x14], 0
je 0x476693
push dword [ebp - 0x14]
push edi
call sub.GDI32.dll_SelectObject
cmp dword [ebp - 0x1c], 0
je 0x476693
push dword [ebp - 0x1c]
call sub.GDI32.dll_DeleteObject
push edi
call sub.GDI32.dll_DeleteDC
cmp byte [ebp - 2], 0
jne 0x4766f0
cmp byte [ebp - 3], 0
je 0x4766b7
push dword [ebp - 0x38]
push dword [ebp - 0xc]
push dword [ebp + 0xc]
call fcn.00475b30
test eax, eax
jne 0x4766f0
cmp dword [ebp - 0xc], 0
je 0x4766c5
push dword [ebp - 0xc]
call sub.GDI32.dll_DeleteObject
xor ecx, ecx
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0x38], 0
je 0x4766f0
push dword [ebp - 0x38]
call fcn.00475a76
test eax, eax
jne 0x4766f0
push dword [ebp - 0x38]
call fcn.00475a48
test eax, eax
jne 0x4766f0
push dword [ebp - 0x38]
call sub.GDI32.dll_DeleteObject
push dword [ebp - 0x24]
mov eax, dword [ebp - 0x40]
push dword [eax + 0x810]
call sub.USER32.dll_ReleaseDC
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8