joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40a495
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.00407152
and dword [ebp - 4], 0
cmp dword [0x80d420], 0
mov ebx, eax
jne GetModuleHandleW
push 0x401bb4
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je DeleteCriticalSection
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x401ba8
push edi
call esi
test eax, eax
je DeleteCriticalSection
push eax
call fcn.004070e0
mov dword [esp], 0x401b98
push edi
mov dword [0x80d420], eax
call esi
push eax
call fcn.004070e0
mov dword [esp], 0x401b84
push edi
mov dword [0x80d424], eax
call esi
push eax
call fcn.004070e0
mov dword [esp], 0x401b68
push edi
mov dword [0x80d428], eax
call esi
push eax
call fcn.004070e0
pop ecx
mov dword [0x80d430], eax
test eax, eax
je 0x40a546
push 0x401b50
push edi
call esi
push eax
call fcn.004070e0
pop ecx
mov dword [0x80d42c], eax
mov eax, dword [0x80d42c]
cmp eax, ebx
je 0x40a59e
cmp dword [0x80d430], ebx
je GetCurrentProcess
push eax
call fcn.0040715b
push dword [0x80d430]
mov esi, eax
call fcn.0040715b
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40a59e
test edi, edi
je 0x40a59e
call esi
test eax, eax
je RaiseException
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je RaiseException
test byte [ebp - 0xc], 1
jne 0x40a59e
or dword [ebp + 0x10], 0x200000
jmp SetHandleCount
mov eax, dword [0x80d424]
cmp eax, ebx
je SetHandleCount
push eax
call fcn.0040715b
pop ecx
test eax, eax
je SetHandleCount
call eax
mov dword [ebp - 4], eax
test eax, eax
je SetHandleCount
mov eax, dword [0x80d428]
cmp eax, ebx
je SetHandleCount
push eax
call fcn.0040715b
pop ecx
test eax, eax
je SetHandleCount
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [SetHandleCount]
call fcn.0040715b
pop ecx
test eax, eax
je DeleteCriticalSection
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40a5f9
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401100
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
push 0
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call fcn.0041378a
test eax, eax
jne 0x40119a
push str.Fatal_Error:_MFC_initialization_failed
push 0x421630
call fcn.00401420
add esp, 8
mov esi, eax
mov ecx, esi
push 0xa
call fcn.004011c0
mov eax, dword [esi]
xor edi, edi
mov ecx, dword [eax + 4]
lea eax, [ecx + esi]
mov cl, byte [ecx + esi + 4]
test cl, 6
jne 0x40116e
mov eax, dword [eax + 0x28]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x2c]
cmp eax, 0xffffffff
jne 0x40116e
mov edi, 4
mov eax, dword [esi]
mov ecx, dword [eax + 4]
add ecx, esi
test edi, edi
je 0x40118f
mov eax, dword [ecx + 4]
mov edx, dword [ecx + 0x28]
or eax, edi
test edx, edx
jne 0x401187
or al, 4
push 0
push eax
call fcn.0040d5c5
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.004016f0
mov dword [0x41f0cc], esp
mov dword [0x41f0d0], ebp
call fcn.00401037
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x401890
Capabilities:
Write file on windows

Disassembly:
mov ecx, dword [esp + 0x10]
sub esp, 0xc
test ecx, ecx
mov eax, 0xfffffff5
je 0x4018ac
cmp dword [esp + 0x14], 2
jne 0x4018ac
mov eax, 0xfffffff4
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
test ebp, ebp
je 0x401976
mov eax, dword [esp + 0x14]
cmp eax, 1
jle 0x401976
push ebx
push esi
push edi
lea edi, [esp + 0x30]
dec eax
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], eax
mov eax, dword [edi + 8]
mov dword [esp + 0x10], 0
cmp eax, 0x80000004
jne 0x4018f1
mov ebx, dword [edi]
jmp 0x401908
push edi
call fcn.00401ab0
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x40195d
mov dword [esp + 0x10], 1
push ebx
call fcn.004019d0
mov esi, eax
add esp, 4
test esi, esi
jbe 0x40194c
mov edi, ebx
mov eax, 0x400
mov dword [esp + 0x20], 0
cmp esi, eax
jae 0x40192c
mov eax, esi
lea ecx, [esp + 0x20]
push 0
push ecx
push eax
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp + 0x20]
sub esi, eax
add edi, eax
test esi, esi
ja 0x401919
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x40195d
push ebx
call fcn.00402cdb
add esp, 4
mov eax, dword [esp + 0x18]
add edi, 0xc
dec eax
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], eax
jne 0x4018db
pop edi
pop esi
pop ebx
pop ebp
add esp, 0xc
ret
Function at 0x413e58
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x413e86
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x413ea4
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00413dbe
jmp 0x413ea4
mov eax, dword [esi + 0x14]
test eax, eax
je 0x413ea4
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00413dbe
test edi, edi
mov eax, edi
jne 0x413e8e
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
popal
nop
jmp loc.00401219

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
pop eax
nop
nop
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
mov ebx, dword [eax]
nop
nop
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
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x42e030
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x42e01e
nop
nop
nop
nop
nop
popal
nop
nop
jmp loc.00401219
Function at 0x43a945
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.0042f88a
and dword [ebp - 4], 0
cmp dword [0x454778], 0
mov ebx, eax
jne 0x43a9f6
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x43aaa7
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x447118
push edi
call esi
test eax, eax
je 0x43aaa7
push eax
call fcn.0042f818
mov dword [esp], 0x447108
push edi
mov dword [0x454778], eax
call esi
push eax
call fcn.0042f818
mov dword [esp], 0x4470f4
push edi
mov dword [0x45477c], eax
call esi
push eax
call fcn.0042f818
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x454780], eax
call esi
push eax
call fcn.0042f818
pop ecx
mov dword [0x454788], eax
test eax, eax
je 0x43a9f6
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0042f818
pop ecx
mov dword [0x454784], eax
mov eax, dword [0x454784]
cmp eax, ebx
je 0x43aa4e
cmp dword [0x454788], ebx
je 0x43aa4e
push eax
call fcn.0042f893
push dword [0x454788]
mov esi, eax
call fcn.0042f893
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x43aa4e
test edi, edi
je 0x43aa4e
call esi
test eax, eax
je 0x43aa45
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x43aa45
test byte [ebp - 0xc], 1
jne 0x43aa4e
or dword [ebp + 0x10], 0x200000
jmp 0x43aa87
mov eax, dword [0x45477c]
cmp eax, ebx
je 0x43aa87
push eax
call fcn.0042f893
pop ecx
test eax, eax
je 0x43aa87
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x43aa87
mov eax, dword [0x454780]
cmp eax, ebx
je 0x43aa87
push eax
call fcn.0042f893
pop ecx
test eax, eax
je 0x43aa87
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x454778]
call fcn.0042f893
pop ecx
test eax, eax
je 0x43aaa7
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x43aaa9
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40915c
mov ecx, 0x2c275abc
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43104e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x431024
nop
nop
nop
nop
nop
mov eax, section..reloc
nop
mov ebx, 0x42f3f8
mov ecx, 0x28cd0e9c
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x431084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43106c
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x41cf70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x41cf7f
pop dword [ebp - 0x3c]
mov eax, 0x3751b09
sub eax, 0x3334b8a
sub dword [ebp - 0x3c], eax
push 0x40
push 0x1000
push 0x3db5a
push 0
mov eax, 0xb92e2c24
add eax, 0x471425f4
add eax, dword [ebp - 0x3c]
call dword [eax]
mov ecx, 0x7aa19367
sub ecx, 0x7aa14b95
mov edx, eax
mov edi, 0x1e535330
add edi, 0xe1f000d0
add edi, dword [ebp - 0x3c]
mov esi, 0x41c30a73
add dword [ebp - 0x28], 0xeb5f3901
mov ebx, dword [edi]
sub dword [ebp - 0x28], 0x66d60c31
xor ebx, esi
mov dword [ebp - 0x14], 0x628501d5
mov dword [edx], ebx
sub dword [ebp - 0x34], 0xaf00bf2e
add edx, 4
add edi, 0x11065aa3
sub edi, 0x11065a9f
loop 0x41cfd8
add eax, 0x1121b
mov ebx, eax
add eax, 0xe38bca09
add eax, 0x1c7435fc
mov ecx, 0xf95f49c9
add ecx, 0x6e0b637
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret
Function at 0x401390
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xec
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0x14], eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0xe4], eax
push 0x20
push str.Times_New
lea ecx, [ebp - 0x5c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
push 0x6d
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov dword [ebp - 0xc4], eax
mov dword [ebp - 8], 8
mov dword [ebp - 4], 0x4000
lea eax, [ebp - 8]
push eax
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov ecx, dword [ebp + 8]
push ecx
call fcn.00401630
add esp, 4
push str.Roman
lea edx, [ebp - 0x5c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004016b0
add esp, 8
test eax, eax
jne 0x401429
xor eax, eax
jmp 0x401462
push 0
push 0
push 0
lea edx, [ebp - 0xe0]
push edx
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x40145c
lea eax, [ebp - 0xe0]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea ecx, [ebp - 0xe0]
push ecx
call dword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x401429
mov eax, dword [ebp - 0xd8]
mov esp, ebp
pop ebp
ret 0x10

Function at 0x40246c
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, eax
mov al, byte [esi]
cmp al, 0x22
jne 0x402495
mov al, byte [esi + 1]
inc esi
test al, al
je 0x40248d
cmp al, 0x22
jne 0x402481
cmp byte [esi], 0x22
jne 0x40249f
inc esi
jmp 0x40249f
cmp al, 0x20
jle 0x40249f
inc esi
cmp byte [esi], 0x20
jg 0x402499
mov al, byte [esi]
test al, al
je 0x4024a9
cmp al, 0x20
jle 0x402492
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
call fcn.004015aa
push 0x404004
push section..data
call fcn.00401115
test byte [ebp - 0x18], 1
pop ecx
pop ecx
je 0x4024d9
movzx eax, word [ebp - 0x14]
jmp 0x4024dc
push 0xa
pop eax
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call fcn.00401390
mov esi, eax
call fcn.00401516
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x402620
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov ecx, 0x404620
call fcn.0040246c
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]

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 0x4012f5
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
push edi
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x20], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
push 0
push 0x63
push 0x2a
push 0x15
push 0
call dword [sym.imp.GDI32.dll_CreateBitmap]
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
jmp 0x40136c
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 0xcfb
jge 0x401380
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
jmp 0x401363
push 0x40
mov ebx, 0x1000
push ebx
mov eax, 0x1400
push eax
push 0
push str.wr4564452345353hjsfds
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov dword [ebp - 0x30], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
test eax, eax
jbe 0x4013cf
mov edx, dword [ebp - 0x2c]
xor eax, 0
mov eax, dword [ebp - 0x2c]
push eax
lea ecx, [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
call dword [ebp - 0xc]
mov dword [0x40f3d8], eax
mov dword [ebp + 8], 0x27
call dword [sym.imp.KERNEL32.dll_GetTickCount]
test eax, eax
jne 0x4013ef
push 0
push 0
call dword [sym.imp.USER32.dll_LoadBitmapA]
test eax, eax
jne 0x4013ef
push 0
call dword [sym.imp.ole32.dll_CoCreateGuid]
mov eax, 0xa
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x402305
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x40f028
cmp edx, dword [eax]
je 0x402327
add eax, 8
inc ecx
cmp eax, 0x40f0b8
jl 0x402318
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x40f028]
jne 0x402455
mov eax, dword [0x40f3ec]
cmp eax, 1
je 0x40242f
test eax, eax
jne 0x402358
cmp dword [0x40ef7c], 1
je 0x40242f
cmp edx, 0xfc
je 0x402455
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40238f
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00403750
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00403840
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4023d2
lea eax, [ebp - 0x1a4]
push eax
call fcn.00403840
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x405ba0
push edi
call fcn.00403950
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00403750
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00403760
lea eax, [ebp - 0xa0]
push 0x405b80
push eax
call fcn.00403760
push dword [esi + 0x40f02c]
lea eax, [ebp - 0xa0]
push eax
call fcn.00403760
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004038bb
add esp, 0x2c
pop edi
jmp 0x402455
lea eax, [ebp + 8]
lea esi, [esi + 0x40f02c]
push 0
push eax
push dword [esi]
call fcn.00403840
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 0x407d20
Capabilities:
Encode data using xor

Disassembly:
or al, 0xc
or al, 0xc
or al, 0xc
or al, 0xc
jecxz 0x407c46
or al, 0xc
or al, 0x7f
jl 0x407c4c
dec eax
or al, 0xc
or al, 0xc
or al, 0xc
scasd eax, dword es:[edi]
or al, 0xaf
or al, 2
push 3
or al, 0x72
or al, 0xc
or al, 0xc
xchg ebp, eax
or al, 0xc
stosd dword es:[edi], eax
or al, 0xc
nop
or al, 0xc
sbb dword [esp + ecx], eax
or al, 0xc
or al, 0xc
or al, 0xc
or al, 0xc
outsd dx, dword [esi]
push ecx
push es
add al, byte [edx]
mov byte [0xc0c130c], al
or al, 0xc
pop es
or byte [ecx + 0xc], bl
or al, 0xa
or al, 0x13
or al, 0xc
add al, 0x1f
fiadd dword [eax]
jecxz 0x407cfd
inc eax
add byte [ecx + 0x26004079], cl
pop edx
inc eax
loope 0x407cd1
jns 0x407ccf
test dword [esi - 0x5cffbf89], 0x1f004079
jns 0x407cdb
add ch, dh
jns 0x407cdf
xchg edi, eax
jae 0x407d1c
inc eax
add byte [eax], al
or byte [eax], cl
or eax, 0x8080808
invalid
or byte [eax], cl
or byte [eax], cl
or byte [eax], cl
adc eax, 0x808bb0e
loop 0x407ce4
or al, dl
or byte [eax], cl
ror byte [eax], 1
or byte [eax], cl
inc ecx
or byte [edx], bh
or byte [eax], cl
add dword [esi + edx*8 + 0x8020808], ebp
or byte [ecx + 8], al
cmp cl, byte [eax]
or byte [ecx], al
lodsb al, byte [esi]
salc
or byte [eax], cl
add cl, byte [eax]
or byte [ebx], al
or byte [eax], cl
pop es
or byte [eax], cl
or byte [eax], cl
or byte [eax], cl
add al, byte [ebx - 0x76]
dec ebx
or byte [eax], cl
or byte [eax], cl
or byte [ebx + 8], ch
or byte [eax], cl
xchg ebx, eax
jo 0x407d42
or byte [eax], cl
or byte [eax], cl
or byte [eax], cl
or dl, bh
or byte [ebp + 5], dh
or byte [esi + eax + 0xf08084c], al
nop
nop
nop
add eax, 0x4c068408
or byte [eax], cl
seto byte [eax - 0x6f6fb470]
dec ebx
nop
nop
nop
push ebp
mov ebp, esp
sub esp, 0x58
dec byte [ebp - 0x74a8c7a6]
jge 0x407d3e
lea ecx, [ebp - 4]
push eax
rol dword [ebp + 0xb], cl
lea edx, [ebp + 0xc]
mov byte [0x52084d8b], al
push edi
sbb ebp, esi
call 0x54407ec0
add dword [eax], eax
push esp
mov ecx, dword [ebp - 4]
cld
mov edx, dword [ebp + 0x14]
loope 0x407d11
sbb byte [ecx - 0x367a07bb], cl
jge 0x407d47
je 0x407d5d
or edi, edx
lds ecx, [ebp + 0x4f8d0172]
call dword [ebx - 0x7b]
leave
lea ecx, [edi - 1]
push ebx
test ecx, ecx
jle 0x407d74
sbb dh, 1
xor byte [ebp + 6], dh
dec edi
dec ecx
test ecx, ecx
jg 0x407d65
mov dword [ebp + 0x10], edi
mov ebx, dword [ebp + 0xc]
test dword [edi + 0xf], eax
mov al, byte [0xfb4]
mov eax, dword [esi - 0x67ce2d5]
add al, 9
invalid

Function at 0x40a3d0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
leave
inc ebp
salc
mov eax, dword [eax + 0x14]
test eax, eax
je 0x40a410
mov ecx, dword [ebp - 0x20]
popfd
invalid
mov eax, 0x9f1b3b
pop ebp
ret 8
Function at 0x40147b
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
lea eax, [ebp - 0x114]
sub esp, 0x134
mov dword [esp], eax
lea ebx, [ebp - 0x10c]
call dword [sym.imp.USER32.dll_GetCursorPos]
push eax
mov dword [esp + 4], ebx
mov dword [esp], 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push eax
push eax
mov dword [esp], ebx
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x80000000
call dword [sym.imp.KERNEL32.dll_CreateFileA]
sub esp, 0x1c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, dword [ebp - 4]
leave
sub eax, 3
ret

Function at 0x4014f8
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0xa0
mov dword [ebp - 0x88], 0
call fcn.0040147b
mov dword [esp], 0x4015cc
mov dword [ebp - 0x8c], 0
mov ebx, eax
lea eax, [ebp - 0x8c]
mov dword [esp + 0xc], eax
mov eax, ebx
or eax, 0x40
mov dword [esp + 8], eax
mov eax, 0x40202e
sub eax, 0x4015cc
mov dword [esp + 4], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
cmp dword [ebp - 0x8c], 0
je 0x401593
lea esi, [ebp - 0x88]
mov dword [esp], ebx
call fcn.00401382
mov dword [esp + 4], esi
mov dword [esp], ebx
call fcn.004013f5
mov cl, bl
mov dword [esp + 8], esi
lea eax, [ebx + 0x1b600]
shl eax, cl
mov dword [esp + 4], eax
mov eax, 0x40300c
shr eax, cl
mov dword [esp], eax
call fcn.00401d31
lea esp, [ebp - 8]
xor eax, eax
pop ebx
pop esi
pop ebp
ret
Function at 0x40216b
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
call main
jmp 0x402175
push 0x14
push 0x411788
call fcn.00405300
call main
movzx esi, ax
push 2
call main
pop ecx
mov eax, 0x5a4d
cmp word [0x400000], ax
je 0x4021a3
xor ebx, ebx
jmp 0x4021d6
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x40219f
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x40219f
xor ebx, ebx
cmp dword [eax + 0x400074], 0xe
jbe 0x4021d6
cmp dword [eax + 0x4000e8], ebx
setne bl
mov dword [ebp - 0x1c], ebx
call fcn.004048ef
test eax, eax
jne 0x4021ea
push 0x1c
call main
pop ecx
call fcn.00403b58
test eax, eax
jne 0x4021fb
push 0x10
call main
pop ecx
call fcn.004051cc
and dword [ebp - 4], 0
call fcn.00404904
test eax, eax
jns 0x402215
push 0x1b
call main
pop ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x4162e8], eax
call main
mov dword [0x414430], eax
call main
test eax, eax
jns 0x40223b
push 8
call main
pop ecx
call fcn.00404de7
test eax, eax
jns 0x40224c
push 9
call main
pop ecx
push 1
call main
pop ecx
test eax, eax
je 0x40225f
push eax
call main
pop ecx
call fcn.00405299
push esi
push eax
push 0
push 0x400000
call main
mov esi, eax
mov dword [ebp - 0x24], esi
test ebx, ebx
jne 0x402281
push esi
call main
call fcn.00404663
jmp 0x4022b6
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
call fcn.00405345
ret

Function at 0x40369f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x4036ae
pop dword [ebp - 0x38]
mov eax, 0xb6446d23
add eax, 0x49fbc98b
sub dword [ebp - 0x38], eax
mov dword [ebp - 0x48], 0xa8aa4c1d
sub dword [ebp - 0x48], 0x5a5806d2
mov dword [ebp - 0x44], 0x5e62c57b
sub dword [ebp - 0x44], 0x2c2f7936
mov dword [ebp - 0x40], 0xb619dc46
add dword [ebp - 0x40], 0x963267e8
mov dword [ebp - 0x3c], 0xd1eae611
sub dword [ebp - 0x3c], 0xd1eae611
lea eax, [ebp - 0x48]
push eax
mov eax, 0x4e134a59
add eax, 0xb22d85db
add eax, dword [ebp - 0x38]
call dword [eax]
mov dword [ebp - 0x48], 0xfd2515fc
add dword [ebp - 0x48], 0x774d535a
mov dword [ebp - 0x44], 0xdc67e261
sub dword [ebp - 0x44], 0x9afb80ec
mov dword [ebp - 0x40], 0xfaa523db
sub dword [ebp - 0x40], 0x9735b76f
mov dword [ebp - 0x3c], 0x4810209b
add dword [ebp - 0x3c], 0xb7efdf65
lea ebx, [ebp - 0x48]
push ebx
push eax
mov eax, 0x77dae323
add eax, 0x8865ed0d
add eax, dword [ebp - 0x38]
call dword [eax]
push 0x40
push 0x1000
push 0x36c07
push 0
call eax
mov ecx, 0x5a9a752c
sub ecx, 0x5a9a3574
mov ebx, eax
mov edi, 0x8ce76be6
add edi, 0x735aa41a
add edi, dword [ebp - 0x38]
mov edx, 0xe70cc387
sub edx, 0x51e3913e
xor dword [ebp - 0x34], ecx
mov esi, dword [edi]
xor dword [ebp - 0xc], 0x5be9e250
xor esi, edx
sub dword [ebp - 0x34], 0x83830e7f
mov dword [ebx], esi
xor dword [ebp - 0xc], ecx
add ebx, 0xef72ea9a
add ebx, 0x108d156a
add edi, 0x2c6e09f
add edi, 0xfd391f65
loop 0x4037d0
add eax, 0x38ce09d7
add eax, 0xc732e7dc
mov ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x38]
call ebx
leave
ret
Function at 0x406f30
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, dword [eax]
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp - 0x4f]
inc esp
dec edi
fmul dword [ebx - 0x1f04f3b2]
daa
push edi
invalid