Function at 0x100823a
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x4e4
mov eax, dword [reloc.KERNEL32.dll_LocalAlloc]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
mov ecx, esi
mov dword [ebp - 4], eax
mov dword [ebp - reloc.KERNEL32.dll_LocalAlloc], esi
mov dword [ebp - reloc.KERNEL32.dll_LocalAlloc], edi
call fcn.01013c29
push eax
call fcn.010114f3
xor ebx, ebx
cmp esi, ebx
mov dword [ebp - reloc.KERNEL32.dll_LocalAlloc], eax
mov word [ebp - 0x84], bx
je 0x100826b
cmp edi, ebx
jne 0x1008272
xor eax, eax
jmp 0x10087f2
push dword [ebp + 0x10]
mov ecx, esi
call fcn.01013bff
push 1
mov ecx, esi
call fcn.01013bbe
mov dword [ebp - reloc.KERNEL32.dll_LocalAlloc], eax
lea eax, reloc.KERNEL32.dll_LocalAlloc
push eax
lea eax, reloc.KERNEL32.dll_LocalAlloc
push eax
push ebx
mov dword [ebp - reloc.KERNEL32.dll_LocalAlloc], ebx
mov dword [ebp - reloc.KERNEL32.dll_LocalAlloc], ebx
push ebx
jmp 0x1008690
lea eax, reloc.KERNEL32.dll_LocalAlloc
push eax
lea eax, reloc.KERNEL32.dll_LocalAlloc
push eax
lea eax, reloc.KERNEL32.dll_LocalAlloc
push eax
push dword [ebp - 0x48c]
push dword [ebp - 0x488]
push edi
call fcn.0100512f
test eax, eax
jne 0x1008670
cmp dword [ebp - reloc.KERNEL32.dll_LocalAlloc], ebx
jne 0x1008670
cmp dword [ebp + 0x24], ebx
je 0x10082f9
cmp dword [ebp - reloc.KERNEL32.dll_LocalAlloc], 1
jne 0x1008670
mov dword [ebp - reloc.KERNEL32.dll_LocalAlloc], 0x24
lea esi, reloc.KERNEL32.dll_LocalAlloc
lea edi, reloc.KERNEL32.dll_LocalAlloc
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - reloc.KERNEL32.dll_LocalAlloc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, reloc.KERNEL32.dll_LocalAlloc
lea edi, reloc.KERNEL32.dll_LocalAlloc
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, reloc.KERNEL32.dll_LocalAlloc
push eax
movsd dword es:[edi], dword [esi]
call fcn.01014300
cmp eax, reloc.KERNEL32.dll_LocalAlloc
jne 0x1008670
cmp dword [ebp + 0x20], ebx
jne 0x100834a
or eax, eax
jmp 0x1008449
mov dword [ebp - reloc.KERNEL32.dll_LocalAlloc], 0x24
lea esi, reloc.KERNEL32.dll_LocalAlloc
lea edi, reloc.KERNEL32.dll_LocalAlloc
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - reloc.KERNEL32.dll_LocalAlloc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, 0x10022ec
lea edi, reloc.KERNEL32.dll_LocalAlloc
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, reloc.KERNEL32.dll_LocalAlloc
push eax
movsd dword es:[edi], dword [esi]
call fcn.01014300
cmp eax, reloc.KERNEL32.dll_LocalAlloc
jne 0x1008449
lea eax, reloc.KERNEL32.dll_LocalAlloc
push eax
lea eax, reloc.KERNEL32.dll_LocalAlloc
push eax
push dword [ebp - 0x490]
call fcn.010050b5
test eax, eax
jne 0x1008670
or dword [ebp - reloc.KERNEL32.dll_LocalAlloc], 0xffffffff
cmp dword [ebp - reloc.KERNEL32.dll_LocalAlloc], ebx
lea eax, reloc.KERNEL32.dll_LocalAlloc
mov dword [ebp - reloc.KERNEL32.dll_LocalAlloc], 1
mov dword [ebp - reloc.KERNEL32.dll_LocalAlloc], 0xffff0001
mov dword [ebp - reloc.KERNEL32.dll_LocalAlloc], ebx
mov dword [ebp - reloc.KERNEL32.dll_LocalAlloc], eax
je 0x1008418
mov eax, dword [ebp - reloc.KERNEL32.dll_LocalAlloc]
cmp eax, ebx
jne 0x10083f8
mov eax, dword [ebp - reloc.KERNEL32.dll_LocalAlloc]
cmp eax, ebx
je 0x1008418
push eax
push 0xffffffffffffffff
push dword [ebp - 0x480]
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
cmp eax, ebx
mov dword [ebp - reloc.KERNEL32.dll_LocalAlloc], eax
je 0x1008418
or dword [ebp - reloc.KERNEL32.dll_LocalAlloc], 2
mov ecx, dword [ebp - reloc.KERNEL32.dll_LocalAlloc]
lea eax, reloc.KERNEL32.dll_LocalAlloc
mov dword [ebp - reloc.KERNEL32.dll_LocalAlloc], eax
lea eax, reloc.KERNEL32.dll_LocalAlloc
push eax
mov dword [ebp - reloc.KERNEL32.dll_LocalAlloc], 2
call fcn.01014488
cmp eax, reloc.KERNEL32.dll_LocalAlloc
je 0x1008670
or dword [ebp - reloc.KERNEL32.dll_LocalAlloc], 0xffffffff
cmp dword [ebp - reloc.KERNEL32.dll_LocalAlloc], ebx
mov dword [ebp - reloc.KERNEL32.dll_LocalAlloc], eax
lea eax, reloc.KERNEL32.dll_LocalAlloc
mov dword [ebp - reloc.KERNEL32.dll_LocalAlloc], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - reloc.KERNEL32.dll_LocalAlloc], 5
mov dword [ebp - reloc.KERNEL32.dll_LocalAlloc], 3
mov dword [ebp - reloc.KERNEL32.dll_LocalAlloc], 0xffff0001
mov dword [ebp - reloc.KERNEL32.dll_LocalAlloc], ebx
mov dword [ebp - reloc.KERNEL32.dll_LocalAlloc], eax
je 0x10084c0
cmp dword [ebp - reloc.KERNEL32.dll_LocalAlloc], ebx
je 0x10084c0
push dword [ebp - 0x45c]
push 0xffffffffffffffff
push dword [ebp - 0x480]
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
or dword [ebp - reloc.KERNEL32.dll_LocalAlloc], 2
mov dword [ebp - reloc.KERNEL32.dll_LocalAlloc], eax
mov ecx, dword [ebp - reloc.KERNEL32.dll_LocalAlloc]
lea esi, reloc.KERNEL32.dll_LocalAlloc
lea edi, reloc.KERNEL32.dll_LocalAlloc
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, reloc.KERNEL32.dll_LocalAlloc
movsd dword es:[edi], dword [esi]
mov dword [ebp - reloc.KERNEL32.dll_LocalAlloc], eax
lea eax, reloc.KERNEL32.dll_LocalAlloc
push eax
movsd dword es:[edi], dword [esi]
call fcn.01014488
cmp eax, reloc.KERNEL32.dll_LocalAlloc
mov dword [ebp - reloc.KERNEL32.dll_LocalAlloc], eax
mov dword [ebp - reloc.KERNEL32.dll_LocalAlloc], eax
je 0x1008670
mov eax, dword [ebp + 0x18]
cmp eax, ebx
jl 0x10085de
test byte [ebp - 0x474], 8
je 0x10085de
mov dword [ebp - reloc.KERNEL32.dll_LocalAlloc], eax
lea eax, reloc.KERNEL32.dll_LocalAlloc
push eax
xor esi, esi
lea eax, reloc.KERNEL32.dll_LocalAlloc
inc esi
push eax
mov dword [ebp - reloc.KERNEL32.dll_LocalAlloc], esi
mov dword [ebp - reloc.KERNEL32.dll_LocalAlloc], ebx
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
lea eax, reloc.KERNEL32.dll_LocalAlloc
push eax
lea eax, reloc.KERNEL32.dll_LocalAlloc
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
mov edi, 0x100
push edi
lea eax, reloc.KERNEL32.dll_LocalAlloc
push eax
push ebx
lea eax, reloc.KERNEL32.dll_LocalAlloc
push eax
mov eax, dword [ebp - reloc.KERNEL32.dll_LocalAlloc]
or eax, esi
push eax
push ebx
mov word [ebp - 0x284], bx
call fcn.01012ea6
cmp eax, ebx
je 0x10085c0
lea esi, reloc.KERNEL32.dll_LocalAlloc
mov word [esi], 0x20
inc esi
inc esi
test byte [ebp - 0x484], 0x10
je 0x10085a5
mov word [esi], 0x200e
inc esi
inc esi
sub edi, eax
push edi
push esi
push ebx
lea eax, reloc.KERNEL32.dll_LocalAlloc
push eax
push 2
push ebx
call fcn.01012ff1
test eax, eax
jne 0x10085c0
mov word [esi], bx
mov ecx, dword [ebp - reloc.KERNEL32.dll_LocalAlloc]
lea eax, reloc.KERNEL32.dll_LocalAlloc
mov dword [ebp - reloc.KERNEL32.dll_LocalAlloc], eax
lea eax, reloc.KERNEL32.dll_LocalAlloc
push eax
call fcn.01013f29
mov eax, dword [ebp + 0x1c]
cmp eax, ebx
jl 0x1008638
cmp word [ebp - 0x84], bx
mov dword [ebp - reloc.KERNEL32.dll_LocalAlloc], eax
mov dword [ebp - reloc.KERNEL32.dll_LocalAlloc], ebx
mov dword [ebp - reloc.KERNEL32.dll_LocalAlloc], 1
jne 0x100861a
push MsgWaitForMultipleObjects
lea eax, [ebp - 0x84]
push eax
push 0x34
push dword [0x10171dc]
call fcn.01011dd1
mov ecx, dword [ebp - reloc.KERNEL32.dll_LocalAlloc]
lea eax, [ebp - 0x84]
mov dword [ebp - reloc.KERNEL32.dll_LocalAlloc], eax
lea eax, reloc.KERNEL32.dll_LocalAlloc
push eax
call fcn.01013f29
test byte [ebp + 0x10], 4
je 0x1008670
mov eax, dword [ebp - reloc.KERNEL32.dll_LocalAlloc]
mov ecx, dword [ebp - reloc.KERNEL32.dll_LocalAlloc]
dec eax
neg eax
sbb eax, eax
and eax, 0xfffff000
add eax, 0x2000
push 0xf000
push eax
push dword [ebp - 0x494]
mov dword [ebp - reloc.KERNEL32.dll_LocalAlloc], eax
call fcn.0101416b
mov edi, dword [ebp - reloc.KERNEL32.dll_LocalAlloc]
lea eax, reloc.KERNEL32.dll_LocalAlloc
push eax
lea eax, reloc.KERNEL32.dll_LocalAlloc
push eax
push dword [ebp - 0x48c]
push dword [ebp - 0x488]
push 7
push edi
call fcn.010052b2
test eax, eax
je 0x10082ac
cmp dword [ebp + 0x20], ebx
je 0x10087ef
lea eax, reloc.KERNEL32.dll_LocalAlloc
push eax
lea eax, reloc.KERNEL32.dll_LocalAlloc
push eax
push 7
push 0x10022ec
mov dword [ebp - reloc.KERNEL32.dll_LocalAlloc], ebx
push ebx
jmp 0x10087e1
lea eax, reloc.KERNEL32.dll_LocalAlloc
push eax
lea eax, reloc.KERNEL32.dll_LocalAlloc
push eax
push edi
call fcn.010050b5
test eax, eax
jne 0x10087c0
test byte [ebp - 0x2fc], 4
je 0x10087c0
mov dword [ebp - reloc.KERNEL32.dll_LocalAlloc], 0x24
lea esi, reloc.KERNEL32.dll_LocalAlloc
lea edi, reloc.KERNEL32.dll_LocalAlloc
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - reloc.KERNEL32.dll_LocalAlloc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, 0x10022ec
lea edi, reloc.KERNEL32.dll_LocalAlloc
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, reloc.KERNEL32.dll_LocalAlloc
push eax
movsd dword es:[edi], dword [esi]
call fcn.01014300
cmp eax, reloc.KERNEL32.dll_LocalAlloc
jne 0x10087c0
or dword [ebp - reloc.KERNEL32.dll_LocalAlloc], eax
cmp dword [ebp - reloc.KERNEL32.dll_LocalAlloc], ebx
lea eax, reloc.KERNEL32.dll_LocalAlloc
mov dword [ebp - reloc.KERNEL32.dll_LocalAlloc], 1
mov dword [ebp - reloc.KERNEL32.dll_LocalAlloc], 0xffff0001
mov dword [ebp - reloc.KERNEL32.dll_LocalAlloc], ebx
mov dword [ebp - reloc.KERNEL32.dll_LocalAlloc], eax
je 0x1008798
cmp dword [ebp - reloc.KERNEL32.dll_LocalAlloc], ebx
je 0x1008798
push dword [ebp - 0x300]
push 0xffffffffffffffff
push dword [ebp - 0x480]
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
cmp eax, ebx
mov dword [ebp - reloc.KERNEL32.dll_LocalAlloc], eax
je 0x1008798
or dword [ebp - reloc.KERNEL32.dll_LocalAlloc], 2
mov ecx, dword [ebp - reloc.KERNEL32.dll_LocalAlloc]
lea eax, reloc.KERNEL32.dll_LocalAlloc
mov dword [ebp - reloc.KERNEL32.dll_LocalAlloc], eax
lea eax, reloc.KERNEL32.dll_LocalAlloc
push eax
mov dword [ebp - reloc.KERNEL32.dll_LocalAlloc], 2
call fcn.01014488
mov edi, dword [ebp - reloc.KERNEL32.dll_LocalAlloc]
lea eax, reloc.KERNEL32.dll_LocalAlloc
push eax
lea eax, reloc.KERNEL32.dll_LocalAlloc
push eax
push 7
push 0x10022ec
push dword [ebp - 0x484]
push edi
call fcn.010059a3
test eax, eax
je 0x10086ca
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.01010e5d
leave
ret 0x20