Function at 0x411bc0
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x4d1ab1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x164
push ebx
push ebp
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push edi
mov ebx, ecx
xor edi, edi
mov eax, dword [ebx + 0xd0]
push edi
push edi
push 0x1032
push eax
call esi
mov ebp, eax
cmp ebp, 1
mov dword [esp + 0x34], ebp
jl 0x412202
lea ecx, [ebx + 0x1b88]
call fcn.0042d420
cmp dword [ebx + 0x140], edi
je 0x411c5c
mov ecx, dword [ebx + 0x13c]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov edx, dword [ebx + 0x140]
push 0xbb8
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x411c49
push 0x40
call dword [sym.imp.USER32.dll_MessageBeep]
mov eax, dword [ebx + 0x140]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebx + 0x140], edi
mov ecx, dword [ebx + 0xd0]
push 1
push 0xffffffffffffffff
push 0x100c
push ecx
call esi
cmp eax, 0xffffffff
jne 0x411c84
mov edx, dword [ebx + 0xd0]
push 2
push eax
push 0x100c
push edx
call esi
mov eax, dword [ebx + 0xd0]
push edi
push edi
push 0x1004
push eax
call esi
push 0x7f02
push edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], edi
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov dword [esp + 0x48], eax
mov dword [esp + 0x17c], edi
push 0x20
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 1
or edi, 0xffffffff
call fcn.004196c0
mov dword [esp + 0x18], vtable.DirTable.0
test ebp, ebp
mov byte [esp + 0x17c], 1
mov dword [esp + 0x28], 0
jle 0x411e2c
mov dword [esp + 0x14], ebp
jmp 0x411cfa
mov edi, dword [esp + 0x44]
mov ecx, dword [ebx + 0xd0]
push 2
push edi
push 0x100c
push ecx
call esi
push eax
lea ecx, [ebx + 0x1b88]
mov dword [esp + 0x48], eax
call fcn.0042d830
mov ebp, eax
test ebp, ebp
je 0x411e1d
mov ecx, ebp
call fcn.00425ef0
test eax, eax
je 0x411e1d
mov ecx, ebp
call fcn.00425db0
test eax, eax
je 0x411d47
mov dword [esp + 0x3c], 1
lea edx, [esp + 0x6c]
push 0
push edx
mov ecx, ebp
call fcn.004257f0
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
lea ecx, [eax + 1]
cmp edx, ecx
jne 0x411dc3
mov edx, dword [esp + 0x2c]
add edx, eax
lea eax, [edx*4 + 4]
push eax
call fcn.004bd49b
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x20]
mov edi, eax
mov dword [esp + 0x44], eax
lea ecx, [ecx*4 + 4]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
push eax
call fcn.004bd4c4
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x48]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
add esp, 8
add eax, edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x6c]
mov dword [eax + ecx*4], ebp
mov eax, dword [esp + 0x20]
inc eax
push edx
mov dword [esp + 0x24], eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [esp + 0x10]
lea edx, [ecx + eax + 1]
mov ecx, ebp
mov dword [esp + 0x10], edx
call fcn.00425db0
test eax, eax
je 0x411e1d
mov eax, dword fs:[0x2c]
mov ecx, dword [0x4f83ec]
mov edx, dword [eax + ecx*4]
mov al, byte [edx + 0x226]
test al, al
je 0x411e1d
mov dword [esp + 0x184], 1
mov eax, dword [esp + 0x14]
dec eax
mov dword [esp + 0x14], eax
jne 0x411cf6
mov eax, dword [esp + 0x20]
test eax, eax
je 0x412086
jle 0x411e42
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
jmp 0x411e44
xor eax, eax
mov ecx, dword [eax + 4]
mov edx, dword [ecx]
call dword [edx + 0x10]
test eax, eax
jne 0x411f5d
mov eax, dword [esp + 0x10]
push eax
call fcn.004bd49b
mov ecx, dword [esp + 0x24]
mov esi, eax
add esp, 4
xor ebp, ebp
xor eax, eax
mov dword [esp + 0x14], esi
test ecx, ecx
mov dword [esp + 0x10], eax
jle 0x411ee2
jmp 0x411e7d
mov eax, dword [esp + 0x10]
cmp eax, ecx
jge 0x411e8e
test eax, eax
jl 0x411e8e
mov ecx, dword [esp + 0x1c]
mov ecx, dword [ecx + eax*4]
jmp 0x411e90
xor ecx, ecx
lea edx, [esp + 0x6c]
push 0
push edx
call fcn.004257f0
lea eax, [esp + 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edx, dword [esp + 0x14]
mov ecx, eax
lea esi, [esp + 0x6c]
lea edi, [edx + ebp]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
add ebp, eax
mov eax, dword [esp + 0x14]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov byte [eax + ebp], 0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
inc ebp
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x411e79
mov esi, dword [esp + 0x14]
lea ecx, [ebx + 0x2858]
mov byte [esi + ebp], 0
call fcn.00450b40
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x4c]
rep stosd dword es:[edi], eax
mov ecx, dword [ebx + 0xcc]
stosw word es:[edi], ax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x4c], ecx
cmp eax, 0xa
mov dword [esp + 0x50], 3
mov dword [esp + 0x54], esi
jge 0x411f24
or byte [esp + 0x5c], 4
mov eax, dword [esp + 0x188]
test eax, eax
je 0x411f34
or byte [esp + 0x5c], 0x40
mov eax, dword [esp + 0x184]
test eax, eax
jne 0x411f44
or byte [esp + 0x5c], 0x10
lea edx, [esp + 0x4c]
push edx
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
push esi
call fcn.004bd4c4
add esp, 4
jmp 0x412078
mov eax, dword [esp + 0x184]
test eax, eax
je 0x411f93
mov eax, dword [ebx + 0xcc]
mov ecx, dword [ebx + 0x144]
push 4
push 0xb8
push 0x9f
push eax
push ecx
call fcn.00471530
add esp, 0x14
cmp eax, 6
jne 0x412086
mov eax, dword [esp + 0x20]
xor edi, edi
test eax, eax
jle 0x412086
mov ebp, dword [sym.imp.USER32.dll_LoadCursorA]
push 0x7f02
push 0
call ebp
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov esi, eax
mov dword [esp + 0x34], esi
mov ecx, dword [esp + 0x188]
mov byte [esp + 0x17c], 2
test ecx, ecx
mov eax, 1
je 0x411fda
mov eax, 3
cmp edi, dword [esp + 0x20]
jge 0x411fed
test edi, edi
jl 0x411fed
mov edx, dword [esp + 0x1c]
mov ecx, dword [edx + edi*4]
jmp 0x411fef
xor ecx, ecx
push eax
mov eax, dword [ebx + 0xcc]
push eax
call fcn.004259a0
test eax, eax
je 0x41200a
mov dword [esp + 0x38], 1
jmp 0x412043
cmp edi, dword [esp + 0x20]
jge 0x41201d
test edi, edi
jl 0x41201d
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + edi*4]
jmp 0x41201f
xor eax, eax
mov edx, dword [eax + 4]
mov eax, dword [ebx + 0xcc]
mov ecx, dword [ebx + 0x144]
push 0
add edx, 0x30
push 0xb8
push edx
push eax
push ecx
call fcn.004714c0
add esp, 0x14
test esi, esi
mov byte [esp + 0x17c], 1
je 0x412053
mov eax, esi
jmp 0x41205c
push 0x7f00
push 0
call ebp
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov eax, dword [esp + 0x20]
inc edi
cmp edi, eax
jl 0x411fa1
mov eax, dword [esp + 0x38]
test eax, eax
je 0x412086
lea edx, [esp + 0x18]
push 1
push edx
mov ecx, ebx
call fcn.004165f0
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x4120c3
mov eax, dword [ebx + 0x2548]
lea esi, [ebx + 0x2548]
mov ecx, esi
call dword [eax + 0xc8]
test eax, eax
je 0x4120c3
push 0
mov ecx, esi
call fcn.004371d0
push 1
push 0
mov ecx, esi
call fcn.00434c10
push 1
mov ecx, esi
call fcn.004371d0
mov ecx, dword fs:[0x2c]
mov edx, dword [0x4f83ec]
mov esi, dword [ecx + edx*4]
mov al, byte [esi + 0xd]
test al, al
je 0x4120e6
push 1
mov ecx, ebx
call fcn.00412760
lea ecx, [ebx + 0x1b88]
call fcn.0042d4d0
xor ebp, ebp
mov dword [ebx + 0x16c], ebp
mov al, byte [esi + 0x2ca]
test al, al
je 0x412196
mov ecx, dword [ebx + 0x14c]
cmp ecx, ebp
je 0x412196
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
jne 0x412196
cmp dword [ebx + 0x140], ebp
je 0x41216d
mov ecx, dword [ebx + 0x13c]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov edx, dword [ebx + 0x140]
push 0xbb8
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x412154
push 0x40
call dword [sym.imp.USER32.dll_MessageBeep]
mov eax, dword [ebx + 0x140]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebp
mov dword [ebx + 0x140], ebp
cmp eax, ebp
jne 0x412196
mov ecx, dword [ebx + 0x13c]
push ecx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
lea edx, [esp + 0x34]
push edx
push ebp
push ebx
push 0x40c360
push ebp
push ebp
call fcn.004a899b
add esp, 0x18
mov dword [ebx + 0x140], eax
mov eax, dword [esp + 0x28]
mov byte [esp + 0x17c], 0
cmp eax, ebp
mov dword [esp + 0x18], vtable.Table_class_DirEntry_.0
je 0x4121da
mov eax, dword [esp + 0x20]
xor edi, edi
cmp eax, ebp
jle 0x4121da
cmp edi, eax
jge 0x4121d5
cmp edi, ebp
jl 0x4121d5
mov ecx, dword [esp + 0x1c]
mov ecx, dword [ecx + edi*4]
cmp ecx, ebp
je 0x4121d5
mov edx, dword [ecx]
push 1
call dword [edx]
mov eax, dword [esp + 0x20]
inc edi
cmp edi, eax
jl 0x4121bc
mov eax, dword [esp + 0x1c]
push eax
call fcn.004bd4c4
mov eax, dword [esp + 0x4c]
add esp, 4
cmp eax, ebp
jne 0x4121fb
push 0x7f00
push ebp
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov ecx, dword [esp + 0x174]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x170
ret 8