Function at 0x4860c0
Capabilities:
Capture screenshot
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x40c
mov ecx, dword [0x4f0b10]
push ebx
push esi
xor esi, esi
push edi
mov dword [esp + 0x12c], ecx
cmp ecx, esi
je 0x4860e7
call fcn.0041a480
mov edi, dword [ebp + 8]
mov al, 1
cmp al, byte [edi + 2]
sbb ecx, ecx
and ecx, dword [0x4f0b14]
mov dword [esp + 0x128], ecx
je 0x486105
call fcn.0041a480
mov ecx, 2
cmp cl, byte [edi + 2]
sbb ecx, ecx
and ecx, dword [0x4f0b18]
mov dword [esp + 0x104], ecx
je 0x486123
call fcn.0041a480
mov edx, dword [0x4ec48c]
movzx edi, word [edx + 0xd0]
xor ebx, ebx
and edi, 3
mov dword [esp + 0xc4], ebx
mov dword [esp + 0xc8], esi
cmp edi, 2
je 0x4861bd
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov dword [esp + 0x98], eax
cmp eax, esi
je 0x4861bd
push eax
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x4861bd
mov edx, dword [esp + 0x98]
cmp edi, esi
jne 0x486180
lea ecx, [esp + 0xf4]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
jmp 0x48619d
lea ecx, [esp + 0xf4]
push ecx
push edx
mov dword [esp + 0xfc], esi
mov dword [esp + 0x100], esi
call dword [sym.imp.USER32.dll_ClientToScreen]
test eax, eax
je 0x4861bd
add ebx, dword [esp + 0xf4]
mov eax, dword [esp + 0xf8]
add dword [esp + 0xc8], eax
mov dword [esp + 0xc4], ebx
or eax, 0xffffffff
mov dword [esp + 0x7c], eax
mov dword [esp + 0x90], eax
mov eax, 3
mov dword [esp + 0x70], esi
mov dword [esp + 0xb4], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x84], esi
mov dword [esp + 0xb0], esi
mov dword [esp + 0xd0], esi
mov dword [esp + 0xdc], esi
mov dword [esp + 0xa4], esi
mov dword [esp + 0xe4], esi
mov dword [esp + 0xe8], esi
mov dword [esp + 0xf0], esi
mov dword [esp + 0xec], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x94], esi
mov dword [esp + 0x88], esi
mov dword [esp + 0x80], esi
mov esi, dword [ebp + 0x1c]
mov byte [esp + 0x15], 0
mov byte [esp + 0x58], 0
mov byte [esp + 0xd], 0
mov byte [esp + 0x16], 0
mov byte [esp + 0x52], 1
mov dword [esp + 0x54], eax
mov dword [esp + 0xa0], eax
mov byte [esp + 0x5a], 0
mov byte [esp + 0xf], 0
mov byte [esp + 0x1b], 0
mov byte [esp + 0x1a], 0
mov byte [esp + 0x19], 0
mov byte [esp + 0x66], 0
mov byte [esp + 0x53], 0
mov byte [esp + 0x50], 0
mov byte [esp + 0x17], 0
mov byte [esp + 0x2d], 1
mov byte [esp + 0x14], 0
mov byte [esp + 0xe], 0
mov al, byte [esi]
cmp al, 0x20
je 0x4862b0
cmp al, 9
jne 0x4862b3
inc esi
jmp 0x4862a6
cmp byte [esi], 0x2a
je 0x4862e4
mov ebx, dword [ebp + 0x1c]
mov eax, dword [esp + 0xc4]
mov ecx, dword [esp + 0xc8]
mov esi, dword [ebp + 0x14]
mov edi, dword [ebp + 0x18]
add dword [ebp + 0xc], eax
add dword [ebp + 0x10], ecx
add esi, eax
add edi, ecx
jmp 0x486c82
mov esi, dword [esp + 0x34]
mov ebx, 1
movsx ecx, byte [esi + ebx]
add esi, ebx
push ecx
call fcn.004bbc73
add eax, 0xffffffba
add esp, 4
cmp eax, 0x11
ja case.0x48630b.71
movzx edx, byte [eax + 0x4883d8]
jmp dword [edx*4 + 0x4883ac]
push 0x4e4200
call fcn.0049be50
add esp, 4
push 0xa
push eax
push esi
call fcn.004babb4
add esp, 0xc
test eax, eax
jne 0x48633b
add esi, 0xa
mov byte [esp + 0x14], bl
jmp 0x486823
push 0x4e4214
call fcn.0049be50
add esp, 4
push 0xa
push eax
push esi
call fcn.004babb4
add esp, 0xc
test eax, eax
jne 0x486368
add esi, 0xa
mov byte [esp + 0x14], bl
mov byte [esp + 0xe], bl
jmp 0x486823
push 3
push 0x4e4314
push esi
call fcn.004babb4
add esp, 0xc
test eax, eax
jne 0x486823
mov al, byte [esi + 3]
add esi, 3
mov byte [esp + 0x66], bl
cmp al, 0x57
jne 0x4863a1
cmp byte [esi + 1], 0x48
jne 0x4863a1
mov byte [esp + 0x50], bl
mov byte [esp + 0x53], bl
jmp 0x486823
cmp al, 0x48
jne 0x4863b8
cmp byte [esi + 1], 0x57
jne 0x4863b8
mov byte [esp + 0x50], bl
mov byte [esp + 0x53], bl
jmp 0x486823
cmp al, 0x57
jne 0x4863c5
mov byte [esp + 0x53], bl
jmp 0x486823
cmp al, 0x48
jne 0x48646e
mov byte [esp + 0x50], bl
jmp 0x486823
push 0x4e41b4
call fcn.0049be50
add esp, 4
push 0xa
push eax
push esi
call fcn.004babb4
add esp, 0xc
test eax, eax
jne 0x486403
add esi, 0xa
mov byte [esp + 0x16], bl
mov byte [esp + 0x52], al
jmp 0x486823
push 0x4e41c8
call fcn.0049be50
add esp, 4
push 4
push eax
push esi
call fcn.004babb4
add esp, 0xc
test eax, eax
jne 0x486823
add esi, 4
mov byte [esp + 0x16], bl
jmp 0x486823
push 0x4e4318
call fcn.0049be50
add esp, 4
push 7
push eax
push esi
call fcn.004babb4
add esp, 0xc
test eax, eax
jne 0x486823
lea eax, [esp + 0xb4]
add esi, 7
push eax
mov ecx, esi
call fcn.0048fd70
add esp, 4
test al, al
jne 0x486823
mov byte [esp + 0xd], bl
jmp 0x486823
push 0x4e4328
call fcn.0049be50
add esp, 4
push 3
push eax
push esi
call fcn.004babb4
add esp, 0xc
test eax, eax
jne 0x486823
add esi, 3
mov byte [esp + 0x5a], bl
jmp 0x486823
push 6
push str.Result
push esi
call fcn.004babb4
add esp, 0xc
test eax, eax
jne 0x486823
push 0x4e4238
add esi, 6
call fcn.0049be50
add esp, 4
push 6
push eax
push esi
call fcn.004babb4
add esp, 0xc
test eax, eax
jne 0x4864e8
mov dword [esp + 0xa0], ebx
jmp 0x486823
push 6
push str.CENTER
push esi
call fcn.004babb4
add esp, 0xc
test eax, eax
jne 0x48650c
mov dword [esp + 0xa0], 2
jmp 0x486823
push 2
push 0x4e4250
push esi
call fcn.004babb4
add esp, 0xc
test eax, eax
je 0x4865f1
push 2
push 0x4e4254
push esi
call fcn.004babb4
add esp, 0xc
test eax, eax
je 0x4865f1
push 2
push 0x4e4258
push esi
call fcn.004babb4
add esp, 0xc
test eax, eax
je 0x4865e1
push 2
push 0x4e425c
push esi
call fcn.004babb4
add esp, 0xc
test eax, eax
je 0x4865e1
push 2
push 0x4e4260
push esi
call fcn.004babb4
add esp, 0xc
test eax, eax
je 0x4865d1
push 2
push 0x4e4264
push esi
call fcn.004babb4
add esp, 0xc
test eax, eax
je 0x4865d1
push 2
push 0x4e4268
push esi
call fcn.004babb4
add esp, 0xc
test eax, eax
je 0x4865c1
push 2
push 0x4e426c
push esi
call fcn.004babb4
add esp, 0xc
test eax, eax
je 0x4865c1
mov byte [esp + 0xd], bl
jmp 0x486823
mov dword [esp + 0xa0], 6
jmp 0x486823
mov dword [esp + 0xa0], 5
jmp 0x486823
mov dword [esp + 0xa0], 4
jmp 0x486823
mov dword [esp + 0xa0], 3
jmp 0x486823
push 0x4e4270
call fcn.0049be50
add esp, 4
push 4
push eax
push esi
call fcn.004babb4
add esp, 0xc
test eax, eax
jne 0x486729
push 2
add esi, 4
push 0x4e4250
push esi
call fcn.004babb4
add esp, 0xc
test eax, eax
jne 0x486642
mov dword [esp + 0x54], ebx
jmp 0x486823
push 2
push 0x4e4254
push esi
call fcn.004babb4
add esp, 0xc
test eax, eax
jne 0x486663
mov dword [esp + 0x54], 7
jmp 0x486823
push 2
push 0x4e426c
push esi
call fcn.004babb4
add esp, 0xc
test eax, eax
jne 0x486684
mov dword [esp + 0x54], 5
jmp 0x486823
push 2
push 0x4e4260
push esi
call fcn.004babb4
add esp, 0xc
test eax, eax
jne 0x4866a5
mov dword [esp + 0x54], 2
jmp 0x486823
push 2
push 0x4e4264
push esi
call fcn.004babb4
add esp, 0xc
test eax, eax
jne 0x4866c6
mov dword [esp + 0x54], 8
jmp 0x486823
push 2
push 0x4e4258
push esi
call fcn.004babb4
add esp, 0xc
test eax, eax
jne 0x4866e3
mov dword [esp + 0x54], eax
jmp 0x486823
push 2
push 0x4e425c
push esi
call fcn.004babb4
add esp, 0xc
test eax, eax
jne 0x486704
mov dword [esp + 0x54], 6
jmp 0x486823
push 2
push 0x4e4268
push esi
call fcn.004babb4
add esp, 0xc
test eax, eax
jne 0x48646e
mov dword [esp + 0x54], 3
jmp 0x486823
push 6
push str.Select
push esi
call fcn.004babb4
add esp, 0xc
test eax, eax
jne 0x486823
add esi, 6
mov edi, 0x4d9558
mov eax, esi
mov dword [esp + 0x34], esi
call fcn.004099e0
cmp esi, eax
je 0x486823
push 0xc7
lea ecx, [esp + 0x14c]
push esi
push ecx
call fcn.004bd1c0
add esp, 0xc
lea eax, [esp + 0x148]
mov byte [esp + 0x20f], 0
call fcn.004099e0
test eax, eax
je 0x48678d
mov byte [eax], 0
lea esi, [esp + 0x148]
call fcn.0041a410
mov dword [esp + 0x1c], eax
test eax, eax
jns 0x4867a9
mov dword [esp + 0x1c], 0
mov edi, 0x4d9ad8
lea eax, [esp + 0x148]
call fcn.004099e0
test eax, eax
je 0x4867dd
lea edx, [esp + 0x20]
lea ecx, [eax + 1]
push edx
call fcn.0048fd70
add esp, 4
cmp dword [esp + 0x20], 0
jge 0x4867dd
mov dword [esp + 0x20], 0
mov esi, dword [esp + 0x34]
jmp 0x486823
push 0x4e4280
call fcn.0049be50
add esp, 4
push 8
push eax
push esi
call fcn.004babb4
add esp, 0xc
test eax, eax
jne 0x4868be
add esi, 8
lea ebx, [esp + 0x90]
mov ecx, esi
call fcn.0048fdd0
test al, al
jne 0x48681e
mov byte [esp + 0xd], 1
mov ebx, 1
test esi, esi
je 0x486851
mov dl, byte [esi]
test dl, dl
je 0x486851
lea ecx, [ecx]
mov ecx, 0x4d9558
mov al, 0x20
cmp dl, al
je 0x486c50
mov al, byte [ecx + ebx]
add ecx, ebx
test al, al
jne 0x486837
mov dl, byte [esi + ebx]
add esi, ebx
test dl, dl
jne 0x486830
cmp byte [esp + 0x2d], 0
je 0x486870
cmp dword [esp + 0x80], 0
je 0x486870
mov eax, dword [esp + 0x80]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp byte [esp + 0x16], 0
je 0x48687e
cmp byte [esp + 0x52], 0
je 0x48688c
mov ecx, dword [esp + 0x84]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edx, dword [0x4ec48c]
test byte [edx + 0xe0], 1
jne 0x48838f
mov eax, dword [0x4f13d8]
push 1
push 0
push 0xffffffffffffffff
push 0x4d9598
push eax
call fcn.004a5c20
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
push 0x4e4180
call fcn.0049be50
add esp, 4
push 5
push eax
push esi
call fcn.004babb4
add esp, 0xc
test eax, eax
jne 0x4868e7
add esi, 5
lea ebx, [esp + 0x7c]
jmp 0x48680e
push 0x4e4294
call fcn.0049be50
add esp, 4
push 6
push eax
push esi
call fcn.004babb4
add esp, 0xc
test eax, eax
jne 0x486823
push 0x4e41b4
add esi, 6
mov byte [esp + 0x1b], bl
call fcn.0049be50
add esp, 4
push 0xa
push eax
push esi
call fcn.004babb4
add esp, 0xc
test eax, eax
jne 0x486935
add esi, 0xa
mov byte [esp + 0x2d], al
jmp 0x486986
push 0x4e41c8
call fcn.0049be50
add esp, 4
push 4
push eax
push esi
call fcn.004babb4
add esp, 0xc
test eax, eax
jne 0x48695b
add esi, 4
mov byte [esp + 0x2d], bl
jmp 0x486986
push 0x4dc2bc
call fcn.0049be50
add esp, 4
push 4
push eax
push esi
call fcn.004babb4
add esp, 0xc
test eax, eax
jne 0x48646e
add esi, 4
xor bl, bl
mov byte [esp + 0x2d], 1
cmp byte [esp + 0xd], 0
mov dword [esp + 0x34], esi
jne 0x48681e
cmp dword [esp + 0x80], 0
jne 0x48681e
push 0x207
lea eax, [esp + 0x214]
push esi
push eax
call fcn.004bd1c0
add esp, 0xc
mov edi, 0x4d9558
lea eax, [esp + 0x210]
mov byte [esp + 0x417], 0
call fcn.004099e0
test eax, eax
je 0x4869d9
mov byte [eax], 0
test bl, bl
je 0x4869fb
lea esi, [esp + 0x210]
call fcn.0041a410
mov esi, dword [esp + 0x34]
mov dword [esp + 0x80], eax
test eax, eax
jmp 0x486817
push 0x207
lea ecx, [esp + 0x214]
push esi
push ecx
call fcn.004bd1c0
add esp, 0xc
cmp byte [esp + 0x210], 0x3c
mov byte [esp + 0x417], 0
jne 0x486819
mov edi, 0x4e41d8
lea eax, [esp + 0x211]
call fcn.004099e0
test eax, eax
je 0x486819
push 0
push 0
push 0
lea ecx, [esp + 0x100]
push ecx
mov byte [eax], 0
lea edx, [esp + 0x220]
sub eax, edx
push 0
lea edx, [esp + 0x225]
lea eax, [esi + eax + 1]
push 0
push edx
mov dword [esp + 0x50], eax
call fcn.004a43b0
add esp, 0x1c
cmp dword [esp + 0xf4], 1
mov dword [esp + 0x80], eax
jne 0x486a8c
mov byte [esp + 0xd], 1
mov esi, dword [esp + 0x34]
cmp dword [esp + 0x80], 0
jmp 0x486817
push 0x4e433c
call fcn.0049be50
add esp, 4
push 0xc
push eax
push esi
call fcn.004babb4
add esp, 0xc
test eax, eax
jne 0x486823
add esi, 0xc
mov byte [esp + 0x58], bl
jmp 0x486823
push 0x4e4354
call fcn.0049be50
add esp, 4
push 5
push eax
push esi
call fcn.004babb4
add esp, 0xc
test eax, eax
jne 0x486823
add esi, 5
mov edi, edi
mov al, byte [esi]
cmp al, 0x57
jne 0x486b02
mov byte [esp + 0x1b], bl
mov byte [esp + 0xf], bl
add esi, ebx
jmp 0x486af0
cmp al, 0x48
jne 0x486b12
mov byte [esp + 0x1a], bl
mov byte [esp + 0xf], bl
add esi, ebx
jmp 0x486af0
cmp al, 0x4c
jne 0x486b25
mov dword [esp + 0xe4], ebx
mov byte [esp + 0x19], bl
add esi, ebx
jmp 0x486af0
cmp al, 0x54
jne 0x486b38
mov dword [esp + 0xe8], ebx
mov byte [esp + 0x19], bl
add esi, ebx
jmp 0x486af0
cmp al, 0x52
jne 0x486b4b
mov dword [esp + 0xf0], ebx
mov byte [esp + 0x19], bl
add esi, ebx
jmp 0x486af0
cmp al, 0x42
jne 0x486b5e
mov dword [esp + 0xec], ebx
mov byte [esp + 0x19], bl
add esi, ebx
jmp 0x486af0
cmp al, 0x20
je 0x486823
cmp al, 9
je 0x486823
mov byte [esp + 0xd], bl
add esi, ebx
jmp 0x486af0
mov eax, dword [0x4f3de4]
push 2
push eax
push esi
call fcn.004babb4
add esp, 0xc
test eax, eax
jne 0x486823
add esi, 2
cmp dword [ebp + 0x14], eax
jle 0x486ba0
mov eax, dword [ebp + 0xc]
dec eax
jmp 0x486ba2
xor eax, eax
add dword [ebp + 0x14], eax
cmp dword [ebp + 0x18], 0
jle 0x486bb7
mov eax, dword [ebp + 0x10]
dec eax
add dword [ebp + 0x18], eax
jmp 0x486823
xor eax, eax
add dword [ebp + 0x18], eax
jmp 0x486823
mov eax, esi
mov cl, byte [eax]
cmp cl, 0x20
je 0x486bcf
cmp cl, 9
jne 0x486bd3
add eax, ebx
jmp 0x486bc3
mov cl, byte [eax]
test cl, cl
je 0x486c1a
cmp cl, 0x2d
je 0x486be3
cmp cl, 0x2b
jne 0x486be4
inc eax
cmp byte [eax], 0x30
jne 0x486c1a
mov cl, byte [eax + 1]
cmp cl, 0x78
je 0x486bf6
cmp cl, 0x58
jne 0x486c1a
movsx ecx, byte [eax + 2]
push ecx
call fcn.004bb8ab
add esp, 4
test eax, eax
je 0x486c1a
push 0x10
push 0
push esi
call fcn.004bbb06
add esp, 0xc
mov dword [esp + 0x70], eax
jmp 0x486c27
push esi
call fcn.004bb6b6
add esp, 4
mov dword [esp + 0x70], eax
test eax, eax
jns 0x486c38
mov dword [esp + 0x70], 0
jmp 0x486823
cmp eax, 0xff
jle 0x486823
mov dword [esp + 0x70], 0xff
jmp 0x486823
lea ebx, [esi + 1]
mov eax, ebx
mov cl, byte [eax]
cmp cl, 0x20
je 0x486c61
cmp cl, 9
jne 0x486c64
inc eax
jmp 0x486c55
cmp byte [eax], 0x2a
mov dword [esp + 0x34], eax
je 0x4862e0
cmp byte [esp + 0x17], 0
je 0x4862bb
mov esi, dword [ebp + 0x14]
mov edi, dword [ebp + 0x18]
xor ecx, ecx
or eax, 0xffffffff
mov dword [esp + 0xc0], ecx
cmp dword [esp + 0x7c], eax
jne 0x486c9f
mov dword [esp + 0x90], eax
mov byte [esp + 0xf], cl
cmp byte [esp + 0x58], cl
jne 0x486caf
dec dword [esp + 0x1c]
jns 0x486caf
mov dword [esp + 0x1c], ecx
cmp byte [esp + 0xf], cl
jne 0x486cb9
mov byte [esp + 0x19], cl
cmp byte [esp + 0x16], cl
je 0x486ce4
mov eax, ebx
call fcn.0040dd50
test al, al
je 0x486cd9
push 0x10
push 0
push ebx
call fcn.004bc27b
add esp, 0xc
jmp 0x486cff
push ebx
call fcn.004bb6c1
add esp, 4
jmp 0x486cff
push 0
push 0
push 0
lea edx, [esp + 0xcc]
push edx
push 0
push 0
push ebx
call fcn.004a43b0
add esp, 0x1c
mov dword [esp + 0x84], eax
test eax, eax
je 0x486851
cmp dword [esp + 0xc0], 1
je 0x486851
cmp byte [esp + 0xd], 0
jne 0x486851
cmp byte [esp + 0x17], 0
push 0
je 0x486d41
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ebx, eax
mov dword [esp + 0xc0], ebx
jmp 0x486d50
call dword [sym.imp.USER32.dll_GetDC]
mov ebx, eax
mov dword [esp + 0xc0], eax
test ebx, ebx
jne 0x486d82
cmp byte [esp + 0x16], bl
je 0x486d64
cmp byte [esp + 0x52], bl
je 0x486851
mov eax, dword [esp + 0x84]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esp + 0x84], 0
jmp 0x486851
xor eax, eax
push 8
lea ecx, [esp + 0x5d]
push ecx
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0xdc], eax
mov dword [esp + 0xb4], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0xfc], eax
mov byte [esp + 0x15], al
lea edx, [esp + 0xe8]
push edx
lea eax, [esp + 0xa8]
push eax
push ecx
mov eax, ebx
call fcn.00437d50
add esp, 0x14
mov dword [esp + 0x98], eax
test eax, eax
je 0x487ff2
cmp byte [esp + 0x17], 0
jne 0x486ea1
sub edi, dword [ebp + 0x10]
sub esi, dword [ebp + 0xc]
inc edi
push ebx
inc esi
mov dword [esp + 0xbc], edi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, eax
mov dword [esp + 0xd4], edi
test edi, edi
je 0x48800d
mov edx, dword [esp + 0xb8]
push edx
push esi
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [esp + 0xac], eax
test eax, eax
je 0x48800d
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0xf4], eax
test eax, eax
je 0x48800d
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov eax, dword [esp + 0xb8]
push 0xcc0020
push ecx
push edx
push ebx
push eax
push esi
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
je 0x48800d
push 8
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0xb4]
lea edx, [esp + 0x68]
push edx
lea eax, [esp + 0x48]
push eax
push ecx
mov eax, edi
call fcn.00437d50
add esp, 0x14
mov dword [esp + 0x5c], eax
test eax, eax
je 0x48800d
mov ebx, eax
jmp 0x486f94
push 0
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [esp + 0xd4], eax
test eax, eax
je 0x487ff2
cmp dword [ebp + 0xc], 0
mov ebx, dword [ebp + 0x10]
jne 0x486eeb
test ebx, ebx
jne 0x486eeb
test esi, esi
jne 0x486eeb
test edi, edi
jne 0x486eeb
push 8
lea edx, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x88]
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x48]
push ecx
push edx
jmp 0x486f77
mov ecx, dword [esp + 0x80]
lea eax, [esp + 0x130]
push eax
push 0x18
push ecx
call dword [sym.imp.GDI32.dll_GetObjectA]
test eax, eax
je 0x487ff2
test esi, esi
jne 0x486f27
test edi, edi
jne 0x486f27
mov edx, dword [esp + 0x134]
mov eax, dword [esp + 0x138]
dec edx
dec eax
mov esi, edx
mov edi, eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x80]
push 0xffffffffffffffff
push 0
push 0
push 0
push 0
push ebx
push eax
sub edi, ebx
sub esi, eax
inc edi
push edi
inc esi
push esi
push ecx
lea edx, [esp + 0xd4]
push edx
call fcn.00492c30
add esp, 0x2c
test al, al
je 0x487ff2
push 8
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0xb4]
lea ecx, [esp + 0x68]
push ecx
lea edx, [esp + 0x48]
push edx
push eax
mov eax, dword [esp + 0xe8]
call fcn.00437d50
mov ebx, eax
add esp, 0x14
mov dword [esp + 0x5c], ebx
test ebx, ebx
je 0x487ff2
mov edi, dword [esp + 0x9c]
mov esi, dword [esp + 0xe0]
mov ecx, dword [esp + 0xb4]
mov eax, edi
imul eax, esi
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x3c]
imul eax, dword [esp + 0x60]
mov dword [esp + 0x78], eax
test ecx, ecx
jne 0x486fe1
mov eax, esi
cdq
idiv edi
test edx, edx
jne 0x487fe7
mov ecx, eax
mov dword [esp + 0xb4], ecx
test ecx, ecx
je 0x487ff2
mov eax, esi
cdq
idiv ecx
mov esi, edi
mov dword [esp + 0x24], edi
imul esi, eax
mov edx, esi
imul edx, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x48], esi
cmp dword [esp + 0x38], edx
jne 0x487fe7
mov edx, dword [esp + 0x1c]
cmp edx, ecx
jge 0x487ff2
cmp dword [esp + 0x20], 0
jne 0x487021
mov eax, ecx
sub eax, edx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x20]
add eax, edx
cmp eax, ecx
jg 0x487ff2
dec eax
cmp byte [esp + 0xf], 0
mov dword [esp + 0x110], eax
je 0x487069
mov ecx, dword [esp + 0x30]
add ecx, 2
lea eax, [edi + 2]
imul eax, ecx
lea edx, [eax*4]
push edx
mov dword [esp + 0xe0], eax
call fcn.004ba2ed
add esp, 4
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x108], esi
xor esi, esi
cmp byte [esp + 0x14], 0
mov dword [esp + 0x10c], eax
mov dword [esp + 0xe0], ecx
mov dword [esp + 0xb8], edx
mov dword [esp + 0x34], esi
mov dword [esp + 0x68], esi
mov dword [esp + 0xa8], esi
mov dword [esp + 0xbc], esi
mov byte [esp + 0x43], 0
mov byte [esp + 0x5b], 0
je 0x4872f9
mov byte [esp + 0x43], 1
cmp dword [esp + 0x78], esi
jle 0x487135
lea esp, [esp]
mov eax, dword [ebx + esi*4]
mov ecx, eax
mov edx, eax
shr ecx, 8
shr edx, 0x10
movzx eax, al
movzx ecx, cl
movzx edx, dl
add ecx, edx
add ecx, eax
mov eax, 0x55555556
imul ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp byte [esp + 0xe], 0
je 0x48711d
mov ecx, 0xff
sub ecx, dword [esp + 0x70]
cmp eax, ecx
sbb edx, edx
and edx, 0xff000001
add edx, 0xffffff
mov dword [ebx + esi*4], edx
jmp 0x48712c
mov ecx, eax
shl ecx, 8
or ecx, eax
shl ecx, 8
or ecx, eax
mov dword [ebx + esi*4], ecx
inc esi
cmp esi, dword [esp + 0x78]
jl 0x4870d0
xor esi, esi
mov edi, dword [esp + 0x7c]
mov byte [esp + 0x5b], 1
cmp edi, 0xffffffff
je 0x4871fb
xor ebx, ebx
cmp dword [esp + 0x38], ebx
jle 0x48727d
mov esi, dword [esp + 0x98]
lea ebx, [ebx]
mov eax, dword [esi + ebx*4]
and eax, 0xffffff
cmp eax, edi
jne 0x487171
mov dword [esi + ebx*4], eax
jmp 0x4871eb
cmp byte [esp + 0xe], 0
mov edx, eax
je 0x4871b9
shr edx, 8
movzx ecx, dl
mov edx, eax
shr edx, 0x10
movzx edx, dl
add ecx, edx
movzx eax, al
add ecx, eax
mov eax, 0x55555556
imul ecx
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, 0xff
sub edx, dword [esp + 0x70]
cmp ecx, edx
sbb eax, eax
and eax, 0xff000001
add eax, 0xffffff
mov dword [esi + ebx*4], eax
jmp 0x4871eb
mov ecx, eax
shr ecx, 8
movzx ecx, cl
shr edx, 0x10
movzx eax, al
movzx edx, dl
add ecx, edx
add ecx, eax
mov eax, 0x55555556
imul ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ecx, eax
shl ecx, 8
or ecx, eax
shl ecx, 8
or ecx, eax
mov dword [esi + ebx*4], ecx
inc ebx
cmp ebx, dword [esp + 0x38]
jl 0x487160
jmp 0x48727d
mov dword [esp + 0x10], esi
cmp dword [esp + 0x38], esi
jle 0x487279
mov edi, dword [esp + 0x98]
mov ebx, dword [esp + 0x70]
mov esi, dword [esp + 0x10]
mov eax, dword [edi + esi*4]
mov edx, eax
shr edx, 8
movzx ecx, dl
mov edx, eax
shr edx, 0x10
movzx eax, al
movzx edx, dl
add ecx, edx
add ecx, eax
mov eax, 0x55555556
imul ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp byte [esp + 0xe], 0
je 0x48725f
mov ecx, 0xff
sub ecx, ebx
cmp eax, ecx
sbb edx, edx
and edx, 0xff000001
add edx, 0xffffff
mov dword [edi + esi*4], edx
jmp 0x48726e
mov ecx, eax
shl ecx, 8
or ecx, eax
shl ecx, 8
or ecx, eax
mov dword [edi + esi*4], ecx
inc esi
mov dword [esp + 0x10], esi
cmp esi, dword [esp + 0x38]
jl 0x487210
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x90]
cmp eax, 0xffffffff
je 0x4872d3
mov edx, eax
shr edx, 8
movzx ecx, dl
mov edx, eax
shr edx, 0x10
movzx eax, al
movzx edx, dl
add ecx, edx
add ecx, eax
mov eax, 0x55555556
imul ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp byte [esp + 0xe], 0
je 0x4872e4
mov ecx, 0xff
sub ecx, dword [esp + 0x70]
cmp eax, ecx
sbb eax, eax
and eax, 0xff000001
add eax, 0xffffff
mov dword [esp + 0x90], eax
cmp byte [esp + 0xe], 0
je 0x4872fd
mov dword [esp + 0x70], 0
jmp 0x4872fd
mov ecx, eax
shl ecx, 8
or ecx, eax
shl ecx, 8
or ecx, eax
mov dword [esp + 0x90], ecx
jmp 0x4872fd
mov ebx, dword [esp + 0x10]
cmp dword [esp + 0x54], 3
je 0x487419
cmp byte [esp + 0xf], 0
mov eax, dword [esp + 0xdc]
jne 0x48731a
mov eax, dword [esp + 0x48]
lea edx, [eax*4]
push edx
call fcn.004ba2ed
xor edi, edi
add esp, 4
mov dword [esp + 0xb0], eax
cmp eax, edi
je 0x487ff6
mov esi, dword [esp + 0x78]
lea eax, [esi*4]
push eax
call fcn.004ba2ed
add esp, 4
mov dword [esp + 0xd0], eax
cmp eax, edi
je 0x487ff6
cmp byte [esp + 0x43], 0
mov dword [esp + 0x10], edi
jne 0x487393
cmp esi, edi
jle 0x4873bb
mov ecx, dword [esp + 0x5c]
sub ecx, eax
mov edx, esi
mov dword [esp + 0x10], esi
lea esp, [esp]
mov edi, dword [ecx + eax]
and edi, 0xffffff
mov dword [eax], edi
add eax, 4
dec edx
jne 0x487380
jmp 0x4873bb
cmp esi, edi
jle 0x4873bb
mov eax, dword [esp + 0xd0]
mov ecx, dword [esp + 0x5c]
sub ecx, eax
mov edx, esi
mov dword [esp + 0x10], esi
lea ebx, [ebx]
mov edi, dword [eax + ecx]
mov dword [eax], edi
add eax, 4
dec edx
jne 0x4873b0
mov ecx, dword [esp + 0xd0]
mov edx, dword [esp + 0x5c]
mov edi, dword [esp + 0x54]
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x11c], esi
mov esi, dword [esp + 0x60]
mov dword [esp + 0x114], ecx
lea eax, [esp + 0x114]
mov ecx, edi
mov byte [esp + 0x43], 1
mov dword [esp + 0x118], edx
mov dword [esp + 0x120], ebx
mov dword [esp + 0x124], esi
call fcn.00485e10
cmp edi, 4
jle 0x487415
mov dword [esp + 0x3c], esi
mov dword [esp + 0x60], ebx
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xcc], eax
cmp eax, dword [esp + 0x110]
jg 0x487fa0
mov eax, dword [esp + 0x9c]
mov edx, dword [esp + 0xcc]
mov ecx, dword [esp + 0xb8]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x108]
imul edx, eax
cmp byte [esp + 0xf], 0
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0x30], ecx
lea ecx, [eax + edx*4]
mov dword [esp + 0x44], ecx
je 0x4876e7
cmp byte [esp + 0x5b], 0
jne 0x487499
mov ecx, dword [esp + 0x108]
test ecx, ecx
jle 0x487499
mov eax, dword [esp + 0x44]
add eax, 3
mov edi, edi
mov byte [eax], 0
add eax, 4
dec ecx
jne 0x487490
mov esi, dword [esp + 0xb8]
mov edx, dword [esp + 0x7c]
mov eax, dword [esp + 0x44]
mov edi, dword [esp + 0x9c]
push esi
push edx
push eax
lea ecx, [esp + 0xc8]
push ecx
lea edx, [esp + 0xb8]
push edx
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x4c]
push ecx
mov edx, edi
call fcn.00485570
mov edx, dword [esp + 0x50]
xor eax, eax
xor ebx, ebx
add esp, 0x1c
mov dword [esp + 0x38], eax
mov dword [esp + 0x48], ebx
mov ecx, edi
mov dword [esp + 0x20], edi
cmp byte [esp + 0x1b], al
je 0x487505
mov ecx, dword [esp + 0xa8]
mov eax, edx
add ecx, edx
mov dword [esp + 0x38], eax
mov dword [esp + 0x20], ecx
mov edx, dword [esp + 0x68]
cmp byte [esp + 0x1a], bl
je 0x48751e
mov esi, dword [esp + 0xbc]
mov ebx, edx
mov dword [esp + 0x48], edx
add esi, edx
cmp byte [esp + 0x19], 0
je 0x487643
cmp dword [esp + 0xdc], 0
jle 0x487547
mov ecx, dword [esp + 0xdc]
mov eax, dword [esp + 0x7c]
mov edi, dword [esp + 0xa4]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0xbc]
mov edi, dword [esp + 0xa8]
add eax, dword [esp + 0xec]
add edi, dword [esp + 0xf0]
add eax, dword [esp + 0xe8]
add edi, dword [esp + 0xe4]
xor ecx, ecx
mov dword [esp + 0x10], eax
cmp ebx, esi
jge 0x487619
mov eax, ebx
imul eax, dword [esp + 0x9c]
sub esi, ebx
mov ebx, dword [esp + 0xa4]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x48], esi
lea ebx, [ebx]
mov esi, dword [esp + 0x38]
add ecx, dword [esp + 0xe4]
cmp esi, dword [esp + 0x20]
jge 0x4875fb
cmp dword [esp + 0xe8], 0
je 0x4875c7
mov eax, ecx
cdq
idiv edi
test eax, eax
jne 0x4875c7
inc ecx
jmp 0x4875f3
cmp dword [esp + 0xec], 0
je 0x4875e2
mov eax, ecx
cdq
idiv edi
mov edx, dword [esp + 0x10]
dec edx
cmp eax, edx
jne 0x4875e2
inc ecx
jmp 0x4875f3
mov eax, dword [esp + 0x1c]
lea edx, [esi + eax]
mov eax, dword [esp + 0x44]
mov edx, dword [eax + edx*4]
mov dword [ebx + ecx*4], edx
inc esi
inc ecx
cmp esi, dword [esp + 0x20]
jl 0x4875b1
mov eax, dword [esp + 0x9c]
add ecx, dword [esp + 0xf0]
add dword [esp + 0x1c], eax
dec dword [esp + 0x48]
jne 0x4875a0
mov eax, dword [esp + 0x10]
jmp 0x487620
mov ebx, dword [esp + 0xa4]
cmp byte [esp + 0x1b], 0
mov dword [esp + 0x44], ebx
je 0x48762f
mov dword [esp + 0x24], edi
cmp byte [esp + 0x1a], 0
je 0x4876da
mov dword [esp + 0x30], eax
jmp 0x4876da
xor edx, edx
cmp ebx, esi
jge 0x4876b5
mov ecx, ebx
imul ecx, edi
mov edi, dword [esp + 0xa4]
add ecx, eax
mov eax, dword [esp + 0x44]
lea ecx, [eax + ecx*4]
mov eax, esi
sub eax, ebx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x44], eax
lea ebx, [ebx]
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x38], eax
jge 0x487696
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
sub ecx, dword [esp + 0x38]
mov ebx, dword [eax]
mov dword [edi + edx*4], ebx
add eax, 4
inc edx
dec ecx
jne 0x487686
mov ebx, dword [esp + 0x48]
mov eax, dword [esp + 0x9c]
add eax, eax
add eax, eax
add dword [esp + 0x1c], eax
dec dword [esp + 0x44]
jne 0x487670
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x38]
jmp 0x4876bc
mov edi, dword [esp + 0xa4]
cmp byte [esp + 0x1b], 0
mov dword [esp + 0x44], edi
je 0x4876cd
sub ecx, eax
mov dword [esp + 0x24], ecx
cmp byte [esp + 0x1a], 0
je 0x4876da
sub esi, ebx
mov dword [esp + 0x30], esi
mov eax, dword [esp + 0x30]
imul eax, dword [esp + 0x24]
mov dword [esp + 0x48], eax
mov ebx, dword [esp + 0x48]
xor esi, esi
cmp byte [esp + 0x66], 0
je 0x487779
cmp byte [esp + 0x53], 0
mov dword [esp + 0x88], esi
mov dword [esp + 0x94], esi
je 0x48772e
mov eax, dword [esp + 0x10c]
mov ecx, dword [esp + 0x24]
cmp eax, ecx
jle 0x487727
sub eax, ecx
mov dword [esp + 0x94], eax
jmp 0x48772e
mov dword [esp + 0x94], esi
cmp byte [esp + 0x50], 0
je 0x487756
mov eax, dword [esp + 0xe0]
mov ecx, dword [esp + 0x30]
cmp eax, ecx
jle 0x48774f
sub eax, ecx
mov dword [esp + 0x88], eax
jmp 0x487756
mov dword [esp + 0x88], esi
cmp dword [esp + 0x54], 4
jle 0x487779
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x94], ecx
mov dword [esp + 0x88], eax
cmp dword [esp + 0x54], 3
jne 0x4877b5
cmp byte [esp + 0x5b], 0
jne 0x487861
cmp byte [esp + 0xf], 0
jne 0x487861
cmp ebx, esi
jle 0x487861
mov eax, dword [esp + 0x44]
add eax, 3
mov ecx, ebx
mov byte [eax], 0
add eax, 4
dec ecx
jne 0x4877a7
jmp 0x487861
cmp byte [esp + 0xf], 0
je 0x4877de
cmp ebx, esi
jle 0x487806
mov edx, dword [esp + 0xb0]
mov ecx, dword [esp + 0x44]
mov eax, edx
sub ecx, edx
mov esi, ebx
mov edi, dword [ecx + eax]
mov dword [eax], edi
add eax, 4
dec esi
jne 0x4877d1
jmp 0x48780d
cmp ebx, esi
jle 0x487806
mov edx, dword [esp + 0xb0]
mov ecx, dword [esp + 0x44]
mov eax, edx
sub ecx, edx
mov esi, ebx
mov edi, dword [eax + ecx]
and edi, 0xffffff
mov dword [eax], edi
add eax, 4
dec esi
jne 0x4877f3
jmp 0x48780d
mov edx, dword [esp + 0xb0]
mov eax, dword [esp + 0x30]
mov edi, dword [esp + 0x54]
mov dword [esp + 0x114], edx
mov edx, dword [esp + 0x44]
mov dword [esp + 0x11c], ebx
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x124], eax
lea eax, [esp + 0x114]
mov ecx, edi
mov dword [esp + 0x118], edx
mov dword [esp + 0x120], ebx
call fcn.00485e10
cmp edi, 4
jle 0x487861
mov ecx, dword [esp + 0x30]
mov eax, ebx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x30], eax
mov ebx, dword [esp + 0x70]
cmp ebx, 1
jge 0x487a69
cmp byte [esp + 0x43], 0
jne 0x48788d
mov ecx, dword [esp + 0x78]
cmp ecx, esi
jle 0x48788d
mov eax, dword [esp + 0x5c]
add eax, 3
mov byte [eax], 0
add eax, 4
dec ecx
jne 0x487884
mov dword [esp + 0x10], esi
cmp dword [esp + 0x78], esi
jle 0x487f80
mov edx, dword [esp + 0x44]
mov edx, dword [edx]
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x8c], edx
jmp 0x4878b7
mov edx, dword [esp + 0x8c]
mov eax, dword [esp + 0x5c]
lea ecx, [esi*4]
mov eax, dword [ecx + eax]
cmp eax, edx
je 0x4878f0
cmp edx, dword [esp + 0x7c]
jne 0x487a55
mov edi, dword [esp + 0x90]
cmp edi, 0xffffffff
je 0x4878f0
xor edx, edx
cmp eax, edi
setne dl
mov eax, edx
test eax, eax
je 0x487a55
mov eax, esi
cdq
idiv ebx
mov edi, dword [esp + 0x60]
sub edi, dword [esp + 0x88]
sub edi, eax
cmp dword [esp + 0x30], edi
jg 0x487a55
mov eax, ebx
sub eax, edx
sub eax, dword [esp + 0x94]
cmp dword [esp + 0x24], eax
jg 0x487a55
xor edi, edi
mov byte [esp + 0xd], 1
mov dword [esp + 0x38], edi
cmp dword [esp + 0x48], edi
jle 0x4879ac
mov byte [esp + 0xd], 1
mov edx, esi
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x38]
mov eax, dword [ecx + eax*4]
mov ecx, dword [esp + 0x5c]
mov ecx, dword [ecx + esi*4]
cmp ecx, eax
je 0x487982
cmp eax, dword [esp + 0x7c]
jne 0x487a48
mov eax, dword [esp + 0x90]
cmp eax, 0xffffffff
je 0x48797e
xor ebx, ebx
cmp ecx, eax
setne bl
mov eax, ebx
test eax, eax
je 0x487a48
mov ebx, dword [esp + 0x3c]
inc edi
cmp edi, dword [esp + 0x24]
jge 0x48798c
inc esi
jmp 0x48799d
lea eax, [ebx*4]
add dword [esp + 0x20], eax
xor edi, edi
add edx, ebx
mov esi, edx
mov eax, dword [esp + 0x38]
inc eax
mov dword [esp + 0x38], eax
cmp eax, dword [esp + 0x48]
jl 0x487941
mov ebx, dword [esp + 0x10]
cmp byte [esp + 0xd], 0
mov byte [esp + 0x15], 1
je 0x487ff6
cmp byte [esp + 0xf], 0
mov ecx, dword [esp + 0x10c]
mov edx, dword [esp + 0x9c]
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0xe0]
mov dword [esp + 0x24], edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x60], ecx
jne 0x487ff6
cmp byte [esp + 0x5a], 0
je 0x487ff6
mov ecx, dword [esp + 0x7c]
cmp ecx, 0xffffffff
je 0x487ff6
cmp dword [esp + 0x54], 3
push eax
push ecx
jne 0x487fbb
mov eax, dword [esp + 0x4c]
push eax
lea ecx, [esp + 0xc8]
push ecx
lea eax, [esp + 0xb8]
push eax
lea ecx, [esp + 0x7c]
push ecx
lea eax, [esp + 0x4c]
push eax
call fcn.00485570
add esp, 0x1c
jmp 0x487ff6
mov esi, dword [esp + 0x10]
mov ebx, dword [esp + 0x3c]
mov byte [esp + 0xd], 0
inc esi
mov dword [esp + 0x10], esi
cmp esi, dword [esp + 0x78]
jl 0x4878b0
jmp 0x487f80
mov ecx, dword [esp + 0x90]
cmp ecx, 0xffffffff
jne 0x487c89
mov dword [esp + 0x10], esi
cmp dword [esp + 0x78], esi
jle 0x487f80
mov esi, dword [esp + 0x3c]
jmp 0x487a90
mov ecx, dword [esp + 0x10]
mov eax, ecx
cdq
idiv esi
mov edi, dword [esp + 0x60]
sub edi, eax
sub edi, dword [esp + 0x88]
cmp dword [esp + 0x30], edi
jg 0x487c75
mov eax, esi
sub eax, edx
sub eax, dword [esp + 0x94]
cmp dword [esp + 0x24], eax
jg 0x487c75
xor edi, edi
mov byte [esp + 0xd], 1
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], ecx
cmp dword [esp + 0x48], edi
jle 0x4879ac
mov eax, ecx
lea edx, [eax*4]
mov byte [esp + 0xd], 1
mov dword [esp + 0xd8], eax
mov dword [esp + 0x38], edx
jmp 0x487b00
mov esi, dword [esp + 0x5c]
movzx eax, byte [esi + ecx*4 + 2]
mov dl, byte [esi + ecx*4 + 1]
mov byte [esp + 0x18], al
movzx eax, byte [esi + ecx*4]
mov ecx, dword [esp + 0x7c]
mov byte [esp + 0x14], al
mov eax, dword [esp + 0x44]
mov byte [esp + 0x51], dl
cmp dword [eax + edi*4], ecx
je 0x487c14
mov cl, byte [eax + edi*4 + 2]
mov dl, byte [eax + edi*4 + 1]
mov al, byte [eax + edi*4]
movzx esi, cl
mov byte [esp + 0xe], al
cmp ebx, esi
jle 0x487b4b
mov byte [esp + 0x2f], 0
jmp 0x487b53
mov al, cl
sub al, bl
mov byte [esp + 0x2f], al
movzx eax, dl
cmp ebx, eax
jle 0x487b61
mov byte [esp + 0x2e], 0
jmp 0x487b69
mov al, dl
sub al, bl
mov byte [esp + 0x2e], al
movzx eax, byte [esp + 0xe]
mov dword [esp + 0x8c], eax
cmp ebx, eax
jle 0x487b80
mov byte [esp + 0x2a], 0
jmp 0x487b8a
mov al, byte [esp + 0xe]
sub al, bl
mov byte [esp + 0x2a], al
mov eax, 0xff
sub eax, esi
cmp ebx, eax
jle 0x487b9c
mov byte [esp + 0x2b], 0xff
jmp 0x487ba3
lea eax, [ecx + ebx]
mov byte [esp + 0x2b], al
movzx eax, dl
mov ecx, 0xff
sub ecx, eax
cmp ebx, ecx
jle 0x487bb8
mov byte [esp + 0x2c], 0xff
jmp 0x487bbf
lea ecx, [edx + ebx]
mov byte [esp + 0x2c], cl
mov edx, 0xff
sub edx, dword [esp + 0x8c]
cmp ebx, edx
jle 0x487bd4
or cl, 0xff
jmp 0x487bda
mov cl, bl
add cl, byte [esp + 0xe]
mov al, byte [esp + 0x18]
cmp al, byte [esp + 0x2f]
jb 0x487c68
cmp al, byte [esp + 0x2b]
ja 0x487c68
mov al, byte [esp + 0x51]
cmp al, byte [esp + 0x2e]
jb 0x487c68
cmp al, byte [esp + 0x2c]
ja 0x487c68
mov al, byte [esp + 0x14]
cmp al, byte [esp + 0x2a]
jb 0x487c68
cmp al, cl
ja 0x487c68
mov eax, dword [esp + 0x20]
inc eax
mov dword [esp + 0x20], eax
cmp eax, dword [esp + 0x24]
jge 0x487c29
inc dword [esp + 0x1c]
jmp 0x487c54
mov eax, dword [esp + 0x3c]
lea ecx, [eax*4]
add dword [esp + 0x38], ecx
mov ecx, dword [esp + 0xd8]
add ecx, eax
mov dword [esp + 0x20], 0
mov dword [esp + 0xd8], ecx
mov dword [esp + 0x1c], ecx
inc edi
cmp edi, dword [esp + 0x48]
jge 0x4879ac
mov ecx, dword [esp + 0x1c]
jmp 0x487b00
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x3c]
mov byte [esp + 0xd], 0
inc ecx
mov dword [esp + 0x10], ecx
cmp ecx, dword [esp + 0x78]
jl 0x487a90
jmp 0x487f80
mov eax, ecx
shr eax, 0x10
movzx esi, al
mov edx, ecx
shr edx, 8
mov byte [esp + 0x15], al
cmp ebx, esi
jle 0x487ca5
mov byte [esp + 0x67], 0
jmp 0x487cab
sub al, bl
mov byte [esp + 0x67], al
movzx eax, dl
mov dword [esp + 0x8c], eax
cmp ebx, eax
jle 0x487cc0
mov byte [esp + 0x77], 0
jmp 0x487cc8
mov al, dl
sub al, bl
mov byte [esp + 0x77], al
movzx edi, cl
cmp ebx, edi
jle 0x487cd6
mov byte [esp + 0x59], 0
jmp 0x487cde
mov al, cl
sub al, bl
mov byte [esp + 0x59], al
mov eax, 0xff
sub eax, esi
cmp ebx, eax
jle 0x487cf0
mov byte [esp + 0x6f], 0xff
jmp 0x487cfa
mov al, bl
add al, byte [esp + 0x15]
mov byte [esp + 0x6f], al
mov eax, 0xff
sub eax, dword [esp + 0x8c]
cmp ebx, eax
jle 0x487d11
mov byte [esp + 0x4f], 0xff
jmp 0x487d18
lea eax, [edx + ebx]
mov byte [esp + 0x4f], al
mov edx, 0xff
sub edx, edi
cmp ebx, edx
jle 0x487d2a
mov byte [esp + 0x15], 0xff
jmp 0x487d31
lea eax, [ecx + ebx]
mov byte [esp + 0x15], al
cmp dword [esp + 0x78], 0
mov dword [esp + 0x10], 0
jle 0x487f80
mov esi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x10]
mov eax, ecx
cdq
idiv esi
mov edi, dword [esp + 0x60]
sub edi, eax
sub edi, dword [esp + 0x88]
cmp dword [esp + 0x30], edi
jg 0x487f71
mov eax, esi
sub eax, edx
sub eax, dword [esp + 0x94]
cmp dword [esp + 0x24], eax
jg 0x487f71
xor esi, esi
mov edi, ecx
mov byte [esp + 0xd], 1
mov dword [esp + 0x20], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x1c], edi
cmp dword [esp + 0x48], esi
jle 0x4879ac
mov eax, ecx
lea ecx, [eax*4]
mov byte [esp + 0xd], 1
mov dword [esp + 0x8c], eax
mov dword [esp + 0xd8], ecx
jmp 0x487dc0
mov eax, dword [esp + 0x5c]
mov dl, byte [eax + edi*4 + 1]
mov cl, byte [eax + edi*4 + 2]
mov al, byte [eax + edi*4]
mov byte [esp + 0x14], al
mov eax, dword [esp + 0x44]
mov byte [esp + 0x51], dl
mov edx, dword [eax + esi*4]
mov byte [esp + 0x18], cl
cmp edx, dword [esp + 0x7c]
jne 0x487e2c
cmp cl, byte [esp + 0x67]
jb 0x487f08
cmp cl, byte [esp + 0x6f]
ja 0x487f08
mov cl, byte [esp + 0x51]
cmp cl, byte [esp + 0x77]
jb 0x487f08
cmp cl, byte [esp + 0x4f]
ja 0x487f08
mov cl, byte [esp + 0x14]
cmp cl, byte [esp + 0x59]
jb 0x487f08
cmp cl, byte [esp + 0x15]
ja 0x487f08
mov cl, byte [eax + esi*4 + 2]
mov dl, byte [eax + esi*4 + 1]
mov al, byte [eax + esi*4]
movzx esi, cl
mov byte [esp + 0xe], al
cmp ebx, esi
jle 0x487e49
mov byte [esp + 0x2f], 0
jmp 0x487e51
mov al, cl
sub al, bl
mov byte [esp + 0x2f], al
movzx eax, dl
cmp ebx, eax
jle 0x487e5f
mov byte [esp + 0x2e], 0
jmp 0x487e67
mov al, dl
sub al, bl
mov byte [esp + 0x2e], al
mov al, byte [esp + 0xe]
movzx edi, al
cmp ebx, edi
jle 0x487e79
mov byte [esp + 0x2a], 0
jmp 0x487e7f
sub al, bl
mov byte [esp + 0x2a], al
mov eax, 0xff
sub eax, esi
cmp ebx, eax
jle 0x487e91
mov byte [esp + 0x2b], 0xff
jmp 0x487e98
lea eax, [ecx + ebx]
mov byte [esp + 0x2b], al
movzx eax, dl
mov ecx, 0xff
sub ecx, eax
cmp ebx, ecx
jle 0x487ead
mov byte [esp + 0x2c], 0xff
jmp 0x487eb4
lea ecx, [edx + ebx]
mov byte [esp + 0x2c], cl
mov edx, 0xff
sub edx, edi
cmp ebx, edx
jle 0x487ec4
or cl, 0xff
jmp 0x487eca
mov cl, bl
add cl, byte [esp + 0xe]
mov al, byte [esp + 0x18]
cmp al, byte [esp + 0x2f]
jb 0x487f64
cmp al, byte [esp + 0x2b]
ja 0x487f64
mov al, byte [esp + 0x51]
cmp al, byte [esp + 0x2e]
jb 0x487f64
cmp al, byte [esp + 0x2c]
ja 0x487f64
mov al, byte [esp + 0x14]
cmp al, byte [esp + 0x2a]
jb 0x487f64
cmp al, cl
ja 0x487f64
mov eax, dword [esp + 0x20]
inc eax
mov dword [esp + 0x20], eax
cmp eax, dword [esp + 0x24]
jge 0x487f1e
mov edi, dword [esp + 0x1c]
inc edi
jmp 0x487f48
mov eax, dword [esp + 0x3c]
mov edi, dword [esp + 0x8c]
lea ecx, [eax*4]
add dword [esp + 0xd8], ecx
add edi, eax
mov dword [esp + 0x20], 0
mov dword [esp + 0x8c], edi
mov esi, dword [esp + 0x38]
inc esi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x38], esi
cmp esi, dword [esp + 0x48]
jl 0x487dc0
jmp 0x4879ac
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x3c]
mov byte [esp + 0xd], 0
inc ecx
mov dword [esp + 0x10], ecx
cmp ecx, dword [esp + 0x78]
jl 0x487d48
mov eax, dword [esp + 0xcc]
inc eax
mov dword [esp + 0xcc], eax
cmp eax, dword [esp + 0x110]
jle 0x487431
mov ebx, dword [esp + 0x10]
mov eax, dword [0x4f13d8]
push 1
push 0
push 0xffffffffffffffff
push 0x4d9220
push eax
call fcn.004a5c20
jmp 0x4879b0
mov ecx, dword [esp + 0xb8]
push ecx
lea eax, [esp + 0xc8]
push eax
lea ecx, [esp + 0xb8]
push ecx
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x4c]
push ecx
call fcn.00485570
add esp, 0x1c
jmp 0x487ff6
mov dword [esp + 0xb4], 0
mov ebx, dword [esp + 0x10]
cmp byte [esp + 0x17], 0
je 0x488011
mov edx, dword [esp + 0xc0]
push edx
call dword [sym.imp.GDI32.dll_DeleteDC]
jmp 0x488021
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0xc0]
push eax
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp byte [esp + 0x2d], 0
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
je 0x48803c
mov eax, dword [esp + 0x80]
test eax, eax
je 0x48803c
push eax
call esi
cmp byte [esp + 0x16], 0
je 0x48804a
cmp byte [esp + 0x52], 0
je 0x488054
mov ecx, dword [esp + 0x84]
push ecx
call esi
mov eax, dword [esp + 0xac]
test eax, eax
je 0x488062
push eax
call esi
mov esi, dword [esp + 0xd4]
test esi, esi
je 0x488087
mov eax, dword [esp + 0xf4]
test eax, eax
je 0x488080
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [esp + 0xa4]
test eax, eax
je 0x48809b
push eax
call fcn.004ba14c
add esp, 4
mov eax, dword [esp + 0xb0]
test eax, eax
je 0x4880af
push eax
call fcn.004ba14c
add esp, 4
mov eax, dword [esp + 0xd0]
test eax, eax
je 0x4880c3
push eax
call fcn.004ba14c
add esp, 4
mov eax, dword [esp + 0x98]
test eax, eax
je 0x4880d7
push eax
call fcn.004ba14c
add esp, 4
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x4880e8
push eax
call fcn.004ba14c
add esp, 4
cmp dword [esp + 0xb4], 0
jne 0x488110
mov eax, dword [0x4f13d8]
push 0x18
push 0
push 3
call fcn.00401570
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp byte [esp + 0x15], 0
jne 0x488135
mov eax, dword [0x4f13d8]
push 0x18
push 0
push 2
call fcn.00401570
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp byte [esp + 0xd], 0
je 0x488102
mov ecx, dword [esp + 0x54]
cmp ecx, 3
je 0x488162
mov ecx, dword [esp + 0x60]
mov edi, dword [esp + 0x3c]
mov edx, dword [esp + 0x54]
mov eax, ebx
call fcn.004854f0
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x10], eax
mov ebx, eax
mov eax, ebx
cdq
idiv dword [esp + 0x3c]
cmp byte [esp + 0x17], 0
je 0x48817d
mov esi, dword [ebp + 0xc]
add esi, edx
mov edx, dword [ebp + 0x10]
lea edi, [eax + edx]
jmp 0x488195
sub edx, dword [esp + 0xc4]
sub eax, dword [esp + 0xc8]
add edx, dword [ebp + 0xc]
add eax, dword [ebp + 0x10]
mov esi, edx
mov edi, eax
mov eax, dword [esp + 0xa0]
test eax, eax
je 0x48828c
cmp ecx, 1
je 0x4881dd
cmp ecx, 7
je 0x4881dd
cmp ecx, 2
je 0x4881e8
cmp ecx, 8
je 0x4881e8
test ecx, ecx
je 0x4881c1
cmp ecx, 6
jne 0x4881cc
mov ecx, 1
sub ecx, dword [esp + 0x24]
add esi, ecx
mov ebx, dword [esp + 0x30]
cmp byte [esp + 0x1b], 0
je 0x4881f7
mov dword [esp + 0x34], esi
jmp 0x4881fb
mov ecx, 1
sub ecx, dword [esp + 0x24]
add esi, ecx
mov ebx, dword [esp + 0x30]
mov edx, 1
sub edx, ebx
add edi, edx
jmp 0x4881d0
add dword [esp + 0x34], esi
cmp byte [esp + 0x1a], 0
je 0x488208
mov dword [esp + 0x68], edi
jmp 0x48820c
add dword [esp + 0x68], edi
cmp eax, 1
jne 0x488244
call fcn.004137a0
mov ecx, eax
mov eax, dword [esp + 0x24]
cdq
push edx
push eax
push 0
push ecx
call fcn.004c9840
add esi, eax
call fcn.004137a0
mov ecx, eax
mov eax, ebx
cdq
push edx
push eax
push 0
push ecx
call fcn.004c9840
add edi, eax
jmp 0x4882b2
cmp eax, 2
jne 0x48825f
mov eax, dword [esp + 0x24]
cdq
sub eax, edx
sar eax, 1
add esi, eax
mov eax, ebx
cdq
sub eax, edx
sar eax, 1
add edi, eax
jmp 0x4882b2
cmp eax, 4
jne 0x48826a
lea edi, [edi + ebx - 1]
jmp 0x4882b2
cmp eax, 5
jne 0x488279
mov edx, dword [esp + 0x24]
lea esi, [esi + edx - 1]
jmp 0x4882b2
cmp eax, 6
jne 0x4882b2
mov eax, dword [esp + 0x24]
lea esi, [esi + eax - 1]
lea edi, [edi + ebx - 1]
jmp 0x4882b2
cmp byte [esp + 0x1b], 0
je 0x488299
mov dword [esp + 0x34], esi
jmp 0x48829d
add dword [esp + 0x34], esi
cmp byte [esp + 0x1a], 0
mov ebx, dword [esp + 0x30]
je 0x4882ae
mov dword [esp + 0x68], edi
jmp 0x4882b2
add dword [esp + 0x68], edi
mov ecx, dword [esp + 0x12c]
test ecx, ecx
je 0x4882cb
mov eax, esi
cdq
push 0x18
push edx
push eax
mov eax, ecx
call fcn.00401570
mov ecx, dword [esp + 0x128]
test ecx, ecx
je 0x4882e4
mov eax, edi
cdq
push 0x18
push edx
push eax
mov eax, ecx
call fcn.00401570
cmp byte [esp + 0x58], 0
mov eax, dword [esp + 0xcc]
jne 0x4882f3
inc eax
cmp byte [esp + 0x5a], 0
je 0x488358
mov edx, dword [esp + 0xa8]
test edx, edx
jne 0x488309
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0xbc]
test ecx, ecx
jne 0x488316
mov ecx, ebx
push 0xffffffffffffffff
push 0xffffffffffffffff
push eax
mov eax, dword [esp + 0x30]
push ebx
push eax
mov eax, dword [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x80]
push edx
push ecx
call fcn.004856f0
add esp, 0x20
test eax, eax
je 0x48834d
mov ecx, dword [esp + 0x104]
mov edi, eax
call fcn.004a5f60
test eax, eax
jne 0x48836f
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov ecx, dword [esp + 0x104]
test ecx, ecx
je 0x48836f
cdq
push 0x18
push edx
push eax
mov eax, ecx
call fcn.00401570
mov edx, dword [0x4f13d8]
push 1
push 0
push 0xffffffffffffffff
push 0x4d69c8
push edx
call fcn.004a5c20
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov ecx, dword [ebp + 8]
push 0x4d6959
push 0
push 0x4d9598
call fcn.0042d070
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18