joyce8/EMBER2024-capa huggingface dataset:
Function at 0x437e93
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x46a030]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x437ede
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.00438032
test al, al
jne 0x437ed8
sub edx, 2
cmp edx, edi
jne 0x437ebe
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x437f00
lea eax, [edi + 2]
cmp edx, eax
je 0x437f00
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.00437ddf
add esp, 0x10
jmp 0x437ffa
push esi
lea ecx, [ebp - 0x255]
call fcn.00438032
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x437f43
push dword [ebp - 0x25c]
jmp 0x437ef0
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x437f80
cmp word [ebp - 0x226], 0
je 0x437fa1
cmp word [ebp - 0x226], ax
jne 0x437f80
cmp word [ebp - 0x224], 0
je 0x437fa1
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.00437ddf
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x437fed
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x437f5a
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x437fd5
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x437ffa
push 0x437c0f
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.0043e2d0
add esp, 0x10
jmp 0x437fca
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041b155
leave
ret

Function at 0x438905
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x438916
pop esi
ret
push ebx
push edi
push esi
call fcn.004388ce
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00430803
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x43893e
push ebx
push esi
push edi
call fcn.0041c920
add esp, 0xc
push 0
call fcn.0042fb9e
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x438d02
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00438953
Function at 0x43e8f5
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0043e871
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x43ea6d
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x43ea6d
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x43ea1c
jg 0x43e94e
test eax, eax
je 0x43ea12
push 1
push 0x1000
call fcn.00431c2d
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x43e974
mov eax, dword [ebp + 0x14]
push 0xc
pop edi
mov byte [eax + 0x1c], 1
mov dword [eax + 0x18], edi
jmp 0x43ea09
push 0x8000
push ebx
call fcn.0042c40a
mov edi, dword [ebp + 0x14]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x43e9a0
jg 0x43e99b
cmp ecx, 0x1000
jb 0x43e9a0
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.0042f36d
add esp, 0x10
cmp eax, 0xffffffff
je 0x43e9e5
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x43e99b
jl 0x43e9cc
test ecx, ecx
jne 0x43e98d
push dword [ebp - 0xc]
push ebx
call fcn.0042c40a
push esi
call fcn.0042fb9e
add esp, 0xc
xor edi, edi
jmp 0x43ea7e
cmp byte [edi + 0x24], 0
je 0x43e9fc
cmp dword [edi + 0x20], 5
jne 0x43e9fc
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x43ea07
mov edi, dword [edi + 0x18]
jmp 0x43ea09
xor edi, edi
push esi
call fcn.0042fb9e
pop ecx
jmp 0x43ea7e
test ecx, ecx
jg 0x43e9de
jl 0x43ea1c
test eax, eax
jae 0x43e9de
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.004331e4
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x43ea3f
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x43e9de
jmp 0x43ea76
push ebx
call fcn.00432f73
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x43e9de
mov esi, dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [esi + 0x24], 1
mov dword [esi + 0x20], eax
pop edi
mov byte [esi + 0x1c], 1
mov dword [esi + 0x18], edi
jmp 0x43ea7e
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x43ea7b
mov edi, dword [edi + 0x18]
jmp 0x43ea7e
push 0x16
pop edi
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.004331e4
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x43f190
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x43f1bd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x43f1bd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x43fa46
Capabilities:
Accept command line arguments

Disassembly:
push 0x9c
mov eax, 0x44e5c1
call fcn.0041ba91
xor ecx, ecx
mov dword [ebp - 0x14], 7
xor eax, eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x18], ecx
mov word [ebp - 0x28], ax
mov dword [ebp - 4], ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x88]
call fcn.00401a57
mov byte [ebp - 4], 1
call fcn.0044121b
push eax
lea ecx, [ebp - 0x70]
call fcn.004054e2
push 0x37
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 2
push eax
mov ecx, 0x46e0cc
call fcn.00407917
mov esi, eax
push 0x4615d4
lea edx, [ebp - 0x70]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.00401ae1
pop ecx
push esi
push eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x58]
push dword [ebp - 0xa4]
call fcn.00407575
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x28]
call fcn.00401a20
lea ecx, [ebp - 0x58]
call fcn.004024cc
lea ecx, [ebp - 0x40]
call fcn.004024cc
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 2
call fcn.004024cc
push 8
pop edi
cmp dword [ebp - 0x14], edi
lea eax, [ebp - 0x28]
push 0x45aa84
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00421523
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x43fb9d
lea edx, [ebp - 0x88]
lea ecx, [ebp - 0x58]
call fcn.004099f4
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x58]
cmp dword [ebp - 0x44], 0x10
push esi
push dword [ebp - 0x48]
cmovae ecx, dword [ebp - 0x58]
push 1
push ecx
call fcn.00421802
push esi
push 1
push 1
push 0x46162c
call fcn.00421802
add esp, 0x20
lea ecx, [ebp - 0x40]
mov edx, 0x490cac
call fcn.004099f4
cmp dword [ebp - 0x30], 0
je 0x43fb86
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
push esi
push dword [ebp - 0x30]
cmovae eax, dword [ebp - 0x40]
push 1
push eax
call fcn.00421802
add esp, 0x10
push esi
call fcn.00421961
pop ecx
lea ecx, [ebp - 0x40]
call fcn.004021bf
lea ecx, [ebp - 0x58]
call fcn.004021bf
lea ecx, [ebp - 0x70]
call fcn.004024cc
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0
call fcn.004024cc
call fcn.0044102a
cmp dword [0x490d08], edi
mov esi, 0x490cf4
push ecx
mov eax, esi
mov ecx, esp
cmovae eax, dword [0x490cf4]
push eax
call fcn.00406827
mov ecx, dword [0x490f98]
call fcn.0044352e
pop ecx
test eax, eax
je 0x43fbec
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x490d08], edi
cmovae esi, dword [0x490cf4]
push esi
call fcn.00426c91
cmp dword [ebp - 0x18], 0
pop ecx
je 0x43fc32
cmp dword [ebp - 0x14], edi
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
call fcn.00407f4b
test al, al
je 0x43fc32
cmp dword [ebp - 0x14], edi
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00426c91
pop ecx
mov eax, dword [ebp - 0x14]
cmp eax, edi
jb 0x43fc80
mov ecx, dword [ebp - 0x28]
lea eax, [eax*2 + 2]
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], ecx
cmp eax, 0x1000
jb 0x43fc77
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.0040247c
mov eax, dword [ebp - 0xa8]
pop ecx
pop ecx
mov ecx, dword [ebp - 0xa4]
push eax
push ecx
call fcn.0041b163
pop ecx
pop ecx
call fcn.0041ba40
ret
Function at 0x4403e3
Capabilities:
Enumerate gui resources
Get graphical window text

Disassembly:
push 0x464
mov eax, 0x44e775
call fcn.0041ba91
mov esi, ecx
mov ecx, dword [esi]
call fcn.00443431
mov edx, dword [esi]
lea ecx, [ebp - 0x448]
mov edi, eax
call fcn.0044344f
lea eax, [ebp - 0x470]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
push edi
mov dword [ebp - 0x470], ebx
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov dword [ebp - 0x46c], ebx
mov dword [ebp - 0x468], ebx
mov dword [ebp - 0x464], ebx
push 0x1c
lea eax, [ebp - 0x460]
mov byte [ebp - 4], 1
push eax
mov ecx, 0x46e0cc
call fcn.00407917
mov ecx, eax
cmp dword [ecx + 0x14], 8
jb 0x440456
mov ecx, dword [ecx]
mov eax, dword [ebp - 0x468]
cmp dword [ebp - 0x46c], eax
mov dword [ebp - 0x42c], ebx
cmovne eax, dword [ebp - 0x46c]
mov dword [ebp - 0x468], eax
mov eax, dword [ebp - 0x470]
mov dword [ebp - 0x430], eax
xor eax, eax
mov dword [ebp - 0x41c], ebx
mov dword [ebp - 0x418], 7
mov word [ebp - 0x42c], ax
mov byte [ebp - 4], 3
lea eax, [ebp - 0x46c]
mov dword [ebp - 0x414], eax
test ecx, ecx
je 0x4404ba
push ecx
lea ecx, [ebp - 0x42c]
call fcn.004021f5
lea eax, [ebp - 0x430]
push eax
push 0x40fb8f
call dword [sym.imp.USER32.dll_EnumWindows]
mov esi, dword [ebp - 0x468]
lea ecx, [ebp - 0x42c]
sub esi, dword [ebp - 0x46c]
sar esi, 2
call fcn.004024cc
lea ecx, [ebp - 0x460]
call fcn.004024cc
cmp esi, 1
jle 0x440585
push 0x400
lea eax, [ebp - 0x410]
push ebx
push eax
call fcn.0041cea0
mov esi, dword [ebp - 0x46c]
add esp, 0xc
jmp 0x440577
push 0x200
lea eax, [ebp - 0x410]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp dword [ebp - 0x434], 8
lea eax, [ebp - 0x448]
lea ecx, [ebp - 0x410]
cmovae eax, dword [ebp - 0x448]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x44056b
test dx, dx
je 0x440567
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x44056b
add ecx, 4
add eax, 4
test dx, dx
jne 0x440545
mov eax, ebx
jmp 0x440570
sbb eax, eax
or eax, 1
test eax, eax
je 0x440581
add esi, 4
cmp esi, dword [ebp - 0x468]
jne 0x440517
jmp 0x44059c
mov edi, dword [esi]
jmp 0x44059c
mov eax, dword [ebp - 0x468]
mov ecx, dword [ebp - 0x46c]
sub eax, ecx
sar eax, 2
test eax, eax
je 0x44059c
mov edi, dword [ecx]
lea ecx, [ebp - 0x46c]
call fcn.004029e9
lea ecx, [ebp - 0x448]
call fcn.004024cc
mov eax, edi
call fcn.0041ba40
ret
Function at 0x440ae1
Capabilities:
Create thread

Disassembly:
push 0x5c
mov eax, 0x44e8a3
call fcn.0041bafd
cmp byte [0x491055], 0
jne 0x440b5e
xor esi, esi
lea eax, [ebp - 0x48]
push eax
push esi
push 0x490c60
push 0x402f88
push esi
push esi
mov dword [0x490fc0], esi
mov dword [ebp - 0x48], esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 4], esi
call fcn.00446e90
or dword [ebp - 4], 0xffffffff
mov dword [0x490fc0], eax
jmp 0x440b37
cmp dword [ebp - 0x48], 0
je 0x440b55
push esi
push esi
push 0x502
push dword [ebp - 0x48]
call dword [sym.imp.USER32.dll_PostThreadMessageW]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x490fc0], 0
je 0x440b64
call fcn.0041ba4f
ret
lea ecx, [ebp - 0x2c]
call fcn.00402063
mov dword [ebp - 4], 2
call fcn.00406dbd
test al, al
lea eax, [ebp - 0x44]
je 0x440ba4
push 0x2b
push 0x13
push eax
call fcn.00440164
push eax
lea ecx, [ebp - 0x2c]
call fcn.00401a90
lea ecx, [ebp - 0x44]
call fcn.004021e5
lea ecx, [ebp - 0x2c]
call fcn.00445aed
jmp 0x440bbf
push 0x29
push 0x11
push eax
call fcn.00440164
push eax
lea ecx, [ebp - 0x2c]
call fcn.00401a90
lea ecx, [ebp - 0x44]
call fcn.004021e5
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x58]
call fcn.00405407
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x68]
call fcn.004049ba
push 0x466fb4
lea eax, [ebp - 0x68]
push eax
call fcn.0041eb2e
int3

Function at 0x440bea
Capabilities:
Create thread

Disassembly:
push esi
call fcn.00421b6f
cmp byte [0x491055], 0
mov esi, eax
jne 0x440c47
cmp dword [0x490fbc], 0
jne 0x440c47
cmp word [0x49105e], 3
push edi
mov edi, 0x491058
jne 0x440c2b
mov ecx, edi
call fcn.00402190
test al, 1
je 0x440c2b
mov eax, dword [0x490d70]
shr eax, 9
test al, 1
je 0x440c46
push 0x490fc4
xor eax, eax
push eax
push edi
push 0x405769
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x490fc8], eax
pop edi
mov eax, esi
pop esi
ret
Function at 0x440d11
Capabilities:
Check mutex on windows

Disassembly:
push 0x64
mov eax, 0x44e933
call fcn.0041ba91
mov eax, dword [0x490d70]
shr eax, 0xe
test al, 1
je 0x440db4
push 0x490c78
lea ecx, [ebp - 0x28]
call fcn.004054e2
and dword [ebp - 4], 0
lea ecx, [ebp - 0x40]
push 0x461604
call fcn.00401a57
push 0x4615d4
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 1
call fcn.00401a57
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 2
push eax
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x28]
call fcn.00409c5a
pop ecx
lea ecx, [ebp - 0x58]
call fcn.004024cc
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0
call fcn.004024cc
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [0x490fcc], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x440dba
lea ecx, [ebp - 0x28]
call fcn.004024cc
call fcn.0041ba40
ret
push 0x2e
push 0x29
lea eax, [ebp - 0x70]
push eax
call fcn.00440164
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 3
call fcn.00445aed
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x38]
call fcn.00405407
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x50]
call fcn.004049ba
push 0x466fb4
lea eax, [ebp - 0x50]
push eax
call fcn.0041eb2e
int3

Function at 0x44121b
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
mov eax, dword [0x46a030]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x490ca0], 0
push esi
mov esi, 0x490c90
jne 0x441336
push ebx
lea eax, [ebp - 0x804]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x804]
mov ecx, esi
push eax
call fcn.004021f5
cmp dword [0x490ca4], 8
mov eax, esi
cmovae eax, dword [0x490c90]
xor ebx, ebx
push ebx
push eax
call fcn.00426808
pop ecx
pop ecx
test eax, eax
je 0x441294
push 0x45aaf4
mov ecx, esi
call fcn.004021f5
mov ecx, esi
call fcn.00408322
cmp dword [0x490ca0], ebx
je 0x4412b9
cmp dword [0x490ca4], 8
mov eax, esi
push ebx
cmovae eax, dword [0x490c90]
push eax
call fcn.00426808
pop ecx
pop ecx
test eax, eax
je 0x4412cc
push str.TEMP
call fcn.004271a3
pop ecx
push eax
mov ecx, esi
call fcn.004021f5
cmp dword [0x490ca0], ebx
je 0x4412f1
cmp dword [0x490ca4], 8
mov eax, esi
push ebx
cmovae eax, dword [0x490c90]
push eax
call fcn.00426808
pop ecx
pop ecx
test eax, eax
je 0x441304
push 0x4615fc
call fcn.004271a3
pop ecx
push eax
mov ecx, esi
call fcn.004021f5
cmp dword [0x490ca0], ebx
je 0x441329
cmp dword [0x490ca4], 8
mov eax, esi
push ebx
cmovae eax, dword [0x490c90]
push eax
call fcn.00426808
pop ecx
pop ecx
test eax, eax
je 0x441335
push 0x490c60
mov ecx, esi
call fcn.00405510
pop ebx
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0041b155
leave
ret
Function at 0x444e9a
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x254
mov eax, dword [0x46a030]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
cmp dword [esi + 0xc], 0x201
jne 0x444f8b
push edi
push 0x208
xor edi, edi
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.0041cea0
mov eax, dword [esi + 0x18]
add esp, 0xc
mov dword [ebp - 0x218], eax
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x214], eax
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x210], eax
lea eax, [ebp - 0x218]
push eax
push edi
push 0x44b
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x250], edi
mov dword [ebp - 0x244], eax
xor eax, eax
push 7
mov dword [ebp - 0x24c], edi
mov dword [ebp - 0x248], edi
mov dword [ebp - 0x240], edi
mov dword [ebp - 0x23c], edi
lea edi, [ebp - 0x234]
pop ecx
mov dword [ebp - 0x254], 0x3c
mov dword [ebp - 0x238], 5
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x254]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
push dword [ebx + 0x44]
call dword [sym.imp.USER32.dll_HideCaret]
mov eax, dword [ebx + 0xb8]
pop edi
cmp eax, dword [ebx + 0xbc]
je 0x444f8e
mov eax, dword [eax]
push dword [eax]
call dword [sym.imp.USER32.dll_SetFocus]
jmp 0x444f8e
and dword [eax], 0
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
xor ecx, ebp
pop ebx
call fcn.0041b155
leave
ret 0xc
Function at 0x44a670
Capabilities:
Check if file exists
Get file attributes
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x40
push ebx
push esi
mov esi, ecx
mov dword [esp + 0xc], edx
xor bl, bl
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x44a68d
mov eax, dword [esi]
test eax, eax
je 0x44a7b1
cmp word [eax], 0
je 0x44a7b1
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x44a7b1
test al, 0x10
jne 0x44a7b1
cmp dword [esi + 0x14], 8
jb 0x44a6bf
mov esi, dword [esi]
push 0x461624
push esi
call fcn.00421523
mov esi, eax
add esp, 8
test esi, esi
je 0x44a7b1
lea eax, [esp + 0x18]
xorps xmm0, xmm0
push eax
push esi
movlpd qword [esp + 0x18], xmm0
call fcn.00428b9b
push 2
push 0
push esi
call fcn.0042821c
lea eax, [esp + 0x24]
push eax
push esi
call fcn.00428b9b
lea eax, [esp + 0x34]
push eax
push esi
call fcn.004290d2
add esp, 0x24
cmp dword [esp + 0x10], 0x28
jbe 0x44a7a8
xor eax, eax
mov dword [esp + 0x20], 0x48535844
push esi
push 1
mov word [esp + 0x40], ax
xorps xmm0, xmm0
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x28]
push 0x28
push eax
mov dword [esp + 0x34], 0x28
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
movsd qword [esp + 0x40], xmm0
call fcn.00427805
add esp, 0x10
test eax, eax
je 0x44a7a8
mov eax, dword [esp + 0x2c]
not eax
ror eax, 3
cmp eax, dword [esp + 0xc]
jne 0x44a7a8
cmp dword [esp + 0x20], 0x48535844
jne 0x44a7a8
cmp dword [esp + 0x24], 0x28
jne 0x44a7a8
movzx ecx, word [esp + 0x38]
add ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x3c]
add ecx, dword [esp + 0x40]
add eax, 0x28
add eax, ecx
cmp eax, dword [esp + 0x10]
sete bl
push esi
call fcn.00421961
add esp, 4
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
pop eax
nop
nop
add eax, 0x40a063
nop
nop
sub eax, 0x40a009
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
popal
nop
jmp fcn.00431219
Function at 0x40149d
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push ebx
push esi
push edi
lea eax, [ebp - 4]
push eax
mov eax, dword [0x472eb0]
or eax, 8
push eax
xor ebx, ebx
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x401532
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov edi, 0x105
jmp 0x4014ef
cmp dword [ebp + 0x10], ebx
jne 0x401526
push ebx
lea eax, [ebp - 0x210]
push eax
push dword [ebp - 4]
call fcn.0040149d
test eax, eax
jne 0x401501
push edi
lea eax, [ebp - 0x210]
push eax
push ebx
push dword [ebp - 4]
call esi
test eax, eax
je 0x4014d6
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 2
call fcn.004062fc
cmp eax, ebx
je 0x401539
push ebx
push dword [0x472eb0]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
jmp 0x401532
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0xc
cmp dword [0x472eb0], ebx
jne 0x40152f
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x40152f
jmp 0x401532
Function at 0x405e7f
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, dword [ebp - 0x700]
inc eax
mov dword [ebp - 0x700], eax
cmp dword [ebp - 0x700], 5
jge 0x405eab
mov eax, dword [ebp - 0x700]
movsx eax, byte [ebp + eax - 0x394]
movsx ecx, byte [ebp - 0x24]
xor eax, ecx
mov ecx, dword [ebp - 0x700]
mov byte [ebp + ecx - 0x394], al
mov eax, dword [ebp - 0x700]
movsx eax, byte [ebp + eax - 0x394]
not eax
mov ecx, dword [ebp - 0x700]
mov byte [ebp + ecx - 0x394], al
jmp 0x405e55
call fcn.00404a55
push ecx
jge 0x405edd
sub dword [eax - 0x72b5b], eax
inc dword [eax]
and byte [ebp - 0x72b], 0
mov byte [ebp - 0x72a], 0xc2
and byte [ebp - 0x729], 0
mov byte [ebp - 0x728], 0x6b
mov byte [ebp - 0x727], 0x54
push esp
mov byte [ebp - 0x726], 0x4f
mov byte [ebp - 0x725], 0x49
mov byte [ebp - 0x724], 0x48
mov byte [ebp - 0x723], 0x5c
mov byte [ebp - 0x722], 0x51
mov byte [ebp - 0x721], 0x6d
mov byte [ebp - 0x720], 0x4f
mov byte [ebp - 0x71f], 0x52
mov byte [ebp - 0x71e], 0x49
mov byte [ebp - 0x71d], 0x58
mov byte [ebp - 0x71c], 0x5e
mov byte [ebp - 0x71b], 0x49
mov byte [ebp - 0x71a], 0x3d
call fcn.00404a55
xchg ecx, eax
mov ch, byte [ebx]
or ecx, dword [ebp - 0x72b7b]
call dword [eax - 0x18]
pop ss
jmp 0x405f4c
invalid
Function at 0x401a18
Capabilities:
Encrypt data using rc4 prga

Disassembly:
test eax, eax
je 0x401a27
push ebx
push esi
push eax
mov esi, eax
xor ebx, ebx
xor eax, eax
jmp 0x401a2d
mov dword [edx], eax
inc dword [edx]
ret
inc esi
movzx ecx, byte [esi]
cmp cl, 0x20
je 0x401a2c
cmp cl, 0x30
jle 0x401a72
test cl, 0x87
je 0x401a98
sub cl, 0x30
cmp cl, 9
ja 0x401a60
cmp eax, 0xccccccc
ja 0x401ad6
lea eax, [eax + eax*4]
lea eax, [ecx + eax*2]
inc esi
mov bl, 1
movzx ecx, byte [esi]
jmp 0x401a3f
cmp eax, 0x80000000
jb 0x401ad6
jne 0x401a6d
test ebx, ebx
js 0x401ad6
dec esi
mov bl, 0
jmp 0x401ad6
cmp cl, 0x2b
je 0x401a7c
cmp cl, 0x2d
jne 0x401a86
mov bl, 0x2c
sub ebx, ecx
inc esi
mov bl, 0
movzx ecx, byte [esi]
cmp cl, 0x24
je 0x401aa2
cmp cl, 0x30
jne 0x401a3a
inc esi
mov bl, 1
movzx ecx, byte [esi]
jmp 0x401a3a
mov bh, cl
or bh, 0x20
cmp bh, 0x78
jne 0x401a3f
mov bl, 0
inc esi
movzx ecx, byte [esi]
cmp cl, 0x61
jb 0x401ab0
sub cl, 0x20
sub cl, 0x30
cmp cl, 9
jbe 0x401ac3
sub cl, 0x11
cmp cl, 5
ja 0x401ad3
add cl, 0xa
cmp eax, 0xfffffff
ja 0x401ad6
shl eax, 4
mov bl, 1
add eax, ecx
jmp 0x401aa4
add cl, 0x11
mov ch, bl
sar ebx, 0x1f
dec ch
xor eax, ebx
sub eax, ebx
or cl, ch
cmp cl, 0xd0
jne 0x401af0
xor esi, esi
pop ecx
mov dword [edx], esi
pop esi
pop ebx
ret
inc esi
pop ecx
sub esi, ecx
jmp 0x401aeb

Function at 0x402b5c
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x44c048], 0
je 0x402bbd
cmp word [0x44c21c], 0xd7b2
jne 0x402b85
cmp dword [0x44c224], 0
jbe 0x402b85
mov eax, 0x44c218
call dword [0x44c234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x44b084
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x402be4
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x44b030], 0
jne 0x402bd9
push 0
push 0x44b07c
push 0x44b084
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret