joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001a45
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x70
push 0x1001258
call fcn.01001c48
xor ebx, ebx
push ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x1001a82
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1001a82
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x1001a9a
cmp eax, 0x20b
je 0x1001a87
mov dword [ebp - 0x1c], ebx
jmp 0x1001aae
cmp dword [ecx + 0x84], 0xe
jbe 0x1001a82
xor eax, eax
cmp dword [ecx + 0xf8], ebx
jmp 0x1001aa8
cmp dword [ecx + 0x74], 0xe
jbe 0x1001a82
xor eax, eax
cmp dword [ecx + 0xe8], ebx
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], ebx
push 2
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
or dword [0x1003078], 0xffffffff
or dword [0x100307c], 0xffffffff
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x1003070]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x100306c]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x1003080], eax
call fcn.01001c3e
cmp dword [0x1003050], ebx
jne 0x1001b09
push fcn.01001c3e
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.01001c27
push 0x1003010
push 0x100300c
call sub.msvcrt.dll__initterm
mov eax, dword [0x1003068]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [0x1003064]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.msvcrt.dll___getmainargs]
mov dword [ebp - 0x38], eax
push 0x1003008
push section..data
call sub.msvcrt.dll__initterm
add esp, 0x24
mov eax, dword [sym.imp.msvcrt.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x20], esi
cmp byte [esi], 0x22
jne 0x1001b9f
inc esi
mov dword [ebp - 0x20], esi
mov al, byte [esi]
cmp al, bl
je 0x1001b73
cmp al, 0x22
jne 0x1001b65
cmp byte [esi], 0x22
jne 0x1001b7c
inc esi
mov dword [ebp - 0x20], esi
mov al, byte [esi]
cmp al, bl
je 0x1001b86
cmp al, 0x20
jbe 0x1001b78
mov dword [ebp - 0x54], ebx
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x54], 1
je 0x1001baa
movzx eax, word [ebp - 0x50]
jmp 0x1001bad
cmp byte [esi], 0x20
jbe 0x1001b7c
inc esi
mov dword [ebp - 0x20], esi
jmp 0x1001b9f
push 0xa
pop eax
push eax
push esi
push ebx
push ebx
call edi
push eax
call main
mov esi, eax
mov dword [ebp - 0x3c], esi
cmp dword [ebp - 0x1c], ebx
jne 0x1001bca
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
jmp 0x1001bff
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.01001c83
ret

Function at 0x4015a0
Capabilities:
Terminate process

Disassembly:
call fcn.00401940
jmp fcn.004012d0

Function at 0x4015b0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x403008]
jne 0x4015ba
repz ret
jmp fcn.004019f0
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404369

Function at 0x4025e7
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x14
push 0x40f530
call fcn.00403770
mov eax, 0x5a4d
cmp word [0x400000], ax
jne 0x4024e7
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x4024e7
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x4024e7
cmp dword [eax + 0x400074], 0xe
jbe 0x4024e7
xor ecx, ecx
cmp dword [eax + 0x4000e8], ecx
setne cl
mov dword [ebp - 0x1c], ecx
jmp 0x4024eb
and dword [ebp - 0x1c], 0
push 1
call fcn.0040cffb
pop ecx
test eax, eax
jne 0x4024ff
push 0x1c
call fcn.0040cffb
pop ecx
call fcn.00405287
test eax, eax
jne 0x402510
push 0x10
call fcn.0040cffb
pop ecx
call fcn.00405952
and dword [ebp - 4], 0
call fcn.004032ff
test eax, eax
jge 0x40252a
push 0x1b
call fcn.0040cffb
pop ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x412ba0], eax
call fcn.0040cffb
mov dword [0x41203c], eax
call fcn.0040cffb
test eax, eax
jge 0x402550
push 8
call fcn.0040cffb
pop ecx
call fcn.00405fde
test eax, eax
jge 0x402561
push 9
call fcn.0040cffb
pop ecx
push 1
call fcn.0040cffb
pop ecx
test eax, eax
je 0x402574
push eax
call fcn.0040cffb
pop ecx
mov eax, dword [0x412018]
mov dword [0x41201c], eax
push eax
push dword [0x412010]
push dword [0x41200c]
call main
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], 0
jne 0x4025a2
push eax
call fcn.0040cffb
call fcn.00402400
jmp 0x4025d7
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
call fcn.004037b5
ret
call fcn.0040cffb
jmp 0x402495

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

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ed0
nop
mov ecx, 0x73e94f35
nop
nop
test eax, eax
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..data
mov ebx, 0x42e1d0
nop
mov ecx, 0x1ad84625
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x430084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x435cd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x435cdf
pop dword [ebp - 0x40]
mov eax, 0xf6b32d00
add eax, 0x9902fdf
sub dword [ebp - 0x40], eax
mov dword [ebp - 0x50], 0xca8baf67
add dword [ebp - 0x50], 0x83c695e4
mov dword [ebp - 0x4c], 0xe759d88c
add dword [ebp - 0x4c], 0x4ad973b9
mov dword [ebp - 0x48], 0x139d6525
add dword [ebp - 0x48], 0x38aedf09
mov dword [ebp - 0x44], 0xc48ba3a5
sub dword [ebp - 0x44], 0xc48ba3a5
lea eax, [ebp - 0x50]
push eax
mov eax, 0x41d28fd8
add eax, 0xbe71223c
add eax, dword [ebp - 0x40]
call dword [eax]
mov dword [ebp - 0x50], 0xe2a3e97e
add dword [ebp - 0x50], 0x91ce7fd8
mov dword [ebp - 0x4c], 0xbdd5ed0
sub dword [ebp - 0x4c], 0xca70fd5b
mov dword [ebp - 0x48], 0x8a24e2d7
add dword [ebp - 0x48], 0xd94a8995
mov dword [ebp - 0x44], 0xe9aade28
add dword [ebp - 0x44], 0x165521d8
lea ebx, [ebp - 0x50]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x40]
call dword [eax]
push 0x40
push 0x1000
push 0x471b8
push 0
call eax
mov ecx, 0x52bb
mov ebx, eax
mov esi, 0x464e00
add esi, dword [ebp - 0x40]
mov edi, 0x2bd8e546
sub dword [ebp - 0x30], edx
mov edx, dword [esi]
mov dword [ebp - 0x2c], 0xcf97a74f
xor edx, edi
mov dword [ebp - 0x2c], 0x129bcd05
mov dword [ebx], edx
sub dword [ebp - 0x38], eax
add ebx, 0x50a1464b
sub ebx, 0x50a14647
add esi, 0xcd34f3a7
sub esi, 0xcd34f3a3
loop 0x435dea
add eax, 0xd58fa67e
sub eax, 0xd58e68bf
xor ebx, ebx
add ebx, eax
add eax, 0xa3f892ff
add eax, 0x5c076d06
mov ecx, 0x2ffd5a70
sub ecx, 0x2fbd5a70
add ecx, dword [ebp - 0x40]
call ebx
leave
ret
Function at 0x1001337a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x10013389
pop dword [ebp - 0x24]
mov eax, 0x10013389
sub dword [ebp - 0x24], eax
mov dword [ebp - 0x34], 0xfba558de
add dword [ebp - 0x34], 0x52acec6d
mov dword [ebp - 0x30], 0x7e9e6555
add dword [ebp - 0x30], 0xb394e6f0
mov dword [ebp - 0x2c], 0x3e4f0844
add dword [ebp - 0x2c], 0xdfd3bea
mov dword [ebp - 0x28], 0x66b9a09f
sub dword [ebp - 0x28], 0x66b9a09f
lea eax, [ebp - 0x34]
push eax
mov eax, 0x53e7a1ae
add eax, 0xbc1c6f2a
add eax, dword [ebp - 0x24]
call dword [eax]
mov dword [ebp - 0x34], 0x255c5ffc
add dword [ebp - 0x34], 0x4f16095a
mov dword [ebp - 0x30], 0x29b36c38
add dword [ebp - 0x30], 0x17b8f53d
mov dword [ebp - 0x2c], 0x7fd8de05
add dword [ebp - 0x2c], 0xe3968e67
mov dword [ebp - 0x28], 0xe5e8d07d
add dword [ebp - 0x28], 0x1a172f83
lea ebx, [ebp - 0x34]
push ebx
push eax
mov eax, 0x57a6a33f
sub eax, 0x47a292c7
add eax, dword [ebp - 0x24]
call dword [eax]
push 0x40
push 0x1000
push 0x513b6
push 0
call eax
mov ecx, 0x9c8e1109
add ecx, 0x6372457c
xor edi, edi
add edi, eax
mov edx, 0x7e56b8cb
sub edx, 0x6e51cecb
add edx, dword [ebp - 0x24]
mov esi, 0xa103a01d
sub esi, 0x3770e98c
sub dword [ebp - 0x14], 0x1882057f
mov ebx, dword [edx]
add dword [ebp - 0x18], 0x4512afa2
sub ebx, esi
xor dword [ebp - 0x10], ebx
mov dword [edi], ebx
sub dword [ebp - 4], edi
add edi, 0x6c435c7e
add edi, 0x93bca386
add edx, 0x836f997e
add edx, 0x7c906686
loop 0x100134a8
add eax, 0x14ce7
xor ebx, ebx
add ebx, eax
add eax, 0x61936828
sub eax, 0x61936823
mov ecx, 0x326441f2
sub ecx, 0x226441f2
add ecx, dword [ebp - 0x24]
call ebx
leave
ret

Function at 0x1003f584
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1004acd0]
jne 0x1003f58e
repz ret
jmp fcn.1003fc70
Function at 0x10003ebf
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x10003ece
pop dword [ebp - 0x40]
mov eax, 0x7e044947
sub eax, 0x6e040a79
sub dword [ebp - 0x40], eax
mov dword [ebp - 0x50], 0xfb8738ea
add dword [ebp - 0x50], 0x52cb0c61
mov dword [ebp - 0x4c], 0x36acb55f
sub dword [ebp - 0x4c], 0x479691a
mov dword [ebp - 0x48], 0x11679ad9
sub dword [ebp - 0x48], 0xc51b56ab
mov dword [ebp - 0x44], 0xef1e5a7
add dword [ebp - 0x44], 0xf10e1a59
lea eax, [ebp - 0x50]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 0x40]
call dword [eax]
mov dword [ebp - 0x50], 0xb7d98985
add dword [ebp - 0x50], 0xbc98dfd1
mov dword [ebp - 0x4c], 0x9007deb
add dword [ebp - 0x4c], 0x386be38a
mov dword [ebp - 0x48], 0xa0e6b42e
add dword [ebp - 0x48], 0xc288b83e
mov dword [ebp - 0x44], 0xff34e6a2
add dword [ebp - 0x44], 0xcb195e
lea ebx, [ebp - 0x50]
push ebx
push eax
mov eax, 0x13943abd
add eax, 0xfc6c1583
add eax, dword [ebp - 0x40]
call dword [eax]
push 0x40
push 0x1000
push 0x36c8a
push 0
call eax
mov ecx, 0x43d290ca
sub ecx, 0x43d24830
mov edi, eax
mov ebx, 0x8d7f52a6
add ebx, 0x8281635a
add ebx, dword [ebp - 0x40]
mov esi, 0x6bea9821
add esi, 0x21d741cd
sub dword [ebp - 4], ebx
mov edx, dword [ebx]
xor dword [ebp - 0x10], ecx
add edx, esi
sub dword [ebp - 0x14], 0x42ac7ae7
mov dword [edi], edx
add dword [ebp - 0x38], edx
add edi, 0x37e30633
add edi, 0xc81cf9d1
add ebx, 0x312a92e3
sub ebx, 0x312a92df
loop 0x10003feb
add eax, 0x1153b
mov ebx, eax
add eax, 0x388cbcfe
add eax, 0xc7734307
mov ecx, 0xf2c4b434
sub ecx, 0xe2c4b434
add ecx, dword [ebp - 0x40]
call ebx
leave
ret
Function at 0x6d421614
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
mov ebx, dword [sym.imp.kernel32.dll_GetTickCount]
push esi
push edi
call ebx
xor ecx, ecx
mov dword [ebp - 0xc], eax
cmp dword [ebp + 0x1c], ecx
jg 0x6d421646
jl 0x6d421636
cmp dword [ebp + 0x18], ecx
jae 0x6d421646
mov dword [ebp - 8], 1
mov dword [ebp - 4], 0x14
jmp 0x6d42165e
push 0x14
mov dword [ebp - 8], ecx
pop eax
cmp dword [ebp + 0x1c], ecx
jg 0x6d42165b
jl 0x6d421658
cmp dword [ebp + 0x18], eax
jae 0x6d42165b
mov eax, dword [ebp + 0x18]
mov dword [ebp - 4], eax
push dword [ebp - 4]
push dword [ebp + 0x10]
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x6d4216c3
xor edi, edi
cmp byte [ebp + 0x20], 0
mov esi, 0xf80001
je 0x6d421683
mov esi, 0x4ff0001
push esi
xor eax, eax
push eax
push eax
push eax
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x6d4216b1
lea eax, [ebp - 0x28]
push eax
inc edi
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
cmp edi, 0x64
jl 0x6d421683
cmp dword [ebp - 8], 0
jne 0x6d42165e
call ebx
mov ecx, dword [ebp + 0x18]
add ecx, dword [ebp - 0xc]
cmp eax, ecx
jb 0x6d42165e
pop edi
pop esi
pop ebx
leave
ret 0x1c

Function at 0x6d424eb4
Capabilities:
Create thread

Disassembly:
push 0x10
mov eax, 0x6d4333f2
call fcn.6d431b12
mov esi, ecx
mov eax, dword [esi + 0x23c]
or dword [ebp - 0x14], 0xffffffff
xor ebx, ebx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], ebx
call fcn.6d425fe1
push dword [ebp + 8]
lea ecx, [esi + 0xdc]
mov eax, dword [ecx]
push eax
mov dword [ebp - 4], ebx
call fcn.6d427be2
push dword [esi + 0xbc]
lea edi, [esi + 0x238]
cmp dword [edi], ebx
setne byte [ebp - 0xd]
call dword [sym.imp.kernel32.dll_SetEvent]
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], ebx
je 0x6d424f1a
push dword [ebp - 0x1c]
call dword [sym.imp.kernel32.dll_ReleaseMutex]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
cmp eax, 1
jne 0x6d424f47
cmp dword [esi + 0x234], ebx
jne 0x6d424f47
push edi
push ebx
push esi
push 0x6d424e3a
push ebx
push ebx
call dword [sym.imp.msvcr100.dll__beginthreadex]
add esp, 0x18
mov dword [esi + 0x234], eax
jmp 0x6d424f7f
cmp eax, 0xa
jne 0x6d424f73
lea edi, [esi + 0x234]
cmp dword [edi], ebx
je 0x6d424f73
lea eax, [ebp + 8]
push eax
push edi
push 1
push 0xffffffffffffffff
push 1
call dword [sym.imp.ole32.dll_CoWaitForMultipleHandles]
push dword [edi]
call dword [sym.imp.kernel32.dll_CloseHandle]
mov dword [edi], ebx
jmp 0x6d424f7f
cmp byte [ebp - 0xd], bl
jne 0x6d424f7f
mov ecx, esi
call fcn.6d432db1
call fcn.6d431bea
ret 4

Function at 0x6d42622e
Capabilities:
Hash data using fnv

Disassembly:
mov ecx, dword [esp + 4]
mov eax, 0x811c9dc5
jmp 0x6d426247
movzx edx, word [ecx]
imul eax, eax, 0x1000193
xor eax, edx
add ecx, 2
cmp ecx, dword [esp + 8]
jne 0x6d426239
ret

Function at 0x6d42aa06
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push dword [esp + 0x14]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
ret 8
Function at 0x6d42aa54
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
mov ebx, ecx
test esi, esi
jne 0x6d42aa65
push 0xd
pop eax
jmp 0x6d42aa8f
push edi
xor edi, edi
push esi
call dword [sym.imp.kernel32.dll_lstrlenA]
inc eax
add esi, eax
add edi, eax
cmp eax, 1
jne 0x6d42aa68
push edi
push dword [esp + 0x18]
push 7
push 0
push dword [esp + 0x20]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebx
ret 8

Function at 0x6d42b020
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0xa0]
sub esp, 0x120
mov eax, dword [0x6d440324]
xor eax, ebp
mov dword [ebp + 0x9c], eax
mov eax, dword [ebp + 0xa8]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
or ecx, 0x2001f
push ecx
push eax
push dword [edi]
xor esi, esi
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x6c], esi
call fcn.6d432db1
mov ebx, eax
cmp ebx, esi
je 0x6d42b093
lea ecx, [ebp - 0x74]
call fcn.6d4293e2
mov eax, ebx
mov ecx, dword [ebp + 0x9c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.6d431a43
add ebp, 0xa0
leave
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
jmp 0x6d42b0ab
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x74]
call fcn.6d42b020
cmp eax, esi
jne 0x6d42b0dd
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x64]
push eax
push esi
push dword [ebp - 0x74]
mov dword [ebp - 0x68], 0x100
call ebx
test eax, eax
je 0x6d42b09b
lea ecx, [ebp - 0x74]
call fcn.6d4293e2
push dword [ebp - 0x78]
mov ecx, edi
call fcn.6d42a92f
lea ecx, [ebp - 0x74]
mov esi, eax
call fcn.6d4293e2
mov eax, esi
jmp 0x6d42b079
Function at 0x6d42e2fa
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x1c
test eax, eax
je 0x6d42e30c
add eax, 0xffffff84
jmp 0x6d42e30e
xor eax, eax
and dword [ebp + 8], 0
push esi
mov esi, dword [ebp + 0xc]
push edi
push 7
pop ecx
lea edi, [ebp - 0x1c]
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp + 8]
push ecx
push 0x6d436294
lea ecx, [eax + 4]
call fcn.6d42d1f0
test eax, eax
js 0x6d42e377
cmp dword [ebp + 8], 0
je 0x6d42e374
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
xor edi, edi
call esi
test ax, ax
jns 0x6d42e34c
inc edi
push 0x11
call esi
test ax, ax
jns 0x6d42e358
add edi, 2
push 0x12
call esi
test ax, ax
jns 0x6d42e364
add edi, 4
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push edi
lea edx, [ebp - 0x1c]
push edx
push eax
call dword [ecx + 0x1c]
jmp 0x6d42e377
xor eax, eax
inc eax
xor ecx, ecx
test eax, eax
mov eax, dword [ebp + 8]
setne cl
mov esi, ecx
test eax, eax
je 0x6d42e38d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
pop edi
mov eax, esi
pop esi
leave
ret 8

Function at 0x6d43086b
Capabilities:
Hide graphical window

Disassembly:
push esi
test ecx, ecx
je 0x6d430875
lea esi, [ecx - 0x78]
jmp 0x6d430877
xor esi, esi
lea eax, [esi + 0x84]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov esi, dword [esi + 0x50]
test esi, esi
je 0x6d430893
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
ret 8
Function at 0x6d43169b
Capabilities:
Create process on windows
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x1f0]
sub esp, 0x270
mov eax, dword [0x6d440324]
xor eax, ebp
mov dword [ebp + 0x1ec], eax
mov eax, dword [ebp + 0x1f8]
push ebx
push esi
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x28]
push eax
push 0x20019
xor ebx, ebx
push ebx
push str.JNLPFileShellOpenCommand
mov esi, 0x104
push SysReAllocStringLen
mov dword [ebp - 0x2c], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x6d4316f0
xor eax, eax
jmp 0x6d43180f
push edi
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x1c]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x28]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, ebx
jne 0x6d431782
lea eax, [ebp - 0x1c]
inc eax
cmp byte [eax], 0x22
jne 0x6d431717
push esi
mov byte [eax], bl
lea eax, [ebp + 0xe8]
push ebx
push eax
call sub.msvcr100.dll_memset
lea eax, [ebp - 0x1b]
push eax
lea eax, [ebp + 0xe8]
push 0x6d438020
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
cmp dword [ebp - 0x24], ebx
je 0x6d43177d
lea eax, [ebp + 0xe8]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x6d431754
sub eax, edx
mov edi, eax
mov eax, dword [ebp - 0x24]
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x6d431765
sub eax, esi
lea eax, [edi + eax + 0x10]
push eax
call dword [sym.imp.msvcr100.dll_malloc]
pop ecx
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], ebx
jne 0x6d431789
xor eax, eax
jmp 0x6d43180e
lea eax, [ebp + 0xe8]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x6d431792
sub eax, edx
mov esi, eax
mov eax, dword [ebp - 0x24]
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x6d4317a3
push dword [ebp - 0x24]
lea ecx, [ebp + 0xe8]
push ecx
sub eax, edi
push str.__s___nocodebase__s
lea eax, [esi + eax + 0x10]
push eax
push dword [ebp - 0x20]
call dword [sym.imp.msvcr100.dll_sprintf_s]
push 0x44
pop esi
push esi
lea eax, [ebp - 0x80]
push ebx
push eax
call sub.msvcr100.dll_memset
add esp, 0x20
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x80]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0x20]
lea eax, [ebp + 0xe8]
push eax
mov dword [ebp - 0x80], esi
call dword [sym.imp.kernel32.dll_CreateProcessA]
push dword [ebp - 0x20]
mov esi, eax
call dword [sym.imp.msvcr100.dll_free]
xor eax, eax
cmp esi, ebx
pop ecx
setne al
pop edi
mov ecx, dword [ebp + 0x1ec]
pop esi
xor ecx, ebp
pop ebx
call fcn.6d431a43
add ebp, 0x1f0
leave
ret
Function at 0x6d431826
Capabilities:
Get common file path
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x198]
sub esp, 0x218
mov eax, dword [0x6d440324]
xor eax, ebp
mov dword [ebp + 0x194], eax
and dword [ebp - 0x7c], 0
push ebx
mov ebx, dword [ebp + 0x1a4]
push esi
push edi
mov edi, dword [ebp + 0x1a0]
lea eax, [ebp - 0x74]
push eax
mov esi, 0x104
push esi
mov dword [ebp - 0x80], edi
call dword [sym.imp.kernel32.dll_GetTempPathA]
cmp eax, esi
ja 0x6d431984
xor esi, esi
cmp eax, esi
je 0x6d431984
lea eax, [ebp + 0x90]
push eax
push esi
push str.JNLP
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.kernel32.dll_GetTempFileNameA]
test eax, eax
jne 0x6d43189b
push 3
jmp 0x6d431986
push esi
push 0x80
push 2
push esi
push esi
push 0x40000000
lea eax, [ebp + 0x90]
push eax
call dword [sym.imp.kernel32.dll_CreateFileA]
mov dword [ebp - 0x78], eax
cmp eax, 0xffffffff
jne 0x6d4318c6
push 4
jmp 0x6d431986
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x6d4318cb
sub eax, edx
mov ecx, eax
mov eax, ebx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x6d4318db
sub eax, esi
lea eax, [eax + ecx + 0x14]
push eax
call dword [sym.imp.msvcr100.dll_malloc]
mov esi, eax
pop ecx
test esi, esi
jne 0x6d4318fd
push 5
jmp 0x6d431986
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x6d431902
sub eax, edx
mov ecx, eax
mov eax, ebx
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x6d431912
push dword [ebp - 0x80]
sub eax, edi
push ebx
push str.docbase_s_njnlphref_s_n
lea eax, [eax + ecx + 0x14]
push eax
push esi
call dword [sym.imp.msvcr100.dll_sprintf_s]
mov eax, esi
add esp, 0x14
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x6d431938
push 0
sub eax, ecx
lea ecx, [ebp - 0x7c]
push ecx
push eax
push esi
push dword [ebp - 0x78]
call dword [sym.imp.kernel32.dll_WriteFile]
push esi
mov edi, eax
call dword [sym.imp.msvcr100.dll_free]
pop ecx
test edi, edi
jne 0x6d431964
push 6
jmp 0x6d431986
push dword [ebp - 0x78]
call dword [sym.imp.kernel32.dll_CloseHandle]
test eax, eax
jne 0x6d431975
push 7
jmp 0x6d431986
lea eax, [ebp + 0x90]
push eax
call fcn.6d43169b
pop ecx
jmp 0x6d431987
push 2
pop eax
mov ecx, dword [ebp + 0x194]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.6d431a43
add ebp, 0x198
leave
ret

Function at 0x6d431a43
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x6d440324]
jne 0x6d431a4d
repz ret
jmp fcn.6d432261
Function at 0x6d43273c
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x6d44095c], 0
push esi
push edi
jne 0x6d4326b2
call fcn.6d43261e
test eax, eax
je 0x6d4326f7
mov eax, dword [0x6d44095c]
cmp eax, 1
jne 0x6d4326d3
push 0xd
push 0
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
test eax, eax
je 0x6d4326f7
jmp 0x6d432739
mov edi, dword [sym.imp.kernel32.dll_InterlockedPopEntrySList]
push eax
call edi
test eax, eax
jne 0x6d432739
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.kernel32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x6d4326fb
xor eax, eax
jmp 0x6d432739
mov eax, dword [esi]
push dword [0x6d44095c]
call edi
mov edi, eax
test edi, edi
je 0x6d43271d
push 0x8000
push 0
push esi
call dword [sym.imp.kernel32.dll_VirtualFree]
mov eax, edi
jmp 0x6d432739
lea edi, [esi + 0xff0]
push esi
push dword [0x6d44095c]
call dword [sym.imp.kernel32.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x6d432723
mov eax, esi
pop edi
pop esi
ret
jmp 0x6d43269e

Function at 0x6d432db1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x6d432dc0
pop dword [ebp - 0x48]
mov eax, 0xad6604ec
sub eax, 0x4022d72c
sub dword [ebp - 0x48], eax
push 0x40
push 0x1000
push 0x36a28
push 0
mov eax, 0x10383990
add eax, 0x5d0b06b4
add eax, dword [ebp - 0x48]
call dword [eax]
mov ecx, 0x946fe32c
add ecx, 0x6b905fb2
xor edx, edx
add edx, eax
mov ebx, 0xe04bbb58
sub ebx, 0x73077158
add ebx, dword [ebp - 0x48]
mov edi, 0xb57d8061
sub dword [ebp - 0x20], 0x2b12bf14
mov esi, dword [ebx]
add dword [ebp - 0x2c], 0x154893f0
sub esi, edi
xor dword [ebp - 0x34], ecx
mov dword [edx], esi
sub dword [ebp - 0x44], 0x4677c49b
add edx, 4
add ebx, 0xa1d51cdb
sub ebx, 0xa1d51cd7
loop 0x6d432e1b
add eax, 0xad30b75e
add eax, 0x52d046ed
xor ebx, ebx
add ebx, eax
add eax, 0xf83b755b
add eax, 0x7c48aaa
mov ecx, 0xf4bcb8cd
add ecx, 0x78854733
add ecx, dword [ebp - 0x48]
call ebx
leave
ret