joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40ea65
Capabilities:
Parse pe header

Disassembly:
push 8
push 0x4368f8
call fcn.00428670
mov esi, ecx
and dword [ebp - 4], 0
lea edi, [esi + 0x80]
push dword [ebp + 0xc]
push 0x40
push 0
push edi
call dword [ebp + 8]
add esp, 0x10
test al, al
je 0x40eb66
or dword [ebp - 4], 0xffffffff
mov eax, 0x5a4d
cmp word [edi], ax
jne 0x40eb55
mov eax, dword [esi + 0xbc]
test eax, eax
je 0x40eb55
mov dword [ebp - 4], 1
lea edi, [esi + 0xc0]
push dword [ebp + 0xc]
push 0xf8
push eax
push edi
call dword [ebp + 8]
add esp, 0x10
test al, al
je 0x40eb66
or dword [ebp - 4], 0xffffffff
cmp dword [edi], 0x4550
jne 0x40eb55
mov eax, 0x10b
cmp word [esi + 0xd8], ax
jne 0x40eb55
movzx eax, word [esi + 0xc6]
test ax, ax
je 0x40eb55
mov edi, eax
imul edi, edi, 0x28
movzx ecx, word [esi + 0xd4]
mov ebx, dword [esi + 0xbc]
add ecx, 0x18
add ebx, ecx
push edi
call fcn.0041dca8
pop ecx
mov dword [esi + 0x1b8], eax
test eax, eax
jne 0x40eb2a
push 8
jmp 0x40eb6c
mov dword [ebp - 4], 2
push dword [ebp + 0xc]
push edi
push ebx
push eax
call dword [ebp + 8]
add esp, 0x10
test al, al
je 0x40eb66
or dword [ebp - 4], 0xffffffff
lea eax, [ebx + edi]
mov dword [esi + 0x18], eax
xor eax, eax
jmp 0x40eb6d
push 0xb
jmp 0x40eb6c
or dword [ebp - 4], 0xffffffff
push 0x1e
pop eax
call fcn.004286ab
ret 8

Function at 0x411854
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
xor esi, esi
mov ecx, 0xff077af4
test edi, edi
je 0x41188d
movzx eax, byte [ebx]
cdq
push 0
xor esi, edx
push 0x1000193
xor ecx, eax
push esi
push ecx
inc ebx
call fcn.00428040
xor esi, esi
mov ecx, eax
dec edi
jne 0x41186f
pop edi
pop esi
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x411896
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
mov eax, dword [0x65b138]
or eax, dword [0x65b13c]
push ebx
push esi
mov ebx, edx
push edi
mov dword [esp + 0xc], ebx
mov edi, ecx
jne 0x4118f6
xor esi, esi
mov eax, esi
push 8
cdq
pop ebx
mov ecx, eax
shrd eax, edx, 1
and ecx, 1
shr edx, 1
or ecx, 0
je 0x4118d8
xor eax, 0xd7870f42
xor edx, 0xc96c5795
dec ebx
jne 0x4118bd
mov dword [esi*8 + 0x65a940], eax
mov dword [esi*8 + 0x65a944], edx
inc esi
cmp esi, 0x100
jl 0x4118b7
mov ebx, dword [esp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
not ecx
not edx
test edi, edi
je 0x411927
movzx eax, byte [edi]
xor eax, ecx
shrd ecx, edx, 8
and eax, 0xff
shr edx, 8
xor ecx, dword [eax*8 + 0x65a940]
xor edx, dword [eax*8 + 0x65a944]
inc edi
dec ebx
jne 0x411904
pop edi
not ecx
pop esi
not edx
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x416e3d
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x42a1a1
push eax
mov dword fs:[0], esp
sub esp, 0x38
cmp dword [0x65a914], 0
push esi
je 0x416edc
mov esi, 0x65a904
push ecx
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call fcn.00419065
mov ecx, eax
call fcn.0041928e
mov edx, eax
mov eax, dword [edx]
test eax, eax
je 0x416e8d
mov eax, dword [eax]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
and ecx, dword [edx + 8]
push dword [eax + ecx*4]
lea ecx, [esp + 0x24]
call fcn.00410b81
and dword [esp + 0x44], 0
mov ecx, esi
call fcn.00418f1a
cmp dword [esp + 0x34], 0x10
mov eax, dword [esp + 0x20]
jae 0x416ebe
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
or dword [esp + 0x44], 0xffffffff
lea ecx, [esp + 0x20]
call fcn.00402161
cmp dword [0x65a914], 0
jne 0x416e6a
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x416eec
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, 0x429166
call fcn.0041e3ec
sub esp, 0x18
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x14], 0x10
mov edi, edx
jb 0x416f0a
mov eax, dword [esi]
jmp 0x416f0c
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x416fba
push ecx
push ecx
mov ecx, esi
call fcn.00418570
cmp eax, 0xffffffff
je 0x416f5f
push eax
push 0
lea eax, [ebp - 0x24]
push eax
mov ecx, esi
call fcn.004108ed
and dword [ebp - 4], 0
mov edx, edi
mov ecx, eax
call fcn.00416eec
mov bl, al
neg bl
sbb bl, bl
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00402161
inc bl
je 0x416f5f
xor al, al
jmp 0x416fc6
mov ecx, dword [0x659308]
test ecx, ecx
je 0x416f7c
cmp dword [esi + 0x14], 0x10
jb 0x416f73
mov eax, dword [esi]
jmp 0x416f75
mov eax, esi
push 0
push eax
call ecx
jmp 0x416fa6
cmp dword [0x658c48], 0
je 0x416fa4
push 0x18
pop eax
call fcn.0041e810
push esp
push 0x435018
call fcn.0040dce9
push eax
call dword [0x658c48]
add esp, 0xc
jmp 0x416f5b
xor eax, eax
test eax, eax
je 0x416f5b
push esi
mov ecx, 0x65a904
call fcn.00418e97
mov byte [edi], 0
jmp 0x416fc4
test eax, 0x410
je 0x416f5b
mov byte [edi], 1
mov al, 1
lea esp, [ebp - 0x30]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x417c24
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x42a185
call fcn.0041e3ec
mov eax, 0x1030
call fcn.0041e810
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esp + 0x38], esi
mov dword [esp + 0x1048], ebx
lea eax, [esp + 0x14]
push eax
push 0x20019
push ebx
push 0x653b18
push 0x80000001
mov dword [esp + 0x30], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push 0xf
pop edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], ebx
mov byte [esi], bl
mov dword [esp + 0x1048], ebx
xor ebp, ebp
inc ebp
mov dword [esp + 0x1c], ebp
test eax, eax
jne 0x417d1a
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x20]
push eax
push ebx
push dword [esp + 0x1068]
mov dword [esp + 0x24], 0x1000
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [esp + 0x10]
mov byte [esp + ecx + 0x3c], bl
test eax, eax
jne 0x417d10
mov eax, dword [esp + 0x18]
dec eax
cmp eax, 2
ja 0x417d10
push ecx
lea eax, [esp + 0x40]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
push eax
lea ecx, [esp + 0x28]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
call fcn.004024bb
mov dword [esp + 0x1048], ebp
lea eax, [esp + 0x20]
push eax
mov ecx, esi
call fcn.004107e9
mov byte [esp + 0x1048], bl
lea ecx, [esp + 0x20]
call fcn.00402161
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x1040]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x41a484
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x14]
push esi
mov esi, dword [0x653120]
push edi
test edx, edx
je 0x41a4ae
lea eax, [edx - 1]
shr eax, 2
inc eax
imul ecx, ecx, 0x4848c0c0
xor ecx, esi
sub edx, 4
dec eax
jne 0x41a4a0
mov eax, dword [ebp + 8]
shr edx, 2
lea edi, [eax + edx*4]
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x41a4df
dec edx
shr edx, 2
inc edx
imul ecx, ecx, 0x4848c0c0
xor ecx, esi
mov eax, ecx
not eax
xor dword [edi], eax
lea edi, [edi + 4]
dec edx
je 0x41a4df
mov esi, dword [0x653120]
jmp 0x41a4c3
pop edi
pop esi
pop ebp
ret
Function at 0x425dc2
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x652b10]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [fcn.0041ad7e]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.0041f38e
mov dword [ebp - 0x14], eax
cmp dword [0x658b78], edi
jne 0x425eb3
push 0x800
push edi
push 0x42d298
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x425e40
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x425f93
push 0x42d298
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x425f93
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x425f93
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x658b78], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x658b7c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x658b80], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x658b88], eax
test eax, eax
je 0x425eb0
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x658b84], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x425ed8
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x425ecb
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x425eed
push 4
pop eax
jmp 0x425f95
cmp dword [ebp - 0x14], edi
je 0x425eed
push dword [0x658b78]
call dword [fcn.0041ad82]
push 3
jmp 0x425ed2
mov eax, dword [0x658b84]
mov ebx, dword [fcn.0041ad82]
cmp eax, esi
je 0x425f4b
cmp dword [0x658b88], esi
je 0x425f4b
push eax
call ebx
push dword [0x658b88]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x425f4b
test eax, eax
je 0x425f4b
call ecx
test eax, eax
je 0x425f40
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x425f40
test byte [ebp - 8], 1
jne 0x425f4b
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x425f7b
mov eax, dword [0x658b7c]
cmp eax, esi
je 0x425f78
push eax
call ebx
test eax, eax
je 0x425f78
call eax
mov edi, eax
test edi, edi
je 0x425f78
mov eax, dword [0x658b80]
cmp eax, esi
je 0x425f78
push eax
call ebx
test eax, eax
je 0x425f78
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x658b78]
call ebx
test eax, eax
je 0x425f93
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x425f95
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041f0ef
leave
ret
Function at 0x6dc91953
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x4c
mov eax, dword [ebp + 8]
cdq
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
jmp 0x6dc919ef
jmp 0x6dc91a7a
jmp 0x6dc91b05
jmp 0x6dc91b90
jmp 0x6dc91c1b
jmp 0x6dc91ca6
jmp 0x6dc91d31
jmp 0x6dc91dbc
jmp 0x6dc91e47
jmp 0x6dc91ed2
jmp 0x6dc91f5d
jmp 0x6dc91fe8
jmp 0x6dc92073
jmp 0x6dc920fe
jmp 0x6dc92189
jmp 0x6dc92214
jmp 0x6dc9229f
jmp 0x6dc9232a
jmp 0x6dc923b5
jmp 0x6dc92440
jmp 0x6dc924cb
jmp 0x6dc92556
jmp 0x6dc925e1
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
jmp 0x6dc92672
jmp 0x6dc926fd
jmp 0x6dc92788
jmp 0x6dc92813
jmp 0x6dc9289e
jmp 0x6dc92929
jmp 0x6dc929b4
jmp 0x6dc92a3f
jmp 0x6dc92aca
jmp 0x6dc92b55
jmp 0x6dc92be0
jmp 0x6dc92c6b
jmp 0x6dc92cf6
jmp 0x6dc92d81
jmp 0x6dc92e0c
jmp 0x6dc92e97
jmp 0x6dc92f22
jmp 0x6dc92fad
jmp 0x6dc93038
jmp 0x6dc930c3
jmp 0x6dc9314e
jmp 0x6dc931d9
jmp 0x6dc93264
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x3c]
mov ecx, eax
mov ebx, eax
sar ebx, 0x1f
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
add eax, ecx
adc edx, ebx
mov dword [ebp - 0x20], eax
jmp 0x6dc93309
jmp 0x6dc93394
jmp 0x6dc9341f
jmp 0x6dc934aa
jmp 0x6dc93535
jmp 0x6dc935c0
jmp 0x6dc9364b
jmp 0x6dc936d6
jmp 0x6dc93761
jmp 0x6dc937ec
jmp 0x6dc93877
jmp 0x6dc93902
jmp 0x6dc9398d
jmp 0x6dc93a18
jmp 0x6dc93aa3
jmp 0x6dc93b2e
jmp 0x6dc93bb9
jmp 0x6dc93c44
jmp 0x6dc93ccf
jmp 0x6dc93d5a
jmp 0x6dc93de5
jmp 0x6dc93e70
jmp 0x6dc93efb
mov eax, dword [ebp - 0x20]
add eax, 0x78
mov dword [ebp - 0x24], eax
jmp 0x6dc93f8f
jmp 0x6dc9401a
jmp 0x6dc940a5
jmp 0x6dc94130
jmp 0x6dc941bb
jmp 0x6dc94246
jmp 0x6dc942d1
jmp 0x6dc9435c
jmp 0x6dc943e7
jmp 0x6dc94472
jmp 0x6dc944fd
jmp 0x6dc94588
jmp 0x6dc94613
jmp 0x6dc9469e
jmp 0x6dc94729
jmp 0x6dc947b4
jmp 0x6dc9483f
jmp 0x6dc948ca
jmp 0x6dc94955
jmp 0x6dc949e0
jmp 0x6dc94a6b
jmp 0x6dc94af6
jmp 0x6dc94b81
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
mov ecx, eax
mov ebx, 0
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
add eax, ecx
adc edx, ebx
mov dword [ebp - 0x28], eax
jmp 0x6dc94c25
jmp 0x6dc94cb0
jmp 0x6dc94d3b
jmp 0x6dc94dc6
jmp 0x6dc94e51
jmp 0x6dc94edc
jmp 0x6dc94f67
jmp 0x6dc94ff2
jmp 0x6dc9507d
jmp 0x6dc95108
jmp 0x6dc95193
jmp 0x6dc9521e
jmp 0x6dc952a9
jmp 0x6dc95334
jmp 0x6dc953bf
jmp 0x6dc9544a
jmp 0x6dc954d5
jmp 0x6dc95560
jmp 0x6dc955eb
jmp 0x6dc95676
jmp 0x6dc95701
jmp 0x6dc9578c
jmp 0x6dc95817
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x1c]
mov ecx, eax
mov ebx, 0
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
add eax, ecx
adc edx, ebx
mov dword [ebp - 0x2c], eax
jmp 0x6dc958bc
jmp 0x6dc95947
jmp 0x6dc959d2
jmp 0x6dc95a5d
jmp 0x6dc95ae8
jmp 0x6dc95b73
jmp 0x6dc95bfe
jmp 0x6dc95c89
jmp 0x6dc95d14
jmp 0x6dc95d9f
jmp 0x6dc95e2a
jmp 0x6dc95eb5
jmp 0x6dc95f40
jmp 0x6dc95fcb
Function at 0x6dcb5cfc
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x6e60c018]
movzx eax, word [eax + 0x14]
movzx eax, ax
mov edx, dword [0x6e60c018]
add eax, edx
add eax, 0x18
mov dword [ebp - 0xc], eax
jmp 0x6dcb5da7
jmp 0x6dcb5e32
jmp 0x6dcb5ebd
jmp 0x6dcb5f48
jmp 0x6dcb5fd3
jmp 0x6dcb605e
jmp 0x6dcb60e9
jmp 0x6dcb6174
jmp 0x6dcb61ff
jmp 0x6dcb628a
jmp 0x6dcb6315
jmp 0x6dcb63a0
jmp 0x6dcb642b
jmp 0x6dcb64b6
jmp 0x6dcb6541
jmp 0x6dcb65cc
jmp 0x6dcb6657
jmp 0x6dcb66e2
jmp 0x6dcb676d
jmp 0x6dcb67f8
jmp 0x6dcb6883
jmp 0x6dcb690e
jmp 0x6dcb6999
mov dword [ebp - 0x14], 0
jmp 0x6dcb6a2b
jmp 0x6dcb6ab6
jmp 0x6dcb6b41
jmp 0x6dcb6bcc
jmp 0x6dcb6c57
jmp 0x6dcb6ce2
jmp 0x6dcb6d6d
jmp 0x6dcb6df8
jmp 0x6dcb6e83
jmp 0x6dcb6f0e
jmp 0x6dcb6f99
jmp 0x6dcb7024
jmp 0x6dcb70af
jmp 0x6dcb713a
jmp 0x6dcb71c5
jmp 0x6dcb7250
jmp 0x6dcb72db
jmp 0x6dcb7366
jmp 0x6dcb73f1
jmp 0x6dcb747c
jmp 0x6dcb7507
jmp 0x6dcb7592
jmp 0x6dcb761d
mov dword [ebp - 0x18], 0
jmp 0x6dcb76af
jmp 0x6dcb773a
jmp 0x6dcb77c5
jmp 0x6dcb7850
jmp 0x6dcb78db
jmp 0x6dcb7966
jmp 0x6dcb79f1
jmp 0x6dcb7a7c
jmp 0x6dcb7b07
jmp 0x6dcb7b92
jmp 0x6dcb7c1d
jmp 0x6dcb7ca8
jmp 0x6dcb7d33
jmp 0x6dcb7dbe
jmp 0x6dcb7e49
jmp 0x6dcb7ed4
jmp 0x6dcb7f5f
jmp 0x6dcb7fea
jmp 0x6dcb8075
jmp 0x6dcb8100
jmp 0x6dcb818b
jmp 0x6dcb8216
jmp 0x6dcb82a1
mov dword [ebp - 0x10], 0
jmp 0x6dcb8333
jmp 0x6dcb83be
jmp 0x6dcb8449
jmp 0x6dcb84d4
jmp 0x6dcb855f
jmp 0x6dcb85ea
jmp 0x6dcb8675
jmp 0x6dcb8700
jmp 0x6dcb878b
jmp 0x6dcb8816
jmp 0x6dcb88a1
jmp 0x6dcb892c
jmp 0x6dcb89b7
jmp 0x6dcb8a42
jmp 0x6dcb8acd
jmp 0x6dcb8b58
jmp 0x6dcb8be3
jmp 0x6dcb8c6e
jmp 0x6dcb8cf9
jmp 0x6dcb8d84
jmp 0x6dcb8e0f
jmp 0x6dcb8e9a
jmp 0x6dcb8f25
mov dword [ebp - 0x10], 0
jmp 0x6dcbcdea
jmp 0x6dcb8fbc
jmp 0x6dcb9047
jmp 0x6dcb90d2
jmp 0x6dcb915d
jmp 0x6dcb91e8
jmp 0x6dcb9273
jmp 0x6dcb92fe
jmp 0x6dcb9389
jmp 0x6dcb9414
jmp 0x6dcb949f
jmp 0x6dcb952a
jmp 0x6dcb95b5
jmp 0x6dcb9640
jmp 0x6dcb96cb
jmp 0x6dcb9756
jmp 0x6dcb97e1
jmp 0x6dcb986c
jmp 0x6dcb98f7
jmp 0x6dcb9982
jmp 0x6dcb9a0d
jmp 0x6dcb9a98
jmp 0x6dcb9b23
jmp 0x6dcb9bae
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xc]
mov edx, dword [0x6e60c014]
add eax, edx
mov dword [ebp - 0x14], eax
jmp 0x6dcb9c4a
jmp 0x6dcb9cd5
jmp 0x6dcb9d60
jmp 0x6dcb9deb
jmp 0x6dcb9e76
jmp 0x6dcb9f01
jmp 0x6dcb9f8c
jmp 0x6dcba017
jmp 0x6dcba0a2
jmp 0x6dcba12d
jmp 0x6dcba1b8
jmp fcn.6dcba243
mov eax, dword [0x6e60c018]
movzx eax, word [eax + 6]
movzx eax, ax
cmp eax, dword [ebp - 0x10]
ja 0x6dcb8f31
nop
leave
ret
Function at 0x407180
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 0x4071be
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x4071b6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x4071c0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x4071a6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4072a0
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x4072b6
xor eax, eax
pop ebp
ret
mov ecx, dword [eax + 0x3c]
add ecx, eax
xor eax, eax
cmp dword [ecx], 0x4550
jne 0x4072d1
mov edx, 0x10b
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
mov eax, section..rdata
nop
mov ebx, 0x407ef8
nop
mov ecx, 0x51407eb7
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x42e04e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x42e024
nop
nop
mov eax, section._RDATA
nop
mov ebx, 0x42cd70
mov ecx, 0x7d6f4d89
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x42e084
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x42e06c
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x10006c8e
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
push 4
pop eax
call fcn.10003580
mov esi, esp
push 0x1c
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x10006d29
mov ebx, dword [ebp - 0x24]
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x48]
mov eax, dword [0x1000ae0c]
lea edi, [ecx - 1]
not edi
and edi, esi
sub edi, ecx
mov esi, eax
dec esi
neg esi
sbb esi, esi
and esi, 0xfffffff1
add esi, 0x11
imul esi, ecx
add esi, ebx
cmp edi, esi
mov dword [ebp - 8], ecx
jb 0x10006d29
cmp eax, 1
je 0x10006d4a
mov dword [ebp - 4], ebx
mov ebx, 0x1000
push 0x1c
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x10006d29
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
test dword [ebp - 0x18], ebx
je 0x10006cf6
test byte [ebp - 0x13], 1
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
je 0x10006d25
xor eax, eax
inc eax
jmp 0x10006d69
cmp edi, eax
jae 0x10006d2d
xor eax, eax
jmp 0x10006d69
cmp eax, esi
jae 0x10006d34
mov dword [ebp - 4], esi
push 4
push ebx
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [0x1000ae0c]
jmp 0x10006d4d
mov dword [ebp - 4], edi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 0xc]
push ecx
inc eax
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x58]
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x432072
nop
mov ebx, 0x40c7d0
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x71ac6d14
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x432060
nop
mov eax, section..data_1
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4320d2
nop
nop
nop
nop
mov ebx, 0x42f314
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x6575004a
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x4320c0
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x40948b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41d400]
jne 0x409495
repz ret
jmp fcn.0040fbbc

Function at 0x40c1e4
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41d400]
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.00406bd9
and dword [ebp - 0x14], 0
cmp dword [0x44c19c], 0
mov dword [ebp - 0x18], eax
jne 0x40c297
push 0x402398
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40c33f
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x40238c
push ebx
call edi
test eax, eax
je 0x40c33f
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x40237c
push ebx
mov dword [0x44c19c], eax
call edi
push eax
call esi
push 0x402368
push ebx
mov dword [0x44c1a0], eax
call edi
push eax
call esi
push 0x40234c
push ebx
mov dword [0x44c1a4], eax
call edi
push eax
call esi
mov dword [0x44c1ac], eax
test eax, eax
je 0x40c297
push 0x402334
push ebx
call edi
push eax
call esi
mov dword [0x44c1a8], eax
mov eax, dword [0x44c1a8]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40c2f0
cmp dword [0x44c1ac], ecx
je 0x40c2f0
push eax
call esi
push dword [0x44c1ac]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40c2f0
test ebx, ebx
je 0x40c2f0
call edi
test eax, eax
je 0x40c2e7
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40c2e7
test byte [ebp - 8], 1
jne 0x40c2f0
or dword [ebp + 0x10], 0x200000
jmp 0x40c323
mov eax, dword [0x44c1a0]
cmp eax, dword [ebp - 0x18]
je 0x40c323
push eax
call esi
test eax, eax
je 0x40c323
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40c323
mov eax, dword [0x44c1a4]
cmp eax, dword [ebp - 0x18]
je 0x40c323
push eax
call esi
test eax, eax
je 0x40c323
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x44c19c]
call esi
test eax, eax
je 0x40c33f
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40c341
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040948b
leave
ret

Function at 0x41b2d0
Capabilities:
Delete file
Get uefi variable

Disassembly:
sub esp, 0x800
cmp dword [0x2b75d04], 0x37
jne 0x41b340
push 0x4035c8
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x4035e0
push 0x403630
call dword [sym.imp.KERNEL32.dll_WriteProfileSectionW]
push 0
call dword [sym.imp.KERNEL32.dll_IsDBCSLeadByte]
push 0
lea eax, [esp + 4]
push eax
push 0x4036a8
push 0x4036c4
call dword [sym.imp.KERNEL32.dll_GetFirmwareEnvironmentVariableW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetMessageWaitingIndicator]
push 0
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push 0
lea ecx, [esp + 0x404]
push ecx
push 0x4036d8
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeMountPointA]
mov edx, dword [0x2b76118]
mov ecx, dword [0x2b757e8]
mov al, byte [edx + esi + 0x38d6]
mov byte [ecx + esi], al
add esp, 0x800
ret