Function at 0x563090
Capabilities:
Capture webcam image
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb74
push ebx
xor ebx, ebx
push esi
push edi
push ebx
push ebx
push ebx
push ebx
lea eax, [esp + 0x38]
push eax
mov esi, 1
mov dword [esp + 0x60], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x50], 0xffffffff
mov dword [esp + 0x84], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x30], ebx
call dword [sym.imp.USER32.dll_SetRect]
xor eax, eax
mov ecx, 0x1ef
lea edi, [esp + 0xa8]
rep stosd dword es:[edi], eax
mov edi, dword [ebp + 8]
mov eax, dword [edi + 4]
test eax, eax
je 0x56373f
cmp byte [eax], 0x2d
jne 0x56373f
push 0x61
push eax
call fcn.005cbf10
add esp, 8
test eax, eax
je 0x563150
mov dword [esp + 0x4c], esi
mov ecx, dword [edi + 4]
push 0x69
push ecx
call fcn.005cbf10
add esp, 8
test eax, eax
je 0x563166
mov dword [esp + 0x24], esi
mov edx, dword [edi + 4]
push 0x64
push edx
call fcn.005cbf10
add esp, 8
test eax, eax
je 0x56317c
mov dword [esp + 0x14], esi
mov eax, dword [edi + 4]
push 0x6d
push eax
call fcn.005cbf10
add esp, 8
test eax, eax
je 0x563192
mov dword [esp + 0x5c], esi
mov ecx, dword [edi + 4]
push 0x65
push ecx
call fcn.005cbf10
add esp, 8
test eax, eax
je 0x5631a8
mov dword [esp + 0x48], esi
mov edx, dword [edi + 4]
push 0x62
push edx
call fcn.005cbf10
add esp, 8
test eax, eax
je 0x5631c2
mov dword [esp + 0x48], 2
mov eax, dword [edi + 4]
push 0x77
push eax
call fcn.005cbf10
add esp, 8
test eax, eax
je 0x5631d8
mov dword [esp + 0x40], esi
mov ecx, dword [edi + 4]
push 0x68
push ecx
call fcn.005cbf10
add esp, 8
test eax, eax
je 0x5631f2
mov dword [esp + 0x40], 2
mov edx, dword [edi + 4]
push 0x73
push edx
call fcn.005cbf10
add esp, 8
test eax, eax
je 0x563208
mov dword [esp + 0x44], esi
mov eax, dword [edi + 4]
push 0x78
push eax
call fcn.005cbf10
add esp, 8
test eax, eax
je 0x56321e
mov dword [esp + 0x70], esi
mov ecx, dword [edi + 4]
push 0x6b
push ecx
call fcn.005cbf10
add esp, 8
test eax, eax
je 0x56326b
lea esi, [eax + 1]
mov al, byte [esi]
test al, al
mov dword [esp + 0x54], 1
je 0x563266
movzx edx, al
push edx
call fcn.005cd445
add esp, 4
test eax, eax
je 0x563266
push esi
call fcn.005cbe51
xor ecx, ecx
add esp, 4
test eax, eax
setne cl
inc ecx
mov dword [esp + 0x54], ecx
mov esi, 1
mov edx, dword [edi + 4]
push 0x74
push edx
call fcn.005cbf10
add esp, 8
test eax, eax
je 0x563281
mov dword [esp + 0x6c], esi
mov eax, dword [edi + 4]
push 0x70
push eax
call fcn.005cbf10
add esp, 8
test eax, eax
je 0x563297
mov dword [esp + 0x68], esi
mov ecx, dword [edi + 4]
push 0x6c
push ecx
call fcn.005cbf10
add esp, 8
test eax, eax
je 0x5632ad
mov dword [esp + 0x64], esi
mov edx, dword [edi + 4]
push 0x6f
push edx
call fcn.005cbf10
add esp, 8
test eax, eax
je 0x5632c3
mov dword [esp + 0x60], esi
mov eax, dword [edi + 4]
push 0x75
push eax
call fcn.005cbf10
add esp, 8
test eax, eax
je 0x5632d9
mov dword [esp + 0x20], esi
mov ecx, dword [edi + 4]
push 0x63
push ecx
call fcn.005cbf10
add esp, 8
test eax, eax
je 0x5632ef
mov dword [esp + 0x18], esi
mov edx, dword [edi + 4]
push 0x72
push edx
call fcn.005cbf10
add esp, 8
test eax, eax
je 0x563305
mov dword [esp + 0x74], esi
mov eax, dword [edi + 4]
push 0x6e
push eax
call fcn.005cbf10
add esp, 8
test eax, eax
je 0x563349
lea esi, [eax + 1]
mov al, byte [esi]
test al, al
je 0x563349
movzx ecx, al
push ecx
call fcn.005cd445
add esp, 4
test eax, eax
je 0x563349
push esi
call fcn.005cbe51
add esp, 4
test eax, eax
mov dword [esp + 0x58], eax
jge 0x563349
mov dword [esp + 0x58], 0
mov edx, dword [edi + 4]
push 0x7a
push edx
call fcn.005cbf10
add esp, 8
test eax, eax
je 0x5633a3
lea esi, [eax + 1]
mov al, byte [esi]
test al, al
je 0x5633a3
movzx eax, al
push eax
call fcn.005cd445
add esp, 4
test eax, eax
je 0x5633a3
push esi
call fcn.005cbe51
add esp, 4
cmp eax, 1
jne 0x563388
mov dword [esp + 0x50], eax
jmp 0x5633a3
cmp eax, 2
jne 0x563393
mov dword [esp + 0x50], eax
jmp 0x5633a3
xor ecx, ecx
cmp eax, 3
setne cl
dec ecx
and ecx, 4
mov dword [esp + 0x50], ecx
mov edx, dword [edi + 4]
push 0x79
push edx
call fcn.005cbf10
add esp, 8
test eax, eax
je 0x5633fb
lea esi, [eax + 1]
mov al, byte [esi]
test al, al
je 0x5633fb
movzx eax, al
push eax
call fcn.005cd445
add esp, 4
test eax, eax
je 0x5633fb
push esi
call fcn.005cbe51
add esp, 4
cmp eax, 1
mov dword [esp + 0x38], eax
jge 0x5633ea
mov dword [esp + 0x38], 1
jmp 0x5633fb
mov ecx, dword [esp + 0x38]
mov eax, 0xff
cmp ecx, eax
jle 0x5633fb
mov dword [esp + 0x38], eax
mov ecx, dword [edi + 4]
push 0x66
push ecx
call fcn.005cbf10
add esp, 8
test eax, eax
je 0x563437
mov al, byte [eax + 1]
cmp al, 0x6c
jne 0x56341b
mov ebx, 1
jmp 0x563433
cmp al, 0x73
jne 0x563426
mov ebx, 2
jmp 0x563433
cmp al, 0x64
jne 0x563f1b
mov ebx, 3
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0x74]
test eax, eax
mov esi, 2
je 0x56348e
push 1
call fcn.00561350
mov eax, dword [0x643ed8]
add esp, 4
push 1
push 0
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [edi + 8]
test eax, eax
jne 0x56348e
test ebx, ebx
jne 0x56348e
mov eax, dword [esp + 0x20]
test eax, eax
je 0x564887
mov ecx, dword [0x643ed8]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x18]
test eax, eax
je 0x5634ef
mov edx, dword [0x643ed8]
push 0
push 0
push 0x418
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
jle 0x5634df
mov ebx, eax
mov eax, dword [0x643ed8]
push 0
push 0
push 0x416
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
dec ebx
jne 0x5634b2
mov ecx, dword [0x643ed8]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ebx, dword [esp + 0x1c]
mov eax, dword [edi + 8]
test eax, eax
jne 0x5634ef
test ebx, ebx
jne 0x5634f7
jmp 0x5638a0
test ebx, ebx
je 0x563635
lea eax, [esp + 0x970]
push 0x104
push eax
call fcn.00423a00
mov ecx, dword [0x5f0764]
mov edx, dword [0x5f0768]
mov eax, dword [0x5f076c]
mov dword [esp + 0x978], ecx
lea ecx, [esp + 0x978]
mov dword [esp + 0x97c], edx
push ecx
lea edx, [esp + 0x97c]
push edx
mov dword [esp + 0x988], eax
call fcn.004222b0
add esp, 0x10
test eax, eax
je 0x564030
lea ecx, [esp + 0xa78]
push 0x104
push ecx
call fcn.00423a00
mov edx, dword [str.toolbar]
mov eax, dword [0x5e7f44]
add esp, 8
cmp ebx, 1
mov dword [esp + 0xa78], edx
mov dword [esp + 0xa7c], eax
jne 0x5635df
lea ecx, [esp + 0x970]
push ebx
push ecx
call fcn.00425b60
add esp, 8
test eax, eax
jne 0x5635b4
mov eax, dword [edi]
push ebx
lea edx, [esp + 0x974]
push edx
push eax
push 0
call fcn.0048a440
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0x10]
push ecx
lea edx, [esp + 0xa7c]
push edx
lea eax, [esp + 0x978]
push eax
call fcn.00560390
add esp, 0xc
test eax, eax
jne 0x5638a0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp ebx, 2
jne 0x56360b
lea ecx, [esp + 0xa78]
push ecx
lea edx, [esp + 0x974]
push edx
call fcn.00560c10
add esp, 8
test eax, eax
jne 0x5638a0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp ebx, 3
jne 0x5638a0
lea eax, [esp + 0x970]
push eax
push 0
lea ecx, [esp + 0xa80]
push 0
push ecx
call fcn.004c9500
add esp, 0x10
jmp 0x5638a0
mov eax, dword [esp + 0x4c]
test eax, eax
jne 0x563645
mov eax, dword [esp + 0x24]
test eax, eax
je 0x563675
mov eax, dword [0x643ed8]
push 0
push 0
push 0x418
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0x200
jle 0x56366d
push 0
push 0x1519
jmp 0x5640ef
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x563699
mov eax, dword [esp + 0x5c]
test eax, eax
jne 0x563699
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x563699
mov eax, dword [esp + 0x48]
test eax, eax
jne 0x563699
mov eax, dword [esp + 0x40]
test eax, eax
je 0x56373f
mov eax, dword [edi + 8]
test eax, eax
jne 0x5636b8
mov ecx, dword [edi]
push 0
push 0
push ecx
push 0
call fcn.0048a440
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push eax
call fcn.00515900
add esp, 4
test eax, eax
je 0x56373f
mov edx, dword [edi + 8]
push edx
call fcn.005cbe51
add esp, 4
test eax, eax
jle 0x564030
mov ecx, dword [esp + 0x14]
dec eax
test ecx, ecx
mov dword [esp + 0x3c], eax
jne 0x5636f6
mov ecx, dword [esp + 0x48]
test ecx, ecx
jne 0x5636f6
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x56373a
mov edx, dword [0x643ed8]
lea ecx, [esp + 0x18]
push ecx
push eax
push 0x43f
push edx
mov dword [esp + 0x28], 0
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x564030
mov eax, dword [esp + 0x18]
add eax, 0x20
lea edx, [esp + 0xc8]
sub edx, eax
mov edi, edi
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x563730
mov esi, 3
mov al, byte [esp + 0xc8]
test al, al
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
jne 0x5637e3
mov eax, dword [edi + esi*4]
test eax, eax
je 0x5636a0
push eax
call fcn.00515900
add esp, 4
test eax, eax
je 0x5637cc
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x563f1b
mov eax, dword [edi + esi*4]
push eax
call fcn.005cbe51
add esp, 4
test eax, eax
jle 0x5643c6
lea edx, [esp + 0x18]
push edx
dec eax
push eax
mov eax, dword [0x643ed8]
push 0x43f
push eax
mov dword [esp + 0x28], 0
call ebx
test eax, eax
je 0x5643c6
mov eax, dword [esp + 0x18]
add eax, 0x20
lea edx, [esp + 0xc8]
sub edx, eax
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x5637c0
jmp 0x5637e2
mov edx, dword [edi + esi*4]
push edx
lea eax, [esp + 0xcc]
push 0x64
push eax
call fcn.00423900
add esp, 0xc
inc esi
lea ecx, [esp + 0xc8]
push 0x22
push ecx
call fcn.005cbf10
add esp, 8
test eax, eax
jne 0x563f1b
mov ecx, dword [0x643ed8]
lea eax, [esp + 0xc8]
push eax
push 0
push 0x43d
push ecx
call ebx
mov ecx, dword [esp + 0x14]
test ecx, ecx
mov dword [esp + 0x18], eax
je 0x563858
cmp eax, 0xffffffff
je 0x563f1b
push 0
push eax
mov eax, dword [0x643ed8]
push 0x416
push eax
call ebx
test eax, eax
jne 0x564862
mov ecx, dword [edi]
push 3
push eax
push ecx
push eax
call fcn.0048a440
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x5c]
test ecx, ecx
je 0x5638c5
cmp eax, 0xffffffff
je 0x564030
mov ecx, dword [esp + 0x3c]
cmp ecx, 0xffffffff
je 0x564030
mov edx, dword [0x643ed8]
push ecx
push eax
push 0x43e
push edx
call ebx
cmp eax, 0xffffffff
je 0x564030
mov ecx, dword [0x643ed8]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [esp + 0x20]
test eax, eax
je 0x564887
mov edx, dword [0x643ed8]
push edx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x56411c
mov eax, dword [esp + 0x6c]
test eax, eax
mov ebx, dword [esp + 0x4c]
jne 0x5638e9
test ebx, ebx
jne 0x5638e9
mov eax, dword [esp + 0x24]
test eax, eax
je 0x563931
cmp dword [edi + esi*4], 0
push 0
je 0x5643c8
push 0x104
lea edx, [esp + 0x134]
push edx
push esi
push edi
call fcn.005165a0
mov esi, eax
add esp, 0x14
test esi, esi
jl 0x564030
lea ecx, [esp + 0x12c]
push 0x22
push ecx
call fcn.005cbf10
add esp, 8
test eax, eax
jne 0x563f1b
inc esi
mov eax, dword [esp + 0x68]
test eax, eax
jne 0x563949
test ebx, ebx
jne 0x563949
mov eax, dword [esp + 0x24]
test eax, eax
je 0x563e76
cmp dword [edi + esi*4], 0
je 0x563ec0
lea ecx, [esp + 0x868]
push 0x104
push ecx
call fcn.00423a00
xor ebx, ebx
push ebx
push 0x104
lea edx, [esp + 0x878]
push edx
push esi
push edi
call fcn.005165a0
mov esi, eax
add esp, 0x1c
cmp esi, ebx
jge 0x56399b
mov eax, dword [edi]
push 3
push ebx
push eax
push ebx
call fcn.0048a440
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov al, byte [esp + 0x868]
inc esi
test al, al
jne 0x5639bd
mov ecx, dword [edi]
push 3
push ebx
push ecx
push ebx
call fcn.0048a440
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea edx, [esp + 0x868]
push 0x22
push edx
call fcn.005cbf10
add esp, 8
test eax, eax
jne 0x563985
lea ecx, [esp + 0x868]
push ecx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], ebx
call fcn.00515900
add esp, 4
test eax, eax
je 0x563a2a
mov edx, dword [0x645320]
push 0x29
push edx
call dword [sym.imp.USER32.dll_LoadBitmapA]
mov ebx, eax
test ebx, ebx
je 0x563b2f
push 0x2000
push 0
push 0
push 0
push ebx
call dword [sym.imp.USER32.dll_CopyImage]
push ebx
mov dword [esp + 0x18], eax
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x563b2f
cmp byte [esp + 0x868], 0x40
lea eax, [esp + 0x868]
jne 0x563a9a
push ebx
push eax
call fcn.00503170
add esp, 8
cmp eax, ebx
je 0x563a84
cmp dword [eax + 0x87c], ebx
je 0x563a84
cmp dword [eax + 0x754], ebx
je 0x563a84
mov ecx, dword [eax + 0x95c]
cmp ecx, ebx
je 0x563a84
cmp dword [eax + 0x71c], 9
jne 0x563a84
push 0x2000
push ebx
push ebx
push ebx
push ecx
call dword [sym.imp.USER32.dll_CopyImage]
mov dword [esp + 0x14], eax
jmp 0x563b2f
mov ecx, dword [edi]
push 7
push ebx
push ecx
push ebx
call fcn.0048a440
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea edx, [esp + 0x868]
push edx
push eax
call fcn.004222b0
add esp, 8
test eax, eax
je 0x5639a7
lea edx, [esp + 0x868]
push 1
push edx
call fcn.00425b60
add esp, 8
test eax, eax
jne 0x563ae6
mov ecx, dword [edi]
push 1
lea eax, [esp + 0x86c]
push eax
push ecx
push ebx
call fcn.0048a440
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea edx, [esp + 0x868]
push edx
call fcn.00427d20
add esp, 4
test eax, eax
lea ecx, [esp + 0x868]
je 0x563b18
push ebx
push 0xff00ff
lea eax, [esp + 0x1c]
push eax
push ebx
push ecx
call fcn.00429110
add esp, 0x14
jmp 0x563b2f
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x58]
push edx
push eax
push ecx
call fcn.00424540
add esp, 0xc
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x563b5b
mov ebx, dword [esp + 0x1c]
test ebx, ebx
jne 0x563d2c
mov edx, dword [edi]
push 2
push 0
push edx
push 0
call fcn.0048a440
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [esp + 0x78]
push ecx
push 0x18
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
test eax, eax
jne 0x563b90
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [edi]
push 2
push 0
push eax
push 0
call fcn.0048a440
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x7c]
mov eax, dword [esp + 0x80]
xor ebx, ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], eax
mov ecx, dword [edi + esi*4]
cmp ecx, ebx
je 0x563dfe
cmp dword [edi + esi*4 + 4], ebx
je 0x563dfe
cmp dword [edi + esi*4 + 8], ebx
je 0x563dfe
cmp dword [edi + esi*4 + 0xc], ebx
je 0x563dfe
push ecx
call fcn.00515900
add esp, 4
test eax, eax
je 0x563df6
mov ecx, dword [edi + esi*4 + 4]
push ecx
call fcn.00515900
add esp, 4
test eax, eax
je 0x563df6
mov edx, dword [edi + esi*4 + 8]
push edx
call fcn.00515900
add esp, 4
test eax, eax
je 0x563df6
mov eax, dword [edi + esi*4 + 0xc]
push eax
call fcn.00515900
add esp, 4
test eax, eax
je 0x563df6
mov ecx, dword [edi + esi*4]
push ecx
call fcn.005cbe51
mov dword [esp + 0x2c], eax
mov edx, dword [edi + esi*4 + 4]
push edx
call fcn.005cbe51
mov dword [esp + 0x34], eax
mov eax, dword [edi + esi*4 + 8]
push eax
call fcn.005cbe51
mov dword [esp + 0x3c], eax
mov ecx, dword [edi + esi*4 + 0xc]
push ecx
call fcn.005cbe51
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x40]
add esp, 0x10
add esi, 4
test ecx, ecx
mov dword [esp + 0x34], eax
jne 0x563c8a
mov ebx, dword [esp + 0x2c]
test ebx, ebx
jne 0x563c8a
cmp edx, dword [esp + 0x7c]
jne 0x563c8a
cmp eax, dword [esp + 0x80]
je 0x563dfe
mov dword [esp + 0x3cc], edx
lea edx, [esp + 0x28]
mov dword [esp + 0x3d0], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x3c4], ecx
mov ecx, dword [esp + 0x2c]
push edx
push eax
mov dword [esp + 0x3d0], ecx
call fcn.00428490
mov ecx, dword [esp + 0x1c]
add esp, 8
push ecx
mov ebx, eax
call dword [sym.imp.GDI32.dll_DeleteObject]
test ebx, ebx
je 0x563b43
lea eax, [esp + 0x78]
push eax
push 0x18
push ebx
mov dword [esp + 0x20], ebx
call dword [sym.imp.GDI32.dll_GetObjectA]
test eax, eax
jne 0x563d0a
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edx, dword [edi]
push 2
push 0
push edx
push 0
call fcn.0048a440
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x7c]
xor eax, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], eax
jmp 0x563dfe
lea eax, [esp + 0x78]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetIconInfo]
test eax, eax
jne 0x563d5b
push ebx
call dword [sym.imp.USER32.dll_DestroyIcon]
mov ecx, dword [edi]
push 2
push 0
push ecx
push 0
call fcn.0048a440
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x88]
lea edx, [esp + 0x90]
push edx
push 0x18
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
test eax, eax
jne 0x563db0
mov ecx, dword [esp + 0x88]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
push ecx
call esi
mov edx, dword [esp + 0x84]
push edx
call esi
push ebx
call dword [sym.imp.USER32.dll_DestroyIcon]
mov eax, dword [edi]
push 2
push 0
push eax
push 0
call fcn.0048a440
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x98]
xor eax, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x88]
push eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], edx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [esp + 0x84]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
jmp 0x563e02
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x1c]
cmp edx, 0x10
jl 0x5640ce
cmp eax, 0x10
jl 0x5640ce
cmp edx, 0x100
jg 0x5640ce
cmp eax, 0x100
jg 0x5640ce
lea edx, [esp + 0x868]
push edx
lea eax, [esp + 0x240]
push 0x180
push eax
call fcn.00423900
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x3e4], ebx
mov ebx, dword [esp + 0x58]
add esp, 0xc
mov dword [esp + 0x3bc], ecx
mov dword [esp + 0x3c0], edx
mov dword [esp + 0x3d4], eax
jmp 0x563e7d
mov eax, dword [esp + 0x3d4]
mov ecx, dword [esp + 0x64]
test ecx, ecx
jne 0x563e95
test ebx, ebx
jne 0x563e95
mov edx, dword [esp + 0x24]
test edx, edx
je 0x563f6b
cmp dword [edi + esi*4], 0
jne 0x563ed8
test ecx, ecx
je 0x56411c
test eax, eax
je 0x563eae
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esp + 0x3d8]
test eax, eax
je 0x563ec0
push eax
call dword [sym.imp.USER32.dll_DestroyIcon]
mov eax, dword [edi]
push 0
push 0
push eax
push 0
call fcn.0048a440
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0x180
lea ecx, [esp + 0x3e4]
push ecx
push esi
push edi
call fcn.005165a0
mov esi, eax
add esp, 0x14
test esi, esi
jge 0x563f33
mov eax, dword [esp + 0x3d4]
test eax, eax
je 0x563f09
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esp + 0x3d8]
test eax, eax
je 0x563f1b
push eax
call dword [sym.imp.USER32.dll_DestroyIcon]
mov edx, dword [edi]
push 3
push 0
push edx
push 0
call fcn.0048a440
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov al, byte [esp + 0x3dc]
test al, al
je 0x563f63
cmp al, 0x2f
jne 0x5643a2
lea eax, [esp + 0x3dc]
push 0x2f22
push eax
call fcn.005cbf10
add esp, 8
test eax, eax
jne 0x5643a2
mov eax, dword [esp + 0x3d4]
inc esi
mov ecx, dword [esp + 0x60]
test ecx, ecx
jne 0x563f83
test ebx, ebx
jne 0x563f83
mov edx, dword [esp + 0x24]
test edx, edx
je 0x56411c
cmp dword [edi + esi*4], 0
jne 0x563fc6
test ecx, ecx
je 0x56411c
test eax, eax
je 0x563f9c
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esp + 0x3d8]
test eax, eax
je 0x563fae
push eax
call dword [sym.imp.USER32.dll_DestroyIcon]
mov edx, dword [edi]
push 0
push 0
push edx
push 0
call fcn.0048a440
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0x180
lea eax, [esp + 0x564]
push eax
push esi
push edi
call fcn.005165a0
add esp, 0x14
test eax, eax
jl 0x5643a2
mov al, byte [esp + 0x55c]
test al, al
je 0x56411c
lea edx, [esp + 0x55c]
push 0x22
push edx
call fcn.005cbf10
add esp, 8
test eax, eax
je 0x564048
mov eax, dword [esp + 0x3d4]
test eax, eax
je 0x56401e
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esp + 0x3d8]
test eax, eax
je 0x564030
push eax
call dword [sym.imp.USER32.dll_DestroyIcon]
mov eax, dword [edi]
push 3
push 0
push eax
push 0
call fcn.0048a440
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [esp + 0x55c], 0x40
je 0x56411c
lea ecx, [esp + 0x55c]
push ecx
lea edx, [esp + 0x560]
push edx
call fcn.004222b0
add esp, 8
test eax, eax
je 0x56400c
lea ecx, [esp + 0x55c]
push 1
push ecx
call fcn.00425b60
add esp, 8
test eax, eax
jne 0x56411c
mov eax, dword [esp + 0x3d4]
test eax, eax
je 0x56409e
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esp + 0x3d8]
test eax, eax
je 0x5640b0
push eax
call dword [sym.imp.USER32.dll_DestroyIcon]
mov eax, dword [edi]
push 1
lea edx, [esp + 0x560]
push edx
push eax
push 0
call fcn.0048a440
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x14]
test eax, eax
je 0x5640dd
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
test ebx, ebx
je 0x5640e8
push ebx
call dword [sym.imp.USER32.dll_DestroyIcon]
push 0
push 0x151a
call fcn.00421db0
push eax
push 0x615410
call dword [sym.imp.USER32.dll_wsprintfA]
push 6
push 0
push 0x615410
push 0
call fcn.0048a440
add esp, 0x20
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.005cc2b8
cdq
mov ecx, 0x384
idiv ecx
push 0
mov esi, edx
mov edx, dword [0x643ed8]
add esi, 0x40a
push esi
push 0x419
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
or ebx, 0xffffffff
cmp eax, ebx
je 0x56417e
lea ecx, [ecx]
call fcn.005cc2b8
cdq
mov ecx, 0x384
idiv ecx
push 0
mov esi, edx
mov edx, dword [0x643ed8]
add esi, 0x40a
push esi
push 0x419
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, ebx
jne 0x564150
mov eax, dword [esp + 0x44]
test eax, eax
mov dword [esp + 0xa8], ebx
jne 0x564194
mov dword [esp + 0xa8], esi
lea eax, [esp + 0x23c]
push eax
mov dword [esp + 0xb0], esi
call fcn.00515900
add esp, 4
test eax, eax
je 0x564204
lea ecx, [esp + 0x23c]
push ecx
call fcn.005cc534
add esp, 4
call fcn.005cbd54
mov esi, dword [esp + 0x44]
test esi, esi
mov dword [esp + 0xa8], ebx
jne 0x5641da
mov dword [esp + 0xa8], eax
push 0
push eax
lea edx, [eax + 0x3e8]
mov eax, dword [0x643ed8]
push 0x419
push eax
mov dword [esp + 0xbc], edx
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, ebx
je 0x564208
jmp 0x5643a2
mov esi, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
mov ecx, 2
cmp eax, ecx
jne 0x56421d
or byte [esp + 0xb0], 8
cmp dword [esp + 0x48], ecx
je 0x56422b
or byte [esp + 0xb0], 4
test esi, esi
je 0x564239
mov byte [esp + 0xb1], 1
jmp 0x56425f
mov eax, dword [esp + 0x54]
test eax, eax
je 0x564257
cmp eax, ecx
mov byte [esp + 0xb1], 2
jne 0x56425f
or byte [esp + 0xb0], 1
jmp 0x56425f
mov byte [esp + 0xb1], 0
push 0
push 0
push 0
push 0
lea edx, [esp + 0xc4]
push edx
call dword [sym.imp.USER32.dll_SetRect]
test esi, esi
je 0x56428e
mov eax, 0x10
mov dword [esp + 0x230], eax
mov dword [esp + 0x234], eax
jmp 0x5642ae
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x30]
sub eax, ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x230], eax
sub ecx, dword [esp + 0x2c]
mov dword [esp + 0x234], ecx
mov esi, dword [ebp + 0xc]
push esi
mov dword [esp + 0x23c], 0
call fcn.0041ba20
add esp, 4
test eax, eax
je 0x5642df
push esi
lea edx, [esp + 0x6e4]
push 0x180
push edx
call fcn.00423900
add esp, 0xc
mov eax, dword [esp + 0x70]
neg eax
sbb eax, eax
and eax, 6
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x860], eax
mov eax, dword [esp + 0x4c]
test eax, eax
jne 0x5646da
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x5646da
mov eax, dword [esp + 0x18]
cmp eax, ebx
jne 0x56437f
mov eax, dword [esp + 0x3d4]
test eax, eax
je 0x56432e
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esp + 0x3d8]
test eax, eax
je 0x564340
push eax
call dword [sym.imp.USER32.dll_DestroyIcon]
lea ecx, [esp + 0xc8]
push ecx
push 0
push 0x151c
call fcn.00421db0
add esp, 8
push eax
push 0x615410
call dword [sym.imp.USER32.dll_wsprintfA]
push 6
push 0
push 0x615410
push 0
call fcn.0048a440
add esp, 0x1c
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea edx, [esp + 0x10]
push edx
push eax
mov eax, dword [0x643ed8]
push 0x43f
push eax
mov dword [esp + 0x20], 0
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
jne 0x5643de
mov eax, dword [esp + 0x3d4]
test eax, eax
je 0x5643b4
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esp + 0x3d8]
test eax, eax
je 0x5643c6
push eax
call dword [sym.imp.USER32.dll_DestroyIcon]
push 3
mov ecx, dword [edi]
push 0
push ecx
push 0
call fcn.0048a440
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x10]
mov cl, byte [eax + 9]
xor edi, edi
xor esi, esi
test cl, 1
jne 0x5645e4
cmp dword [esp + 0x6c], edi
je 0x564413
lea ecx, [esp + 0x12c]
lea edx, [eax + 0x84]
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x564405
mov eax, dword [esp + 0x10]
cmp dword [esp + 0x64], edi
je 0x564434
lea ecx, [esp + 0x3dc]
lea edx, [eax + 0x334]
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x564426
mov eax, dword [esp + 0x10]
cmp dword [esp + 0x60], edi
je 0x564455
lea ecx, [esp + 0x55c]
lea edx, [eax + 0x4b4]
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x564447
mov eax, dword [esp + 0x10]
cmp dword [esp + 0x68], edi
je 0x56459b
cmp dword [esp + 0x3d4], edi
jne 0x564475
cmp dword [esp + 0x3d8], edi
je 0x56459b
mov ecx, dword [eax + 0x32c]
cmp ecx, edi
je 0x56448a
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x330]
cmp ecx, edi
je 0x56449f
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x23c]
push edx
add eax, 0x194
push 0x180
push eax
call fcn.00423900
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x3c8]
mov dword [eax + 0x314], ecx
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x3cc]
mov dword [edx + 0x318], eax
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x3d0]
mov dword [ecx + 0x31c], edx
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x3d4]
mov dword [eax + 0x320], ecx
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x3d8]
mov dword [edx + 0x324], eax
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x3dc]
mov dword [ecx + 0x328], edx
mov ecx, dword [esp + 0x3e0]
mov eax, dword [esp + 0x1c]
mov dword [eax + 0x32c], ecx
mov edx, dword [esp + 0x3e4]
mov eax, dword [esp + 0x1c]
mov dword [eax + 0x330], edx
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x23c]
mov dword [esp + 0x3e0], edi
mov dword [esp + 0x3e4], edi
mov edx, dword [eax + 0x188]
add esp, 0xc
cmp edx, ecx
jne 0x56457b
mov edx, dword [eax + 0x18c]
cmp edx, dword [esp + 0x234]
jne 0x56457b
mov esi, 1
jmp 0x56459b
mov dword [eax + 0x188], ecx
mov eax, dword [esp + 0x234]
mov ecx, dword [esp + 0x10]
mov dword [ecx + 0x18c], eax
mov eax, dword [esp + 0x10]
mov esi, 2
mov ecx, dword [esp + 0x38]
cmp ecx, edi
je 0x5645b2
mov dword [eax + 0x7b8], ecx
mov eax, dword [esp + 0x10]
mov esi, 1
test byte [eax + 9], 2
je 0x5645e4
mov ecx, dword [esp + 0x54]
cmp ecx, edi
je 0x5645e4
cmp ecx, 1
jne 0x5645cd
mov cl, byte [eax + 8]
and cl, 0xfe
jmp 0x5645d8
cmp ecx, 2
jne 0x5645df
mov cl, byte [eax + 8]
or cl, 1
mov byte [eax + 8], cl
mov eax, dword [esp + 0x10]
mov esi, 1
mov ecx, dword [esp + 0x3d4]
cmp ecx, edi
je 0x5645fa
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x3d8]
cmp ecx, edi
je 0x564610
push ecx
call dword [sym.imp.USER32.dll_DestroyIcon]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x48]
cmp ecx, edi
je 0x564654
cmp ecx, 1
jne 0x56462f
mov edx, dword [eax + 4]
mov eax, dword [0x643ed8]
push ecx
push edx
push 0x401
push eax
jmp 0x564645
cmp ecx, 2
jne 0x56464f
mov ecx, dword [eax + 4]
mov edx, dword [0x643ed8]
push edi
push ecx
push 0x401
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0x10]
mov esi, 1
mov ecx, dword [esp + 0x40]
cmp ecx, edi
je 0x564698
cmp ecx, 1
jne 0x56467a
mov eax, dword [eax + 4]
mov ecx, dword [0x643ed8]
push edi
push eax
push 0x404
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x5646c1
cmp ecx, 2
jne 0x5646c1
mov edx, dword [eax + 4]
mov eax, dword [0x643ed8]
push 1
push edx
push 0x404
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x5646c1
cmp esi, edi
je 0x5646d1
cmp esi, 1
jne 0x5646bc
mov ecx, dword [0x643ed8]
push esi
add eax, 0xc
push eax
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
cmp dword [esp + 0x20], edi
jmp 0x564879
cmp esi, 2
jne 0x5646d1
mov edx, dword [0x643ed8]
push 1
push edi
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
cmp dword [esp + 0x20], edi
jmp 0x564879
cmp dword [esp + 0x18], ebx
je 0x564743
mov eax, dword [esp + 0x3d4]
test eax, eax
je 0x5646f2
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esp + 0x3d8]
test eax, eax
je 0x564704
push eax
call dword [sym.imp.USER32.dll_DestroyIcon]
lea ecx, [esp + 0xc8]
push ecx
push 0
push 0x151b
call fcn.00421db0
add esp, 8
push eax
push 0x615410
call dword [sym.imp.USER32.dll_wsprintfA]
push 6
push 0
push 0x615410
push 0
call fcn.0048a440
add esp, 0x1c
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x44]
test eax, eax
mov esi, dword [sym.imp.USER32.dll_DestroyIcon]
je 0x564834
lea edx, [esp + 0x23c]
push 0x180
push edx
call fcn.00423a00
mov eax, dword [esp + 0x3dc]
xor ecx, ecx
add esp, 8
cmp eax, ecx
mov dword [esp + 0x3bc], ecx
mov dword [esp + 0x3c0], ecx
mov dword [esp + 0x3c4], ecx
mov dword [esp + 0x3c8], ecx
mov dword [esp + 0x3cc], ecx
mov dword [esp + 0x3d0], ecx
je 0x5647b3
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esp + 0x3d4], 0
mov eax, dword [esp + 0x3d8]
test eax, eax
je 0x5647cc
push eax
call esi
mov dword [esp + 0x3d8], 0
cmp dword [esp + 0x3c], ebx
jne 0x5647da
mov dword [esp + 0x3c], 0x3e7
mov edx, dword [esp + 0x3c]
mov eax, dword [0x643ed8]
lea ecx, [esp + 0xa8]
push ecx
push edx
push 0x415
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
jne 0x564862
mov eax, dword [esp + 0x3d4]
test eax, eax
je 0x56480e
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esp + 0x3d8]
test eax, eax
je 0x56481c
push eax
call esi
mov ecx, dword [edi]
push 2
push 0
push ecx
push 0
call fcn.0048a440
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x3d4]
test eax, eax
jne 0x5647cc
mov eax, dword [esp + 0x3d8]
test eax, eax
jne 0x5647cc
mov eax, dword [edi]
push 0
push 0
push eax
push 0
call fcn.0048a440
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [0x643ed8]
push 1
push 0
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [esp + 0x20]
test eax, eax
je 0x564887
mov eax, dword [0x643ed8]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret