joyce8/EMBER2024-capa huggingface dataset:
Function at 0x2e01e341
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x30
mov eax, 0x2e030586
call fcn.2e02e16c
lea eax, [ebp - 0x2c]
xor ebx, ebx
push eax
push str.softwaremicrosoftwindows_shell_associationsurlassociationshttpuserchoice
push 0x80000001
mov edi, ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x2e01e45f
lea eax, [ebp - 0x30]
push eax
push ebx
push ebx
push ebx
push str.progid
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x2e01e456
mov eax, dword [ebp - 0x30]
inc eax
push eax
call fcn.2e00ad6f
mov esi, eax
pop ecx
mov dword [ebp - 0x3c], esi
lea eax, [ebp - 0x30]
mov dword [ebp - 4], ebx
push eax
push esi
push ebx
push ebx
push str.progid
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
xor ecx, ecx
inc ecx
test eax, eax
jne 0x2e01e449
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], bl
call fcn.2e010c49
push str.IE.HTTP
lea ecx, [ebp - 0x28]
call fcn.2e00ad6f
test al, al
jne 0x2e01e3fc
push ebx
push str.AppX
lea ecx, [ebp - 0x28]
call fcn.2e00ad6f
push 1
test eax, eax
pop edx
cmove edi, edx
jmp 0x2e01e3ff
xor edx, edx
inc edx
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x2e01e439
mov ecx, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ecx
mov byte [ebp - 4], dl
cmp eax, 0x1000
jb 0x2e01e430
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.2e00ad6f
mov eax, dword [ebp - 0x34]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x38]
push eax
push ecx
call fcn.2e00ad6f
pop ecx
pop ecx
xor ecx, ecx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 0xf
inc ecx
mov byte [ebp - 0x28], bl
or dword [ebp - 4], 0xffffffff
push ecx
push esi
call fcn.2e00ad6f
pop ecx
pop ecx
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ax, di
call fcn.2e02e14a
ret
Function at 0x417ffb
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4233dc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040e305
and dword [ebp - 0x14], 0
cmp dword [0x4c66f4], 0
mov dword [ebp - 0x18], eax
jne 0x4180ae
push 0x403fc0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x418156
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x403fb4
push ebx
call edi
test eax, eax
je 0x418156
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x403fa4
push ebx
mov dword [0x4c66f4], eax
call edi
push eax
call esi
push 0x403f90
push ebx
mov dword [0x4c66f8], eax
call edi
push eax
call esi
push 0x403f74
push ebx
mov dword [0x4c66fc], eax
call edi
push eax
call esi
mov dword [0x4c6704], eax
test eax, eax
je 0x4180ae
push 0x403f5c
push ebx
call edi
push eax
call esi
mov dword [0x4c6700], eax
mov eax, dword [0x4c6700]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x418107
cmp dword [0x4c6704], ecx
je 0x418107
push eax
call esi
push dword [0x4c6704]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x418107
test ebx, ebx
je 0x418107
call edi
test eax, eax
je 0x4180fe
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4180fe
test byte [ebp - 8], 1
jne 0x418107
or dword [ebp + 0x10], 0x200000
jmp 0x41813a
mov eax, dword [0x4c66f8]
cmp eax, dword [ebp - 0x18]
je 0x41813a
push eax
call esi
test eax, eax
je 0x41813a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41813a
mov eax, dword [0x4c66fc]
cmp eax, dword [ebp - 0x18]
je 0x41813a
push eax
call esi
test eax, eax
je 0x41813a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4c66f4]
call esi
test eax, eax
je 0x418156
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x418158
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040b4ce
leave
ret
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x430030
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
popal
nop
nop
nop
nop
jmp int.00401219
Function at 0x10003097
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x20
mov eax, ecx
push ebx
mov ebx, dword [eax + 0x3c]
add ebx, eax
mov dword [esp + 4], eax
movzx eax, word [ebx + 0x14]
add eax, 0x18
push edi
mov edi, dword [ebx + 0xa0]
add eax, ebx
mov dword [esp + 0x14], eax
test edi, edi
je 0x10003209
mov edx, dword [ebx + 0xa4]
test edx, edx
je 0x10003209
push ebp
push esi
movzx esi, word [ebx + 6]
xor ebp, ebp
xor ecx, ecx
test esi, esi
je 0x100030ef
cmp dword [eax + 0xc], edi
je 0x100030ed
inc ecx
add eax, 0x28
cmp ecx, esi
jb 0x100030de
jmp 0x100030ef
mov ebp, eax
mov ebp, dword [ebp + 0x14]
add ebp, dword [esp + 0x10]
mov dword [esp + 0x2c], ebp
lea eax, [edx + ebp]
mov edi, ebp
cmp ebp, eax
je 0x10003207
mov edx, dword [edi + 4]
mov esi, dword [edi]
lea edx, [edx - 8]
add edi, 8
shr edx, 1
mov dword [esp + 0x28], esi
mov dword [esp + 0x14], edx
je 0x100031f7
mov ebp, dword [esp + 0x10]
movzx ecx, word [edi]
mov eax, ecx
and eax, 0xf000
mov dword [esp + 0x18], 0x3000
add edi, 2
cmp ax, word [esp + 0x18]
jne 0x100031e8
movzx eax, word [ebx + 6]
and ecx, 0xfff
add ecx, esi
xor edx, edx
xor esi, esi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], edx
test eax, eax
je 0x1000318d
mov edx, dword [esp + 0x1c]
add edx, 0xc
lea eax, [edx - 0xc]
mov dword [esp + 0x18], eax
cmp dword [edx], ecx
ja 0x1000317d
mov eax, dword [edx - 4]
add eax, dword [edx]
cmp eax, ecx
ja 0x100031c0
movzx eax, word [ebx + 6]
inc esi
add edx, 0x28
cmp esi, eax
jb 0x10003169
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 0x14]
sub eax, dword [edx + 0xc]
push 0x14
add eax, ecx
pop ecx
mov eax, dword [eax + ebp]
mov dword [esp + 0x20], eax
call fcn.1000ce1b
mov esi, eax
test esi, esi
je 0x100031c6
xor eax, eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi], 0x5cfa10
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
jmp 0x100031c8
mov edx, dword [esp + 0x18]
jmp 0x1000318d
xor esi, esi
mov ecx, dword [esp + 0x34]
push esi
call fcn.1000cf65
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x14]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x20]
mov dword [esi + 0x10], eax
mov esi, dword [esp + 0x28]
dec edx
mov dword [esp + 0x14], edx
jne 0x10003126
mov ebp, dword [esp + 0x2c]
mov eax, dword [ebx + 0xa4]
add eax, ebp
cmp edi, eax
jne 0x10003107
pop esi
pop ebp
pop edi
pop ebx
add esp, 0x20
ret 4
Function at 0x1000afa2
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x20]
push esi
mov ebx, dword [ebp + 0x3c]
push edi
add ebx, ebp
push 0x40
lea eax, [ebx + 0x18]
mov dword [esp + 0x20], eax
mov eax, dword [eax + 0x38]
mov dword [esp + 0x24], eax
push 0x3000
add eax, 0x14
push eax
mov edi, ecx
push 0
mov dword [esp + 0x20], edi
call dword [0x5cf0c4]
mov esi, eax
mov dword [edi], esi
test esi, esi
je 0x1000b0d2
push 0x40
mov edx, ebp
mov ecx, esi
call fcn.1000ce3b
mov esi, dword [esi + 0x3c]
movzx eax, word [ebx + 0x14]
add esi, dword [edi]
push eax
mov edx, ebx
mov ecx, esi
call fcn.1000ce3b
movzx ecx, word [ebx + 0x14]
lea eax, [esi + 0x18]
movzx esi, word [esi + 0x14]
lea edx, [ebx + 0x18]
movzx ebx, word [ebx + 6]
add ecx, edx
add esi, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
test ebx, ebx
je 0x1000b067
mov ebp, ecx
sub ebp, esi
mov edi, ebx
push 0x28
lea edx, [esi + ebp]
mov ecx, esi
call fcn.1000ce3b
add esi, 0x28
dec edi
jne 0x1000b02b
mov edi, dword [esp + 0x10]
mov ebp, dword [esp + 0x28]
mov ecx, dword [esp + 0x14]
test ebx, ebx
je 0x1000b067
lea esi, [ecx + 0x14]
mov ecx, dword [esi - 8]
mov edx, dword [esi]
push dword [esi - 4]
add ecx, dword [edi]
add edx, ebp
call fcn.1000ce3b
lea esi, [esi + 0x28]
dec ebx
jne 0x1000b050
mov edx, dword [edi]
mov esi, dword [esp + 0x18]
push esi
mov ecx, edx
call fcn.10007e15
push dword [esp + 0x1c]
mov edx, dword [edi]
mov ecx, dword [0x5d15a8]
call fcn.10007eb4
mov eax, dword [esi + 0x60]
test eax, eax
je 0x1000b0ab
cmp dword [esi + 0x64], 0
je 0x1000b0ab
mov edx, dword [edi]
mov ecx, dword [eax + edx + 0x10]
mov eax, dword [eax + edx + 0x1c]
shl ecx, 2
sub eax, ecx
mov eax, dword [eax + edx + 4]
add eax, edx
mov dword [edi + 4], eax
mov edx, dword [edi]
add edx, dword [esp + 0x20]
mov ecx, dword [0x5d15a8]
mov eax, dword [ecx]
mov dword [edx], eax
mov eax, dword [ecx + 8]
mov dword [edx + 8], eax
mov eax, dword [ecx + 4]
and dword [edx + 0xc], 0
and dword [edx + 0x10], 0
mov dword [edx + 4], eax
xor eax, eax
inc eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
Function at 0x1000c2ee
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x20]
push edi
mov ebx, dword [ebp + 0x3c]
push 0x40
add ebx, ebp
push 0x3000
lea eax, [ebx + 0x18]
mov dword [esp + 0x24], ecx
push dword [eax + 0x38]
mov dword [esp + 0x24], eax
push 0
call dword [0x5cf0c4]
mov edi, eax
mov dword [esp + 0xc], edi
test edi, edi
je 0x1000c420
push esi
push 0x40
mov edx, ebp
mov ecx, edi
call fcn.1000ce3b
mov esi, dword [edi + 0x3c]
movzx eax, word [ebx + 0x14]
add esi, edi
push eax
mov edx, ebx
mov ecx, esi
call fcn.1000ce3b
movzx eax, word [ebx + 0x14]
lea edx, [esi + 0x18]
movzx esi, word [esi + 0x14]
lea ecx, [ebx + 0x18]
movzx ebx, word [ebx + 6]
add eax, ecx
add esi, edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], eax
test ebx, ebx
je 0x1000c3ab
mov ebp, eax
sub ebp, esi
mov edi, ebx
push 0x28
lea edx, [esi + ebp]
mov ecx, esi
call fcn.1000ce3b
add esi, 0x28
dec edi
jne 0x1000c36f
mov edi, dword [esp + 0x10]
mov ebp, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
test ebx, ebx
je 0x1000c3ab
lea esi, [eax + 0x14]
mov edx, dword [esi]
mov ecx, dword [esi - 8]
push dword [esi - 4]
add edx, ebp
add ecx, edi
call fcn.1000ce3b
lea esi, [esi + 0x28]
dec ebx
jne 0x1000c394
mov ebx, dword [esp + 0x18]
push ebx
mov edx, edi
mov ecx, edi
call fcn.10007e15
push dword [esp + 0x1c]
mov ecx, dword [0x5d15a8]
mov edx, edi
call fcn.10007eb4
add ebx, 0x60
mov eax, dword [ebx]
test eax, eax
je 0x1000c41c
cmp dword [ebx + 4], 0
je 0x1000c41c
lea esi, [eax + edi]
push 0x5cff94
push esi
mov edx, ebx
mov ecx, edi
call fcn.10007f65
mov ebp, dword [esp + 0x20]
push 0x5cffa0
add eax, edi
push esi
mov edx, ebx
mov ecx, edi
mov dword [ebp + 4], eax
call fcn.10007f65
push 0x5cffb4
add eax, edi
push esi
mov edx, ebx
mov ecx, edi
mov dword [ebp + 8], eax
call fcn.10007f65
add eax, edi
mov dword [ebp + 0xc], eax
xor eax, eax
inc eax
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x14
ret 8

Function at 0x1000d307
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, edx
mov ebx, edi
shr ebx, 2
and edi, 3
mov esi, ecx
test ebx, ebx
je 0x1000d348
push ebp
mov ebp, dword [esp + 0x14]
mov al, byte [esp + 0x18]
mov edx, dword [esi]
add al, bl
cmp dword [esp + 0x1c], 0
movzx ecx, al
je 0x1000d339
add edx, ebx
xor edx, ebp
rol edx, cl
jmp 0x1000d33f
ror edx, cl
xor edx, ebp
sub edx, ebx
mov dword [esi], edx
add esi, 4
dec ebx
jne 0x1000d31f
pop ebp
test edi, edi
je 0x1000d356
mov eax, dword [esp + 0x10]
xor byte [esi], al
inc esi
dec edi
jne 0x1000d350
pop edi
pop esi
pop ebx
ret 0xc

Function at 0x1000dd7f
Capabilities:
Hash data with md5

Disassembly:
and dword [ecx + 0x14], 0
and dword [ecx + 0x10], 0
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
ret
Function at 0x1001cf50
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x100df320]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x1001cf80
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100a7270
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
mov eax, dword [eax]
test eax, eax
je 0x1001cfb0
mov edx, dword [esi + 0x30]
mov edx, dword [edx]
add edx, eax
cmp eax, edx
jae 0x1001cfb0
call dword [sym.imp.MSVCP140.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void_]
pop esi
mov byte [eax], bl
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100a7270
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
push edi
je 0x1001d0ab
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x1001cfd9
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x1001d00d
push dword [esi + 0x4c]
movsx eax, bl
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100a7270
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x28], bl
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x27]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet___char_const___char_const___char_const____char___char___char___const]
sub eax, 0
je 0x1001d06c
sub eax, 1
je 0x1001d06c
sub eax, 2
jne 0x1001d0ab
push dword [esi + 0x4c]
push dword [ebp - 0x28]
call fcn.1009c780
add esp, 8
or ecx, 0xffffffff
test al, al
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100a7270
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x1001d08a
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x1001d0ab
lea eax, [ebp - 0x28]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x30], eax
je 0x1001d0ab
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100a7270
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100a7270
mov esp, ebp
pop ebp
ret 4
Function at 0x1009c780
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x1009c78f
pop dword [ebp - 0x3c]
mov eax, 0xefc51eab
sub eax, 0xdfbb571c
sub dword [ebp - 0x3c], eax
mov dword [ebp - 0x4c], 0x61645dfd
sub dword [ebp - 0x4c], 0x131218b2
mov dword [ebp - 0x48], 0x195493ad
add dword [ebp - 0x48], 0x18deb898
mov dword [ebp - 0x44], 0xd1afc88a
add dword [ebp - 0x44], 0x7a9c7ba4
mov dword [ebp - 0x40], 0x99d9a06d
sub dword [ebp - 0x40], 0x99d9a06d
lea eax, [ebp - 0x4c]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 0x3c]
call dword [eax]
mov dword [ebp - 0x4c], 0x37ae02db
sub dword [ebp - 0x4c], 0xc33b9985
mov dword [ebp - 0x48], 0xc66b7a0
sub dword [ebp - 0x48], 0xcafa562b
mov dword [ebp - 0x44], 0xce523f32
sub dword [ebp - 0x44], 0x6ae2d2c6
mov dword [ebp - 0x40], 0xf3e1ab3c
add dword [ebp - 0x40], 0xc1e54c4
lea ebx, [ebp - 0x4c]
push ebx
push eax
mov eax, 0x54c0aac4
sub eax, 0x44b53a28
add eax, dword [ebp - 0x3c]
call dword [eax]
push 0x40
push 0x1000
push 0x646d1
push 0
call eax
mov ecx, 0x75f4bf6e
sub ecx, 0x75f45f57
xor edi, edi
add edi, eax
mov esi, 0x362d0f05
sub esi, 0x261ddb05
add esi, dword [ebp - 0x3c]
mov ebx, 0x72a88964
xor dword [ebp - 0x20], edi
mov edx, dword [esi]
mov dword [ebp - 0x30], 0x1a09ebd7
add edx, ebx
add dword [ebp - 0x28], esi
mov dword [edi], edx
sub dword [ebp - 0x34], 0x8e10208a
add edi, 0xf2fdb05f
add edi, 0xd024fa5
add esi, 4
loop 0x1009c8a8
add eax, 0x1732f
mov ebx, eax
add eax, 0x79b68396
sub eax, 0x79b68391
mov ecx, 0x6f62672e
sub ecx, 0x5f62672e
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret
Function at 0x404e5c
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
cmp dword [0x241ee14], 0x594
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], eax
jne 0x404e8f
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
push 0
call dword [sym.imp.KERNEL32.dll_ClearCommBreak]
mov eax, dword [0x433738]
and dword [ebp - 8], 0
mov dword [ebp - 0x24], eax
mov eax, dword [0x43373c]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 8]
call fcn.00404e55
mov eax, dword [0x433740]
mov ebx, dword [ebp - 8]
mov dword [ebp - 0x18], eax
mov eax, dword [0x433744]
add ebx, 0x23f
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], 0x20
mov dword [ebp - 8], 2
add dword [ebp - 8], 3
mov eax, edi
shl eax, 4
add eax, dword [ebp - 0x18]
mov dword [ebp - 4], eax
mov eax, dword [0x241ee14]
cmp eax, 0xfa9
jne 0x404ef7
mov dword [0x241ee10], 0xedeb2e40
cmp eax, 0x3eb
jne 0x404f05
and dword [0x2400b30], 0
mov ecx, dword [ebp - 8]
mov esi, edi
shr esi, cl
lea eax, [ebx + edi]
mov dword [ebp - 0x20], eax
mov dword [0x241ee0c], 0xf4ea3dee
add esi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
xor dword [ebp - 4], eax
xor esi, dword [ebp - 4]
cmp dword [0x241ee14], 0x213
jne 0x404f3f
xor eax, eax
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
sub dword [ebp - 0xc], esi
cmp dword [0x241ee14], 0xc
jne 0x404f6e
and dword [ebp - 0x3c], 0
xor eax, eax
lea edi, [ebp - 0x38]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x58]
push eax
push 0x403718
call dword [sym.imp.KERNEL32.dll_BuildCommDCBAndTimeoutsA]
mov edi, dword [ebp - 0x10]
mov esi, dword [ebp - 0xc]
mov eax, esi
lea ecx, [ebp - 4]
call fcn.00404e4f
mov eax, dword [ebp - 0x24]
add dword [ebp - 4], eax
mov ecx, dword [ebp - 8]
lea eax, [ebx + esi]
xor dword [ebp - 4], eax
shr esi, cl
add esi, dword [ebp - 0x28]
cmp dword [0x241ee14], 0x121
jne 0x404fae
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthA]
xor eax, eax
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasA]
xor dword [ebp - 4], esi
sub edi, dword [ebp - 4]
add ebx, 0x61c88647
dec dword [ebp - 0x14]
mov dword [ebp - 0x10], edi
jne 0x404ecb
cmp dword [0x241ee14], 0xa6d
mov esi, dword [ebp + 8]
mov dword [esi], edi
jne 0x404ff7
xor edi, edi
push 0x30
lea eax, [ebp - 0x6c]
push edi
push eax
mov dword [ebp - 0x70], edi
call fcn.0040b000
add esp, 0xc
push edi
lea eax, [ebp - 0x70]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetDefaultCommConfigW]
mov eax, dword [ebp - 0xc]
pop edi
mov dword [esi + 4], eax
pop esi
pop ebx
leave
ret 4
Function at 0x405004
Capabilities:
Get memory capacity
Query environment variable
Set environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x241ee14]
mov ecx, dword [0x2400b34]
sub esp, 0x96c
push ebx
push esi
shr eax, 3
xor esi, esi
push edi
cmp eax, esi
jbe 0x4050aa
mov edi, ecx
mov ebx, eax
cmp dword [0x241ee14], 0x959
jne 0x40509e
push esi
call dword [sym.imp.KERNEL32.dll_FindVolumeMountPointClose]
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
lea eax, [ebp - 0x168]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
push esi
push 0x403778
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
push esi
lea eax, [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
push esi
lea eax, [ebp - 0x568]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleTitleA]
push esi
lea eax, [ebp - 0x968]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryA]
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push edi
call fcn.00404e5c
add edi, 8
dec ebx
jne 0x40502c
pop edi
pop esi
pop ebx
leave
ret
Function at 0x408e4a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43226c]
jne 0x408e54
repz ret
jmp fcn.004110bc

Function at 0x414f71
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0040ccac
and dword [ebp - 4], 0
cmp dword [0x434dbc], 0
mov ebx, eax
jne 0x415022
push 0x402d70
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4150d3
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x402d64
push edi
call esi
test eax, eax
je 0x4150d3
push eax
call fcn.0040cc3a
mov dword [esp], 0x402d54
push edi
mov dword [0x434dbc], eax
call esi
push eax
call fcn.0040cc3a
mov dword [esp], 0x402d40
push edi
mov dword [0x434dc0], eax
call esi
push eax
call fcn.0040cc3a
mov dword [esp], 0x402d24
push edi
mov dword [0x434dc4], eax
call esi
push eax
call fcn.0040cc3a
pop ecx
mov dword [0x434dcc], eax
test eax, eax
je 0x415022
push 0x402d0c
push edi
call esi
push eax
call fcn.0040cc3a
pop ecx
mov dword [0x434dc8], eax
mov eax, dword [0x434dc8]
cmp eax, ebx
je 0x41507a
cmp dword [0x434dcc], ebx
je 0x41507a
push eax
call fcn.0040ccb5
push dword [0x434dcc]
mov esi, eax
call fcn.0040ccb5
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x41507a
test edi, edi
je 0x41507a
call esi
test eax, eax
je 0x415071
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x415071
test byte [ebp - 0xc], 1
jne 0x41507a
or dword [ebp + 0x10], 0x200000
jmp 0x4150b3
mov eax, dword [0x434dc0]
cmp eax, ebx
je 0x4150b3
push eax
call fcn.0040ccb5
pop ecx
test eax, eax
je 0x4150b3
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4150b3
mov eax, dword [0x434dc4]
cmp eax, ebx
je 0x4150b3
push eax
call fcn.0040ccb5
pop ecx
test eax, eax
je 0x4150b3
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x434dbc]
call fcn.0040ccb5
pop ecx
test eax, eax
je 0x4150d3
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4150d5
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x430000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
pop eax
nop
nop
nop
nop
add eax, 0x403d7a
nop
sub eax, 0x403d20
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp fcn.00401219