joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a1480
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x64bb50]
xor edx, edx
cmp eax, edx
jne 0x4a14a6
xor eax, eax
mov byte [eax + 0x64ba50], al
inc eax
cmp eax, 0x100
jl 0x4a148e
mov dword [0x64bb50], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x64ba50
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4a1537
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x4a150a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x4a14d8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4a1540
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x4a1593
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x4a157a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4a7f40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4e1c8e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.004a8860
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x5e0d9c
call fcn.004cf5b7
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x4a7fd3
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004cf5b7
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x4a7fcc
push 0
mov ecx, eax
call fcn.0049f0b0
mov dword [esi + 0xc], eax
jmp 0x4a7fd5
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x4a7fd5
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x40810b
sub esp, 0xffffff80
jmp 0x402130

Function at 0x43b64a
Capabilities:
Encode data using xor

Disassembly:
push 0x43b3c1
pop ebx
sub esi, edx
sub esi, esi
call fcn.0043b683
mov edx, esi
add edx, 0xf11057e0
xor dword [eax], ebx
and esi, esi
inc eax
or edx, esi
add esi, 0x3b31163d
and esi, esi
cmp eax, edi
jne fcn.0043b64a
sub esi, esi
and esi, edx
ret
Function at 0x475c10
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x475c6a
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.00475c00
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.00465174
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.00464d74
mov edx, dword [esi + 8]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x475c71
lea eax, [ebp - 4]
call fcn.00404130
ret

Function at 0x479350
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x416e48]
call fcn.00404b48
xor eax, eax
push ebp
push 0x479494
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4a679c], 0
jne 0x4793a3
mov ecx, dword [0x4a77bc]
mov dl, 1
mov eax, dword [0x407734]
call fcn.0040c258
call fcn.00403ae8
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00402d64
mov eax, ebx
call fcn.00404998
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x4794a4
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.00405d18
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.004049a8
test eax, eax
jle 0x47943b
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x479434
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.004043b8
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.004043a0
mov eax, dword [ebp - 0x48]
pop edx
call fcn.004085e8
test eax, eax
jne 0x479434
mov ebx, 0x15
jmp 0x479440
mov ebx, 0x10
jmp 0x479440
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x4a679c]
call fcn.004792a8
mov eax, dword [ebp - 8]
call fcn.004792a8
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00405d30
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47949b
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404154
lea eax, [ebp - 0x10]
mov edx, dword [0x416e48]
call fcn.00404c18
ret
Function at 0x47cc40
Capabilities:
Hide graphical window

Disassembly:
push ebx
add esp, 0xfffffff0
mov ebx, eax
mov eax, ebx
call fcn.0047c6e0
test byte [ebx + 0x23d], 4
jne 0x47ccd5
mov edx, esp
mov eax, ebx
call fcn.0043fa90
push esp
mov eax, ebx
call fcn.00446820
push eax
push 0
mov eax, ebx
test eax, eax
je 0x47cc75
sub eax, 0xfffffd9c
push eax
push 0
push 0xfffffffffffffffb
mov eax, dword [ebx + 0x218]
push eax
mov eax, dword [eax]
call dword [eax + 0x2c]
cmp dword [ebx + 0x22c], 0
jne 0x47cca6
mov ecx, dword [0x4a7afc]
mov dl, 1
mov eax, dword [0x478f68]
call fcn.0040c258
call fcn.00403ae8
mov eax, ebx
call fcn.0047d214
cmp byte [ebx + 0x57], 0
jne 0x47ccdc
mov eax, ebx
call fcn.00446a24
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x47ccdc
push 0
mov eax, ebx
call fcn.00446a24
push eax
call sub.user32.dll_ShowWindow
jmp 0x47ccdc
mov eax, ebx
call fcn.004439a4
add esp, 0x10
pop ebx
ret

Function at 0x4841e0
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x48420e
mov eax, ebx
call fcn.00484c94
cmp dword [ebx + 0x40], 0
je 0x484207
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x48427f
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x484271
cmp dword [ebx + 8], 0
je 0x484230
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x484242
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x484271
cmp dword [ebx + 8], 0
je 0x484223
cmp eax, 3
je 0x484255
dec eax
jne 0x484223
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x484223
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x484223
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x48429d
cmp dword [ebx + 0x14], 0xcc
je 0x48429d
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.004842a8
pop ebx
ret
Function at 0x494bc8
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push ebx
push esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004045e0
mov eax, dword [ebp - 8]
call fcn.004045e0
xor eax, eax
push ebp
push 0x494c93
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, 0x14
mov dword [ebp - 0x1c], 0x14
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 3
mov dword [ebp - 0x40], 1
mov dword [ebp - 0x3c], 3
mov dword [ebp - 0x34], 2
mov eax, dword [ebp - 8]
call fcn.004045f0
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x28], 3
mov eax, 0x494ca0
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 1
mov eax, dword [ebp - 4]
call fcn.004045f0
push eax
call sub.wininet.dll_InternetOpenA
mov ebx, eax
push esi
lea eax, [ebp - 0x1c]
push eax
push 0x4b
push ebx
call sub.wininet.dll_InternetSetOptionA
push 0
push 0
push 0x25
push ebx
call sub.wininet.dll_InternetSetOptionA
push ebx
call sub.wininet.dll_InternetCloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x494c9a
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404154
ret

Function at 0x494ca8
Capabilities:
Connect to http server
Create http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004045e0
mov eax, dword [ebp - 8]
call fcn.004045e0
mov eax, dword [ebp - 0xc]
call fcn.004045e0
mov eax, dword [ebp + 0xc]
call fcn.004045e0
xor eax, eax
push ebp
push 0x494db5
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, 0x14
mov dword [ebp - 0x20], 0x14
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 3
mov dword [ebp - 0x44], 1
mov dword [ebp - 0x40], 3
mov dword [ebp - 0x38], 2
mov eax, dword [ebp - 8]
call fcn.004045f0
mov edi, eax
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x2c], 3
mov eax, 0x494dc8
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x44]
mov dword [ebp - 0x10], eax
push 0
push 0
push 0
push 1
mov eax, dword [ebp - 4]
call fcn.004045f0
push eax
call sub.wininet.dll_InternetOpenA
mov ebx, eax
push 0
push 0
push 3
mov eax, dword [ebp + 0xc]
call fcn.004045f0
push eax
mov eax, dword [ebp - 0xc]
call fcn.004045f0
push eax
mov ax, word [ebp + 8]
push eax
push edi
push ebx
call sub.wininet.dll_InternetConnectA
push esi
lea eax, [ebp - 0x20]
push eax
push 0x4b
push ebx
call sub.wininet.dll_InternetSetOptionA
push 0
push 0
push 0x25
push ebx
call sub.wininet.dll_InternetSetOptionA
push ebx
call sub.wininet.dll_InternetCloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x494dbc
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404154
lea eax, [ebp + 0xc]
call fcn.00404130
ret

Function at 0x498af0
Capabilities:
Get geographical location

Disassembly:
add esp, 0xfffffff4
mov eax, esp
xor ecx, ecx
mov edx, 0xa
call fcn.00402d64
push 0xa
lea eax, [esp + 4]
push eax
push 0xd
push 0x400
call sub.kernel32.dll_GetLocaleInfoA_1
cmp byte [esp], 0x31
jne 0x498b1e
mov al, 1
jmp 0x498b20
xor eax, eax
add esp, 0xc
ret
Function at 0x4a2d60
Capabilities:
Get hostname

Disassembly:
push ebx
add esp, 0xffffffe8
mov ebx, eax
mov dword [esp], 0x10
push esp
lea eax, [esp + 8]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x4a2d8e
mov eax, ebx
lea edx, [esp + 4]
mov ecx, 0x11
call fcn.004043a0
jmp 0x4a2d95
mov eax, ebx
call fcn.00404130
add esp, 0x18
pop ebx
ret
Function at 0x41b769
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x41f190
cmp edx, dword [eax]
je 0x41b78b
add eax, 8
inc ecx
cmp eax, 0x41f220
jl 0x41b77c
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x41f190]
jne 0x41b8b9
mov eax, dword [0x41fbb0]
cmp eax, 1
je 0x41b893
test eax, eax
jne 0x41b7bc
cmp dword [0x41f0e4], 1
je 0x41b893
cmp edx, 0xfc
je 0x41b8b9
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x41b7f3
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0041c670
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0041c490
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x41b836
lea eax, [ebp - 0x1a4]
push eax
call fcn.0041c490
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x41e45c
push edi
call fcn.0041cf00
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0041c670
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0041c680
lea eax, [ebp - 0xa0]
push 0x41e43c
push eax
call fcn.0041c680
push dword [esi + 0x41f194]
lea eax, [ebp - 0xa0]
push eax
call fcn.0041c680
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0041ce75
add esp, 0x2c
pop edi
jmp 0x41b8b9
lea eax, [ebp + 8]
lea esi, [esi + 0x41f194]
push 0
push eax
push dword [esi]
call fcn.0041c490
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 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x430072
nop
nop
mov ebx, 0x408f6c
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
mov esi, 0xcf5a3c
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x430060
nop
nop
nop
nop
mov eax, section..data
cmp eax, 0
nop
nop
nop
nop
je 0x4300d2
nop
nop
nop
nop
mov ebx, 0x42e3d0
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x8281ce4
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x40c816
Capabilities:
Authenticate hmac

Disassembly:
mov ebp, esp
push edi
mov edi, 0x40e94a
xchg dword [esp], edi
ret
pop edi
clc
nop
nop
cld
jae 0x40ce78
add byte [eax], al
outsd dx, dword [esi]
add byte [edx - 0x74ece8a0], dl
and dl, 0xd
push ebp
mov ebp, esp
nop
leave
nop
jmp 0x40d2ad
mov eax, dword [esp]
clc
nop
nop
cld
jae 0x40f04c
pushal
pop esp
add byte [ebx], dl
add byte [eax + ebp*2 - 0x6f0d073d], cl
nop
cld
jae fcn.0040f6c3
add ch, cl
push es
pop es
add byte [ebp - 0x73], bl
add ch, bh
imul ecx, ecx, 0x28
clc
dec ecx
clc
nop
nop
cld
jae 0x40cb70
xor al, 0
add byte [edi + eax*4 + 0x66a18c00], dh
xchg dword [esi - 0x40a82f75], edi
sub eax, 0x870040c4
pop esi
push ebp
mov ebp, esp
nop
leave
nop
jmp 0x40f6f0
mov ecx, dword [esi + 0x3c]
push ebp
mov ebp, esp
nop
leave
nop
jmp 0x40f1c3
jne 0x40eb44
push ebx
push 0x18000
push ebp
mov ebp, esp
nop
leave
nop
jmp 0x40c403
push eax
push edi
je 0x40e91e
clc
nop
nop
cld
jae 0x40f17d
add byte [eax], al
and al, 0xc4
or eax, 0x29d4a68
add byte [ebp - 0x75], dl
in al, dx
inc esi
clc
nop
nop
cld
jae 0x40ea81
add byte [esi], cl
add byte [ebx], al
add byte [ebx + eax + 0x5e9fd7d5], dh
push edi
mov edi, 0x40e9a3
xchg dword [esp], edi
ret
cmp dword [ebx + 0x78e7], 0
push ebp
mov ebp, esp
nop
leave
nop
jmp 0x40e389
add eax, edi
clc
nop
nop
cld
jae 0x40d024
js 0x40ea89
add byte [eax], al
push 0x6d
add byte [ecx + eax*4 - 0x18], ah
nop
clc
nop
nop
cld
jae 0x40df85
js 0x40eb52
push edx
add dl, al
stosb byte es:[edi], al
mov edx, 0x8b00b200
out dx, al
push edi
clc
nop
nop
cld
jae 0x40d3c0
in al, 0x78
add byte [edi], al
add byte [eax], al
add ch, cl
xchg edx, eax
add byte [ebx + 0x7e97e06], cl
in eax, 0xff
inc dword [eax]
add byte [ebp + ebp*2], bl
ret 0x6c
sub eax, dword [ebp + 0x24]
clc
nop
nop
cld
jae 0x40ea96
add byte [eax], al
outsd dx, dword [esi]
add byte [eax], al
or al, 5
push 0xf8046123
nop
nop
cld
jae 0x40e88b
add byte [eax], al
pushal
push ebp
mov bl, 7
insb byte es:[edi], dx
movzx ecx, word [esi + 6]
clc
nop
nop
cld
jae 0x40cdec
add byte [eax], al
add byte [ebp], cl
xchg ebp, eax
mov dword [bx], ecx
mov edi, 0x8b551441
in al, dx
pop ebx
clc
nop
nop
cld
jae 0x40c418
pop es
add byte [eax], al
add byte [edx + 0x5c], ch
pop es
add al, bl
add esp, 0x200
clc
nop
nop
cld
jae 0x40d6a8
inc eax
ret 0xd5c6
Function at 0x7d21b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.007d2140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.007d2140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.007d2140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.007d2140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0x7d2bfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x7d2c50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x7e487c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x7d2c43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x7d2c52
xor eax, eax
pop esi
leave
ret 4

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

Disassembly:
pushal
mov eax, section..text
nop
nop
mov ebx, 0x408f6c
mov ecx, 0x1a4d4e4d
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
mov ebx, 0x42e3d0
nop
nop
mov ecx, 0x64660d85
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x7c762d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x7d1378
cmp edx, dword [eax]
je 0x7c764f
add eax, 8
inc ecx
cmp eax, 0x7d1408
jl 0x7c7640
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x7d1378]
jne 0x7c777d
mov eax, dword [0xbd6c70]
cmp eax, 1
je 0x7c7757
test eax, eax
jne 0x7c7680
cmp dword [0x7d12a4], 1
je 0x7c7757
cmp edx, 0xfc
je 0x7c777d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x7c76b7
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.007c8010
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.007c84a0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x7c76fa
lea eax, [ebp - 0x1a4]
push eax
call fcn.007c84a0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x7ccddc
push edi
call fcn.007ca370
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.007c8010
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.007c8020
lea eax, [ebp - 0xa0]
push 0x7ccdbc
push eax
call fcn.007c8020
push dword [esi + 0x7d137c]
lea eax, [ebp - 0xa0]
push eax
call fcn.007c8020
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.007ca2e4
add esp, 0x2c
pop edi
jmp 0x7c777d
lea eax, [ebp + 8]
lea esi, [esi + 0x7d137c]
push 0
push eax
push dword [esi]
call fcn.007c84a0
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