Function at 0x41c794
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1d8
push ebx
push esi
push edi
push 4
pop ebx
xor eax, eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xfffffff3
push 3
mov dword [ebp - 0x104], edx
mov dword [ebp - 0x128], ecx
pop edi
jle 0x41c831
push 5
pop esi
mov dword [ebp - 0xc4], 0x90069f30
mov dword [ebp - 8], eax
jmp 0x41c7e3
mov ecx, dword [ebp - 8]
mov dword [ebp + ecx*4 - 0xe0], 0xfffffffc
inc dword [ebp - 8]
cmp dword [ebp - 8], edi
jl 0x41c7d2
mov dword [ebp - 0xe0], 0xffffffed
jmp 0x41c81f
mov dword [ebp - 0x124], eax
xor edx, edx
mov dword [ebp - 0x108], esi
mov dword [ebp - 0x108], esi
mov ecx, dword [ebp - 0x124]
cmp ecx, esi
setl dl
mov dword [ebp - 0xc4], edx
inc dword [ebp - 0xe0]
cmp dword [ebp - 0xe0], 2
jle 0x41c7f4
dec dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0xfffffff3
jg 0x41c7c3
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x180]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0xc], 0x708bee6d
push edi
call fcn.004147f5
xor eax, eax
xor ebx, ebx
mov dword [ebp - 0x34], eax
inc ebx
jmp 0x41c85e
mov ecx, dword [ebp - 0x34]
mov dword [ebp + ecx*4 - 0x44], ebx
inc dword [ebp - 0x34]
cmp dword [ebp - 0x34], ebx
jl 0x41c854
push 0xfffffffffffffff8
mov dword [ebp - 0x34], eax
pop esi
jmp 0x41c87a
mov edx, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x180]
mov dword [ecx + edx*4], esi
inc dword [ebp - 0x34]
cmp dword [ebp - 0x34], edi
jl 0x41c86b
mov edi, dword [sym.imp.USER32.dll_GetDesktopWindow]
mov byte [ebp - 0x15], al
cmp byte [ebp - 0x15], al
je 0x41c8a2
push 0x17e9
push 0x257c
call edi
push eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
xor eax, eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], eax
jl 0x41c941
mov ecx, dword [ebp - 4]
mov edx, 0xffff77a5
mov ecx, dword [ebp + ecx*4 - 0x44]
mov ecx, dword [ebp - 4]
mov ecx, dword [ebp + ecx*4 - 0x44]
mov ecx, dword [ebp - 4]
mov ecx, dword [ebp + ecx*4 - 0x44]
mov ecx, dword [ebp - 4]
mov esi, dword [ebp + ecx*4 - 0x44]
mov ecx, dword [ebp - 4]
sub edx, ecx
add esi, edx
xor edx, edx
add esi, dword [ebp - 4]
mov ecx, dword [ebp - 0x44]
cmp esi, ecx
setge dl
cmp edx, dword [ebp - 4]
jle 0x41c8ef
mov edx, ebx
cmp dword [ebp - 0x44], eax
jne 0x41c8f1
mov edx, eax
mov ecx, dword [ebp - 4]
add ecx, edx
je 0x41c8ff
mov edx, ebx
cmp dword [ebp - 4], eax
jne 0x41c901
mov edx, eax
mov ecx, dword [ebp - 4]
mov ecx, dword [ebp + ecx*4 - 0x44]
sub edx, ecx
mov dword [ebp - 0xc], edx
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
mov ecx, dword [ebp - 4]
cmp dword [ebp - 4], 0xd9935ff5
sbb ecx, ecx
inc ecx
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0xc]
sub edx, ecx
mov ecx, dword [ebp - 0x44]
sub edx, ecx
mov ecx, dword [ebp - 0x180]
mov dword [ecx], edx
dec dword [ebp - 4]
jns 0x41c8ae
lea ecx, [ebp - 0x180]
call fcn.004148c7
mov dword [ebp - 0x80], 0x77c8748a
xor esi, esi
mov dword [ebp - 0x28], 0x9bd697e7
mov dword [ebp - 0x2c], 0xf8d19c92
mov dword [ebp - 0x58], 0x5c68ec0a
mov dword [ebp - 0x58], esi
jmp 0x41c988
mov dword [ebp - 0x20], 0xfffffffc
mov dword [ebp - 0xc], 0x6e5c7a00
cmp dword [ebp - 0x20], esi
jne 0x41c98e
mov dword [ebp - 0xc], esi
inc dword [ebp - 0x58]
cmp dword [ebp - 0x58], 0xf
jle 0x41c96f
mov dword [ebp - 0x58], 0xffffffff
lea ecx, [ebp - 0x8c]
push 4
call fcn.004147f5
mov dword [ebp - 0x30], 0xfffffffd
xor ecx, ecx
mov dword [ebp - 0xa8], 0x37182abb
mov dword [ebp - 0x50], 0xc520ea0c
mov eax, dword [ebp - 0x30]
mov eax, dword [ebp - 0xa8]
cmp eax, 0x627f5e24
mov eax, dword [ebp - 0xa8]
setne cl
xor ebx, ebx
cmp eax, ecx
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x30]
setg bl
xor edx, edx
cmp ecx, eax
mov ecx, dword [ebp - 0x30]
setne dl
lea eax, [edx + ebx]
add ecx, eax
cmp ecx, 0xfffffffe
sbb eax, eax
neg eax
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x50], esi
jmp 0x41ca53
mov dword [ebp - 0x30], esi
jmp 0x41ca4a
mov byte [ebp - 0x48], 0
cmp byte [ebp - 0x48], 0
je 0x41ca21
push 0
call edi
push eax
call dword [sym.imp.USER32.dll_SetMenu]
mov byte [ebp - 0x15], 0
cmp byte [ebp - 0x15], 0
je 0x41ca47
push 0
push 0x89c
push 0x22b4
call edi
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_SetPixel]
dec dword [ebp - 0x30]
cmp dword [ebp - 0x30], 0xffffffeb
je 0x41ca0c
dec dword [ebp - 0x50]
cmp dword [ebp - 0x50], 0xfffffffb
jl 0x41ca07
mov dword [ebp - 0x40], 0xffffffff
lea ecx, [ebp - 0x18c]
xor esi, esi
inc esi
mov dword [ebp - 0xd4], esi
mov dword [ebp - 0x10], 0x55b7cefa
mov dword [ebp - 0x70], esi
mov dword [ebp - 4], 0xf8b8ae50
push 4
call fcn.004147f5
mov dword [ebp - 0x14], 0x53f0d3ec
xor eax, eax
mov dword [ebp - 0x54], 0x5142
mov dword [ebp - 0x60], eax
jmp 0x41caac
mov edx, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x18c]
or dword [ecx + edx*4], 0xffffffff
inc dword [ebp - 0x60]
cmp dword [ebp - 0x60], 4
jl 0x41ca9c
mov ecx, dword [ebp - 0x10]
xor ebx, ebx
mov dword [ebp - 0x70], ecx
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
cmp edx, ecx
setle bl
sub ebx, dword [ebp - 0x10]
sub ebx, dword [ebp - 4]
mov ecx, dword [ebp - 0x70]
neg ebx
sbb ebx, ebx
xor edx, edx
inc ebx
cmp ecx, ebx
mov ecx, dword [ebp - 0x18c]
setg dl
xor ebx, ebx
cmp edx, dword [ecx]
mov ecx, dword [ebp - 4]
setne bl
mov dword [ebp - 0x20], ebx
xor ebx, ebx
cmp dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 4]
sete bl
xor edx, edx
cmp ebx, ecx
setne dl
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x14], eax
jmp 0x41cc16
mov dword [ebp - 0xc], 0xffffffff
mov dword [ebp - 8], eax
jmp 0x41cb27
mov ecx, dword [ebp - 8]
mov dword [ebp + ecx*4 - 0xc8], 0x701832d7
inc dword [ebp - 8]
cmp dword [ebp - 8], esi
jl 0x41cb16
mov dword [ebp - 4], eax
jmp 0x41cc02
mov dword [ebp - 8], eax
jmp 0x41cb4a
mov ecx, dword [ebp - 8]
mov dword [ebp + ecx*4 - 0xf0], 0x83bc1b0f
inc dword [ebp - 8]
cmp dword [ebp - 8], 3
jl 0x41cb39
mov dword [ebp - 0x10], 0xffffffef
jmp 0x41cbdc
mov dword [ebp - 8], 8
xor ebx, ebx
mov ecx, dword [ebp - 0xe8]
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 0xf0]
mov ecx, dword [ebp - 0xe8]
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
cmp ecx, 0xbca3
mov ecx, dword [ebp - 0xf0]
setne bl
xor edx, edx
cmp ebx, ecx
mov ecx, dword [ebp - 8]
setne dl
xor ebx, ebx
cmp edx, 0x2a4e6309
setg bl
xor edx, edx
cmp ecx, ebx
mov ecx, dword [ebp - 0x70]
setge dl
xor ebx, ebx
cmp ecx, edx
setl bl
xor edx, edx
mov dword [ebp - 0xc8], ebx
mov ecx, dword [ebp - 0xf0]
cmp ecx, ebx
setg dl
xor ecx, ecx
cmp edx, 0x1190
setne cl
mov dword [ebp - 0x70], ecx
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 0xfffffff2
je 0x41cb5c
mov byte [ebp - 0x47], al
cmp byte [ebp - 0x47], 0
je 0x41cbff
push 0x1f6c
call edi
push eax
call dword [sym.imp.USER32.dll_GetWindow]
xor eax, eax
dec dword [ebp - 4]
cmp dword [ebp - 4], 0xfffffffa
jl 0x41cb34
mov dword [ebp - 0x70], 0xca307758
dec dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0xfffffff4
jl 0x41cb0a
lea ecx, [ebp - 0x18c]
call fcn.004148c7
xor esi, esi
push 4
mov dword [ebp - 0x64], esi
pop ebx
jmp 0x41cc48
mov ecx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x8c]
mov dword [eax + ecx*4], 0xcde9e843
inc dword [ebp - 0x64]
cmp dword [ebp - 0x64], ebx
jl 0x41cc35
call fcn.0041c450
lea eax, [ebp - 0x28]
push eax
push esi
lea edx, [ebp - 0x80]
lea ecx, [ebp - 0x2c]
call fcn.0041d9c6
pop ecx
pop ecx
xor esi, esi
mov dword [ebp - 0x10], 0x60477862
inc esi
mov dword [ebp - 0x5c], 0x70ade216
push esi
lea ecx, [ebp - 0x148]
call fcn.004147f5
mov dword [ebp - 0xc], 9
lea ecx, [ebp - 0x174]
mov dword [ebp - 8], 0xb7a2e255
push ebx
call fcn.004147f5
xor eax, eax
mov dword [ebp - 0x1c], eax
jmp 0x41ccb3
mov ecx, dword [ebp - 0x1c]
mov dword [ebp + ecx*4 - 0x1a4], 0xfffffffe
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 3
jl 0x41cca2
mov dword [ebp - 0x1c], eax
jmp 0x41ccd1
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x148]
mov dword [ecx + edx*4], 0xe0184dcc
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], esi
jl 0x41ccbe
push 2
mov dword [ebp - 0x1c], eax
pop edx
jmp 0x41ccef
mov ecx, dword [ebp - 0x1c]
mov dword [ebp + ecx*4 - 0x114], 0x299fa9ef
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], edx
jl 0x41ccde
mov dword [ebp - 0x1c], eax
jmp 0x41cd0a
mov ecx, dword [ebp - 0x1c]
mov dword [ebp + ecx*4 - 0x1ac], 0xffffffff
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], edx
jl 0x41ccf9
mov dword [ebp - 0x1c], eax
jmp 0x41cd23
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x174]
mov dword [ecx + edx*4], eax
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], ebx
jl 0x41cd14
mov dword [ebp - 0x10], 0xffffffe3
jmp 0x41cd3f
dec dword [ebp - 0x5c]
cmp dword [ebp - 0x1a0], eax
jne 0x41cd45
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 0x1a
jle 0x41cd31
mov ecx, dword [ebp - 0xc]
xor edx, edx
mov ecx, dword [ebp - 0xc]
cmp ecx, 0x97867a7b
mov ecx, dword [ebp - 0x10]
setne dl
xor ebx, ebx
sub edx, ecx
mov dword [ebp - 0x114], edx
lea ecx, [edx + 1]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x10]
cmp ecx, edx
setge bl
xor ecx, ecx
cmp ebx, 0xe96bb645
setne cl
xor edx, edx
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 0xc]
cmp dword [ebp - 0x20], ecx
setg dl
cmp edx, ecx
jle 0x41cd98
cmp dword [ebp - 0x10], eax
je 0x41cd98
mov eax, esi
neg eax
jne 0x41cda2
mov eax, dword [ebp - 0x114]
mov eax, dword [ebp - 0x5c]
xor ecx, ecx
mov eax, dword [ebp - 0x114]
cmp eax, 0x245e3205
setne cl
xor eax, eax
cmp ecx, 0xffffffff
setne al
xor edx, edx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1a8], eax
mov eax, dword [ebp - 0x148]
dec dword [eax]
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0xc]
imul eax, eax, 0xa
add ecx, eax
mov eax, dword [ebp - 0x148]
cmp dword [eax], ecx
mov eax, dword [ebp - 0x174]
setne dl
xor ecx, ecx
cmp edx, esi
mov dword [ebp - 0x1a4], edx
setge cl
mov dword [eax], ecx
lea ecx, [ebp - 0x174]
call fcn.004148c7
lea ecx, [ebp - 0x148]
call fcn.004148c7
xor esi, esi
mov dword [ebp - 0x28], esi
jmp 0x41d8f7
push 2
pop ebx
mov dword [ebp - 8], 0x16df251d
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0xc], 0xd383de46
mov dword [ebp - 4], 0x37f1
push ebx
call fcn.004147f5
xor esi, esi
mov dword [ebp - 0x10], 0xffffffff
inc esi
mov dword [ebp - 0xc], 0xfffffffa
xor eax, eax
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x24], eax
jmp 0x41ce6e
mov ecx, dword [ebp - 0x24]
mov dword [ebp + ecx*4 - 0x154], 0xa53d
inc dword [ebp - 0x24]
cmp dword [ebp - 0x24], 3
jl 0x41ce5d
mov dword [ebp - 0x24], eax
jmp 0x41ce8c
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xb8]
mov dword [ecx + edx*4], 0x248e6bae
inc dword [ebp - 0x24]
cmp dword [ebp - 0x24], ebx
jl 0x41ce79
mov dword [ebp - 0x24], eax
jmp 0x41cea7
mov ecx, dword [ebp - 0x24]
mov dword [ebp + ecx*4 - 0xa4], 0x764fe605
inc dword [ebp - 0x24]
cmp dword [ebp - 0x24], esi
jl 0x41ce96
mov dword [ebp - 0x24], eax
jmp 0x41cebe
mov ecx, dword [ebp - 0x24]
mov dword [ebp + ecx*4 - 0xc0], eax
inc dword [ebp - 0x24]
cmp dword [ebp - 0x24], ebx
jl 0x41ceb1
mov dword [ebp - 8], ebx
cmp dword [ebp - 8], eax
jl 0x41d061
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x198]
mov dword [ebp - 0x20], 0xb017
mov dword [ebp - 0xc], 0x592840cc
push esi
call fcn.004147f5
xor eax, eax
mov dword [ebp - 0x74], eax
jmp 0x41cf06
mov edx, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x198]
mov dword [ecx + edx*4], 0xe8236511
inc dword [ebp - 0x74]
cmp dword [ebp - 0x74], esi
jl 0x41cef3
cmp dword [ebp - 0x154], eax
jne 0x41d00c
mov dword [ebp - 0xc], 0xffffffff
cmp dword [ebp - 8], esi
sbb ecx, ecx
xor ebx, ebx
inc ecx
cmp ecx, esi
mov ecx, dword [ebp - 4]
setl bl
sub ebx, 0xfffffff9
neg ebx
sbb ebx, ebx
xor edx, edx
inc ebx
cmp ebx, ecx
mov ecx, dword [ebp - 0x14c]
setge dl
xor ebx, ebx
cmp edx, ecx
mov ecx, dword [ebp - 0xc]
setle bl
xor edx, edx
cmp ecx, ebx
mov ecx, dword [ebp - 0x14]
setl dl
xor ebx, ebx
cmp edx, ecx
mov ecx, dword [ebp - 0xb8]
setle bl
xor edx, edx
mov dword [ecx], ebx
lea ecx, [ebx - 1]
cmp ecx, 0x3fa9dfee
mov ecx, dword [ebp - 0x14]
setl dl
xor ebx, ebx
cmp edx, ecx
mov ecx, dword [ebp - 0x150]
setg bl
xor edx, edx
imul ebx, ecx
mov ecx, dword [ebp - 0x20]
cmp ebx, ecx
mov ecx, dword [ebp - 0x14]
setg dl
xor ebx, ebx
cmp edx, ecx
mov ecx, dword [ebp - 0x14]
setge bl
xor edx, edx
cmp ebx, ecx
setne dl
cmp edx, 0x7001
jge 0x41cfb9
mov ecx, dword [ebp - 0xb8]
cmp dword [ecx], eax
mov ecx, esi
jne 0x41cfbb
mov ecx, eax
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0xc], eax
je 0x41cfc6
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x198]
push 0
pop edx
push 2
mov dword [ecx], esi
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x10], esi
mov ecx, dword [ebp - 0x10]
neg ecx
sbb ecx, ecx
neg ecx
mov ecx, dword [ebp - 0x14]
sete dl
xor ebx, ebx
cmp edx, ecx
mov ecx, eax
setge bl
sub ebx, dword [ebp - 4]
neg ebx
sbb ebx, ebx
add ebx, 0xffff7cf7
neg ebx
sbb ebx, ebx
inc ebx
mov dword [ebp - 0xc], ebx
pop ebx
cmp dword [ebp - 0xc], esi
jne 0x41d00e
mov ecx, esi
mov dword [ebp - 0xa4], ecx
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xa4]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x38], ebx
cmp dword [ebp - 0x38], eax
jl 0x41d04a
mov byte [ebp - 0x4a], al
cmp byte [ebp - 0x4a], 0
je 0x41d042
push eax
push eax
call edi
push eax
xor esi, esi
push esi
push esi
call dword [sym.imp.USER32.dll_DialogBoxParamA]
xor eax, eax
dec dword [ebp - 0x38]
jns 0x41d028
xor esi, esi
inc esi
lea ecx, [ebp - 0x198]
call fcn.004148c7
dec dword [ebp - 8]
push 0
pop eax
jns 0x41cecf
mov dword [ebp - 0x38], 0xfffffff3
jmp 0x41d12c
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0x2630673e
mov dword [ebp - 8], eax
jmp 0x41d08a
mov ecx, dword [ebp - 8]
mov dword [ebp + ecx*4 - 0x7c], 0xc3d2
inc dword [ebp - 8]
cmp dword [ebp - 8], esi
jl 0x41d07c
mov dword [ebp - 4], esi
cmp dword [ebp - 4], eax
jl 0x41d129
mov dword [ebp - 0x20], 0x12742e7f
mov ecx, dword [ebp - 0x7c]
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x20], ecx
mov esi, dword [ebp - 4]
mov edx, dword [ebp - 0xb8]
mov ecx, dword [ebp - 0xc]
mov edx, dword [edx + esi*4]
sub edx, ecx
mov ecx, dword [ebp - 0x20]
add ecx, edx
cmp ecx, dword [ebp - 0x10]
jne 0x41d0d4
cmp dword [ebp - 0x7c], eax
jne 0x41d0d4
mov ecx, dword [ebp - 0xbc]
mov ecx, dword [ebp - 0xbc]
xor edx, edx
cmp ecx, 0x3b720fae
setle dl
xor ebx, ebx
mov dword [ebp - 8], edx
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0xb8]
cmp dword [ecx + edx*4], eax
sete bl
cmp dword [ebp - 0x154], 9
jbe 0x41d105
mov ecx, dword [ebp - 4]
mov ecx, dword [ebp - 0xbc]
mov ecx, dword [ebp - 0x7c]
mov ecx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
imul ecx, ebx
mov dword [ebp - 8], ecx
dec dword [ebp - 4]
jns 0x41d09b
xor esi, esi
inc esi
inc dword [ebp - 0x38]
cmp dword [ebp - 0x38], 0xfffffffb
jle 0x41d06d
lea ecx, [ebp - 0xb8]
call fcn.004148c7
mov dword [ebp - 0x3c], esi
lea eax, [ebp - 0xd0]
mov dword [ebp - 0xcc], esi
lea edx, [ebp - 0x11c]
mov dword [ebp - 0xd0], 0xc7747bb7
lea ecx, [ebp - 0xcc]
mov dword [ebp - 0x11c], 0xfffffff9
push eax
call fcn.0041c4e3
pop ecx
mov dword [ebp - 0x118], 0x503ecef3
call fcn.0041c62b
mov edx, dword [ebp - 0x28]
xor eax, eax
mov ecx, dword [ebp - 0x8c]
cmp dword [ecx + edx*4], eax
je 0x41d1a6
mov edx, dword [ebp - 0x28]
mov edi, esi
mov ecx, dword [ebp - 0x8c]
cmp dword [ecx + edx*4], eax
jne 0x41d1a8
mov edi, eax
mov dword [ebp - 0x2c], 8
xor ebx, ebx
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x8c]
cmp edi, dword [ecx + edx*4]
setl bl
add ebx, dword [ecx + esi*4]
neg ebx
sbb ebx, ebx
inc ebx
mov dword [ebp - 0x3c], ebx
mov ecx, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x80]
mov ecx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x8c]
mov ecx, dword [ecx + edx*4]
mov dword [ebp - 0x40], ecx
mov edi, dword [ebp - 0x28]
mov edx, dword [ebp - 0x40]
mov esi, dword [ebp - 0x8c]
sub edx, 0x197cbb40
neg edx
sbb edx, edx
xor ecx, ecx
inc edx
cmp dword [esi + edi*4], edx
sete cl
sub ecx, 0xa
je 0x41d71b
mov dword [ebp - 0x68], 0xa8eac8b
mov byte [ebp - 0x15], al
cmp byte [ebp - 0x15], al
je 0x41d244
push eax
push 0xa4e
push 0x1f59
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_SetDIBColorTable]
xor eax, eax
xor edi, edi
mov dword [ebp - 0x68], eax
inc edi
jmp 0x41d25b
mov dword [ebp - 0x20], 0x7dd68876
cmp dword [ebp - 0x20], eax
jne 0x41d260
inc dword [ebp - 0x68]
cmp dword [ebp - 0x68], edi
jg 0x41d24c
push 2
pop ebx
push ebx
lea ecx, [ebp - 0x160]
call fcn.004147f5
xor eax, eax
mov dword [ebp - 4], 0xe0648261
mov dword [ebp - 8], eax
jmp 0x41d28e
mov ecx, dword [ebp - 8]
mov dword [ebp + ecx*4 - 0x12c], 0xfffffff9
inc dword [ebp - 8]
cmp dword [ebp - 8], edi
jl 0x41d27d
mov dword [ebp - 4], 0x1b
jmp 0x41d2c2
mov dword [ebp - 0x20], 0x6df3
mov dword [ebp - 0x54], 0xd9ba07e4
mov dword [ebp - 0xac], 0xffffffff
cmp dword [ebp - 0x20], eax
jne 0x41d2c8
inc dword [ebp - 0xac]
dec dword [ebp - 4]
cmp dword [ebp - 4], 0xa
jg 0x41d29c
mov dword [ebp - 4], eax
jmp 0x41d306
mov byte [ebp - 0x45], al
cmp byte [ebp - 0x45], 0
je 0x41d2f1
push eax
push eax
push 0x1069
push 0x6ca
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_ScrollWindow]
xor eax, eax
mov byte [ebp - 0x46], al
cmp byte [ebp - 0x46], 0
je 0x41d303
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
xor eax, eax
inc dword [ebp - 4]
cmp dword [ebp - 4], eax
jle 0x41d2cd
mov dword [ebp - 0x6c], eax
jmp 0x41d323
mov edx, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x160]
mov dword [ecx + edx*4], 0x8b9db5df
inc dword [ebp - 0x6c]
cmp dword [ebp - 0x6c], ebx
jl 0x41d310
push 0x259a
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.004208fb
movdqa xmm0, xmmword [0xaa6bb0]
lea eax, [ebp - 0x1ac]
add esp, 0xc
mov dword [ebp - 0xc], 0x39ed
xor esi, esi
mov dword [ebp - 0x20], 0xfffffffe
lea ecx, [ebp - 0x100]
mov dword [ebp - 0x100], esi
movdqu xmmword [ebp - 0x1bc], xmm0
mov dword [ebp - 0xfc], esi
push dword [ebp - 0x12c]
mov dword [ebp - 0xf8], esi
push eax
lea eax, [ebp - 0x1bc]
push eax
push esi
call fcn.00416015
mov dword [ebp - 0x20], 0x75158018
mov dword [ebp - 4], esi
jmp 0x41d3a9
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x1d8], 0xfffffffb
inc dword [ebp - 4]
cmp dword [ebp - 4], 4
jl 0x41d398
mov dword [ebp - 4], esi
jmp 0x41d3c5
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x168], 0x350d8af8
inc dword [ebp - 4]
cmp dword [ebp - 4], ebx
jl 0x41d3b4
mov eax, dword [ebp - 0xc]
xor edx, edx
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x1d0], ecx
mov eax, dword [ebp - 0xc]
cmp ecx, eax
mov eax, dword [ebp - 0xc]
setge dl
xor ecx, ecx
cmp eax, edx
mov eax, dword [ebp - 0x20]
setge cl
add eax, 0x7211de51
add eax, ecx
cmp eax, 0xb64fda7e
sbb eax, eax
xor ecx, ecx
neg eax
cmp eax, 0xa326
mov eax, dword [ebp - 0x100]
setl cl
mov dword [eax + 4], ecx
mov dword [ebp - 0x20], ecx
lea ecx, [ebp - 0x100]
inc dword [ebp - 0x164]
call fcn.004148c7
mov dword [ebp - 0x40], 0xffffffe4
cmp dword [ebp - 0x40], 0x15
jne 0x41d70b
xor eax, eax
mov dword [ebp - 0x10], 0xba76aabe
mov dword [ebp - 0x20], 0x66fa4bc4
mov dword [ebp - 8], eax
jmp 0x41d45a
mov ecx, dword [ebp - 8]
mov dword [ebp + ecx*4 - 0x13c], edi
inc dword [ebp - 8]
cmp dword [ebp - 8], 4
jl 0x41d44d
push 3
pop ebx
mov dword [ebp - 0x10], ebx
cmp dword [ebp - 0x10], eax
jl 0x41d66a
mov dword [ebp - 0xc], 0x3d12ef61
mov dword [ebp - 4], eax
jmp 0x41d488
mov ecx, dword [ebp - 4]
mov dword [ebp + ecx*4 - 0x98], edi
inc dword [ebp - 4]
cmp dword [ebp - 4], ebx
jl 0x41d47b
mov dword [ebp - 4], eax
jmp 0x41d4a3
mov ecx, dword [ebp - 4]
mov dword [ebp + ecx*4 - 0x1c8], 0x4aba13e9
inc dword [ebp - 4]
cmp dword [ebp - 4], ebx
jl 0x41d492
mov byte [ebp - 0x15], al
cmp byte [ebp - 0x15], 0
je 0x41d4c8
push eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
xor eax, eax
mov dword [ebp - 0x90], ebx
cmp dword [ebp - 0x90], eax
jl 0x41d661
mov dword [ebp - 4], 0xefa20bd0
mov dword [ebp - 8], 0x825062d7
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 4], eax
jmp 0x41d616
mov dword [ebp - 0xc], eax
mov edx, edi
mov dword [ebp - 0xc], 0xffffffff
mov ecx, dword [ebp - 4]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 4]
sub edx, ecx
je 0x41d516
mov ecx, edi
cmp dword [ebp - 8], eax
jne 0x41d518
mov ecx, eax
mov dword [ebp - 0xc], ecx
xor ebx, ebx
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
push 0xfffffffffffffff8
mov edx, dword [ebp + ecx*4 - 0x13c]
mov ecx, dword [ebp - 4]
cmp edx, ecx
pop edx
setle bl
xor ecx, ecx
imul ebx, dword [ebp - 0x138]
cmp ebx, 0xfffffff9
setne cl
cmp edx, ecx
mov ecx, dword [ebp - 0x14]
sbb esi, esi
xor edx, edx
neg esi
cmp esi, ecx
setne dl
mov dword [ebp - 0xc], edx
mov ecx, dword [ebp - 0x138]
mov edx, dword [ebp - 0xc]
sub edx, ecx
neg edx
sbb edx, edx
inc edx
cmp edx, 0xaccb24ce
jb 0x41d607
cmp dword [ebp - 0x90], eax
jne 0x41d607
mov dword [ebp - 0xc], eax
jmp 0x41d592
mov ecx, dword [ebp - 0x94]
mov dword [ebp - 0x20], ecx
inc dword [ebp - 4]
push 3
pop ebx
cmp dword [ebp - 4], ebx
jle 0x41d4f6
mov ecx, dword [ebp - 0x54]
mov ecx, dword [ebp - 8]
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x90]
mov ecx, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x134]
add ecx, 0xde8e
mov dword [ebp - 0x1c4], ecx
mov dword [ebp - 8], ecx
dec dword [ebp - 0x90]
jns 0x41d4da
dec dword [ebp - 0x10]
jns 0x41d46f
mov dword [ebp - 0x10c], 0x53cf54ce
call fcn.0041c570
xor eax, eax
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x2c], 0x19
cmp dword [ebp - 0x2c], 0x1c
jg 0x41d6fc
mov esi, dword [ebp - 0x160]
call fcn.0041c6fd
mov dword [ebp - 0xe4], 0x456a9e5f
mov eax, dword [ebp - 0x80]
mov eax, dword [ebp - 0x2c]
mov eax, dword [ebp - 0xd4]
mov eax, dword [ebp - 0x10c]
mov eax, dword [ebp - 0x28]
mov eax, dword [ebp - 0x28]
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0xe4]
add eax, 0x9033
imul ecx, eax
xor eax, eax
cmp ecx, dword [esi + 4]
setne al
mov dword [ebp - 0x9c], eax
mov ecx, dword [ebp - 0x9c]
mov eax, dword [ebp - 0x160]
sub ecx, dword [eax]
mov eax, dword [ebp - 0x8c]
mov dword [eax + 8], ecx
inc dword [ebp - 0x2c]
cmp dword [ebp - 0x2c], 0x1c
jle 0x41d694
xor eax, eax
inc dword [ebp - 0x40]
cmp dword [ebp - 0x40], 0x15
je 0x41d43a
xor esi, esi
lea ecx, [ebp - 0x160]
call fcn.004148c7
jmp 0x41d8c2
mov dword [ebp - 0xf4], 0x66802143
xor esi, esi
inc esi
mov dword [ebp - 0x120], esi
mov dword [ebp - 8], 0xed15de05
mov dword [ebp - 0x10], 2
mov dword [ebp - 0x14], 0x2215256e
mov dword [ebp - 0xc], 0xf05f4326
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x54], 0x7da19ae8
mov dword [ebp - 0xc], eax
jmp 0x41d76a
mov ecx, dword [ebp - 0xc]
mov dword [ebp + ecx*4 - 0xa0], 0x23e93d0b
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], esi
jl 0x41d759
mov edx, dword [ebp - 8]
xor ebx, ebx
mov ecx, dword [ebp - 8]
cmp edx, ecx
mov esi, dword [ebp - 8]
setl bl
xor ecx, ecx
cmp ebx, 0x5d9b4e94
setge cl
xor ebx, ebx
sub esi, ecx
sub esi, dword [ebp - 8]
sub esi, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 8]
cmp edx, ecx
setge bl
xor ecx, ecx
cmp ebx, esi
setge cl
sub ecx, dword [ebp - 0xa0]
add ecx, 0xffff
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x14], 0xd
jmp 0x41d84d
mov dword [ebp - 8], 0x48a2
xor ebx, ebx
dec dword [ebp - 8]
mov ecx, dword [ebp - 8]
mov ecx, dword [ebp - 8]
mov ecx, dword [ebp - 8]
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 0xa0]
imul edx, ecx, 0x4dcd
mov ecx, dword [ebp - 0x20]
cmp ecx, edx
mov ecx, dword [ebp - 0xc]
setne bl
sub ebx, 8
neg ebx
sbb ebx, ebx
inc ebx
neg ecx
sbb ecx, ecx
inc ecx
imul ebx, ecx
mov ecx, dword [ebp - 8]
neg ebx
sbb ebx, ebx
xor edx, edx
inc ebx
cmp ebx, ecx
setl dl
xor ecx, ecx
cmp ecx, edx
mov ecx, dword [ebp - 0x10]
sbb edx, edx
neg edx
imul ecx, edx
mov dword [ebp - 0x54], ecx
mov byte [ebp - 0x49], al
cmp byte [ebp - 0x49], 0
je 0x41d84a
push eax
push eax
push 0x24d5
push 0x1c18
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
xor eax, eax
dec dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0xa
jne 0x41d7c1
push 0x15d3
mov byte [ebp - 0x4b], al
push eax
lea eax, [ebp - 0x4b]
push eax
call fcn.0041feb3
mov eax, dword [ebp - 0x3c]
xor ecx, ecx
mov eax, dword [ebp - 0x2c]
add esp, 0xc
mov eax, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x3c]
cmp eax, 0xe516
mov eax, dword [ebp - 0x3c]
setge cl
add eax, ecx
je 0x41d88c
mov eax, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x118]
mov eax, dword [ebp - 0x3c]
mov esi, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x8c]
mov dword [eax + ecx*4], esi
xor ecx, ecx
mov dword [ebp - 0xf4], esi
mov edx, dword [ebp - 0x120]
mov eax, dword [ebp - 0x40]
imul edx, esi
cmp edx, eax
setge cl
xor esi, esi
mov dword [ebp - 0x40], ecx
push 0x423a
push esi
push 0x1884
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x28]
push eax
push 0x3292
lea eax, [ebp - 0x8c]
push 0x782e
push eax
call fcn.004209b7
mov edi, dword [sym.imp.USER32.dll_GetDesktopWindow]
add esp, 0x20
inc dword [ebp - 0x28]
cmp dword [ebp - 0x28], 3
jle 0x41ce1e
lea ecx, [ebp - 0x8c]
call fcn.004148c7
mov eax, dword [ebp - 0x104]
mov ecx, 0x3e8
cdq
idiv ecx
mov ecx, dword [ebp - 0x128]
mov esi, edx
mov edi, eax
call fcn.0041c3da
add eax, esi
add eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret