joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4012c0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0x40
push 0x1000
mov eax, dword [ebp + 8]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
pop ebp
ret

Function at 0x4014a0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
and eax, 0xfffff000
mov dword [ebp - 0xc], eax
mov byte [ebp - 5], 0
push 1
push 1
push 0
push 0x4030d0
call dword [sym.imp.USER32.dll_OpenDesktopW]
test eax, eax
je 0x4014cf
or eax, 0xffffffff
jmp 0x40153c
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
movzx eax, word [edx]
cmp eax, 0x5a4d
jne 0x40152c
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 0x3c], 0xff
jle 0x4014f0
jmp 0x4014cf
push 1
push 1
push 0
push str.SEVMTE8
call dword [sym.imp.USER32.dll_OpenDesktopW]
test eax, eax
je 0x40150a
or eax, 0xffffffff
jmp 0x40153c
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
add eax, dword [edx + 0x3c]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp dword [ecx], 0x4550
jne 0x401523
jmp 0x401539
mov dl, byte [ebp - 5]
add dl, 1
mov byte [ebp - 5], dl
mov eax, dword [ebp - 0xc]
sub eax, 0x1000
mov dword [ebp - 0xc], eax
jmp 0x4014cf
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4

Function at 0x401d4c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x404e30]
jne 0x401d56
repz ret
jmp fcn.00401ffd
Function at 0x401040
Capabilities:
Get process heap flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
mov dword [esp], 1
call sub.ucrtbase.dll__configure_narrow_argv
call sub.ucrtbase.dll__initialize_narrow_environment
call 0x4010b0
mov esi, dword [eax]
call sub.ucrtbase.dll___p___argv
mov edi, dword [eax]
call sub.ucrtbase.dll__get_initial_narrow_environment
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
add eax, 1
mov dword [esp], eax
call sub.ucrtbase.dll__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call fcn.00401100
mov dword [esp], eax
call sub.ucrtbase.dll_exit
nop
nop
nop
jmp dword [sym.imp.ucrtbase.dll___p___argc]

Function at 0x401100
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x54
call fcn.004010f0
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov ebx, eax
movzx eax, byte [eax]
test al, al
je 0x40115e
xor ecx, ecx
xor edx, edx
jmp 0x40113e
cmp al, 0x5c
jne 0x4011b0
add edx, 1
movzx eax, byte [ebx + 1]
add ebx, 1
test al, al
je 0x401153
cmp al, 9
je 0x401146
cmp al, 0x20
jne 0x401128
test ecx, ecx
je 0x401153
xor edx, edx
jmp 0x401133
add ebx, 1
movzx eax, byte [ebx]
cmp al, 9
je 0x401150
cmp al, 0x20
je 0x401150
lea eax, [ebp - 0x4c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetStartupInfoA]
sub esp, 4
test byte [ebp - 0x20], 1
jne 0x401179
mov word [ebp - 0x1c], 1
movzx esi, word [ebp - 0x1c]
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
sub esp, 4
mov dword [esp + 8], ebx
mov dword [esp + 0xc], esi
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.00401000
sub esp, 0x10
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
cmp al, 0x22
jne 0x40114a
and edx, 1
jne 0x40114a
xor ecx, 1
jmp 0x401133
Function at 0x4015ff
Capabilities:
Read file via mapping
Terminate process

Disassembly:
sub esp, 0x28
push ebx
push ebp
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov dword [0x403010], eax
mov eax, dword [0x40300c]
mov esi, dword [0x403008]
mov ebp, dword [0x403004]
mov dword [esp + 0x18], eax
mov eax, dword [section..data]
push 0x46
mov dword [esp + 0x20], eax
pop eax
mov word [esp + 0x20], ax
push 0x4d
pop eax
mov word [esp + 0x22], ax
xor eax, eax
mov word [esp + 0x34], ax
xor edi, edi
mov ebx, ebp
shr ebx, 0x1c
and bl, 0xf
movzx eax, bl
lea ecx, [eax + 0x30]
add eax, 0x57
movzx edx, ax
movzx eax, cx
cmp bl, 0x39
cmovbe edx, eax
shl ebp, 4
mov word [esp + edi*2 + 0x24], dx
inc edi
cmp edi, 8
jl 0x401648
lea eax, [esp + 0x20]
push eax
push esi
xor ebx, ebx
push ebx
push 2
push ebx
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov edi, eax
test edi, edi
je 0x401704
push esi
push ebx
push ebx
push 4
push edi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
test esi, esi
je 0x4016fd
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x14]
push eax
push ecx
mov ecx, dword [esi]
add ecx, esi
call fcn.004012a0
mov ebp, dword [esp + 0x10]
test ebp, ebp
je 0x4016f6
cmp dword [esp + 0x14], ebx
je 0x4016f6
push dword [esp + 0x18]
push ebx
push 0x43a
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
test ebx, ebx
je 0x4016ed
push dword [esp + 0x1c]
mov edx, ebp
push esi
push ecx
mov ecx, ebx
call fcn.00401432
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, ebp
call fcn.00401762
xor ebx, ebx
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x28
ret

Function at 0x401000
Capabilities:
Accept command line arguments
Allocate or change rwx memory

Disassembly:
lea esi, [0x4a333c]
lea edx, [0x4a3154]
call sub.kernel32.dll_GetCommandLineW
push 0x40
push 0x3000
push 0xb800
push 0
call sub.user32.dll_GetOpenClipboardWindow
call sub.kernel32.dll_VirtualAlloc
call fcn.0049b504
ret
Function at 0x401110
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov ecx, dword [esp + 4]
push ebx
and ecx, 0xff
push ebp
shl ecx, 4
push esi
xor eax, eax
push edi
add ecx, 0x405a9c
mov ebp, 4
mov edi, 4
mov esi, dword [0x405a98]
mov dl, byte [ecx]
mov bl, byte [eax + esi]
xor bl, dl
inc ecx
mov byte [eax + esi], bl
inc eax
dec edi
jne 0x401133
dec ebp
jne 0x40112e
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x4017e0
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
push ebx
push esi
xor eax, eax
mov esi, 0x10
mov edx, dword [0x405b4c]
mov bl, byte [eax + ecx]
mov dl, byte [eax + edx]
xor bl, dl
mov byte [eax + ecx], bl
inc eax
dec esi
jne 0x4017ed
pop esi
pop ebx
ret

Function at 0x4018f0
Capabilities:
Print debug messages

Disassembly:
mov eax, 0x2800
call fcn.004039b0
mov al, byte [0x405f54]
push ebx
push esi
push edi
mov byte [esp + 0xc], al
mov ecx, 0x9ff
xor eax, eax
lea edi, [esp + 0xd]
rep stosd dword es:[edi], eax
mov edx, dword [esp + 0x2810]
lea ecx, [esp + 0x2814]
stosw word es:[edi], ax
stosb byte es:[edi], al
push ecx
lea eax, [esp + 0x10]
push edx
push eax
call sub.MSVCRT.dll_vsprintf
mov edi, 0x405010
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0xc]
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0xc]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edx, dword [0x405f70]
lea ecx, [esp + 0xc]
push ecx
push 0x3f1
push edx
call fcn.00401990
add esp, 0xc
pop edi
pop esi
pop ebx
add esp, 0x2800
ret
Function at 0x402196
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], 0
mov dword [0x40f36a], 0x641e
mov eax, dword [ebp - 4]
cmp eax, edx
mov dword [0x40f402], 0x3dfe
jae 0x40234a
xor ecx, ecx
or ecx, dword [0x40f3ea]
adc ecx, dword [0x40f3fa]
mov dword [0x40f3ea], ecx
mov ecx, edx
shr ecx, 8
and dword [0x40f35a], 0x41403c
push esi
dec dword [0x414010]
mov esi, dword [ebp - 4]
test ecx, ecx
mov dword [0x40f36a], 0x74da
je 0x40221d
mov dword [0x40f372], 0x5944
lea eax, [ecx + esi]
mov dword [0x40f36a], 0x476f
jmp 0x40222f
mov eax, dword [0x40f1ee]
mov eax, dword [eax]
sub dword [0x40f356], eax
movzx eax, dl
add eax, esi
mov dword [0x407038], 0x6d0e
cmp esi, eax
jae 0x40225d
mov dword [0x40f3da], 0x5e0b
mov dword [ebp - 4], eax
mov dword [0x40f3ee], 0x732e
jmp 0x402266
not dword [0x407048]
inc dword [ebp - 4]
mov dword [0x414018], edx
mov eax, dword [ebp - 4]
cmp eax, edx
mov dword [0x40f37a], 0x5aa
jb 0x4021e6
mov dword [0x414038], edi
pop esi
jmp 0x40234a
mov eax, dword [0x40f3ee]
sub eax, dword [0x40700c]
mov dword [0x40f3ee], eax
mov eax, dword [ebp - 4]
sbb dword [0x41403c], 0x40f34e
and eax, 0xff
cmp edx, eax
jbe 0x402329
add eax, dword [0x407014]
mov eax, dword [ebp - 4]
mov ecx, edx
add dword [0x414034], 0x4189
shr ecx, 8
test ecx, ecx
je 0x40231c
sub dword [0x40f376], 0x40f3ee
sub eax, ecx
mov dword [0x414024], 0x130e
cmp dword [ebp - 4], eax
mov dword [0x41401c], 0xd3f
jbe 0x402347
mov dword [0x40f402], 0x14c6
mov dword [ebp - 4], eax
mov dword [0x40f3e2], 0x7ab3
jmp 0x40234a
mov ecx, 0x462b
movzx ecx, dl
jmp 0x4022d7
test eax, eax
je 0x402347
mov ecx, dword [ebp - 4]
sub ecx, eax
cmp dword [ebp - 4], ecx
jbe 0x402347
mov dword [ebp - 4], ecx
jmp 0x40234a
dec dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, edx
ja 0x40228d
mov dword [ebp - 0xc], 0xfffe1402
mov dword [ebp - 8], 0x128d7c2e
mov eax, dword [ebp - 0xc]
imul eax, eax, 0x92d9d1d
add eax, dword [ebp - 8]
mov dword [ebp - 4], edx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
add eax, 0x3846e6cc
xor eax, ecx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
imul eax, eax, 0x278d891d
add eax, dword [ebp - 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x10]
leave
ret
Function at 0x445634
Capabilities:
Write file on windows

Disassembly:
push 0x2c
mov eax, 0x59a50e
call fcn.0056beab
mov ebx, ecx
cmp dword [ebx + 0x44], 0
mov dword [ebp - 0x34], ebx
je 0x445724
cmp byte [ebx + 0x49], 0
je 0x445724
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x44566c
xor al, al
jmp 0x445726
push 0
push 8
pop edi
lea esi, [ebp - 0x2c]
call fcn.0044538e
and dword [ebp - 4], 0
lea eax, [ebx + 0x4c]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x4456c3
lea eax, [ebp - 0x2c]
mov edx, eax
add eax, dword [ebp - 0x1c]
mov ecx, dword [ebx + 0x44]
mov esi, dword [ecx]
lea edi, [ebp - 0x30]
push edi
push eax
push edx
push dword [ebp - 0x38]
call dword [esi + 0x18]
xor edi, edi
sub eax, edi
je 0x4456c8
dec eax
je 0x4456cc
dec eax
dec eax
je 0x445720
xor bl, bl
push edi
push 1
lea ecx, [ebp - 0x2c]
call fcn.0040443a
mov al, bl
jmp 0x445726
mov edx, dword [ebp - 0x2c]
jmp 0x445691
mov byte [ebx + 0x49], 0
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x4456d8
lea eax, [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub esi, eax
je 0x4456fe
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x4456eb
lea eax, [ebp - 0x2c]
push dword [ebx + 0x54]
push esi
push 1
push eax
call fcn.0055eaea
add esp, 0x10
cmp esi, eax
jne 0x4456b2
cmp byte [ebx + 0x49], 0
je 0x445720
cmp esi, edi
jne 0x445683
push edi
push 8
pop ebx
lea esi, [ebp - 0x2c]
call fcn.004042b1
mov ebx, dword [ebp - 0x34]
jmp 0x445683
mov bl, 1
jmp 0x4456b4
mov al, 1
call fcn.0056bf2e
ret

Function at 0x44630b
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [esi + 0x10]
push ebx
push edi
xor edx, edx
push 0xa
mov eax, ecx
pop ebx
div ebx
xor edi, edi
mov dword [ebp - 4], 0x811c9dc5
inc eax
test ecx, ecx
je 0x44634f
cmp dword [esi + 0x14], 0x10
jb 0x446335
mov edx, dword [esi]
jmp 0x446337
mov edx, esi
mov ebx, dword [ebp - 4]
movsx edx, byte [edx + edi]
imul ebx, ebx, 0x1000193
xor edx, ebx
add edi, eax
mov dword [ebp - 4], edx
cmp edi, ecx
jb 0x44632b
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x20]
mov eax, ecx
and eax, dword [ebp - 4]
pop edi
pop ebx
cmp dword [edx + 0x24], eax
ja 0x44636a
shr ecx, 1
or edx, 0xffffffff
sub edx, ecx
add eax, edx
leave
ret 4

Function at 0x44f6a6
Capabilities:
Inspect section memory permissions

Disassembly:
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.kernelbase.dll
call esi
test eax, eax
jne 0x44f6c3
push str.kernel32.dll
call esi
test eax, eax
je 0x44f70f
push 0x5d94e4
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x63adc0], eax
call fcn.004f3352
test eax, eax
jne 0x44f70f
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call 0x4f36a8
test eax, eax
je 0x44f6f3
pop esi
jmp 0x4f33c3
push 0x44f63e
push 0x63adc0
call fcn.004f3967
test eax, eax
jne 0x44f6ed
call fcn.004f395f
test eax, eax
jne 0x44f6ed
pop esi
ret
Function at 0x4f28b4
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x19c
mov eax, dword [0x631350]
xor eax, esp
mov dword [esp + 0x198], eax
push ebx
push esi
xor ebx, ebx
push edi
mov esi, ecx
cmp dword [0x63add4], ebx
jne 0x4f290f
lea eax, [esp + 0x10]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x4f28f5
xor al, al
jmp 0x4f2917
cmp byte [esp + 0x10], 2
jne 0x4f2907
mov eax, dword [esp + 0x10]
shr eax, 8
cmp al, 2
je 0x4f290f
call dword [sym.imp.WS2_32.dll_WSACleanup]
jmp 0x4f28f1
inc dword [0x63add4]
mov al, 1
mov byte [esi + 0x1c], al
cmp al, bl
jne 0x4f2933
xor ecx, ecx
push 0x600944
inc ecx
call fcn.0047feaf
pop ecx
push 0xffffffffffffffff
call fcn.00566dc3
or dword [esi + 0x64], 0xffffffff
push 0x10
lea edi, [esi + 0x20]
push ebx
push edi
mov byte [esi + 0x1d], bl
mov dword [esi + 8], ebx
call fcn.0055fda0
add esp, 0xc
push 2
pop eax
mov word [edi], ax
mov dword [esi + 0x24], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x10
mov dword [esi + 0x6c], eax
push ebx
add esi, 0x30
push esi
call fcn.0055fda0
mov ecx, dword [esp + 0x1b0]
add esp, 0xc
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0055c9d4
mov esp, ebp
pop ebp
ret
Function at 0x4f3352
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x4f333a
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x4f3358
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]
add byte [eax], al
invalid
mov edi, dword [eax + 0x24]
add byte [eax], al
add byte [ebx + 0x448d2478], cl
or bh, bh
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 0x4f33b6
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x4f339d
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x4f33a6
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x4f33b0
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x4f3392
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x4f331c
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 0x4f3403
dec eax
je 0x4f33fa
sub eax, 3
je 0x4f33f1
mov dword [ebp - 4], 0x40
jmp 0x4f3420
mov dword [ebp - 4], 4
jmp 0x4f3406
mov dword [ebp - 4], 0x20
jmp 0x4f3406
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 0x4f3452
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x4f33d2
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.004f2c63
push ecx
cmpsb byte [esi], byte es:[edi]
adc byte [ebx + 0x6a1475ff], 1
push esi
call edi
mov eax, esi
jmp 0x4f345e
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4f3967
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add byte [eax - 0x6b65b], al
inc dword [eax]
mov byte [ebp - 0x6b6], 0x9b
and byte [ebp - 0x6b5], 0
mov byte [ebp - 0x6b4], 0x33
mov byte [ebp - 0x6b3], 0x16
mov byte [ebp - 0x6b2], 0xd
mov byte [ebp - 0x6b1], 0x10
mov byte [ebp - 0x6b0], 1
mov byte [ebp - 0x6af], 0x34
mov byte [ebp - 0x6ae], 0x16
mov byte [ebp - 0x6ad], 0xb
mov byte [ebp - 0x6ac], 7
mov byte [ebp - 0x6ab], 1
mov byte [ebp - 0x6aa], 0x17
mov byte [ebp - 0x6a9], 0x17
mov byte [ebp - 0x6a8], 0x29
mov byte [ebp - 0x6a7], 1
mov byte [ebp - 0x6a6], 9
mov byte [ebp - 0x6a5], 0xb
mov byte [ebp - 0x6a4], 0x16
mov byte [ebp - 0x6a3], 0x1d
mov byte [ebp - 0x6a2], 0x64
lea eax, [ebp - 0x6b8]
push eax
call fcn.004f2c73
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.004f2c28
add esp, 0xc
mov dword [ebp - 0x690], eax
mov byte [ebp - 0x6a0], 0x8b
or byte [ebp - 0x69f], 0xff
mov byte [ebp - 0x69e], 0x55
mov byte [ebp - 0x69d], 0x8b
mov byte [ebp - 0x69c], 0xec
lea eax, [ebp - 0x694]
push eax
push 5
lea eax, [ebp - 0x6a0]
push eax
push dword [ebp - 0x33c]
push 0xffffffffffffffff
call dword [ebp - 0x690]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x6c0], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x6bc], eax
push 0x1000
push 8
push dword [ebp - 0x674]
call dword [ebp - 0x67c]
mov dword [ebp - 0x698], eax
call fcn.004f2c63
out dx, eax
fistp qword [esi]
and al, 0xff
mov ch, 0x68
stc
invalid

Function at 0x55c9d4
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x631350]
jne 0x55c9de
repz ret
jmp fcn.00563a1b
Function at 0x406e20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
jg 0x406ea4
or eax, dword [esi]
dec ebp
das
mov eax, dword [ebp + 0x5d8b0610]
adc al, 0xe6
mov dword [edx - 0x2b], 0x57000000
mov dword [ecx], 0x700035e3
mov edi, ebx
or ecx, 0xffffffff
cmovp esp, dword [esi - 0x39]
add al, byte [eax]
add dl, dh
scasb al, byte es:[edi]
test dword [eax - 0x638b7272], 0x8bf33bff
invalid
cmp eax, 0xffff
jg 0x406ec7
and al, 0x55
adc byte [edi - 0x34], bl
pop ebx
mov word [ebp + 0x33], si
rcr dh, 0xc2
adc al, 0x9e
out dx, eax
aas
cmp dh, byte [ebp + 0x36]
or al, 0xfe
jae 0x406f3b
cmp esi, dword [ecx + 0x75]
or al, 0x5f
pop edi
pop esi
mov eax, 0xf1
pop ebx
dec esp
ret 0x14
push esi
cmp esi, dword [ebp + 0xc]
xor bl, dh
add edx, dword [edi - 4]
lds eax, [eax]
add byte [eax], al
add cl, ah
wait
pop ecx
div byte [esp + ebx - 0x75]
jge 0x406f62
test edi, edi
jne 0x406f6b
cmp eax, 3
je 0x406f6b
test cl, 2
je 0x406f7d
pop edi
mov eax, 0x11187
xchg dword [ecx], edx
add dword [eax], eax
pop esi
cmp eax, 0x5fb2180b
pop edi
mov eax, 0x26000016
pop ebp
ret 0x18
mov eax, 0xe7000002
mov edi, dword [ebp + 0x28]
push edi
push ecx
and bh, byte [edx - 0x28afaeec]
push edx
call 0x13b6fa0
add esp, 0x18
pop edi
pop esi
pop ebp
call [eax]
pop eax
nop
nop
nop
nop
push ebp
push ss
in al, dx
sub esp, 0xffffffbf
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor edi, dword [ebx - 0x76a80cc5]
jne 0x406fa7
jne 0x406fba
mov esi, str.0.0.0.0
fld dword [esi]
cmp al, 0x30
jl 0x128707d
cmp al, 0x8d
jg 0x40707d
test al, 0x34
hlt
fcos
adc eax, 0x4096ac
imul eax, ebx, 0x750c0f89
test dword [ebx + 0x40c1d835], ecx
add bh, bh
salc
test eax, eax
je 0x4070c6
salc
salc
pop edi
pop ebx
cmp ah, 0xa
add byte [ebx - 0x75], bl
in eax, 0x5d
dec esi
mov edx, dword [ebx + 4]
mov dword [esi + 4], edx
mov dword [ebx + 0x24], esi
mov eax, eax
or al, 0x57
mov dword [ebx + ecx*4], 0xdd2789de
mov ecx, dword [eax + 0xc]
xor dword [ecx], 0xffffff88
add cl, bl
test dword [ebp + 0x5fffffd9], ecx
pop edi
pop esi
dec eax
retf 0x8b26
Function at 0x42b43f
Capabilities:
Set environment variable

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

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..reloc
mov ebx, 0x40c7d0
nop
mov ecx, 0x781a1aae
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43204e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x432024
nop
mov eax, section..rdata
nop
mov ebx, 0x42f314
nop
mov ecx, 0x5ceb0fd0
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x432084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x401ab0
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x1b
mov dword [esp + 4], 1
lea ebx, [esp + 0x24]
mov dword [esp], str.Mingw_w64_runtime_failure:_n
add eax, 0x40
mov dword [esp + 0xc], eax
call sub.msvcrt.dll_fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
jmp fcn.00401b10

Function at 0x401b10
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
sub esp, 0x30
mov esi, dword [0x4053a0]
test esi, esi
jle 0x401bfd
mov edi, dword [0x4053a4]
xor ebx, ebx
lea edx, [edi + 4]
nop
mov ecx, dword [edx]
cmp ecx, eax
ja 0x401b44
mov edi, dword [edx + 4]
add ecx, dword [edi + 8]
cmp eax, ecx
jb 0x401bf6
add ebx, 1
add edx, 0xc
cmp ebx, esi
jne 0x401b30
mov dword [esp], eax
mov esi, eax
call fcn.00402460
test eax, eax
mov edi, eax
je 0x401c3a
mov esi, dword [0x4053a4]
lea ebx, [ebx + ebx*2]
shl ebx, 2
add esi, ebx
mov dword [esi + 8], eax
mov dword [esi], 0
call fcn.00402570
add eax, dword [edi + 0xc]
mov dword [esi + 4], eax
lea eax, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], eax
mov eax, dword [0x4053a4]
mov eax, dword [eax + ebx + 4]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x401c1a
mov eax, dword [esp + 0x28]
lea edx, [eax - 4]
and edx, 0xfffffffb
je 0x401bef
sub eax, 0x40
and eax, 0xffffffbf
je 0x401bef
mov eax, dword [esp + 0x20]
add ebx, dword [0x4053a4]
mov dword [esp + 8], 0x40
mov dword [esp + 4], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0xc], ebx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
test eax, eax
je 0x401c04
add dword [0x4053a0], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
xor ebx, ebx
jmp 0x401b4e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call fcn.00401ab0
mov eax, dword [0x4053a4]
mov eax, dword [eax + ebx + 4]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov dword [esp + 4], eax
call fcn.00401ab0
mov dword [esp + 4], esi
mov dword [esp], str.Address__p_has_no_image_section
call fcn.00401ab0
lea esi, [esi]
Function at 0x4020d0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x4053b8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x4053b0]
sub esp, 4
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
test ebx, ebx
je 0x402125
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp], eax
call ebp
sub esp, 4
mov esi, eax
call edi
test eax, eax
jne 0x40211e
test esi, esi
je 0x40211e
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x402100
mov dword [esp], 0x4053b8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret