joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41e3f2
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041e3fd
Function at 0x41ee69
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
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 + 0x435f60]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41eea9
cmp byte [ebx], 0xa
jne 0x41eea9
or byte [eax + edi + 0x28], 4
jmp 0x41eeae
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x41efac
mov al, byte [edx]
cmp al, 0x1a
je 0x41ef8e
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x41eedd
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x41ef02
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x41ef0c
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x41eebf
jmp 0x41efac
push 0
lea eax, [ebp - 0xc]
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 0x41ef89
cmp dword [ebp - 0xc], 0
je 0x41ef89
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x435f60]
test byte [eax + edi + 0x28], 0x48
je 0x41ef63
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x41ef4e
mov byte [esi], dl
jmp 0x41ef5f
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x435f60]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x41efac
cmp byte [ebp - 1], 0xa
jne 0x41ef72
cmp esi, ebx
jne 0x41ef72
mov byte [esi], 0xa
jmp 0x41efab
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0041c6b9
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x41efac
mov byte [esi], 0xd
jmp 0x41efab
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x435f60]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41efa8
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41efac
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x41efb5
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x435f60]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41eff8
cmp word [esi], dx
jne 0x41eff8
or byte [edi + eax + 0x28], 4
jmp 0x41effd
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x41f136
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x41f116
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x41f03f
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x41f075
cmp eax, edx
jae 0x41f081
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
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 - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x41f017
jmp 0x41f136
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41f112
cmp dword [ebp - 0x14], 0
je 0x41f112
mov eax, dword [ebx*4 + 0x435f60]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x41f0ea
mov cx, word [ebp - 4]
pop eax
cmp cx, ax
je 0x41f130
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x435f60]
push 0xa
mov byte [edi + eax + 0x2a], cl
mov eax, dword [ebx*4 + 0x435f60]
shr cx, 8
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x435f60]
pop ecx
mov byte [edi + eax + 0x2c], cl
jmp 0x41f133
pop ebx
cmp word [ebp - 4], bx
jne 0x41f0fb
cmp esi, dword [ebp + 0xc]
jne 0x41f0fb
mov word [esi], bx
jmp 0x41f133
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0041c6b9
add esp, 0x10
cmp word [ebp - 4], bx
je 0x41f136
push 0xd
jmp 0x41f12f
mov ecx, dword [ebx*4 + 0x435f60]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41f12d
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41f136
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0xf5dfa4
Capabilities:
Encode data using xor

Disassembly:
jmp 0xf5dfae
pushal
call 0xf5dfb4
pop ebp
sub ebp, 0x10
sub ebp, 0xb5dfa4
jmp 0xf5dfca
mov eax, 0xb5dfa4
add eax, ebp
add eax, 0x4c
mov ecx, 0x5cb
mov edx, 0x1211d55c
xor byte [eax], dl
inc eax
dec ecx
adc byte [eax + 0x49], al
jne 0xf5dfe1
jmp 0xf5dff4
xlatb
xchg ecx, eax
xlatb
aad 0x60
pop esp
pop esp
pop esp
fstp qword [ebp + 0x5c5c5ca4]
pop edi
xchg ecx, eax
in al, 0x5a
pop esp
pop esp
pop esp
out 0x74, al
pop esp
pop esp
pop esp
stosd dword es:[edi], eax
mov esi, 0xddd7945f
push eax
pop esp
pop esp
pop esp
pop edi
cdq
or al, 0xd1
cmp byte [eax - 0x60], bh
aad 0x58
js 0xf5e057
jl 0xf5e03c
jge 0xf5e083
xor al, 0xd8
enter 0x5cc8, 0x5d
jo 0xf5e0a7
enter 0x5d5c, 0x70
js 0xf5e064
xor al, 0x87
ret
xchg ebx, eax
outsd dx, dword [esi]
xchg esp, eax
mov ah, 0x59
pop esp
pop esp
pop esp
mov ch, 0x68
pop esp
pop esp
pop esp
sar dword [eax], 1
js 0xf5dfe2
aad 0x70
js 0xf5e04e
add edi, edx
fst dword [esp + ebx*2 + 0x5c]
pop esp
xlatb
leave
push eax
pop esp
pop esp
pop esp
xlatb
ror dword [esp + ebx*2 + 0x5c], 1
pop esp
pop esp
popfd
mov ch, 0x5e
insd dword es:[edi], dx
pop esi
fistp word [esi - 0x26aceaa8]
test al, 0xa3
mov dword [0x7870d7a3], eax
sar dword [eax], 1
js 0xf5e0c7
sahf
push eax
pop esp
xlatb
sar byte [eax + 0x58], 1
pop esp
pop esp
pop esp
xor al, 0x7c
pop ss
jge 0xf5e0da
xor al, 0xd8
enter 0x5cc8, 0x5d
pop ebp
jo 0xf5e0fe
sar dword [eax], 1
js 0xf5e02a
aad 0x50
js 0xf5e042
pop ecx
pop esp
pop esp
pop esp
mov ch, 0x11
pop esi
pop esp
pop esp
or ecx, edx
xor byte [eax + 0x5c], bh
mov dword [0x29a35029], eax
push esp
mov ah, 0x22
pop esp
pop esp
pop esp
xlatb
loope 0xf5e0fe
pop esp
pop esp
pop esp
invalid
outsd dx, dword [esi]
mov ds, edi
mov ah, 0x59
adc al, 0x53
fcom dword [edx]
pop esp
pop esp
pop esp
push ebx
aam 0x14
pop esp
pop esp
pop esp
cmp dl, bh
xlatb
inc eax
fsub qword gs:[edi + 0x46d853b4]
pop esp
pop esp
pop esp
fsub qword [edi + 0x4dd853b5]
pop esp
pop esp
pop esp
cmp bl, ch
cmpsd dword [esi], dword es:[edi]
mov dword [0x49d85379], eax
pop esp
pop esp
pop esp
sbb eax, 0xa3a390b5
mov dword [0x5d651075], eax
mov dword [0x651075a3], eax
pop ebp
fistp word [ebp + 0x58b4df59]
mov ch, 0xe1
mov dword [0x875a3a3], eax
pop esi
fistp word [ebp + 0x58b6df5a]
fbstp tbyte [ecx + ebx*2 - 0x5c5c084b]
mov dword [0x5c509e01], eax
or edi, edx
mov al, 0xa
or ecx, dword [ecx]
xlatb
sub dword [eax - 0x29], edx
and dword [eax - 0x12], edx
invalid
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x417b90
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xc000]
push edi
or ebp, 0xffffffff
jmp 0x417bb2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x417bb9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x417ba8
mov eax, 1
add ebx, ebx
jne 0x417bcb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x417bc0
jne 0x417bdc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x417bc0
xor ecx, ecx
sub eax, 3
jb 0x417bf0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x417c62
mov ebp, eax
add ebx, ebx
jne 0x417bfb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x417c08
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x417c2c
inc ecx
add ebx, ebx
jne 0x417c18
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x417c0d
jne 0x417c29
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x417c0d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x417c4c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x417c3d
jmp 0x417bae
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x417c4c
add edi, ecx
jmp 0x417bae
pop esi
mov edi, esi
mov ecx, 0xf6
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x417c6a
cmp byte [edi], 9
jne 0x417c6a
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 0x417c6f
lea edi, [esi + 0x15000]
mov eax, dword [edi]
or eax, eax
je 0x417ce7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x177c4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x17844]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x417c9c
mov ecx, edi
jns 0x417ccb
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 + 0x1784c]
or eax, eax
je 0x417ce1
mov dword [ebx], eax
add ebx, 4
jmp 0x417cb9
call dword [esi + 0x17848]
mov ebp, dword [esi + 0x17850]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
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 0x417d1b
sub esp, 0xffffff80
jmp 0x4093fa
Function at 0x10003c13
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x820
mov eax, 0x1019d0be
call fcn.10003f0f
call fcn.10003f71
lea ecx, [ebp - 0x81c]
call fcn.10004bd3
mov eax, dword [0x102763ec]
and dword [ebp - 4], 0
push str.JavaScriptPerms
push str.FeatureLockdown
mov esi, dword [eax + 0x5c0]
mov ecx, esi
call dword [0x101b03f8]
call esi
pop ecx
pop ecx
push str.BlackList
push eax
mov eax, dword [0x102763dc]
mov esi, dword [eax + 0x114]
mov ecx, esi
call dword [0x101b03f8]
call esi
pop ecx
pop ecx
xor ebx, ebx
lea ecx, [ebp - 0x81c]
inc ebx
mov esi, eax
push ebx
call fcn.1001024d
push ebx
lea ecx, [ebp - 0x81c]
mov dword [ebp - 0x81c], esi
call fcn.1001024d
lea ecx, [ebp - 0x828]
call fcn.10004bd3
mov ax, word [0x1026e4d4]
mov ecx, 0xffff
mov byte [ebp - 4], bl
cmp ax, cx
jne 0x10003cbf
mov ecx, 0x1026e4d4
call fcn.10002c74
movzx eax, ax
push str.Reader
push eax
mov eax, dword [0x10276388]
mov esi, dword [eax + 0x2c]
mov ecx, esi
call dword [0x101b03f8]
call esi
pop ecx
push eax
call fcn.1001024d
pop ecx
pop ecx
test ax, ax
je 0x10003d07
mov eax, dword [0x10274a08]
mov edi, str.SOFTWAREAdobeAcrobat_ReaderDCJavaScriptPerms
mov esi, dword [eax + 0xcbc]
mov ecx, esi
call dword [0x101b03f8]
call esi
test ax, ax
je 0x10003d0c
mov edi, str.SOFTWAREAdobeAdobe_AcrobatDCJavaScriptPerms
lea eax, [ebp - 0x820]
push eax
push ebx
push 0
push edi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
xor edi, edi
test eax, eax
jne 0x10003d98
lea eax, [ebp - 0x82c]
mov dword [ebp - 0x82c], 0x800
push eax
lea eax, [ebp - 0x810]
push eax
lea eax, [ebp - 0x814]
push eax
push edi
push str.tBlackList
push dword [ebp - 0x820]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10003d8c
cmp dword [ebp - 0x814], ebx
jne 0x10003d8c
push edi
call fcn.1001024d
pop ecx
push eax
push edi
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x828]
call fcn.1001024d
push ebx
lea ecx, [ebp - 0x828]
call fcn.1001024d
push dword [ebp - 0x820]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
push edi
lea ecx, [ebp - 0x81c]
call fcn.1001024d
test eax, eax
jne 0x10003dba
push edi
push edi
lea ecx, [ebp - 0x828]
call fcn.1001024d
test eax, eax
je 0x10003e03
call fcn.1007bb52
cmp dword [0x10274844], 0
jne 0x10003e08
push ebx
push 0xc
call fcn.1001024d
pop ecx
mov esi, eax
pop ecx
mov dword [ebp - 0x814], esi
mov byte [ebp - 4], 2
test esi, esi
je 0x10003df2
push esi
mov dword [esi], edi
mov dword [esi + 4], edi
call fcn.1006f80f
pop ecx
mov dword [esi], eax
jmp 0x10003df4
mov esi, edi
mov byte [ebp - 4], bl
mov dword [0x10274844], esi
test esi, esi
jne 0x10003e08
mov ebx, edi
movzx ebx, bx
jmp 0x10003e32
push ecx
push ecx
lea eax, [ebp - 0x81c]
mov ecx, esp
push eax
call fcn.1001024d
call fcn.1007b072
lea eax, [ebp - 0x828]
mov ecx, esp
push eax
call fcn.1001024d
call fcn.1007b072
pop ecx
pop ecx
lea ecx, [ebp - 0x828]
call fcn.1001024d
lea ecx, [ebp - 0x81c]
call fcn.1001024d
mov ax, bx
call fcn.10004ff0
ret
Function at 0x100090cc
Capabilities:
Query environment variable

Disassembly:
push 4
mov eax, 0x1019d6b6
call fcn.1000195f
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 8]
mov dword [esi], eax
call fcn.100091d1
xor ebx, ebx
mov dword [esi + 8], eax
mov dword [esi + 0xc], edx
lea eax, [esi + 0x40]
mov dword [esi + 0x10], ebx
mov byte [esi + 0x14], bl
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], 2
mov dword [esi + 0x6f0], ebx
lea eax, [esi + 0x708]
mov dword [ebp - 4], ebx
mov dword [esi + 0x6f8], eax
mov dword [esi + 0x6fc], ebx
mov dword [esi + 0x700], ebx
lea eax, [esi + 0x5a0]
mov byte [ebp - 4], 1
push eax
call fcn.1001024d
lea eax, [esi + 0x6e8]
push eax
call fcn.1001024d
push str.MOZ_GCTIMER
call dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov edi, eax
add esp, 0xc
test edi, edi
je 0x100091bd
push str.none
push edi
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
pop ecx
pop ecx
test eax, eax
je 0x100091bd
push str.stdout
push edi
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
pop ecx
pop ecx
test eax, eax
jne 0x10009194
push 1
mov byte [esi + 0x14], bl
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
jmp 0x100091ba
push str.stderr
push edi
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
pop ecx
pop ecx
test eax, eax
jne 0x100091a9
push 2
jmp 0x10009189
push 0x101c084c
push edi
mov byte [esi + 0x14], 1
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
pop ecx
pop ecx
mov ebx, eax
mov dword [esi + 0x10], ebx
mov eax, esi
call fcn.100019bb
ret 4
Function at 0x1001024d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
pushal
call 0x1001025c
pop dword [ebp - 4]
mov eax, 0x1001025c
sub dword [ebp - 4], eax
push 0x40
push 0x1000
push 0xc7362
push 0
mov eax, 0x845ec128
add eax, 0x8bbc3f5c
add eax, dword [ebp - 4]
call dword [eax]
mov ecx, 0x7c65c145
add ecx, 0x839a8d5c
mov ebx, eax
mov esi, 0x956f650c
sub esi, 0x85433b0c
add esi, dword [ebp - 4]
mov edx, 0xbdcc7d82
add edx, 0x12e2d517
mov edi, dword [esi]
xor edi, edx
mov dword [ebx], edi
add ebx, 0x90ee03b2
add ebx, 0x6f11fc52
add esi, 0xcf4bf5e6
sub esi, 0xcf4bf5e2
loop 0x100102b6
add eax, 0x51cca6d5
sub eax, 0x51cb797e
mov ebx, eax
add eax, 0x706249f9
add eax, 0x8f9db60c
mov ecx, 0x10000000
add ecx, dword [ebp - 4]
call ebx
leave
ret
Function at 0x10086265
Capabilities:
Create process on windows

Disassembly:
push 0x5c
mov eax, 0x101a306b
call fcn.1000195f
push dword [ebp + 0x10]
lea eax, [ebp - 0x14]
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
call fcn.100f784b
xor edi, edi
lea eax, [ebp - 0x68]
push 0x44
push edi
push eax
mov dword [ebp - 4], edi
call sub.VCRUNTIME140.dll_memset
push 5
pop eax
push 0x10
mov word [ebp - 0x38], ax
xor esi, esi
lea eax, [ebp - 0x24]
mov dword [ebp - 0x60], 0x101bdb28
push edi
inc esi
push eax
mov dword [ebp - 0x3c], esi
call sub.VCRUNTIME140.dll_memset
add esp, 0x28
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x68]
push eax
mov eax, dword [0x102763dc]
push edi
push edi
push 0x10
push esi
mov esi, dword [eax + 0x54]
mov ecx, esi
push edi
push edi
push dword [ebp - 0x14]
call dword [0x101b03f8]
call esi
pop ecx
push eax
push edi
call dword [sym.imp.kernel32.dll_CreateProcessW]
movzx esi, ax
test si, si
je 0x100862f8
push dword [ebp - 0x24]
call fcn.1001024d
pop ecx
movzx esi, ax
lea ecx, [ebp - 0x14]
call fcn.1001024d
mov ax, si
call fcn.100019bb
ret
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

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

Disassembly:
pushal
nop
nop
nop
call 0x43000c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
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
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x430030
add eax, 0xc
nop
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
popal
nop
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x4031f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x4cd020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403288
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403268
xor eax, eax
push ebp
push 0x403261
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x4032a4
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403268
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x4cd020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x4cd020], ax
mov esp, ebp
pop ebp
ret

Function at 0x404024
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4d004c], 0
je 0x404085
cmp word [0x4d0220], 0xd7b2
jne 0x40404d
cmp dword [0x4d0228], 0
jbe 0x40404d
mov eax, 0x4d021c
call dword [0x4d0238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x4cd06c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x4040ac
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4cd030], 0
jne 0x4040a1
push 0
push 0x4cd064
push 0x4cd06c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x406480
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x4064e6
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00404410
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402d90
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x4064d0
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4064ed
lea eax, [ebp - 0x10]
call fcn.004041a0
ret

Function at 0x40bab8
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40baf1
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404290
jmp 0x40bafa
mov eax, ebx
mov edx, esi
call fcn.004041f4
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40bb04
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40bb25
mov al, byte [esp]
jmp 0x40bb27
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40c1ac
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40c024
mov eax, dword [0x4cf428]
cmp byte [eax], 0
je 0x40c228
mov eax, dword [0x4cf120]
call fcn.00402bc0
call fcn.00402a34
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00409278
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40c270
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40c25e
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4cf0a0]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4d0668]
call fcn.00405978
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret