joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42ed6d
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebx + 0x7c]
push edi
call fcn.0041f30c
mov eax, dword [ebx + 0x7c]
xor esi, esi
push esi
push 0x3025
call fcn.0041f3aa
mov eax, dword [ebx + 0x7c]
push esi
push 0x3023
call fcn.0041f3aa
mov eax, dword [ebx + 0x7c]
push esi
push 0x3024
call fcn.0041f3aa
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x401
push dword [ebx + 4]
call edi
push 1
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0x7f04
push ebx
call fcn.0042f125
push ebx
call fcn.0042ee8e
mov dword [ebx + 0x90], esi
push 0
lea esi, [ebx + 0x88]
push dword [esi]
call fcn.0041e260
test eax, eax
jne 0x42ee58
mov esi, dword [esi]
add esi, 0x48
lea eax, [ebx + 0x84]
mov byte [esi + 0x19], 0
mov byte [esi + 0x18], 0
mov dword [esi + 0x10], eax
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov dword [esi + 0x1c], eax
lea eax, [ebp - 4]
push eax
xor eax, eax
push eax
push esi
push 0x428778
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xae
lea esi, [ebp - 4]
call fcn.00422ebe
pop ecx
mov edi, eax
call fcn.0042f511
mov dword [ebx + 0x9c], eax
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.00404644
push 0
push 0x3e8
push 1
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x42ee88
mov eax, dword [ebx + 0x7c]
mov esi, dword [sym.imp.USER32.dll_GetParent]
mov byte [eax + 0x99], 1
push dword [ebx + 4]
call esi
push 2
push eax
call edi
push dword [ebx + 4]
mov edi, eax
call esi
push edi
push 2
push 0x111
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
pop edi
xor eax, eax
pop esi
leave
ret

Function at 0x4302c2
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x458090]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
push ebx
push edi
mov edi, ecx
jne 0x430300
lea eax, [ebp - 0x210]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x210]
push eax
push esi
call fcn.00404548
mov eax, dword [0x45a140]
mov ecx, 0x45a140
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x214], eax
mov eax, edi
lea edi, [ebp - 0x214]
call fcn.00408901
lea eax, [ebp - 0x218]
xor ecx, ecx
push eax
inc ecx
mov eax, esi
call fcn.004107b1
mov edi, 0x44b8d0
push edi
push eax
call fcn.004090d9
test eax, eax
mov eax, dword [ebp - 0x218]
setne bl
add eax, 0xfffffff0
call fcn.00404644
test bl, bl
je 0x43035e
push edi
push esi
call fcn.00402120
push str.AI_WSP_
push esi
call fcn.00402120
mov edi, dword [ebp - 0x214]
push dword [edi - 0xc]
mov eax, esi
push edi
call fcn.00402306
push 0
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea eax, [edi - 0x10]
call fcn.00404644
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.0043189b
leave
ret
Function at 0x4306cd
Capabilities:
Check if file exists

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0xd4
mov eax, dword [0x458090]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
push edi
mov edi, edx
push dword [edi]
mov esi, ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x430703
mov ecx, 0x45a140
call fcn.004020bf
jmp 0x43078b
mov edi, dword [edi]
push 0x45495c
lea eax, [ebp - 0x58]
push edi
push eax
call fcn.004358f2
add esp, 0xc
mov ecx, 0x45a140
test eax, eax
jne 0x4306f9
mov eax, dword [0x45a140]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x5c], eax
jmp 0x430752
push dword [ebp - 0x58]
lea eax, [ebp - 0x54]
push 0x64
push eax
call fcn.00435979
add esp, 0xc
test eax, eax
je 0x43075f
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.00402120
push dword [ebp - 0x58]
call fcn.00435945
pop ecx
test eax, eax
je 0x430730
push ebx
push dword [ebp - 0x58]
call fcn.00435ab1
pop ecx
lea ebx, [ebp - 0x5c]
call fcn.004090ff
mov edi, dword [ebp - 0x5c]
add edi, 0xfffffff0
mov eax, edi
call fcn.00409cf1
add eax, 0x10
mov dword [esi], eax
mov eax, edi
call fcn.00404644
pop ebx
mov ecx, dword [ebp + 0x74]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0043189b
add ebp, 0x78
leave
ret

Function at 0x43079e
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x45a140]
push ebx
push esi
push edi
mov edi, 0x45a140
mov ecx, edi
call dword [eax + 0xc]
mov ecx, dword [ebp + 0x10]
add eax, 0x10
lea esi, [ebp - 8]
mov dword [ebp - 8], eax
call fcn.004302c2
mov ebx, dword [ebp - 8]
cmp dword [ebx - 0xc], 0
jne 0x4307e8
mov esi, dword [ebp + 8]
mov ecx, edi
call fcn.004020bf
lea eax, [ebx - 0x10]
call fcn.00404644
mov eax, esi
jmp 0x430883
lea esi, [ebp - 4]
call fcn.00430888
mov eax, dword [ebp - 4]
cmp dword [eax - 0xc], 0
jne 0x430810
mov esi, dword [ebp + 8]
mov ecx, edi
call fcn.004020bf
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.00404644
jmp 0x4307d9
push str.__o_enumsolutions
lea eax, [ebp - 4]
push eax
call fcn.00402120
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 8]
call fcn.00408901
push 0x44b8d0
push edi
call fcn.00402120
push str.Solutions.list
push edi
call fcn.00402120
push dword [edi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x430853
push dword [edi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [edi]
mov esi, dword [ebp - 4]
push esi
call fcn.0042270f
pop ecx
add ebx, 0xfffffff0
pop ecx
mov eax, ebx
call fcn.00409cf1
mov edi, dword [ebp + 8]
add eax, 0x10
mov dword [edi], eax
lea eax, [esi - 0x10]
call fcn.00404644
mov eax, ebx
call fcn.00404644
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x430a89
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
push edi
push str.SOFTWAREMicrosoftShared_ToolsWeb_Server_Extensions_
lea eax, [ebp - 4]
call fcn.0040456b
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
lea eax, [ebp - 4]
call fcn.00402306
mov edi, dword [ebp - 4]
lea eax, [ebp - 0x10]
push eax
push 0x20019
xor esi, esi
push esi
push edi
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x430aea
mov esi, dword [ebp + 8]
mov ecx, 0x45a140
call fcn.004020bf
lea eax, [edi - 0x10]
call fcn.00404644
mov eax, esi
jmp 0x430bd3
push ebx
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push esi
push str.Location
push dword [ebp - 0x10]
mov dword [ebp - 8], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0xc], eax
mov eax, dword [0x45a140]
mov ebx, 0x45a140
mov ecx, ebx
call dword [eax + 0xc]
mov edi, eax
add edi, 0x10
cmp dword [ebp - 0xc], 0xea
mov dword [ebp + 0xc], edi
jne 0x430b65
push dword [ebp - 8]
lea esi, [ebp + 0xc]
call fcn.004044a5
lea eax, [ebp - 8]
push eax
call fcn.00402073
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push str.Location
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0xc], eax
or eax, 0xffffffff
call fcn.00409cd3
mov edi, dword [ebp + 0xc]
xor esi, esi
cmp dword [ebp - 0xc], esi
jne 0x430bb3
cmp dword [edi - 0xc], esi
je 0x430bb3
push str.BINSTSADM.EXE
lea eax, [ebp + 0xc]
push eax
call fcn.00402120
mov edi, dword [ebp + 0xc]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x430bb3
lea esi, [edi - 0x10]
mov eax, esi
call fcn.00409cf1
mov edi, dword [ebp + 8]
add eax, 0x10
mov dword [edi], eax
mov eax, esi
call fcn.00404644
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.00404644
mov eax, edi
jmp 0x430bd2
mov esi, dword [ebp + 8]
mov ecx, ebx
call fcn.004020bf
lea eax, [edi - 0x10]
call fcn.00404644
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.00404644
mov eax, esi
pop ebx
pop edi
pop esi
leave
ret

Function at 0x430bd7
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [eax]
push esi
push edi
sub eax, 0x10
mov esi, ecx
call fcn.00409cf1
add eax, 0x10
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
lea eax, [ebp - 4]
call fcn.00402306
mov edi, dword [ebp - 4]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x430c21
add edi, 0xfffffff0
mov eax, edi
call fcn.00409cf1
add eax, 0x10
mov dword [esi], eax
mov eax, edi
jmp 0x430c2e
mov ecx, 0x45a140
call fcn.004020bf
lea eax, [edi - 0x10]
call fcn.00404644
pop edi
mov eax, esi
pop esi
leave
ret
Function at 0x430d7e
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push dword [edi + 4]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x430d94
xor al, al
jmp 0x430e01
push ebx
push esi
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov eax, dword [eax - 0xc]
lea esi, [eax + eax]
lea eax, [esi + 2]
push eax
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
mov dword [edi], ebx
test ebx, ebx
je 0x430dc9
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 4], eax
test eax, eax
jne 0x430dcd
xor al, al
jmp 0x430dff
mov ecx, dword [ebp + 8]
push esi
push dword [ecx]
push eax
call fcn.00432ae0
mov ecx, dword [ebp - 4]
add esp, 0xc
xor eax, eax
push ebx
mov word [esi + ecx], ax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [edi]
push dword [edi + 8]
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov al, 1
pop esi
pop ebx
leave
ret 4

Function at 0x43164a
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x45a1bc], 0
push esi
jne 0x4315bd
call fcn.004314e3
test eax, eax
je 0x431600
mov eax, dword [0x45a1bc]
cmp eax, 1
jne 0x4315de
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x431600
pop esi
ret
push eax
call dword [0x45a1c4]
test eax, eax
jne 0x431648
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x431604
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x45a1bc]
call dword [0x45a1c4]
mov edi, eax
test edi, edi
je 0x431629
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x431645
mov edi, esi
add esi, 0xff0
push edi
push dword [0x45a1bc]
call dword [0x45a1c0]
add edi, 0x10
cmp edi, esi
jb 0x431631
mov eax, edi
pop edi
pop esi
ret
jmp 0x4315aa

Function at 0x43189b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x458090]
jne 0x4318a5
repz ret
jmp fcn.00435e4c
Function at 0x4403cd
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.004366b7
and dword [ebp - 4], 0
cmp dword [0x45ac8c], 0
mov ebx, eax
jne 0x44047e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x44052f
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x44052f
push eax
call fcn.00436645
mov dword [esp], 0x44a100
push edi
mov dword [0x45ac8c], eax
call esi
push eax
call fcn.00436645
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x45ac90], eax
call esi
push eax
call fcn.00436645
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x45ac94], eax
call esi
push eax
call fcn.00436645
pop ecx
mov dword [0x45ac9c], eax
test eax, eax
je 0x44047e
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00436645
pop ecx
mov dword [0x45ac98], eax
mov eax, dword [0x45ac98]
cmp eax, ebx
je 0x4404d6
cmp dword [0x45ac9c], ebx
je 0x4404d6
push eax
call fcn.004366c0
push dword [0x45ac9c]
mov esi, eax
call fcn.004366c0
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4404d6
test edi, edi
je 0x4404d6
call esi
test eax, eax
je 0x4404cd
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4404cd
test byte [ebp - 0xc], 1
jne 0x4404d6
or dword [ebp + 0x10], 0x200000
jmp 0x44050f
mov eax, dword [0x45ac90]
cmp eax, ebx
je 0x44050f
push eax
call fcn.004366c0
pop ecx
test eax, eax
je 0x44050f
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x44050f
mov eax, dword [0x45ac94]
cmp eax, ebx
je 0x44050f
push eax
call fcn.004366c0
pop ecx
test eax, eax
je 0x44050f
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x45ac8c]
call fcn.004366c0
pop ecx
test eax, eax
je 0x44052f
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x440531
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401778
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x453004]
jne 0x401782
repz ret
jmp fcn.00401fd4

Function at 0x404321
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0040318f
xor ebx, ebx
cmp dword [0x4576c4], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x4043f6
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x404361
xor eax, eax
jmp 0x4044ba
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x40435a
push eax
call fcn.0040312c
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4576c4], eax
call esi
push eax
call fcn.0040312c
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4576c8], eax
call esi
push eax
call fcn.0040312c
mov dword [0x4576cc], eax
lea eax, [ebp - 8]
push eax
call fcn.004023e5
test eax, eax
pop ecx
pop ecx
je 0x4043c4
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00403c10
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x4043f6
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0040312c
cmp eax, ebx
pop ecx
mov dword [0x4576d4], eax
je 0x4043f6
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040312c
pop ecx
mov dword [0x4576d0], eax
mov eax, dword [0x4576d0]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x40446f
cmp dword [0x4576d4], esi
je 0x40446f
push eax
call fcn.00403198
pop ecx
call eax
cmp eax, ebx
je 0x40443c
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x4576d4]
call fcn.00403198
pop ecx
call eax
test eax, eax
je 0x40443c
test byte [ebp - 0x18], 1
jne 0x40446f
lea eax, [ebp - 0xc]
push eax
call fcn.0040241c
test eax, eax
pop ecx
je 0x404457
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00403c10
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x404466
or dword [ebp + 0x10], 0x200000
jmp 0x4044a0
or dword [ebp + 0x10], 0x40000
jmp 0x4044a0
mov eax, dword [0x4576c8]
cmp eax, esi
je 0x4044a0
push eax
call fcn.00403198
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x4044a0
mov eax, dword [0x4576cc]
cmp eax, esi
je 0x4044a0
push dword [ebp - 4]
push eax
call fcn.00403198
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x4576c4]
call fcn.00403198
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
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 0x1000b3f0
Capabilities:
Accept command line arguments

Disassembly:
mov eax, dword [esp + 8]
cmp eax, 1
jne 0x1000b4df
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp dword [0x10051670], 0
mov dword [0x10051680], eax
jne 0x1000b44f
cmp al, 3
jne 0x1000b426
test eax, 0x80000000
je 0x1000b426
push 2
call fcn.1000c420
add esp, 4
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x1000b44f
push str.IsTNT
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1000b44f
push 1
call fcn.1000c420
add esp, 4
call fcn.1000b780
test eax, eax
jne 0x1000b45d
xor eax, eax
ret 0xc
xor edx, edx
mov ecx, dword [0x10051680]
mov dl, ch
mov eax, ecx
shr ecx, 0x10
and eax, 0xff
mov dword [0x1005168c], edx
mov dword [0x10051688], eax
shl eax, 8
mov dword [0x10051680], ecx
add eax, edx
mov dword [0x10051684], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x10053b34], eax
call fcn.1005cc92
cmp dword [0x10053b34], 0
mov dword [0x10051660], eax
je 0x1000b4d5
test eax, eax
je 0x1000b4d5
call fcn.1005cc92
call fcn.1000c050
call fcn.1005cc92
call fcn.1005cc92
call fcn.1000b620
inc dword [0x1005165c]
mov eax, 1
ret 0xc
call fcn.1000b7c0
xor eax, eax
ret 0xc
test eax, eax
jne 0x1000b4cd
mov eax, dword [0x1005165c]
test eax, eax
jle 0x1000b512
dec eax
cmp dword [0x100516b8], 0
mov dword [0x1005165c], eax
jne 0x1000b500
call fcn.1000b690
call fcn.1000b9e0
call fcn.1000b7c0
mov eax, 1
ret 0xc
xor eax, eax
ret 0xc

Function at 0x1000b6b0
Capabilities:
Terminate process

Disassembly:
cmp dword [0x100516bc], 1
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
jne 0x1000b6ce
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [0x100516b8], 1
cmp dword [esp + 0x14], 0
mov ebx, dword [esp + 0x18]
mov byte [0x100516b4], bl
jne 0x1000b728
cmp dword [0x10053b2c], 0
je 0x1000b716
mov edi, dword [0x10053b1c]
sub edi, 4
cmp edi, dword [0x10053b2c]
jb 0x1000b716
mov eax, dword [edi]
test eax, eax
je 0x1000b70b
call eax
sub edi, 4
cmp edi, dword [0x10053b2c]
jae 0x1000b703
push 0x1004f514
push 0x1004f410
call fcn.1000b760
add esp, 8
push 0x1004f71c
push 0x1004f618
call fcn.1000b760
add esp, 8
test ebx, ebx
jne 0x1000b74f
mov dword [0x100516bc], 1
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
pop edi
pop esi
pop ebx
ret
Function at 0x100571cc
Capabilities:
Encode data using xor

Disassembly:
call 0x10057145
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or eax, dword [ebx - 0x178f73c]
xor esi, 0xde5af04
add eax, esi
lea esp, [esp - 0xe]
mov esi, dword [esp + 0xe]
lea esp, [esp + 0x12]
xor esi, dword [esp]
push eax
sub eax, 0xf24f2b00
mov eax, esp
or dword [eax - 0x22], ebx
pop eax
jmp 0x10057175
xor dword [esp], esi
xor eax, 0
mov dword [esp], esi
add esp, 4
add esi, dword [ebp + 8]
push ebp
add ebp, 0xc
mov ecx, dword [ebp]
pop ebp
ja 0x10057191
xor edx, 0
jmp 0x1005719c
xor edx, edx
jmp 0x100571b3
jmp 0x100571bf
xor eax, eax
push 0x8427d7c0
call 0x100571cc
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x10057208
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
add bl, dl
xor byte [esi], bl
mov dl, byte [esi]
inc esi
add ebx, edi
rol ebx, 8
dec ecx
jne 0x100571e1
lea esp, [esp - 4]
xchg dword [esp], ebx
mov ebx, dword [esp]
or eax, edx
xor eax, eax
add eax, dword [esp]
add esp, 4
pop esi
pop edi
pop ebx
xchg dword [esp], ecx
mov dword [esp], ecx
lea esp, [esp + 4]
pop edx
leave
je 0x1005721f
add eax, 0
jno 0x10057224
add esi, 0
ret 0x10

Function at 0x10057f8d
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp - 0x63]
mov dword [esp + 0x5f], ebx
lea esp, [esp + 0x5f]
mov ebx, 0x8dff8662
xchg dword [esp], ebx
and dword [esp], ebp
jmp 0x10057faf
add ebx, 0
or dword [esp], ebp
mov ebp, esp
push eax
push edi
lea esp, [esp - 4]
xchg dword [esp], ecx
pop ecx
lea esp, [esp - 4]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp + 0x14]
ja 0x10058151
cmp edi, dword [ebp + 0x10]
jb 0x10058151
lea esi, [esi]
sub esi, 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
sub esp, 0x6a
mov dword [esp + 0x66], 0xc2ccbc3c
add esp, 0x66
mov dword [esp], edi
or edi, 0xffffffff
and edi, 0xcedcf875
xor edi, 0xce9c140e
xchg dword [esp], edi
push edx
mov edx, esp
xor edx, 0
add edx, 0
push ebx
lea ebx, [edx + 4]
mov dword [ebx], eax
pop ebx
pop edx
push edi
call fcn.10057a79
inc edi
jmp 0x10058038
jmp 0x10058045
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.10057a79
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.10057a79
inc edi
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push 0
sub esi, 0
add dword [esp], edx
xor edx, edx
je 0x10058099
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or edx, 0x13e27bd2
push ebx
add ebx, esi
mov ebx, esp
xor dword [ebx - 0x2a], edi
fdiv qword [ecx]
jnp 0x1005807d
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.100580c7
add dword [eax], 0x39
jle 0x100580a3
sub al, 0xf5
mov ch, al
call fcn.100580dc
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10
Function at 0x10059db4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push ecx
push edx
push 0
sub esi, esi
shr esi, 9
and dword [esp - 0x69], ebx
jbe 0x10059dca
add edi, 0
shr esi, 0x17
or esi, dword [esp]
add esp, 4
add esi, dword [ebp + 8]
xor eax, eax
xor edx, edx
cld
and dword [esp - 0x46], edx
xor ecx, ecx
rol edx, 7
and dword [esp - 0x4b], edx
xor dl, al
mov al, byte [esi]
inc esi
or al, al
jne 0x10059ddb
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.10059e1c
std
inc ebx
sar cl, 0x3e
lahf
in al, dx
mov ch, 0x4a
mov ebx, 0x971631d8
test byte [ebp - 0x5e], ch
xor eax, dword [ebx + 0x2b5108c4]
add esp, 8
push ecx
sub ecx, eax
mov ecx, esp
cmp dword [ecx - 0x51], edx

Function at 0x1005c188
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0xffffffffffffffff
push esi
mov esi, esp
xor dword [esp - 0x43], esi
xor dword [esp - 0x45], esi
and dword [esi + 4], eax
pop esi
push 0
ja 0x1005c0d1
add ebx, 0
push ecx
call 0x1005c0e6
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
add esp, 8
xor dword [esp], ebx
sub esp, 0x6b
mov dword [esp + 0x67], edx
add esp, 0x67
push ecx
push 0
xor dword [esp - 0x56], edx
xor edi, 0
add dword [esp], edi
push esi
mov ebx, 0x6c4d00de
sub ebx, dword [0x6c4ef91d]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x6c4ef90d
call fcn.10057bb0
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.100570be
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x1005c244
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x1005c244
mov ecx, dword [esi + 0x10]
sub dword [esp - 0x34], ebx
xor ecx, edi
mov edx, dword [esi + 0x14]
xor edx, edi
shl edx, 2
add edx, 0x18
mov eax, dword [esi]
xor eax, edi
cmp eax, 1
je 0x1005c1fb
mov eax, 1
lock xchg dword [0x6c4ef919], eax
push 0x3dd1fc71
call 0x1005c188
push esi
add esp, 8
cmp eax, 0
jne 0x1005c171
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x1005c197
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x1005c1ac
cmp ecx, edx
cmp eax, 0
je 0x1005c1d1
mov dword [ebp - 4], eax
lea ecx, [esi + 0x18]
mov eax, dword [esi + ecx]
xor eax, edi
add eax, edx
add dword [esi + eax], ebx
add ecx, 4
dec dword [ebp - 4]
jne 0x1005c1bb
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.1005c1ea
dec eax
loope 0x1005c1ed
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x6c4ef919], 0
add edx, esi
mov dword [ebp + 4], edx
xchg dword [esp], esi
push ecx
lea ecx, [edi - 0x72d1f741]
mov ecx, esp
mov dword [ecx - 0x15], ebx
pop ecx
push esi
xor esi, esi
mov esi, esp
and dword [esi - 0x1d], ecx
pop esi
mov dword [esp], esi
jb 0x1005c221
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x1005c236
jmp 0x1005c241
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x1005c12f