joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4292ba
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.DLL_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x4292cb
pop esi
ret
push ebx
push edi
push esi
call fcn.00429308
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00425186
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x4292f3
push ebx
push esi
push edi
call fcn.00411230
add esp, 0xc
push 0
call fcn.00422994
pop ecx
push esi
call dword [sym.imp.KERNEL32.DLL_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x42933f
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0042934a
Function at 0x42c39e
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x457480]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x42c3de
cmp byte [ebx], 0xa
jne 0x42c3de
or byte [edi + eax + 0x28], 4
jmp 0x42c3e3
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
mov dword [ebp - 8], eax
cmp ebx, ecx
jae 0x42c4e2
mov dl, byte [eax]
cmp dl, 0x1a
je 0x42c4c5
inc eax
cmp dl, 0xd
je 0x42c40f
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x42c435
cmp eax, ecx
jae 0x42c443
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add dword [ebp - 8], eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor edx, edx
inc edx
add esi, edx
cmp eax, ecx
jb 0x42c3f7
jmp 0x42c4e2
push 0
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
je 0x42c4c0
cmp dword [ebp - 0x10], 0
je 0x42c4c0
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x457480]
test byte [eax + edi + 0x28], 0x48
je 0x42c49a
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x42c485
mov byte [esi], dl
jmp 0x42c496
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x457480]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x42c4e2
cmp byte [ebp - 1], 0xa
jne 0x42c4a9
cmp esi, ebx
jne 0x42c4a9
mov byte [esi], 0xa
jmp 0x42c4e1
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0042c87f
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x42c4e2
mov byte [esi], 0xd
jmp 0x42c4e1
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x457480]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x42c4df
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x42c4e2
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x42c4eb
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x457480]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x42c531
cmp word [ebx], dx
jne 0x42c531
or byte [eax + edi + 0x28], 4
jmp 0x42c536
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x42c699
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x42c679
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x42c577
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x42c5ad
cmp eax, edx
jae 0x42c5bb
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x42c552
jmp 0x42c699
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
je 0x42c674
cmp dword [ebp - 0x18], 0
je 0x42c674
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x457480]
test byte [eax + edi + 0x28], 0x48
je 0x42c64a
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x42c60e
mov word [esi], cx
jmp 0x42c645
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x457480]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x457480]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x457480]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x42c699
pop eax
cmp word [ebp - 4], ax
jne 0x42c65a
cmp esi, ebx
jne 0x42c65a
mov word [esi], ax
jmp 0x42c696
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0042c87f
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x42c699
push 0xd
pop eax
jmp 0x42c655
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x457480]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x42c693
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x42c699
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x446000
Capabilities:
Accept command line arguments
Parse pe header
Resolve function by parsing pe exports
Terminate process

Disassembly:
call 0x446005
pop ebx
sub ebx, 0x401062
mov edi, dword [esp]
and edi, 0xffff0000
cmp word [edi], 0x5a4d
jne 0x44602a
mov esi, edi
add esi, dword [esi + 0x3c]
cmp word [esi], 0x4550
jne 0x44602a
jmp 0x44603a
sub edi, 0x10000
cmp edi, 0x70000000
jb 0x44603a
jmp 0x446015
mov dword [ebx + 0x4011d9], edi
mov esi, dword [esi + 0x78]
add esi, edi
push esi
mov ebp, dword [esi + 0x18]
mov esi, dword [esi + 0x20]
add esi, edi
xor edx, edx
push esi
mov edi, dword [esi]
add edi, dword [ebx + 0x4011d9]
lea esi, [ebx + 0x40119e]
mov ecx, 0xf
repe cmpsb byte [esi], byte es:[edi]
jne 0x44606e
pop esi
mov edx, esi
pop esi
jmp 0x44607f
pop esi
add esi, 4
inc edx
cmp edx, ebp
jb 0x446050
sub esp, 4
jmp 0x446199
sub edx, dword [esi + 0x20]
mov eax, dword [ebx + 0x4011d9]
sub edx, eax
shr edx, 1
add edx, dword [esi + 0x24]
add edx, eax
movzx eax, word [edx]
shl eax, 2
add eax, dword [esi + 0x1c]
add eax, dword [ebx + 0x4011d9]
mov eax, dword [eax]
add eax, dword [ebx + 0x4011d9]
mov edi, eax
mov ebp, esp
mov edx, dword [ebx + 0x4011d9]
lea eax, [ebx + 0x4011ad]
push eax
push edx
call edi
sub esp, 0x104
push esp
push 0x104
call eax
lea eax, [ebx + 0x4011ba]
push eax
mov edx, dword [ebx + 0x4011d9]
push edx
call edi
lea ecx, [ebx + 0x4011c3]
push ecx
mov ecx, esp
add ecx, 4
push ecx
call eax
lea eax, [ebx + 0x4011cd]
push eax
mov edx, dword [ebx + 0x4011d9]
push edx
call edi
mov ecx, esp
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
push ecx
call eax
mov esi, eax
lea ecx, [ebx + 0x401204]
push ecx
push ecx
mov edx, dword [ebx + 0x4011d9]
push edx
call edi
pop ecx
push 0
push ecx
add ecx, 0xa
mov edx, dword [ecx]
push edx
push ecx
mov edx, 0x905a4d
mov dword [ecx], edx
push esi
call eax
lea eax, [ebx + 0x4011ec]
push eax
mov edx, dword [ebx + 0x4011d9]
push edx
call edi
push esi
call eax
lea eax, [ebx + 0x4011dd]
push eax
mov edx, dword [ebx + 0x4011d9]
push edx
call edi
sub esp, 0x44
mov edx, esp
mov esi, 0
mov ecx, 0x11
mov dword [edx], esi
add edx, 4
loop 0x44616a
mov edx, 0x44
mov dword [esp], edx
sub esp, 0x10
mov edx, esp
push esp
add edx, 0x10
push edx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
add edx, 0x44
push edx
call eax
mov esp, ebp
jmp 0x406e20

Function at 0x44660e
Capabilities:
Parse pe header

Disassembly:
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x446651
mov ecx, dword [eax + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x446651
mov ecx, dword [esp + 4]
add eax, 4
mov dword [ecx], eax
mov ecx, dword [esp + 8]
add eax, 0x14
mov dword [ecx], eax
mov ecx, 0x10b
cmp word [eax], cx
jne 0x446651
mov ecx, dword [esp + 0xc]
add eax, 0xe0
mov dword [ecx], eax
xor eax, eax
inc eax
jmp 0x446653
xor eax, eax
ret 0xc
Function at 0x44cae9
Capabilities:
Check for software breakpoints

Disassembly:
mov eax, dword [0x400820]
mov eax, dword [eax]
mov eax, dword [eax + 0x48]
push esi
xor ecx, ecx
xor edx, edx
mov esi, 0xff
cmp byte [eax], 0xcc
jne 0x44cb17
cmp byte [eax + 1], cl
jne 0x44cb17
cmp byte [eax + 2], cl
jne 0x44cb17
cmp byte [eax + 3], cl
jne 0x44cb17
cmp byte [eax - 6], 0xe4
je 0x44cb21
inc eax
inc edx
cmp edx, esi
jl 0x44cafd
xor eax, eax
pop esi
ret
xor edx, edx
cmp byte [eax], 0xff
jne 0x44cb34
cmp byte [eax + 1], 0x75
jne 0x44cb34
cmp byte [eax + 2], 0xf4
je 0x44cb3d
inc eax
inc edx
cmp edx, 0x30
jl 0x44cb23
jmp 0x44cb1d
add eax, 5
mov edx, dword [eax]
lea edx, [edx + eax + 4]
mov dword [0x400908], edx
cmp byte [eax], 0xff
jne 0x44cb5d
cmp byte [eax + 1], 0x75
jne 0x44cb5d
cmp byte [eax + 2], 0xfc
je 0x44cb65
inc eax
inc ecx
cmp ecx, esi
jl 0x44cb4c
jmp 0x44cb1d
add eax, 4
mov ecx, dword [eax]
lea eax, [ecx + eax + 4]
mov dword [0x400914], eax
xor eax, eax
inc eax
pop esi
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
nop
nop
nop
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x432030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43201e
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x10001799
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x1007a0a4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
push esi
mov dword [ebp - 0x28], eax
xor edi, edi
mov eax, dword [ebp + 0x14]
push edi
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 0x1000
call dword [sym.imp.ADVAPI32.dll_OpenEventLogW]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x1000190b
push ebx
mov ecx, esi
push 2
pop ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, ebx
cmp ax, di
jne 0x100017df
sub ecx, edx
sar ecx, 1
lea eax, [ecx + 0x2c]
xor ecx, ecx
mov dword [ebp - 0x18], eax
mul ebx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.100318b7
mov ebx, eax
pop ecx
test ebx, ebx
je 0x10001900
push str.SYSTEMCurrentControlSetServicesEventlog_
push dword [ebp - 0x18]
push ebx
call fcn.1003bc6e
push esi
push dword [ebp - 0x18]
push ebx
call fcn.1003bb99
lea eax, [ebp - 0x14]
push eax
push 0x20019
push edi
push ebx
push 0x80000002
call fcn.1005ff81
push ebx
mov esi, eax
call fcn.100318b2
add esp, 0x30
test esi, esi
jne 0x10001900
push 0x1000
call fcn.100318b7
mov ebx, dword [ebp - 0x1c]
mov esi, eax
pop ecx
test esi, esi
je 0x100018f5
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov eax, 0x1000
mov dword [ebp - 0x18], 1
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0xc]
push ecx
push eax
push esi
push edi
push 9
push ebx
call fcn.10060ea4
add esp, 0x1c
test eax, eax
je 0x100018c2
push dword [ebp + 0x18]
cmp dword [ebp - 0x18], edi
lea eax, [ebp - 8]
cmovne eax, dword [ebp - 0x24]
push eax
push dword [ebp + 0x10]
push dword [ebp - 0x28]
push dword [ebp - 0xc]
push esi
push dword [ebp - 0x14]
call fcn.10004bfe
add esp, 0x1c
test eax, eax
je 0x100018eb
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x18], edi
jmp 0x10001879
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x100018e6
push dword [ebp - 0x10]
push esi
call fcn.1003d02e
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x100018f5
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x20], eax
jmp 0x10001879
cmp eax, 0x26
jne 0x100018ee
xor edi, edi
inc edi
push esi
call fcn.100318b2
pop ecx
push dword [ebp - 0x14]
call fcn.10003abf
pop ecx
jmp 0x10001903
mov ebx, dword [ebp - 0x1c]
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseEventLog]
pop ebx
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.100245d6
mov esp, ebp
pop ebp
ret
Function at 0x1000191d
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x1007a0a4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x14]
push edi
mov edi, dword [ebp + 0xc]
push eax
mov word [ebp - 0x14], 0x704f
mov dword [ebp - 0xe], 0x7365636f
mov word [ebp - 0x11], 0x506e
mov byte [ebp - 0x12], 0x65
mov word [ebp - 0xa], 0x73
mov byte [ebp - 0xf], 0x72
call fcn.1006295f
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1000197c
push dword [ebp - 0x18]
push edi
push esi
call eax
mov ebx, eax
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100245d6
mov esp, ebp
pop ebp
ret

Function at 0x10001af6
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0x54
mov eax, 0x10061371
call fcn.10024652
xor ebx, ebx
push ebx
call fcn.100600fa
pop ecx
mov edi, 0x1007c21c
mov word [ebp - 0x19], 0x652e
mov esi, ebx
mov word [ebp - 0x22], 0x6d61
mov ecx, edi
mov word [ebp - 0x1f], 0x7265
mov word [ebp - 0x1c], 0x6369
mov word [ebp - 0x17], 0x6578
mov byte [ebp - 0x15], bl
mov word [ebp - 0x24], 0x626d
mov byte [ebp - 0x20], 0x73
mov byte [ebp - 0x1a], 0x65
mov byte [ebp - 0x1d], 0x76
mov dword [ebp - 0x34], 0x6d61626d
mov dword [ebp - 0x2c], 0x6578652e
mov dword [ebp - 0x30], 0x79617274
mov byte [ebp - 0x28], bl
mov dword [ebp - 0x38], esi
call fcn.1000841c
test eax, eax
je 0x10001c23
push esi
mov ecx, edi
call fcn.10008885
push eax
lea ecx, [ebp - 0x50]
call fcn.10006162
lea eax, [ebp - 0x54]
mov dword [ebp - 4], ebx
push eax
lea ecx, [ebp - 0x50]
call fcn.10007d34
mov edi, eax
lea ecx, [ebp - 0x50]
lea eax, [ebp - 0x58]
push eax
call fcn.10007df1
mov esi, eax
lea ecx, [ebp - 0x50]
lea eax, [ebp - 0x5c]
push eax
call fcn.10007d34
push fcn.1003cbed
push dword [edi]
push dword [esi]
push dword [eax]
lea eax, [ebp - 0x60]
push eax
call fcn.10005f69
add esp, 0x14
lea eax, [ebp - 0x24]
lea ecx, [ebp - 0x50]
push eax
call fcn.10007d67
push eax
call fcn.1003c739
pop ecx
pop ecx
lea ecx, [ebp - 0x50]
test eax, eax
je 0x10001c1b
lea eax, [ebp - 0x34]
push eax
call fcn.10007d67
push eax
call fcn.1003c739
pop ecx
pop ecx
lea ecx, [ebp - 0x50]
test eax, eax
je 0x10001c1b
or dword [ebp - 4], 0xffffffff
call fcn.10006308
mov esi, dword [ebp - 0x38]
mov edi, 0x1007c21c
inc esi
mov ecx, edi
mov dword [ebp - 0x38], esi
call fcn.1000841c
cmp esi, eax
jb 0x10001b6f
jmp 0x10001c23
xor ebx, ebx
inc ebx
call fcn.10006308
mov eax, ebx
call fcn.100245fc
ret
Function at 0x10001c43
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x1007a0a4]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x64], 0
mov eax, ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
lea esi, [eax + 0x4c]
mov dword [ebp - 0x5b], 0x34333231
push 8
pop ecx
lea edi, [ebp - 0x84]
mov dword [ebp - 0x60], esi
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov word [ebp - 0x57], 0x3635
mov dword [ebp - 0x4f], 0x666564
mov word [ebp - 0x54], 0x3938
mov word [ebp - 0x51], 0x6362
mov byte [ebp - 0x5c], 0x30
mov byte [ebp - 0x52], 0x61
mov byte [ebp - 0x55], 0x37
call fcn.10004323
mov esi, dword [ebp - 0x60]
xor edx, edx
xor edi, edi
mov ecx, dword [esi]
mov eax, ecx
shr eax, 0x1c
mov al, byte [ebp + eax - 0x5c]
mov byte [ebp + edx - 0x48], al
mov eax, ecx
shr eax, 0x18
and eax, 0xf
mov al, byte [ebp + eax - 0x5c]
mov byte [ebp + edx - 0x47], al
mov eax, ecx
shr eax, 0x14
and eax, 0xf
mov al, byte [ebp + eax - 0x5c]
mov byte [ebp + edx - 0x46], al
mov eax, ecx
shr eax, 0x10
and eax, 0xf
mov al, byte [ebp + eax - 0x5c]
mov byte [ebp + edx - 0x45], al
mov eax, ecx
shr eax, 0xc
and eax, 0xf
mov al, byte [ebp + eax - 0x5c]
mov byte [ebp + edx - 0x44], al
mov eax, ecx
shr eax, 8
and eax, 0xf
mov al, byte [ebp + eax - 0x5c]
mov byte [ebp + edx - 0x43], al
mov eax, ecx
shr eax, 4
and ecx, 0xf
and eax, 0xf
mov al, byte [ebp + eax - 0x5c]
mov byte [ebp + edx - 0x42], al
mov al, byte [ebp + ecx - 0x5c]
mov byte [ebp + edx - 0x41], al
add edx, 8
mov eax, dword [ebp + edi*4 - 0x84]
inc edi
mov dword [esi], eax
lea esi, [esi + 4]
cmp edi, 8
jl 0x10001cad
cmp edx, 0x41
jae 0x10001d6a
lea eax, [ebp - 0x48]
mov byte [ebp + edx - 0x48], 0
push eax
mov ecx, ebx
call fcn.100061a9
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100245d6
mov esp, ebp
pop ebp
ret 4
call fcn.100249cb
int3
Function at 0x10004458
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x1007a0a4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x1c]
mov word [ebp - 0x1c], 0x6547
push eax
or esi, 0xffffffff
mov dword [ebp - 0x15], 0x50746e65
mov word [ebp - 0x11], 0x6f72
mov dword [ebp - 0xe], 0x737365
mov dword [ebp - 0x19], 0x72727543
mov byte [ebp - 0xf], 0x63
mov byte [ebp - 0x1a], 0x74
call fcn.1006295f
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100044ad
call eax
mov esi, eax
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.100245d6
mov esp, ebp
pop ebp
ret

Function at 0x1000485c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x1007a0a4]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x12], 0x61706c68
push eax
mov dword [ebp - 0xb], 0x6c6c64
mov word [ebp - 0xe], 0x6970
mov word [ebp - 0x14], 0x7049
mov byte [ebp - 0xc], 0x2e
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100245d6
mov esp, ebp
pop ebp
ret

Function at 0x10004f60
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x1007a020], 0
je 0x10004f71
call fcn.10060c95
cmp dword [0x1007c380], 0
je 0x10004f80
pop ebp
jmp fcn.10005423
pop ebp
jmp fcn.10001799
Function at 0x100535c2
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10052e5b

Function at 0x100535cd
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10053096

Function at 0x1005ea61
Capabilities:
Create thread
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1005e89f

Function at 0x1005f569
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1007a0a4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov dword [ebp - 0x24], eax
xor ebx, ebx
mov eax, dword [ebp + 0x10]
push esi
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
call fcn.10003bbe
mov esi, eax
test esi, esi
je 0x1005f5de
lea eax, [ebp - 0x18]
mov dword [ebp - 0xf], 0x41784577
push eax
push esi
mov dword [ebp - 0x18], 0x646e6946
mov dword [ebp - 0x14], 0x646e6957
mov byte [ebp - 0x10], 0x6f
mov byte [ebp - 0xb], bl
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1005f5d7
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push edi
call eax
mov ebx, eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100245d6
mov esp, ebp
pop ebp
ret

Function at 0x1005f5f1
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x1007a0a4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x18]
push esi
push edi
mov dword [ebp - 0x20], eax
xor edi, edi
mov eax, dword [ebp + 0x1c]
inc edi
mov dword [ebp - 0x1c], eax
call fcn.100606c7
mov esi, eax
test esi, esi
je 0x1005f689
lea eax, [ebp - 0x18]
mov dword [ebp - 0xb], 0x577845
push eax
push esi
mov word [ebp - 0x15], 0x7551
mov word [ebp - 0x12], 0x7972
mov word [ebp - 0x17], 0x6765
mov dword [ebp - 0xf], 0x65756c61
mov byte [ebp - 0x18], 0x52
mov byte [ebp - 0x13], 0x65
mov byte [ebp - 0x10], 0x56
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1005f682
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push ebx
call eax
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100245d6
mov esp, ebp
pop ebp
ret
Function at 0x1005f69c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x1007a0a4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x18]
push edi
mov edi, dword [ebp + 0xc]
xor ebx, ebx
push eax
mov word [ebp - 0x18], 0x7250
mov dword [ebp - 0x15], 0x73736563
mov dword [ebp - 0x11], 0x654e3233
mov word [ebp - 0xd], 0x7478
mov byte [ebp - 0xb], bl
mov byte [ebp - 0x16], 0x6f
call fcn.1006295f
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1005f6f2
push edi
push esi
call eax
mov ebx, eax
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100245d6
mov esp, ebp
pop ebp
ret

Function at 0x1005fb2a
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x1007a0a4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x18]
push esi
push edi
mov edi, dword [ebp + 8]
or esi, 0xffffffff
push eax
mov word [ebp - 0x15], 0x4664
mov word [ebp - 9], 0x57
mov dword [ebp - 0xe], 0x6d756c6f
mov word [ebp - 0x18], 0x6946
mov dword [ebp - 0x13], 0x74737269
mov byte [ebp - 0xa], 0x65
mov byte [ebp - 0x16], 0x6e
mov byte [ebp - 0xf], 0x56
call fcn.1006295f
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1005fb8c
push ebx
push edi
call eax
mov esi, eax
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100245d6
mov esp, ebp
pop ebp
ret