joyce8/EMBER2024-capa huggingface dataset:
Function at 0x452a80
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b2089
mov eax, dword fs:[0]
push eax
sub esp, 0x260
push ebx
push esi
push edi
lea edi, [ebp - 0x26c]
mov ecx, 0x98
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x4cf110]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, esp
lea eax, [ebp - 0x24]
push eax
mov edi, esp
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
cmp edi, esp
call fcn.0043c45a
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
cmp esi, esp
call fcn.0043c45a
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x24], 3
je 0x452b0e
push str.use_format:_r_n
call fcn.0043c518
add esp, 4
push str.FetchDriver.exe_instanceid_storepath__r_n
call fcn.0043c518
add esp, 4
or eax, 0xffffffff
jmp 0x452c5d
push str.log.txt
lea eax, [ebp - 0x258]
push eax
call fcn.0043b546
add esp, 4
mov dword [ebp - 0x260], eax
mov ecx, dword [ebp - 0x260]
mov dword [ebp - 0x264], ecx
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x264]
push edx
lea eax, [ebp - 0x4c]
push eax
call fcn.0043b0ff
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x258]
call fcn.0043bb59
sub esp, 0x20
mov ecx, esp
mov dword [ebp - 0x230], esp
lea eax, [ebp - 0x4c]
push eax
call fcn.0043c0ef
mov dword [ebp - 0x260], eax
call fcn.0043c5b3
add esp, 0x20
mov dword [ebp - 0x264], eax
cmp dword [ebp - 0x264], 0
jne 0x452bb2
mov dword [ebp - 0x224], 0xfffffffd
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.0043bb59
mov eax, dword [ebp - 0x224]
jmp 0x452c5d
mov dword [ebp - 0x58], 0
lea ecx, [ebp - 0x134]
call fcn.0043bc03
mov byte [ebp - 4], 3
sub esp, 0x20
mov ecx, esp
mov dword [ebp - 0x218], esp
mov eax, dword [ebp - 0x18]
mov edx, dword [eax + 8]
push edx
call fcn.0043b4d8
mov dword [ebp - 0x260], eax
mov eax, dword [ebp - 0x260]
mov dword [ebp - 0x264], eax
mov byte [ebp - 4], 4
sub esp, 0x20
mov ecx, esp
mov dword [ebp - 0x20c], esp
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 4]
push eax
call fcn.0043b4d8
mov dword [ebp - 0x268], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x134]
call fcn.0043b5e1
mov dword [ebp - 0x26c], eax
mov ecx, dword [ebp - 0x26c]
mov dword [ebp - 0x58], ecx
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x200], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x134]
call fcn.0043bf55
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.0043bb59
mov eax, dword [ebp - 0x200]
push edx
mov ecx, ebp
push eax
lea edx, [0x452c98]
call fcn.0043b8b6
pop eax
pop edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043b29e
add esp, 0x26c
cmp ebp, esp
call fcn.0043c45a
mov esp, ebp
pop ebp
ret
Function at 0x54c700
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xef000]
push edi
jmp 0x54c71a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x54c721
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x54c710
mov eax, 1
add ebx, ebx
jne 0x54c733
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x54c744
jne 0x54c763
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x54c763
dec eax
add ebx, ebx
jne 0x54c750
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x54c728
add ebx, ebx
jne 0x54c75f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x54c7b5
xor ecx, ecx
sub eax, 3
jb 0x54c77b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x54c7ea
sar eax, 1
mov ebp, eax
jmp 0x54c786
add ebx, ebx
jne 0x54c786
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x54c754
inc ecx
add ebx, ebx
jne 0x54c794
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x54c754
add ebx, ebx
jne 0x54c7a1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x54c796
jne 0x54c7b2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x54c796
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x54c7d4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x54c7c6
jmp 0x54c716
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x54c7d4
add edi, ecx
jmp 0x54c716
pop esi
mov edi, esi
mov ecx, 0x40f0
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x54c7f2
cmp byte [edi], 0x11
jne 0x54c7f2
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 0x54c7f7
lea edi, [esi + 0x145000]
mov eax, dword [edi]
or eax, eax
je 0x54c86f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1b3aa8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1b3c24]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x54c824
mov ecx, edi
jns 0x54c853
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 + 0x1b3c28]
or eax, eax
je 0x54c869
mov dword [ebx], eax
add ebx, 4
jmp 0x54c841
call dword [esi + 0x1b3c38]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x54c8a0
cmp al, 0xef
ja 0x54c893
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x54c875
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x54c882
mov ebp, dword [esi + 0x1b3c2c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
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 0x54c8d4
sub esp, 0xffffff80
jmp 0x420577
Function at 0x40ce38
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x419408]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.004078cb
mov dword [ebp - 0x14], eax
cmp dword [0x813c38], esi
jne 0x40cf2b
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40ceb8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40d00b
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40d00b
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40d00b
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x813c38], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x813c3c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x813c40], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x813c48], eax
test eax, eax
je 0x40cf28
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x813c44], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40cf50
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40cf43
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40cf65
push 4
pop eax
jmp 0x40d00d
cmp dword [ebp - 0x14], esi
je 0x40cf65
push dword [0x813c38]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40cf4a
mov eax, dword [0x813c44]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40cfc3
cmp dword [0x813c48], edi
je 0x40cfc3
push eax
call ebx
push dword [0x813c48]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40cfc3
test eax, eax
je 0x40cfc3
call ecx
test eax, eax
je 0x40cfb8
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 0x40cfb8
test byte [ebp - 8], 1
jne 0x40cfc3
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40cff3
mov eax, dword [0x813c3c]
cmp eax, edi
je 0x40cff0
push eax
call ebx
test eax, eax
je 0x40cff0
call eax
mov esi, eax
test esi, esi
je 0x40cff0
mov eax, dword [0x813c40]
cmp eax, edi
je 0x40cff0
push eax
call ebx
test eax, eax
je 0x40cff0
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x813c38]
call ebx
test eax, eax
je 0x40d00b
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40d00d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004041de
mov esp, ebp
pop ebp
ret
Function at 0x443df0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x29000]
push edi
or ebp, 0xffffffff
jmp 0x443e12
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x443e19
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x443e08
mov eax, 1
add ebx, ebx
jne 0x443e2b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x443e3c
jne 0x443e4c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x443e4c
dec eax
add ebx, ebx
jne 0x443e48
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x443e20
xor ecx, ecx
sub eax, 3
jb 0x443e64
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x443ed6
sar eax, 1
mov ebp, eax
jmp 0x443e6f
add ebx, ebx
jne 0x443e6f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x443e7c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x443ea0
inc ecx
add ebx, ebx
jne 0x443e8c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x443e81
jne 0x443e9d
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x443e81
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x443ec0
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x443eb1
jmp 0x443e0e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x443ec0
add edi, ecx
jmp 0x443e0e
pop esi
mov edi, esi
mov ecx, 0xc97
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x443ede
cmp byte [edi], 0xc
jne 0x443ede
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 eax, ebx
loop 0x443ee3
lea edi, [esi + 0x41000]
mov eax, dword [edi]
or eax, eax
je 0x443f5b
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x440e4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x44148]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x443f10
mov ecx, edi
jns 0x443f3f
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 + 0x4414c]
or eax, eax
je 0x443f55
mov dword [ebx], eax
add ebx, 4
jmp 0x443f2d
call dword [esi + 0x44150]
popal
jmp 0x40f3a4
Function at 0x1001bb2b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x1001bb3a
pop dword [ebp - 0x28]
mov eax, 0xde830939
add eax, 0x317eb201
sub dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 0xda97584d
add dword [ebp - 0x38], 0x73baecfe
mov dword [ebp - 0x34], 0xaf1ed69c
sub dword [ebp - 0x34], 0x7ceb8a57
mov dword [ebp - 0x30], 0x9302cbeb
add dword [ebp - 0x30], 0xb9497843
mov dword [ebp - 0x2c], 0xef5c7ad0
sub dword [ebp - 0x2c], 0xef5c7ad0
lea eax, [ebp - 0x38]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x28]
call dword [eax]
mov dword [ebp - 0x38], 0x18936695
sub dword [ebp - 0x38], 0xa420fd3f
mov dword [ebp - 0x34], 0xa3a1779c
sub dword [ebp - 0x34], 0x62351627
mov dword [ebp - 0x30], 0xf2b3bee2
sub dword [ebp - 0x30], 0x8f445276
mov dword [ebp - 0x2c], 0x71e540f8
sub dword [ebp - 0x2c], 0x71e540f8
lea ebx, [ebp - 0x38]
push ebx
push eax
mov eax, 0xcd44be8f
sub eax, 0xbd42cdf3
add eax, dword [ebp - 0x28]
call dword [eax]
push 0x40
push 0x1000
push 0x3a550
push 0
call eax
mov ecx, 0x4529
xor esi, esi
add esi, eax
mov edx, 0x58f85172
sub edx, 0x48f5b772
add edx, dword [ebp - 0x28]
mov edi, 0x4388eb0c
add edi, 0xb9b1cd34
add dword [ebp - 0x14], 0xa642aa10
mov ebx, dword [edx]
xor ebx, edi
add dword [ebp - 0x18], edx
mov dword [esi], ebx
xor dword [ebp - 4], 0x460466b4
add esi, 4
add edx, 0xa24815a5
sub edx, 0xa24815a1
loop 0x1001bc53
add eax, 0x10777
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x39ea4f53
sub ecx, 0x29ea4f53
add ecx, dword [ebp - 0x28]
call ebx
leave
ret

Function at 0x1001cc37
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp byte [esi + 0x2d], 0
jne 0x1001ccba
push ebx
mov ebx, dword [ebp + 0x10]
push edi
push 0
lea eax, [ebp + 0x10]
push eax
push ebx
push dword [ebp + 0xc]
push dword [esi + 0x30]
call dword [sym.imp.kernel32.dll_ReadFile]
mov edi, dword [ebp + 0x10]
cmp edi, ebx
je 0x1001cc84
mov byte [esi + 0x2d], 0xff
test edi, edi
je 0x1001cc84
cmp edi, ebx
jge 0x1001cc84
mov eax, dword [ebp + 0xc]
mov ecx, ebx
sub ecx, edi
push ecx
add eax, edi
push 0
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
cmp dword [esi + 0x18], 0
je 0x1001ccb4
add dword [esi + 0x1c], ebx
cmp dword [esi + 0x1c], 0xffff
jle 0x1001ccb4
xor eax, eax
mov word [esi + 0x1e], ax
mov eax, dword [esi]
push esi
call dword [eax + 0x2c]
mov ecx, dword [esi + 0x18]
mov edx, dword [ecx]
push 1
push dword [esi + 0x20]
push eax
push ecx
call dword [edx + 0xc]
mov edi, dword [ebp + 0x10]
mov eax, edi
pop edi
pop ebx
jmp 0x1001cccc
push dword [ebp + 0x10]
push 0
push dword [ebp + 0xc]
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
pop esi
pop ebp
ret 0xc
Function at 0x1001cf62
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x310
mov eax, dword [0x100268b0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push edi
mov edi, dword [ebp + 0xc]
cmp byte [0x100269c0], al
je 0x1001cf99
push ebx
push dword [ebp + 0x10]
push edi
push esi
call dword [sym.imp.kernel32.dll_GetTempFileNameW]
jmp 0x1001cffd
push 0x103
push eax
mov byte [ebp - 0x108], al
lea eax, [ebp - 0x107]
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
lea eax, [ebp - 0x310]
push eax
push esi
call fcn.1001bb2b
lea eax, [ebp - 0x20c]
push eax
push edi
call fcn.1001bb2b
lea eax, [ebp - 0x108]
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x310]
push eax
call dword [sym.imp.kernel32.dll_GetTempFileNameA]
mov esi, eax
push ebx
lea eax, [ebp - 0x108]
push eax
call fcn.1001bb2b
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001ddeb
leave
ret 0x10

Function at 0x1001d00e
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x100268b0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x100269c0], 0
push esi
mov esi, dword [ebp + 0xc]
je 0x1001d03a
push esi
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_GetTempPathW]
jmp 0x1001d06b
lea eax, [ebp - 0x108]
push eax
push 0x104
call dword [sym.imp.kernel32.dll_GetTempPathA]
test eax, eax
je 0x1001d069
push dword [ebp + 8]
lea eax, [ebp - 0x108]
push esi
push eax
call fcn.1001bb2b
push esi
call dword [sym.imp.kernel32.dll_lstrlenW]
jmp 0x1001d06b
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1001ddeb
leave
ret 8

Function at 0x1001d106
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x100268b0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x100269c0], 0
mov eax, dword [ebp + 8]
je 0x1001d12e
push eax
call dword [sym.imp.kernel32.dll_DeleteFileW]
jmp 0x1001d148
lea ecx, [ebp - 0x108]
push ecx
push eax
call fcn.1001bb2b
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.kernel32.dll_DeleteFileA]
mov ecx, dword [ebp - 4]
test eax, eax
setne al
xor ecx, ebp
call fcn.1001ddeb
leave
ret 4

Function at 0x1001ddeb
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100268b0]
jne 0x1001ddf5
repz ret
jmp fcn.1001e62c

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x40596d
pop dword [ebp - 0x40]
mov eax, 0x40596d
sub dword [ebp - 0x40], eax
mov dword [ebp - 0x50], 0x64f4d665
add dword [ebp - 0x50], 0xe95d6ee6
mov dword [ebp - 0x4c], 0xd3b37743
sub dword [ebp - 0x4c], 0xa1802afe
mov dword [ebp - 0x48], 0x32a19322
sub dword [ebp - 0x48], 0xe6554ef4
mov dword [ebp - 0x44], 0x137b8fe2
sub dword [ebp - 0x44], 0x137b8fe2
lea eax, [ebp - 0x50]
push eax
mov eax, 0x52ce25ac
add eax, 0xad724ab4
add eax, dword [ebp - 0x40]
call dword [eax]
mov dword [ebp - 0x50], 0xffa7d7a0
sub dword [ebp - 0x50], 0x8b356e4a
mov dword [ebp - 0x4c], 0xb397edd9
add dword [ebp - 0x4c], 0x8dd4739c
mov dword [ebp - 0x48], 0xcbd1bb08
add dword [ebp - 0x48], 0x979db164
mov dword [ebp - 0x44], 0xff7892ac
add dword [ebp - 0x44], 0x876d54
lea ebx, [ebp - 0x50]
push ebx
push eax
mov eax, 0x4b749cdd
sub eax, 0x4b342bdd
add eax, dword [ebp - 0x40]
call dword [eax]
push 0x40
push 0x1000
push 0x351fb
push 0
call eax
mov ecx, 0x9c38ff62
sub ecx, 0x9c38bdc1
mov edx, eax
mov ebx, 0xb7f9f23c
sub ebx, 0xb7b8f23c
add ebx, dword [ebp - 0x40]
mov esi, 0x39b7f591
add esi, 0x83340559
add dword [ebp - 0x24], eax
mov edi, dword [ebx]
xor dword [ebp - 0x24], 0xacdabc69
sub edi, esi
mov dword [edx], edi
add edx, 4
add ebx, 0x32672805
sub ebx, 0x32672801
loop 0x405a8a
add eax, 0x14bd24b
sub eax, 0x14ad8f4
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x40]
call ebx
leave
ret

Function at 0x4065b0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40c17c]
jne 0x4065ba
repz ret
jmp fcn.00406941
Function at 0x4039c1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x4039d0
pop dword [ebp - 0x50]
mov eax, 0xbe3c029
sub eax, 0xba38659
sub dword [ebp - 0x50], eax
mov dword [ebp - 0x60], 0x9106fbe
sub dword [ebp - 0x60], 0xbabe2a73
mov dword [ebp - 0x5c], 0x3536439f
sub dword [ebp - 0x5c], 0x302f75a
mov dword [ebp - 0x58], 0x158c9586
add dword [ebp - 0x58], 0x36bfaea8
mov dword [ebp - 0x54], 0x6c0125
sub dword [ebp - 0x54], 0x6c0125
lea eax, [ebp - 0x60]
push eax
mov eax, 0x96bc3a6c
add eax, 0x69840618
add eax, dword [ebp - 0x50]
call dword [eax]
mov dword [ebp - 0x60], 0x9b8cf4a2
sub dword [ebp - 0x60], 0x271a8b4c
mov dword [ebp - 0x5c], 0x7b4df07c
add dword [ebp - 0x5c], 0xc61e70f9
mov dword [ebp - 0x58], 0x8d023004
add dword [ebp - 0x58], 0xd66d3c68
mov dword [ebp - 0x54], 0xf8ed1a8d
sub dword [ebp - 0x54], 0xf8ed1a8d
lea ebx, [ebp - 0x60]
push ebx
push eax
mov eax, 0x44826570
sub eax, 0x444224e8
add eax, dword [ebp - 0x50]
call dword [eax]
push 0x40
push 0x1000
push 0x36000
push 0
call eax
mov ecx, 0x71814696
sub ecx, 0x7181016f
xor edi, edi
add edi, eax
mov esi, 0xf6696b42
add esi, 0x9d71cbe
add esi, dword [ebp - 0x50]
mov ebx, 0x730cc73d
xor dword [ebp - 0x48], 0x49ec178a
mov edx, dword [esi]
add dword [ebp - 0x40], 0x9071a05f
xor edx, ebx
sub dword [ebp - 0x2c], esi
mov dword [edi], edx
xor dword [ebp - 0x2c], 0x657de8f5
add edi, 0xc38e85c0
add edi, 0x3c717a44
add esi, 4
loop 0x403aee
add eax, 0x1076f
mov ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x50]
call ebx
leave
ret

Function at 0x10b2f09f
Capabilities:
Execute syscall

Disassembly:
dec esp
mov edx, ecx
syscall
ret
Function at 0x402760
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov esi, edx
mov ebx, eax
test ebx, ebx
jne 0x40278f
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004033a8
jmp 0x4027ad
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, esi
mov eax, edi
call fcn.00402688
mov edi, eax
test ebx, ebx
je 0x4027ad
cmp dword [esi], 0
je 0x4027ad
dec ebx
jmp 0x402796
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x4028bc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [section.DATA]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x402954
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x402934
xor eax, eax
push ebp
push 0x40292d
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 0x402970
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 0x402934
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [section.DATA]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [section.DATA], ax
mov esp, ebp
pop ebp
ret