joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40ac1d
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x40abab
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x40aba6
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x40ab90
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x40ab98
cmp edx, ebx
jne 0x40ace6
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x40ab67
add eax, dword [eax + 4]
jmp 0x40ab54
mov dword [ebp + 0xc], ebx
jmp 0x40abb6
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x40abce
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x40abec
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x40ac4a
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
add byte [eax], ah
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x40ac31
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x40ac3a
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x40ac44
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x40ac26
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x40abb0
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x40ac97
dec eax
je 0x40ac8e
sub eax, 3
je 0x40ac85
mov dword [ebp - 4], 0x40
jmp 0x40acb4
mov dword [ebp - 4], 4
jmp 0x40ac9a
mov dword [ebp - 4], 0x20
jmp 0x40ac9a
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x40ace6
invalid
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x40ac66
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.0040a4f7
sub al, 0x7c
cmp al, 0xff
jne 0x40acf1
push 1
push esi
call edi
mov eax, esi
jmp 0x40acf2
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
rcr byte [edi + 0x5e], 0x5b
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40ad09
Capabilities:
Contain obfuscated stackstrings

Disassembly:
clc
and byte [ebp - 0x354], 0
and byte [ebp - 0x353], 0
mov byte [ebp - 0x352], 0xda
and byte [ebp - 0x351], 0
mov byte [ebp - 0x350], 0x62
mov byte [ebp - 0x34f], 0x40
mov byte [ebp - 0x34e], 0x51
mov byte [ebp - 0x34d], 0x75
invalid
invalid
mov ah, 0xfc
Function at 0x64002970
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x6401c014]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [0x6401cf28]
push edi
xor edi, edi
test esi, esi
jne 0x64002a70
push 0x104
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [ebp - 0x108]
push ecx
lea edx, [ebp - 0x20c]
push str._sdriversetchosts
push edx
call fcn.64004b03
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
lea esi, [ebp - 0x210]
call fcn.64002550
test eax, eax
jne 0x64002ab0
mov esi, dword [ebp - 0x210]
lea edx, [ebp - 0x210]
mov ecx, esi
call fcn.64001b20
test eax, eax
jne 0x64002a2b
mov edi, dword [ebp - 0x210]
call fcn.64001930
test eax, eax
je 0x64002a13
mov ecx, dword [0x6401cf28]
mov dword [edi + 0x10], ecx
mov dword [0x6401cf28], edi
jmp 0x64002a1a
mov eax, edi
call fcn.64001a60
lea edx, [ebp - 0x210]
mov ecx, esi
call fcn.64001b20
test eax, eax
je 0x640029f3
mov eax, dword [esi + 4]
test eax, eax
je 0x64002a42
push eax
call fcn.64003b3b
add esp, 4
mov dword [esi + 4], 0
mov eax, dword [esi + 8]
test eax, eax
je 0x64002a59
push eax
call fcn.640041a3
add esp, 4
mov dword [esi + 8], 0
push esi
call fcn.64003b3b
mov esi, dword [0x6401cf28]
add esp, 4
test esi, esi
je 0x64002a85
lea esp, [esp]
mov eax, dword [ebp + 8]
mov ecx, esi
call fcn.64001990
test eax, eax
jne 0x64002a99
mov esi, dword [esi + 0x10]
test esi, esi
jne 0x64002a70
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.64003b2c
mov esp, ebp
pop ebp
ret 4
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.64003b2c
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.64003b2c
mov esp, ebp
pop ebp
ret 4

Function at 0x64003b2c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x6401c014]
jne 0x64003b36
repz ret
jmp fcn.64006f23

Function at 0x6401091b
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc dword [eax]
and byte [ebp - 0x513], 0
mov byte [ebp - 0x512], 0xe3
and byte [ebp - 0x511], 0
mov byte [ebp - 0x510], 0x5b
mov byte [ebp - 0x50f], 0x79
mov byte [ebp - 0x50e], 0x68
mov byte [ebp - 0x50d], 0x5a
mov byte [ebp - 0x50c], 0x75
mov byte [ebp - 0x50b], 0x70
mov byte [ebp - 0x50a], 0x79
mov byte [ebp - 0x509], 0x4f
mov byte [ebp - 0x508], 0x75
mov byte [ebp - 0x507], 0x66
mov byte [ebp - 0x506], 0x79
mov byte [ebp - 0x505], 0x1c
lea eax, [ebp - 0x514]
push eax
call fcn.6400fd0f
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.6400fcc4
add esp, 0xc
mov dword [ebp - 0x33c], eax
call fcn.6400fcff
inc ebx
int3
Function at 0x438c96
Capabilities:
Encode data using xor

Disassembly:
mov edi, 0x438a14
sub ebx, ebx
sub ebx, 0xad441be9
call fcn.00438cd3
sub esi, 0x3de9f562
add esi, ebx
xor dword [ecx], edi
add ebx, 0x72f8ac93
inc ecx
or ebx, esi
or esi, esi
cmp ecx, edx
jne fcn.00438c96
and ebx, ebx
mov esi, 0xdd3ecfd4
add esi, esi
ret

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

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
nop
mov ecx, 0x7545677a
nop
nop
nop
nop
test eax, eax
nop
je 0x43004e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..rsrc
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x1dec0e3f
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x401377
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
mov ebx, eax
push edi
lea eax, [ebp - 8]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
xor esi, esi
cmp eax, esi
jge 0x4013b8
mov dword [ebp - 0x14], 0x5d
push eax
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x1c], str.main.cpp
mov dword [ebp - 0x18], 8
call fcn.0040263d
pop ecx
pop ecx
jmp 0x4014df
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push 0x104
push eax
call dword [ecx + 0xc]
mov edi, eax
cmp edi, esi
jne 0x4013e3
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x14], 0x69
push 0x8007000e
jmp 0x40139a
lea eax, [ebp - 0x10]
push eax
push esi
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
cmp eax, esi
mov dword [ebp - 0xc], eax
jge 0x401415
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 0xc]
mov dword [ebp - 0x14], 0x7f
jmp 0x40139a
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], 0x40314c
mov dword [ebp - 0x2c], 3
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderA]
mov ebx, eax
cmp ebx, esi
jne 0x401451
mov dword [ebp - 0xc], 1
jmp 0x4014bd
push edi
push ebx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
jne 0x401466
mov dword [ebp - 0x14], 0xa5
jmp 0x401492
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, dword [ebp + 8]
inc eax
cmp dword [esi + 0x208], eax
jl 0x40148b
push edi
call fcn.004021c2
push 0x403168
call fcn.004021c2
jmp 0x4014b3
mov dword [ebp - 0x14], 0xb2
lea eax, [ebp - 0x1c]
push 0x8007000e
push eax
mov dword [ebp - 0x1c], str.main.cpp
mov dword [ebp - 0x18], 8
call fcn.0040263d
pop ecx
mov dword [ebp - 0xc], eax
pop ecx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 8]
push dword [ebp - 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4019c7
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4a8
push ebx
lea eax, [ebp - 0x4a4]
xor ebx, ebx
mov dword [ebp - 0xa0], eax
push esi
mov eax, 0x400
push edi
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x98], ebx
cmp ecx, ebx
jne 0x401a19
lea ecx, [ebp - 0x4a4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov ecx, dword [ebp - 0xa0]
mov dword [ebp - 0x98], eax
mov byte [eax + ecx], bl
mov ecx, dword [ebp - 0xa0]
xor eax, eax
mov word [ebp - 0x3a], ax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x6c]
push eax
push ecx
push ebx
push 0x20
push ebx
push ebx
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x6c], 0x44
push ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x38], ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x401b37
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
cmp eax, 0x4c7
jne 0x401a6e
xor eax, eax
inc eax
jmp 0x401b61
mov eax, dword [ebp - 0x9c]
push 9
pop ecx
mov esi, 0x403170
lea edi, [ebp - 0x94]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
push 0x26
movsb byte es:[edi], byte [esi]
pop esi
cmp eax, esi
jl 0x401ab6
lea ecx, [eax + 1]
cmp ecx, esi
jle 0x401ab0
mov edx, dword [ebp - 0xa0]
lea eax, [ebp - 0x94]
push eax
mov ecx, esi
call fcn.004012c7
mov eax, dword [ebp - 0x9c]
pop ecx
mov dword [ebp - 0x98], esi
mov ecx, dword [ebp - 0x98]
push ebx
sub eax, ecx
push eax
mov eax, dword [ebp - 0xa0]
add ecx, eax
push ecx
push ebx
push dword [ebp - 8]
push ebx
push 0x1200
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
add dword [ebp - 0x98], eax
mov eax, dword [ebp - 0xa0]
mov ecx, dword [ebp - 0x98]
mov byte [ecx + eax], bl
mov eax, dword [ebp - 8]
cmp eax, ebx
jle 0x401aff
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x14], str.main.cpp
mov dword [ebp - 0x10], 8
mov dword [ebp - 0xc], 0x245
cmp dword [0x4040c0], ebx
je 0x401b61
push dword [ebp - 0x98]
push dword [ebp - 0xa0]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00402530
add esp, 0x10
jmp 0x401b61
push dword [ebp - 0x20]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push 0xffffffffffffffff
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 8]
push eax
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x24]
call esi
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401e13
Capabilities:
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x11c
push 0x31
push 0x403198
push 0x4031a8
push dword [ebp + 0x7c]
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 1
jne 0x401ec2
mov eax, dword [str.001.log]
mov dword [ebp + 0x6c], eax
mov eax, dword [0x4031f8]
push ebx
mov dword [ebp + 0x70], eax
lea eax, [ebp - 0xa8]
push esi
mov dword [ebp + 0x60], eax
mov eax, 0x104
push eax
mov dword [ebp + 0x64], eax
lea eax, [ebp - 0xa8]
xor ebx, ebx
push eax
push ebx
mov dword [ebp + 0x68], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov esi, eax
mov eax, dword [ebp + 0x60]
mov dword [ebp + 0x68], esi
mov byte [eax + esi], bl
mov eax, dword [ebp + 0x60]
push 0x5c
call fcn.00402254
inc eax
push 0x2e
call fcn.00402254
pop ecx
pop ecx
push 8
lea ecx, [ebp + 0x6c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov ecx, dword [ebp + 0x60]
push 1
push ebx
lea eax, [esi + 8]
push ebx
mov dword [ebp + 0x68], eax
mov byte [eax + ecx], bl
push dword [ebp + 0x60]
push str.open
push dword [ebp + 0x7c]
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
pop esi
pop ebx
add ebp, 0x74
leave
ret

Function at 0x401ef7
Capabilities:
Create thread
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push edi
lea eax, [ebp - 4]
push eax
xor edi, edi
push edi
push ebx
push 0x401ec7
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, edi
jne 0x401f5d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
jle 0x401f2b
and eax, 0xffff
or eax, 0x80070000
push eax
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x10], str.main.cpp
mov dword [ebp - 0xc], 8
mov dword [ebp - 8], 0x370
call fcn.0040263d
push ebx
call fcn.00401e13
add esp, 0xc
push edi
push ebx
call dword [sym.imp.USER32.dll_EndDialog]
jmp 0x401faa
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 1
push ebx
call esi
push edi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call edi
push 2
push ebx
call esi
push 0
push eax
call edi
push 0x3ea
push ebx
call esi
push 5
push eax
call edi
push 0xffffffffffffffeb
push ebx
call dword [sym.imp.USER32.dll_GetWindowLongA]
xor ecx, ecx
inc ecx
push ecx
push 0
push ebx
mov dword [eax], ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
pop esi
pop edi
leave
ret
Function at 0x402390
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x518
push ebx
push esi
push edi
mov ebx, eax
mov esi, str..log
lea edi, [ebp - 8]
push 0x104
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x110]
push eax
push 0
movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x5c
lea eax, [ebp - 0x110]
call fcn.00402254
mov esi, eax
inc esi
push 0x2e
mov eax, esi
call fcn.00402254
mov edi, eax
pop ecx
pop ecx
test edi, edi
jne 0x4023e8
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
add edi, esi
lea eax, [ebp - 0x110]
mov esi, edi
sub esi, eax
push 3
mov eax, ebx
pop edx
mov ecx, edi
call fcn.004024a7
push 5
lea eax, [ebp - 8]
push eax
lea eax, [edi + 3]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp esi, 0x408
jge 0x402438
lea eax, [ebp - 0x110]
push eax
mov ecx, esi
lea edx, [ebp - 0x518]
call fcn.004012c7
pop ecx
push 5
lea eax, [ebp - 8]
push eax
lea eax, [ebp + esi - 0x515]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
cmp ebx, 1
jle 0x402492
lea eax, [ebp + esi - 0x518]
mov dword [ebp - 0xc], eax
lea esi, [ebx - 1]
push 3
mov eax, esi
pop edx
mov ecx, edi
call fcn.004024a7
mov ecx, dword [ebp - 0xc]
push 3
mov eax, ebx
pop edx
call fcn.004024a7
lea eax, [ebp - 0x518]
push eax
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
mov ebx, esi
cmp ebx, 1
jg 0x40245b
push dword [ebp + 8]
lea edi, [ebp - 0x110]
call fcn.00402348
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x4026ab
Capabilities:
Create directory

Disassembly:
mov eax, dword [esp + 4]
push esi
call fcn.0040270c
mov esi, eax
test esi, esi
jne 0x4026c2
mov eax, 0x80070057
pop esi
ret
push edi
push 0
push dword [esp + 0x10]
mov byte [esi], 0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
xor edi, edi
mov byte [esi], 0x5c
test eax, eax
jne 0x4026f2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x4026f2
cmp eax, 5
jne 0x402705
mov edi, 0x80004005
lea eax, [esi + 1]
call fcn.0040270c
mov esi, eax
test esi, esi
jne 0x4026c3
mov eax, edi
pop edi
pop esi
ret
mov eax, 0x80004005
jmp 0x402702
Function at 0x419348
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov eax, 0xfffefdfc
mov ecx, 0x40
mov ebx, dword [ebp + 0x10]
mov dword [ebx + ecx*4 - 4], eax
sub eax, 0x4040404
dec ecx
jne 0x41935b
mov edi, dword [ebp + 0xc]
mov esi, 0x40
xor ebx, ebx
push ebp
mov ebp, dword [ebp + 0x10]
mov eax, ecx
xor edx, edx
div esi
mov al, cl
mov dl, byte [edi + edx]
add dl, byte [ebp + eax]
add dl, bl
mov bl, byte [ebp + edx]
mov dl, byte [ebp + ebx]
xchg byte [ebp + eax], dl
mov byte [ebp + ebx], dl
inc ecx
cmp ecx, 0x300
jne 0x419375
pop ebp
xor ecx, ecx
mov edi, dword [ebp + 8]
mov esi, 0x20
push ebp
mov ebp, dword [ebp + 0x10]
mov eax, ecx
xor edx, edx
div esi
mov al, cl
mov dl, byte [edi + edx]
add dl, byte [ebp + eax]
add dl, bl
mov bl, byte [ebp + edx]
mov dl, byte [ebp + ebx]
xchg byte [ebp + eax], dl
mov byte [ebp + ebx], dl
inc ecx
cmp ecx, 0x300
jne 0x4193ae
pop ebp
xor ecx, ecx
mov edi, dword [ebp + 0xc]
mov esi, 0x40
push ebp
mov ebp, dword [ebp + 0x10]
mov eax, ecx
xor edx, edx
div esi
mov al, cl
mov dl, byte [edi + edx]
add dl, byte [ebp + eax]
add dl, bl
mov bl, byte [ebp + edx]
mov dl, byte [ebp + ebx]
xchg byte [ebp + eax], dl
mov byte [ebp + ebx], dl
inc ecx
cmp ecx, 0x300
jne 0x4193e7
pop ebp
mov eax, ebx
pop edi
pop esi
pop ebx
pop ebp
ret 0xc

Function at 0x41941c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
xor eax, eax
mov ebx, dword [ebp + 0x14]
xor ecx, ecx
xor edx, edx
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
test esi, esi
je 0x419468
push ebp
mov ebp, dword [ebp + 0x10]
mov dl, byte [ebp + ecx]
add dl, bl
mov bl, byte [ebp + edx]
mov dl, byte [ebp + ebx]
mov dl, byte [ebp + edx]
inc dl
mov al, byte [ebp + edx]
xor byte [edi], al
mov dl, byte [ebp + ebx]
xchg byte [ebp + ecx], dl
mov byte [ebp + ebx], dl
inc cl
inc edi
dec esi
test esi, esi
jne 0x419439
pop ebp
pop edi
pop esi
pop ebx
pop ebp
ret 0x10

Function at 0x43b623
Capabilities:
Encode data using xor

Disassembly:
mov edi, 0x43b3c1
mov esi, eax
sub esi, 0x2402490f
call fcn.0043b669
add eax, esi
dec esi
xor dword [ebx], edi
sub esp, 4
mov dword [esp], esi
pop eax
add esi, eax
push 0xdb2b59d3
mov eax, dword [esp]
add esp, 4
inc ebx
and esi, esi
cmp ebx, edx
jne fcn.0043b623
sub esi, eax
ret
Function at 0x412aca
Capabilities:
Read file on windows

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

Function at 0x416e13
Capabilities:
Set environment variable

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

Function at 0x416e1e
Capabilities:
Set environment variable

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

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

Disassembly:
pushal
nop
mov eax, section..text
nop
mov ebx, 0x40de38
mov ecx, 0x36f62c6e
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43304e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x433024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x70ec54a6
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x433084
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x4c7fc1
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4d23f8
cmp edx, dword [eax]
je 0x4c7fe3
add eax, 8
inc ecx
cmp eax, 0x4d2488
jl 0x4c7fd4
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4d23f8]
jne 0x4c8111
mov eax, dword [0x4d7e20]
cmp eax, 1
je 0x4c80eb
test eax, eax
jne 0x4c8014
cmp dword [0x4d2320], 1
je 0x4c80eb
cmp edx, 0xfc
je 0x4c8111
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4c804b
lea eax, [ebp - 0x1a4]
push 0x4cdde8
push eax
call fcn.004c89a0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004c8e30
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4c808e
lea eax, [ebp - 0x1a4]
push eax
call fcn.004c8e30
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4cdde4
push edi
call fcn.004cad00
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x4cddc8
push eax
call fcn.004c89a0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004c89b0
lea eax, [ebp - 0xa0]
push 0x4cddc4
push eax
call fcn.004c89b0
push dword [esi + 0x4d23fc]
lea eax, [ebp - 0xa0]
push eax
call fcn.004c89b0
push 0x12010
lea eax, [ebp - 0xa0]
push 0x4cdd9c
push eax
call fcn.004cac74
add esp, 0x2c
pop edi
jmp 0x4c8111
lea eax, [ebp + 8]
lea esi, [esi + 0x4d23fc]
push 0
push eax
push dword [esi]
call fcn.004c8e30
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x43b66a
Capabilities:
Encode data using xor

Disassembly:
push 0x43b3c1
pop edx
inc ebx
sub ebx, esi
call fcn.0043b696
dec esi
xor dword [eax], edx
sub ebx, 1
add eax, 1
and ebx, ebx
inc ebx
cmp eax, ecx
jne fcn.0043b66a
inc ebx
or ebx, ebx
inc esi
ret