joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4172a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49fbce
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x4c400c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], esi
xor eax, eax
mov dword [ebp - 0x34], 0
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x34], 1
lea edx, [ecx + 2]
mov dword [ebp - 0x30], 0x69004d
mov dword [ebp - 0x2c], 0x720063
mov dword [ebp - 0x28], 0x73006f
mov dword [ebp - 0x24], 0x66006f
mov dword [ebp - 0x20], 0x200074
mov dword [ebp - 0x1c], 0x640045
mov dword [ebp - 0x18], 0x650067
mov word [ebp - 0x14], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x417336
sub ecx, edx
lea eax, [ebp - 0x30]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00405ec0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043cc06
mov esp, ebp
pop ebp
ret

Function at 0x417420
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49fb7e
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x4c400c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], esi
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x30], 1
lea edx, [ecx + 2]
mov dword [ebp - 0x2c], 0x6f0047
mov dword [ebp - 0x28], 0x67006f
mov dword [ebp - 0x24], 0x65006c
mov dword [ebp - 0x20], 0x430020
mov dword [ebp - 0x1c], 0x720068
mov dword [ebp - 0x18], 0x6d006f
mov dword [ebp - 0x14], 0x65
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4174b2
sub ecx, edx
lea eax, [ebp - 0x2c]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00405ec0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043cc06
mov esp, ebp
pop ebp
ret
Function at 0x417c40
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49fccd
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x4c400c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x34], edx
xor eax, eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
lea ecx, [ebp - 0x4c]
mov dword [ebp - 4], eax
call fcn.00418440
push eax
lea ecx, [ebp - 0x2c]
call fcn.00405ae0
mov edx, dword [ebp - 0x38]
cmp edx, 8
jb 0x417cd7
mov ecx, dword [ebp - 0x4c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x417ccd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x417e14
push edx
push ecx
call fcn.0043d19d
add esp, 8
cmp dword [ebp - 0x18], 8
lea ebx, [ebp - 0x2c]
push 0
cmovae ebx, dword [ebp - 0x2c]
push ebx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov esi, eax
test esi, esi
je 0x417dbe
add esi, 0x20
push esi
call fcn.00447f07
mov edi, eax
add esp, 4
test edi, edi
je 0x417dbe
push edi
push esi
push 0
push ebx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x417db5
lea eax, [ebp - 0x14]
mov dword [ebp - 0x30], 0
push eax
lea eax, [ebp - 0x30]
mov dword [ebp - 0x14], 0
push eax
push 0x4b5640
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x417db5
mov eax, dword [ebp - 0x30]
movzx esi, word [eax + 0xa]
movzx edx, word [eax + 8]
movzx ecx, word [eax + 0xe]
movzx eax, word [eax + 0xc]
push eax
push ecx
push edx
push esi
lea eax, [ebp - 0x4c]
push str._d._d._d._d
push eax
call fcn.004123f0
mov ecx, dword [ebp - 0x34]
add esp, 0x18
push eax
call fcn.0040c4f0
mov edx, dword [ebp - 0x38]
cmp edx, 0x10
jb 0x417da5
mov ecx, dword [ebp - 0x4c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x417d9b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x417e19
push edx
push ecx
call fcn.0043d19d
add esp, 8
push edi
call fcn.004461a9
add esp, 4
mov esi, 1
jmp 0x417dc0
push edi
call fcn.004461a9
add esp, 4
xor esi, esi
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x417df6
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x417dec
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x417e1e
push edx
push ecx
call fcn.0043d19d
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043cc06
mov esp, ebp
pop ebp
ret
call fcn.00446380
call fcn.00446380
call fcn.00446380
int3
Function at 0x418220
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49fdc7
mov eax, dword fs:[0]
push eax
mov eax, 0x2010
call fcn.00497b90
mov eax, dword [0x4c400c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
mov dword [ebp - 0x2018], edi
mov dword [ebp - 0x201c], edi
xor eax, eax
mov dword [ebp - 0x2014], 0
mov dword [edi], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
push 0x2000
mov dword [ebp - 4], eax
push eax
lea eax, [ebp - 0x2010]
mov dword [ebp - 0x2014], 1
push eax
call fcn.0043e790
add esp, 0xc
lea eax, [ebp - 0x2010]
push 0
push esi
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x4182e3
lea ecx, [ebp - 0x2010]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4182c5
sub ecx, edx
lea eax, [ebp - 0x2010]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.00405ec0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043cc06
mov esp, ebp
pop ebp
ret

Function at 0x4183a0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2008
call fcn.00497b90
mov eax, dword [0x4c400c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x2000
mov esi, ecx
lea eax, [ebp - 0x2004]
push 0
mov dword [ebp - 0x2008], esi
push eax
mov dword [ebp - 0x2008], esi
call fcn.0043e790
add esp, 0xc
lea eax, [ebp - 0x2004]
push eax
push 0xfff
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
xor eax, eax
mov dword [esi], 0
lea ecx, [ebp - 0x2004]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
lea edx, [ecx + 2]
mov word [esi], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x418410
sub ecx, edx
lea eax, [ebp - 0x2004]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00405ec0
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0043cc06
mov esp, ebp
pop ebp
ret
Function at 0x418600
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2004
call fcn.00497b90
mov eax, dword [0x4c400c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x4c54c0]
cmp eax, 0xffffff9c
jne 0x4186fe
push 0x1000
lea eax, [ebp - 0x2004]
mov dword [0x4c54c0], 0xffffffff
push 0
push eax
call fcn.0043e790
push 0x1000
lea eax, [ebp - 0x1004]
push 0
push eax
call fcn.0043e790
add esp, 0x18
lea eax, [ebp - 0x2004]
push 0xfff
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
cmp byte [ebp - 0x2004], 0
je 0x418758
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x2004]
push edi
push eax
lea eax, [ebp - 0x1004]
mov dword [0x4c54c0], 0
push eax
call esi
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendA]
lea eax, [ebp - 0x1004]
push str.System
push eax
call edi
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
lea eax, [ebp - 0x1004]
push eax
call ebx
test eax, eax
je 0x41870c
lea eax, [ebp - 0x2004]
push eax
lea eax, [ebp - 0x1004]
push eax
call esi
push str.System32
lea eax, [ebp - 0x1004]
push eax
call edi
lea eax, [ebp - 0x1004]
push eax
call ebx
test eax, eax
je 0x41870c
mov dword [0x4c54c0], 1
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043cc06
mov esp, ebp
pop ebp
ret
mov eax, dword [0x4c54c0]
test eax, eax
jne 0x4186fb
lea eax, [ebp - 0x2004]
push eax
lea eax, [ebp - 0x1004]
push eax
call esi
push str.SysWOW64
lea eax, [ebp - 0x1004]
push eax
call edi
lea eax, [ebp - 0x1004]
push eax
call ebx
dec eax
neg eax
pop edi
sbb eax, eax
inc eax
pop esi
mov dword [0x4c54c0], eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043cc06
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, dword [0x4c54c0]
xor ecx, ebp
call fcn.0043cc06
mov esp, ebp
pop ebp
ret
Function at 0x419360
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49ff5d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x28
mov eax, dword [0x4c400c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push edx
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x419462
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x34], eax
test eax, eax
jne 0x419406
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x419462
push 0
push eax
lea ecx, [ebp - 0x2c]
call fcn.004133b0
cmp dword [ebp - 0x18], 0x10
lea ecx, [ebp - 0x30]
push 0
push ecx
push dword [ebp - 0x34]
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x41944d
cmp eax, 0xffffffff
je 0x41944d
push 0
push eax
lea ecx, [ebp - 0x2c]
call fcn.004133b0
jmp 0x419462
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
cmovae eax, dword [ebp - 0x2c]
mov byte [eax], 0
movups xmm0, xmmword [ebp - 0x2c]
mov dword [esi], 0
mov eax, esi
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x1c]
movq qword [esi + 0x10], xmm0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0043cc06
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x4194b0
Capabilities:
Get user security identifier

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49ff9d
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x4c400c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x3c], esi
mov ebx, ecx
xor eax, eax
mov dword [ebp - 0x34], 0
push 0x408
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
call fcn.00406510
mov edx, eax
mov dword [ebp - 0x24], 0x400
xor eax, eax
mov dword [ebp - 0x20], 0x407
mov ecx, 0x200
mov edi, edx
rep stosd dword es:[edi], eax
mov word [edx + 0x800], ax
mov dword [ebp - 0x34], edx
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x38]
cmp dword [ebp - 0x20], 8
lea eax, [ebp - 0x34]
mov edi, dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
push ecx
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], 0x400
push ecx
cmovae eax, edx
mov dword [ebp - 0x1c], 0x44
push eax
lea eax, [ebp - 0x1c]
push eax
push esi
push ebx
push 0
call edi
mov esi, eax
test esi, esi
jne 0x4195d5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x4195d5
cmp dword [ebp - 0x1c], 0x44
jbe 0x41957e
xor ebx, ebx
jmp 0x4195dc
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x400
jbe 0x4195b3
mov eax, dword [ebp - 0x24]
cmp ecx, eax
ja 0x4195a6
cmp dword [ebp - 0x20], 8
lea eax, [ebp - 0x34]
mov dword [ebp - 0x24], ecx
cmovae eax, dword [ebp - 0x34]
xor edx, edx
mov word [eax + ecx*2], dx
jmp 0x4195b3
sub ecx, eax
push 0
push ecx
lea ecx, [ebp - 0x34]
call fcn.00423d20
cmp dword [ebp - 0x20], 8
lea ecx, [ebp - 0x38]
push ecx
lea ecx, [ebp - 0x18]
push ecx
lea eax, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
push eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x3c]
push ebx
push 0
call edi
mov esi, eax
xor ebx, ebx
test esi, esi
setne bl
mov edx, dword [ebp - 0x20]
cmp edx, 8
jb 0x419612
mov ecx, dword [ebp - 0x34]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x419608
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419630
push edx
push ecx
call fcn.0043d19d
add esp, 8
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0043cc06
mov esp, ebp
pop ebp
ret
call fcn.00446380
int3
Function at 0x419640
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49fff7
mov eax, dword fs:[0]
push eax
mov eax, 0x4028
call fcn.00497b90
mov eax, dword [0x4c400c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x4014], esi
mov dword [ebp - 0x4014], esi
mov dword [ebp - 0x401c], 0
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x4cdc70]
cmp eax, dword [ecx + 4]
jle 0x4196ec
push 0x4cdc70
call fcn.0043cd31
add esp, 4
cmp dword [0x4cdc70], 0xffffffff
jne 0x4196ec
push 0x4a4b20
mov dword [0x4cdc74], 0
mov dword [0x4cdc84], 0
mov dword [0x4cdc88], 0xf
call fcn.0043d188
add esp, 4
push 0x4cdc70
call fcn.0043cce7
add esp, 4
cmp dword [0x4cdc84], 0
jne 0x419840
push 0x2000
lea eax, [ebp - 0x2010]
push 0
push eax
call fcn.0043e790
add esp, 0xc
mov dword [ebp - 0x4014], 0x1000
lea eax, [ebp - 0x4014]
push eax
lea eax, [ebp - 0x2010]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
je 0x419840
push 0x2000
lea eax, [ebp - 0x4010]
push 0
push eax
call fcn.0043e790
add esp, 8
lea edx, [ebp - 0x4010]
lea ecx, [ebp - 0x2010]
call fcn.004194b0
add esp, 4
test eax, eax
je 0x419840
mov dword [ebp - 4], 0
lea eax, [ebp - 0x4018]
push eax
lea eax, [ebp - 0x4010]
mov dword [ebp - 0x4034], 0
push eax
mov dword [ebp - 0x4024], 0
mov dword [ebp - 0x4020], 0xf
mov byte [ebp - 0x4034], 0
mov dword [ebp - 0x401c], 2
mov dword [ebp - 0x4018], 0
call dword [sym.imp.ADVAPI32.dll_ConvertSidToStringSidA]
test eax, eax
je 0x4197f2
mov edx, dword [ebp - 0x4018]
mov ecx, edx
lea edi, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4197d0
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x4034]
call fcn.004060e0
push dword [ebp - 0x4018]
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea eax, [ebp - 0x4034]
mov ecx, 0x4cdc74
push eax
call fcn.0040c4f0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x4020]
cmp edx, 0x10
jb 0x419840
mov ecx, dword [ebp - 0x4034]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x419836
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419869
push edx
push ecx
call fcn.0043d19d
add esp, 8
push 0x4cdc74
mov ecx, esi
call fcn.00405d30
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043cc06
mov esp, ebp
pop ebp
ret
call fcn.00446380
int3
Function at 0x419ae0
Capabilities:
Check if file exists
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a007d
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x4c400c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov edi, ecx
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
push eax
push eax
sub esp, 0x18
mov dword [ebp - 4], eax
mov ecx, esp
mov esi, edi
mov dword [ecx], eax
lea edx, [esi + 2]
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], 7
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x419b45
sub esi, edx
sar esi, 1
push esi
push edi
call fcn.00405ec0
xor edx, edx
lea ecx, [ebp - 0x30]
call fcn.00412610
add esp, 0x20
cmp dword [ebp - 0x20], 0
je 0x419b94
cmp dword [ebp - 0x1c], 8
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x419b94
cmp dword [ebp - 0x1c], 8
lea ecx, [ebp - 0x30]
cmovae ecx, dword [ebp - 0x30]
call fcn.0041d000
push 0
push 0x80
push 2
push 0
push 3
push 0xc0000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x419bbc
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x419bea
push 0
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0xffffffff
push eax
push dword [ebp + 8]
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
test eax, eax
je 0x419be4
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x18]
jmp 0x419bed
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or esi, 0xffffffff
mov edx, dword [ebp - 0x1c]
cmp edx, 8
jb 0x419c23
mov ecx, dword [ebp - 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x419c19
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419c41
push edx
push ecx
call fcn.0043d19d
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0043cc06
mov esp, ebp
pop ebp
ret
call fcn.00446380
int3
Function at 0x41c370
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a03bd
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x4c400c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 0xc]
xor eax, eax
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 7
mov word [ebp - 0x50], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], 7
mov word [ebp - 0x38], ax
mov byte [ebp - 4], 1
push 0x44
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
call fcn.0043ce07
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [ebp - 0x18], eax
push 0
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x50]
push 0x4b5644
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x1c], 1
call fcn.00405ec0
push 0
push 0x4b5644
lea ecx, [ebp - 0x38]
call fcn.00405ec0
lea eax, [ebp - 0x50]
push eax
push 0x41c150
test edi, edi
jne 0x41c43b
call dword [sym.imp.USER32.dll_EnumWindows]
jmp 0x41c442
push edi
call dword [sym.imp.USER32.dll_EnumChildWindows]
test esi, esi
je 0x41c518
lea eax, [ebp - 0x50]
cmp esi, eax
je 0x41c464
cmp dword [ebp - 0x3c], 8
mov ecx, esi
push dword [ebp - 0x40]
cmovae eax, dword [ebp - 0x50]
push eax
call fcn.00405ec0
lea ecx, [esi + 0x18]
lea eax, [ebp - 0x38]
cmp ecx, eax
je 0x41c47f
cmp dword [ebp - 0x24], 8
push dword [ebp - 0x28]
cmovae eax, dword [ebp - 0x38]
push eax
call fcn.00405ec0
mov eax, dword [ebp - 0x20]
lea edi, [esi + 0x38]
mov dword [esi + 0x30], eax
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0x34], eax
lea eax, [ebp - 0x18]
cmp edi, eax
je 0x41c518
mov esi, dword [edi]
mov ecx, edi
push dword [esi + 4]
push edi
call fcn.004241f0
push dword [ebp - 0x54]
mov dword [esi + 4], esi
mov ecx, edi
mov dword [esi], esi
mov dword [esi + 8], esi
mov eax, dword [ebp - 0x18]
push dword [edi]
mov dword [edi + 4], 0
push dword [eax + 4]
call fcn.00424670
mov ecx, dword [edi]
mov dword [ecx + 4], eax
mov esi, dword [edi]
mov eax, dword [ebp - 0x14]
mov dword [edi + 4], eax
mov edx, dword [esi + 4]
cmp byte [edx + 0xd], 0
jne 0x41c511
mov ecx, dword [edx]
cmp byte [ecx + 0xd], 0
jne 0x41c4f1
mov eax, dword [ecx]
mov edx, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x41c4e5
mov dword [esi], edx
mov edx, dword [edi]
mov ecx, dword [edx + 4]
mov eax, dword [ecx + 8]
cmp byte [eax + 0xd], 0
jne 0x41c50c
mov ecx, eax
mov eax, dword [ecx + 8]
cmp byte [eax + 0xd], 0
je 0x41c501
mov dword [edx + 8], ecx
jmp 0x41c518
mov dword [esi], esi
mov eax, dword [edi]
mov dword [eax + 8], eax
lea ecx, [ebp - 0x50]
call fcn.0041c540
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043cc06
mov esp, ebp
pop ebp
ret
Function at 0x41c780
Capabilities:
Create process on windows

Disassembly:
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
push edi
push 0
push 0
push ebx
push 0x4b6f80
push 0
mov esi, 0x32
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jg 0x41c7cb
mov eax, esi
dec esi
test eax, eax
jle 0x41c7d4
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
push edi
push 0
push 0
push ebx
push 0x4b6f80
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jle 0x41c7a4
pop edi
pop esi
mov eax, 1
pop ebx
ret
pop edi
pop esi
xor eax, eax
pop ebx
ret