joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41c150
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 8]
push ebx
push esi
push edi
mov edi, eax
mov esi, edx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0
xor eax, eax
push fcn.0041c140
push ebp
push 0x412ee0
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoW
mov ebx, eax
test eax, eax
jle 0x41c1c0
lea edx, [ebx - 1]
lea eax, [ebp - 4]
call fcn.0040b180
cmp ebx, 1
jle 0x41c1aa
push ebx
mov eax, dword [ebp - 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoW
mov ebx, eax
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 4]
xor dx, dx
call fcn.0040abd0
jmp 0x41c1cb
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 8]
call fcn.00408970
xor edx, edx
pop eax
add esp, 0xc
mov dword fs:[edx], eax
mov eax, ebp
call fcn.0041c140
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x41c640
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x10]
push ebx
push esi
mov dword [ebp - 0x10], 0
xor eax, eax
push fcn.0041c630
push ebp
push 0x412ee0
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, 1
nop dword [eax + eax]
lea eax, [ebx*4 + 0x44eeec]
xor edx, edx
call fcn.00408970
mov dword [ebx*4 + 0x44ef0c], 0xffffffff
add ebx, 1
cmp ebx, 7
jle 0x41c670
call sub.kernel32.dll_GetThreadLocale
mov ebx, eax
push 0xb
lea eax, [ebp - 0xc]
push eax
push 0x100b
push ebx
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
jle 0x41c6f8
push 1
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
xor cx, cx
mov edx, 0xa
call fcn.00409470
mov eax, dword [ebp - 0x10]
mov edx, 1
call fcn.00413d70
mov esi, eax
sub eax, 3
cmp eax, 3
jae 0x41c6f8
push 4
push esi
push ebx
mov eax, 0x41c500
push eax
call sub.kernel32.dll_EnumCalendarInfoA
push 3
push esi
push ebx
mov eax, 0x41c5a0
push eax
call sub.kernel32.dll_EnumCalendarInfoA
xor edx, edx
pop eax
add esp, 0xc
mov dword fs:[edx], eax
mov eax, ebp
call fcn.0041c630
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41ce30
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x94]
mov dword [0x44ef50], 0
mov dword [ebp - 0x94], 0x94
lea eax, [ebp - 0x94]
push eax
call sub.kernel32.dll_GetVersionExA
mov eax, dword [ebp - 0x84]
mov dword [0x44edb0], eax
mov eax, dword [ebp - 0x90]
mov dword [0x44edc0], eax
mov eax, dword [ebp - 0x8c]
mov dword [0x44edd0], eax
mov eax, dword [ebp - 0x88]
mov dword [0x44ede0], eax
mov edx, 0x44edf1
lea eax, [ebp - 0x80]
mov ecx, pe_nt_image_headers32
call fcn.00403650
lea eax, [ebp - 0x80]
call fcn.004049c0
mov byte [0x44edf0], al
mov eax, str.kernel32
push eax
call sub.kernel32.dll_GetModuleHandleA
mov dword [0x44ef60], eax
test eax, eax
je 0x41cecf
mov eax, str.GetDiskFreeSpaceExA
push eax
push dword [0x44ef60]
call sub.kernel32.dll_GetProcAddress
mov dword [0x44ef50], eax
cmp dword [0x44edc0], 6
jae 0x41ceeb
mov dword [0x440170], 0
cmp dword [0x44edc0], 6
jb 0x41cefe
cmp dword [0x44edd0], 1
jb 0x41cefe
mov dword [0x440180], 2
cmp dword [0x44ef60], 0
je 0x41cf26
cmp dword [0x44edc0], 6
jb 0x41cf26
mov eax, str.GetTimeZoneInformationForYear
push eax
push dword [0x44ef60]
call sub.kernel32.dll_GetProcAddress
mov dword [0x4408a0], eax
mov esp, ebp
pop ebp
ret

Function at 0x41d6f0
Capabilities:
Get user security identifier

Disassembly:
jmp dword [sym.imp.advapi32.dll_LookupAccountNameA]
jmp 0x4015c0

Function at 0x41d730
Capabilities:
Create process on windows

Disassembly:
jmp dword [sym.imp.advapi32.dll_CreateProcessAsUserA]
jmp 0x4015f0

Function at 0x41d7d0
Capabilities:
Add user account

Disassembly:
jmp dword [sym.imp.netapi32.dll_NetUserAdd]
jmp 0x401940

Function at 0x41d7e0
Capabilities:
Add user account to group

Disassembly:
jmp dword [sym.imp.netapi32.dll_NetLocalGroupAddMembers]
jmp 0x401950
Function at 0x41e660
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x10c]
push ebx
push esi
push edi
mov esi, eax
mov ebx, edx
mov edi, ecx
mov dword [ebp - 0xc], 0
xor eax, eax
push fcn.0041e650
push ebp
push 0x412ee0
push dword fs:[eax]
mov dword fs:[eax], esp
push dword [ebp + 0xc]
push edi
push ebx
call sub.kernel32.dll_FindResourceA
mov dword [esi + 0x14], eax
test eax, eax
jne 0x41e751
cmp byte [ebp + 8], 0
je 0x41e720
push 0xff
lea ecx, [ebp - 0x10c]
mov edx, 0xffffffff
mov eax, edi
call fcn.00404f40
lea ecx, [ebp - 0xc]
lea eax, [ebp - 0x10c]
xor dx, dx
call fcn.004092f0
lea eax, [ebp - 0xc]
xor cl, cl
xor dx, dx
call fcn.0040a030
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0xb
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [str.Resource___s__not_found]
mov eax, 0x447a9c
mov edx, 1
call fcn.0041b070
mov edx, 0x41e6ac
mov ecx, ebp
call fcn.00412da0
mov dword [ebp - 4], edi
mov dword [ebp - 8], 6
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [str.Resource___s__not_found]
mov eax, 0x447a9c
mov edx, 1
call fcn.0041b070
mov edx, 0x41e720
mov ecx, ebp
call fcn.00412da0
push dword [esi + 0x14]
push ebx
call sub.kernel32.dll_LoadResource
mov dword [esi + 0x18], eax
test eax, eax
jne 0x41e811
cmp byte [ebp + 8], 0
je 0x41e7e0
push 0xff
lea ecx, [ebp - 0x10c]
mov edx, 0xffffffff
mov eax, edi
call fcn.00404f40
lea ecx, [ebp - 0xc]
lea eax, [ebp - 0x10c]
xor dx, dx
call fcn.004092f0
lea eax, [ebp - 0xc]
xor cl, cl
xor dx, dx
call fcn.0040a030
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0xb
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [str.Resource___s__not_found]
mov eax, 0x447a9c
mov edx, 1
call fcn.0041b070
mov edx, 0x41e76f
mov ecx, ebp
call fcn.00412da0
mov dword [ebp - 4], edi
mov dword [ebp - 8], 6
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [str.Resource___s__not_found]
mov eax, 0x447a9c
mov edx, 1
call fcn.0041b070
mov edx, 0x41e7e0
mov ecx, ebp
call fcn.00412da0
push dword [esi + 0x14]
push ebx
call sub.kernel32.dll_SizeofResource
mov ebx, eax
push dword [esi + 0x18]
call sub.kernel32.dll_LockResource
mov edx, eax
mov eax, esi
mov ecx, ebx
call fcn.0041e370
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.0041e650
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x42210b
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x42214a
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42214a
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42214a
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x42214a
cmp dword [ecx + 0x74], 0xe
jbe 0x42214a
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x4347a0
Capabilities:
Parse pe header

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

Function at 0x45df50
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x436015
lea edi, [esi - 0x35015]
push edi
jmp 0x45df6a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x45df71
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x45df60
mov eax, 1
add ebx, ebx
jne 0x45df83
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x45df78
jne 0x45df94
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x45df78
xor ecx, ecx
sub eax, 3
jb 0x45dfa8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x45e01a
mov ebp, eax
add ebx, ebx
jne 0x45dfb3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x45dfc0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x45dfe4
inc ecx
add ebx, ebx
jne 0x45dfd0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x45dfc5
jne 0x45dfe1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x45dfc5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x45e004
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x45dff5
jmp 0x45df66
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x45e004
add edi, ecx
jmp 0x45df66
pop esi
mov edi, esi
mov ecx, 0x18
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x45e022
cmp byte [edi], 0x96
jne 0x45e022
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 0x45e027
lea edi, [esi + 0x5a000]
mov eax, dword [edi]
or eax, eax
je 0x45e096
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x5e244]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x5e2cc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x45e054
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x5e2d4]
or eax, eax
je 0x45e090
mov dword [ebx], eax
add ebx, 4
jmp 0x45e071
call dword [esi + 0x5e2d0]
mov ebp, dword [esi + 0x5e2d8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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 0x45e0ca
sub esp, 0xffffff80
jmp 0x4341b0
Function at 0x10001bd0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, 0x14c
push edi
mov edx, dword [ebx + 0x3c]
lea eax, [ebx + 0x88]
add eax, edx
lea ecx, [ebx + 0x78]
add ecx, edx
cmp word [edx + ebx + 4], si
cmovne ecx, eax
mov eax, dword [ecx]
test eax, eax
je 0x10001d04
cmp dword [ebp + 0x10], 0
lea ecx, [eax + ebx]
mov dword [ebp - 8], ecx
ja 0x10001c4c
mov eax, dword [ebp + 0xc]
jb 0x10001c1b
cmp eax, 0xffff
ja 0x10001c4c
movzx edx, ax
xor eax, eax
sub edx, dword [ecx + 0x10]
sbb eax, eax
test eax, eax
ja 0x10001d04
jb 0x10001c38
cmp edx, dword [ecx + 0x14]
jae 0x10001d04
mov eax, dword [ecx + 0x1c]
pop edi
pop esi
lea eax, [eax + edx*4]
mov eax, dword [eax + ebx]
add eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ecx + 0x24]
mov edx, dword [ecx + 0x20]
add eax, ebx
mov dword [ebp - 0x14], eax
add edx, ebx
xor eax, eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], eax
cmp dword [ecx + 0x18], eax
jbe 0x10001d04
nop word [eax + eax]
mov ecx, dword [edx + eax*4]
add ecx, ebx
mov esi, ecx
mov dword [ebp - 0xc], ecx
lea edx, [esi + 1]
nop dword [eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x10001c80
mov edi, dword [0x10004048]
sub esi, edx
push 0xeeeeeeee
push 0x7fed7fed
push edi
push 1
push esi
push ecx
call fcn.10002400
push 0xeeeeeeee
push 0x7fed7fed
push edi
push 2
push esi
push dword [ebp - 0xc]
mov ebx, eax
call fcn.10002400
xor ecx, ecx
or ecx, ebx
cmp dword [ebp + 0xc], eax
jne 0x10001cc9
cmp dword [ebp + 0x10], ecx
je 0x10001ce0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
inc eax
mov dword [ebp - 4], eax
cmp eax, dword [ecx + 0x18]
jae 0x10001d04
mov ebx, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
jmp 0x10001c70
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
pop edi
pop esi
pop ebx
movzx ecx, word [ecx + eax*2]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x1c]
lea eax, [eax + ecx*4]
mov ecx, dword [ebp + 8]
mov eax, dword [eax + ecx]
add eax, ecx
mov esp, ebp
pop ebp
ret 0xc
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x10002400
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x18]
push edi
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x1000245a
shl dword [ebp + 0x10], 8
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x1c]
push esi
nop word [eax + eax]
mov cl, byte [ecx]
movsx edx, cl
sub cl, 0x61
cmp cl, 0x19
mov ecx, dword [ebp + 0x10]
lea esi, [edx - 0x20]
cmova esi, edx
mov edx, dword [ebp + 0x14]
add ecx, esi
add eax, ebx
xor eax, dword [edx + ecx*4]
mov ecx, ebx
shl ecx, 5
add ecx, 3
add ecx, esi
add ebx, ecx
mov ecx, dword [ebp + 8]
inc ecx
add ebx, eax
mov dword [ebp + 8], ecx
sub edi, 1
jne 0x10002420
pop esi
pop ebx
pop edi
pop ebp
ret 0x18
Function at 0x402da5
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov dword [0x405533], eax
push 0
push dword [ebp + 8]
push 0
push 0
push 0
push 0x80000000
push 0
push 0x80000000
push 0xcf0000
push str.Magnetick
push str.Charge_Window_App
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x402dec
xor eax, eax
jmp 0x402e03
push 0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_UpdateWindow]
xor eax, eax
inc eax
leave
ret

Function at 0x403222
Capabilities:
Terminate process

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x404490
push 0x403384
push eax
mov eax, dword [0x4055b0]
mov dword fs:[0], esp
mov ecx, dword [sym.imp.CRTDLL.dll__fmode_dll]
sub esp, 0x6c
mov dword [ecx], eax
mov edx, dword [0x4055ac]
mov eax, dword [sym.imp.CRTDLL.dll__commode_dll]
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [eax], edx
call fcn.0040337a
lea edx, [ebp - 0x28]
lea eax, [ebp - 0x2c]
push dword [0x4055a8]
push edx
push eax
lea ecx, [ebp - 0x30]
push ecx
call sub.CRTDLL.dll___GetMainArgs
add esp, 0x10
push 0x4040d0
push 0x4040cc
call sub.CRTDLL.dll__initterm
add esp, 8
mov dword [ebp - 4], 0
mov eax, dword [sym.imp.CRTDLL.dll__acmdln_dll]
mov esi, dword [eax]
mov al, byte [esi]
cmp al, 0x22
jne 0x4032bd
mov al, byte [ebp - 0x34]
inc esi
mov al, byte [esi]
test al, al
je 0x4032b5
cmp al, 0x22
jne 0x4032aa
cmp byte [esi], 0x22
jne 0x4032c7
inc esi
jmp 0x4032c7
cmp al, 0x20
jbe 0x4032c7
inc esi
cmp byte [esi], 0x20
ja 0x4032c1
cmp byte [esi], 0
je 0x4032d7
cmp byte [esi], 0x20
ja 0x4032d7
inc esi
cmp byte [esi], 0
jne 0x4032cc
mov dword [ebp - 0x50], 0
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x50], 1
mov eax, 0xa
je 0x4032f7
movzx eax, word [ebp - 0x4c]
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
push eax
call sub.CRTDLL.dll_exit
jmp 0x403333
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
pop edi
mov dword fs:[0], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x414dd2
Capabilities:
Encode data using xor

Disassembly:
xor dword [ecx], edi
mov edx, 0x29c39769
push edx
mov esi, dword [esp]
add esp, 4
add ecx, 4
sub edx, 0x1f3e1cc1
sub eax, edx
sub eax, esi
cmp ecx, ebx
jne fcn.00414dd2
or esi, esi
add eax, 0xf948195b
dec edx
ret
Function at 0x415f63
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x433b84
push 0x433b7c
push str.FlsGetValue
push 2
call fcn.00415e68
add esp, 0x10
mov esi, eax
push dword [ebp + 8]
test esi, esi
je 0x415f94
mov ecx, esi
call fcn.00411065
call esi
jmp 0x415f9a
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
pop esi
pop ebp
ret

Function at 0x415f9d
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x433b8c
push 0x433b84
push str.FlsSetValue
push 3
call fcn.00415e68
add esp, 0x10
mov esi, eax
push dword [ebp + 0xc]
push dword [ebp + 8]
test esi, esi
je 0x415fd1
mov ecx, esi
call fcn.00411065
call esi
jmp 0x415fd7
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop esi
pop ebp
ret

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 0x401000
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x692f20
push eax
push dword fs:[0]
mov dword fs:[0], esp
xor eax, eax
mov dword [eax], ecx
push eax
inc ebp
inc ebx
outsd dx, dword [esi]
insd dword es:[edi], dx
jo 0x401080
arpl word [edx + esi], si
or al, 0x93
mov ecx, 0x9cec0e28
cmc
int 0xa9
popal
je 0x401051
push edi
outsb dx, byte [esi]
dec edx
test al, 0x6e
sub ebx, esp
sbb byte [ebp - 0x68], cl
cld
and ebp, dword [ebx + 0x4c]
in eax, dx
jns 0x400fd2
xchg byte [edi], al
sar byte [esi - 0x43], 1
mov ah, 0x15
js 0x401094
invalid
jecxz 0x401095
insb byte es:[edi], dx
inc esi
imul esp, dword [esi], 0x728e5b10
int1
pop ss
popal
pop ebp
fsubr st(1)
jmp 0x4010d5
mov edi, ebp
shr dword [edi], cl
das
mov al, byte [0x8f8a92fc]
mov edi, 0x3b9610f5
or dh, ch
xor dl, byte [edx]
mov gs, word [eax]
or eax, 0x2403af39
out 0xdc, al
scasd eax, dword es:[edi]
insd dword es:[edi], dx
clts
push es
pop esi
lock add al, byte [esi + 0x2106b6d0]
mov al, byte [0x1e82de2a]
xchg al, dl
mov dh, 6
and dword [eax + 0x1e82de2a], esp
sal byte [esi + 0x2aa02106], 1
fiadd word [edx - 0x409a0ce2]
xor al, 0x24
mov ah, 0xa4
mov edi, 0xa4b42434
mov edi, 0xa4b42434
xchg edi, eax
push ebp
inc ecx
imul edi, ebp, 0x92779bd5
jecxz 0x401082
sbb esi, eax
bnd ja 0x401090
popal
mov byte [eax + 0x75], cl
mov bh, 0x93
jne 0x401072
xchg ebx, eax
cdq
retf
inc ebx
fnsave dword [ecx]
jb 0x4010b9
jecxz 0x401075
jne 0x401117
sti
sub al, 0x6f
pop esp
int1
xchg edx, eax
mov dword [ebx], 0xda970bc7
push ebp
cmp al, 0x34
cmp byte [edx + 0x27], ah
jbe 0x4010a0
cmovge ecx, ebx
cdq
retf
and eax, 0x166a0f59
call [ebx + 0x11]
shl byte [esi - 0x5b07bddc], 0xca
adc ebx, edi
mov bl, 0xcb
sbb dl, byte [ebx + 0x11]
fcompi st(7)
push es
mov edx, 0xc99be644
cmp dword [ebp - 0x547d469d], ecx
nop
pop esp
mov esp, ebp
iretd

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 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 0x696419b0
Capabilities:
Copy file
Delete file
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov dword [esp + 8], 0x1e
mov dword [esp + 4], 0
lea eax, [ebp - 0x2e]
mov dword [esp], eax
call sym._memset
mov dword [esp], 0x10d
call sym._affZoZyj5QQfO
mov dword [ebp - 0xc], eax
mov dword [esp + 8], 0x106
mov dword [esp + 4], 0
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._memset
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._strlen
add eax, 1
mov dword [esp + 8], eax
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._strncpy
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_lstrlenA]
call eax
sub esp, 4
lea edx, [eax + 2]
mov eax, dword [ebp - 0xc]
add eax, edx
mov byte [eax], 0
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x26], eax
mov word [ebp - 0x1e], 0x614
mov dword [ebp - 0x2a], 3
mov dword [esp + 4], pe_nt_image_headers32
mov eax, dword [ebp + 8]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
call eax
sub esp, 8
mov dword [ebp - 0x2e], 0
lea eax, [ebp - 0x2e]
mov dword [esp], eax
mov eax, dword [sym.imp.SHELL32.dll_SHFileOperationA]
call eax
sub esp, 4
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._free
cmp dword [ebp - 0x10], 0
jne 0x69641a97
mov eax, 1
jmp 0x69641a9c
mov eax, 0
leave
ret
Function at 0x6964328d
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x40c
mov eax, esp
mov dword [ebp - 0x3fc], eax
mov dword [ebp - 0x24], str.971a768d9c2e0cefb97efc7b1dd6d08444eebafc147bb51463c95818e1450bb0a1414afb2c41d2a9d7518b195dd784cd54dbf29be590cebcdeac0dd50dcadac46088c7264033c544ea8521cd9f7df3c9902f510850d38932
lea eax, [ebp - 0x3f4]
mov ebx, 0x6964a6e0
mov edx, 0xf0
mov edi, eax
mov esi, ebx
mov ecx, edx
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x3f4]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 3
mov eax, dword [ebp - 0x24]
mov dword [esp + 4], eax
mov dword [esp], 0x3c0
call sym._y2Ob5
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [esp], eax
call sym._strlen
add eax, 1
mov edx, eax
sub edx, 1
mov dword [ebp - 0x2c], edx
mov edx, 0x10
sub edx, 1
add eax, edx
mov ecx, 0x10
mov edx, 0
div ecx
imul eax, eax, 0x10
call fcn.696475d0
sub esp, eax
lea eax, [esp + 0x10]
add eax, 0
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x28]
mov dword [esp], eax
call sym._strlen
lea edx, [eax + 1]
mov eax, dword [ebp - 0x30]
mov dword [esp + 8], edx
mov edx, dword [ebp - 0x28]
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._strncpy
mov eax, dword [ebp - 0x30]
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
call eax
sub esp, 0xc
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x28]
mov dword [esp], eax
call sym._free
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x34]
add eax, 1
mov dword [esp], eax
call sym._malloc
mov dword [ebp - 0x20], eax
jmp 0x696433c1
add dword [ebp - 0x1c], 1
mov dword [esp], 0x64
mov eax, dword [sym.imp.KERNEL32.dll_Sleep]
call eax
sub esp, 4
mov eax, dword [ebp - 0x34]
add eax, 1
mov dword [esp], eax
call sym._malloc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], 0x3e7
ja 0x696433d0
cmp dword [ebp - 0x20], 0
je 0x6964339b
cmp dword [ebp - 0x20], 0
jne 0x696433e2
mov dword [esp], 0
call sym._exit
mov eax, dword [ebp - 0x34]
add eax, 1
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call sym._memset
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x34]
mov dword [esp + 8], edx
mov edx, dword [ebp - 0x20]
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
call eax
sub esp, 0xc
mov eax, dword [ebp - 0x20]
mov esp, dword [ebp - 0x3fc]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret