joyce8/EMBER2024-capa huggingface dataset:
Function at 0x50a700
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffdfc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xb0], 0
je 0x50a76b
cmp byte [ebx + 0xd7], 0
jne 0x50a76b
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x178]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00406d50
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x50a758
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x50a778
mov eax, esi
mov edx, dword [ebx + 0x90]
call fcn.00406fa8
jmp 0x50a778
mov eax, esi
mov edx, dword [ebx + 0x90]
call fcn.00406fa8
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x50bfb0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x88]
test esi, esi
je 0x50c01e
mov eax, esi
call fcn.0048de80
test al, al
je 0x50c01e
mov eax, dword [ebx + 0x88]
call fcn.0048dacc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x50c01e
mov eax, dword [ebx + 0x88]
mov edx, dword [eax]
call dword [edx + 0x108]
test al, al
je 0x50c012
push 0
mov eax, dword [ebx + 0x88]
call fcn.0048dacc
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x88]
call fcn.004848e8
jmp 0x50c01e
mov cl, 1
mov edx, dword [ebx + 0x78]
mov eax, ebx
call fcn.0050bde8
pop esi
pop ebx
ret
Function at 0x510778
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
cmp dword [ebx + 0x8c], 0
jne 0x5107f2
mov eax, dword [ebx + 8]
call fcn.0048dacc
mov ecx, eax
mov dl, 1
mov eax, dword [0x499920]
call fcn.00487ef0
mov esi, eax
mov dword [ebx + 0x8c], esi
xor edx, edx
mov eax, esi
call fcn.0049dfb8
mov dword [esi + 0x2a4], ebx
mov dword [esi + 0x2a0], 0x510070
push 8
push 3
call sub.user32.dll_GetSystemMetrics
push eax
push 0
push 0
push 0
push 0
mov eax, dword [ebx + 0x8c]
call fcn.0048dacc
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x8c]
call fcn.0048dacc
push eax
call sub.user32.dll_ShowWindow
cmp dword [ebx + 0x9c], 0
jne 0x510868
mov eax, dword [ebx + 8]
call fcn.0048dacc
mov ecx, eax
mov dl, 1
mov eax, dword [0x499920]
call fcn.00487ef0
mov esi, eax
mov dword [ebx + 0x9c], esi
mov dl, 1
mov eax, esi
call fcn.0049dfb8
mov dword [esi + 0x2a4], ebx
mov dword [esi + 0x2a0], 0x5100bc
push 8
push 0
push 2
call sub.user32.dll_GetSystemMetrics
push eax
push 0
push 0
push 0
mov eax, dword [ebx + 0x9c]
call fcn.0048dacc
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x9c]
call fcn.0048dacc
push eax
call sub.user32.dll_ShowWindow
cmp dword [ebx + 0x94], 0
jne 0x5108d4
mov eax, dword [ebx + 8]
call fcn.0048dacc
mov ecx, eax
mov dl, 1
mov eax, dword [0x49a35c]
call fcn.00487ef0
mov esi, eax
mov dword [ebx + 0x94], esi
mov eax, esi
mov byte [eax + 0x278], 1
push 8
push 3
call sub.user32.dll_GetSystemMetrics
push eax
push 2
call sub.user32.dll_GetSystemMetrics
push eax
push 0
push 0
push 0
mov eax, dword [ebx + 0x94]
call fcn.0048dacc
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x94]
call fcn.0048dacc
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x5131b4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
push esi
mov ebx, ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00406cac
xor eax, eax
push ebp
push 0x513292
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
xor ecx, ecx
mov edx, 0x44
call fcn.00404a90
mov dword [ebp - 0x4c], 0x44
mov dword [ebp - 0x20], 0x41
mov word [ebp - 0x1c], si
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x4c]
push eax
push 0
push 0
push 0x30
push 0
push 0
push 0
lea eax, [ebp - 4]
call fcn.00407174
push eax
push 0
call sub.kernel32.dll_CreateProcessW
test eax, eax
jne 0x51322b
mov dword [ebp - 8], 0xffffffff
jmp 0x513262
test bl, bl
jne 0x51324a
mov eax, dword [ebp + 8]
cmp dword [eax], 0
je 0x513241
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov edx, dword [ebp - 0x54]
mov dword [eax], edx
mov dword [ebp - 8], 0xffffffff
jmp 0x51327c
push 0xffffffffffffffff
mov eax, dword [ebp - 0x5c]
push eax
call sub.kernel32.dll_WaitForSingleObject
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x5c]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x51326f
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x51327c
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x513299
lea eax, [ebp - 4]
call fcn.00406bc8
ret

Function at 0x5133a4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00406cac
mov eax, dword [ebp - 8]
call fcn.00406cac
xor eax, eax
push ebp
push 0x51343b
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0041eed4
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.0041edb0
test al, al
je 0x513420
push 5
mov eax, dword [ebp - 0xc]
call fcn.00407710
push eax
mov eax, dword [ebp - 8]
call fcn.00407710
push eax
mov eax, dword [ebp - 4]
call fcn.00407710
push eax
push 0
mov eax, esi
call fcn.0048dacc
push eax
call sub.shell32.dll_ShellExecuteW
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x513442
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00406c28
ret
Function at 0x43da90
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x2a000]
push edi
jmp 0x43daaa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x43dab1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x43daa0
mov eax, 1
add ebx, ebx
jne 0x43dac3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x43dab8
jne 0x43dad4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x43dab8
xor ecx, ecx
sub eax, 3
jb 0x43dae8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x43db5a
mov ebp, eax
add ebx, ebx
jne 0x43daf3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x43db00
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x43db24
inc ecx
add ebx, ebx
jne 0x43db10
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x43db05
jne 0x43db21
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x43db05
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x43db44
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x43db35
jmp 0x43daa6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x43db44
add edi, ecx
jmp 0x43daa6
pop esi
mov edi, esi
mov ecx, 0x6b3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x43db62
cmp byte [edi], 9
jne 0x43db62
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x43db67
lea edi, [esi + 0x3b000]
mov eax, dword [edi]
or eax, eax
je 0x43dbdf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x49c90]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x49d6c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x43db94
mov ecx, edi
jns 0x43dbc3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x49d70]
or eax, eax
je 0x43dbd9
mov dword [ebx], eax
add ebx, 4
jmp 0x43dbb1
call dword [esi + 0x49d80]
mov ebp, dword [esi + 0x49d74]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x43dc13
sub esp, 0xffffff80
jmp 0x40d2ef
Function at 0x40632d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x40633c
pop dword [ebp - 0x48]
mov eax, 0xb7073bb9
add eax, 0x49392783
sub dword [ebp - 0x48], eax
mov dword [ebp - 0x58], 0x9e58d916
add dword [ebp - 0x58], 0xaff96c35
mov dword [ebp - 0x54], 0x360e8bd7
sub dword [ebp - 0x54], 0x3db3f92
mov dword [ebp - 0x50], 0xb5fa4e9e
sub dword [ebp - 0x50], 0x69ae0a70
mov dword [ebp - 0x4c], 0xbc699d3
add dword [ebp - 0x4c], 0xf439662d
lea eax, [ebp - 0x58]
push eax
mov eax, 0x61a6a481
sub eax, 0x61663421
add eax, dword [ebp - 0x48]
call dword [eax]
mov dword [ebp - 0x58], 0x64100c03
sub dword [ebp - 0x58], 0xef9da2ad
mov dword [ebp - 0x54], 0xa88f4e61
add dword [ebp - 0x54], 0x98dd1314
mov dword [ebp - 0x50], 0x67a42eaa
add dword [ebp - 0x50], 0xfbcb3dc2
mov dword [ebp - 0x4c], 0x235862d
add dword [ebp - 0x4c], 0xfdca79d3
lea ebx, [ebp - 0x58]
push ebx
push eax
mov eax, 0xf5259f3
sub eax, 0xf11e8f3
add eax, dword [ebp - 0x48]
call dword [eax]
push 0x40
push 0x1000
push 0x34881
push 0
call eax
mov ecx, 0x63fcf387
sub ecx, 0x63fcb3e0
mov esi, eax
mov edi, 0x645330a
add edi, 0xf9fbccf6
add edi, dword [ebp - 0x48]
mov edx, 0xc063273f
mov ebx, dword [edi]
sub dword [ebp - 0x24], eax
add ebx, edx
sub dword [ebp - 0x38], esi
mov dword [esi], ebx
xor dword [ebp - 8], eax
add esi, 4
add edi, 0x3528a587
sub edi, 0x3528a583
loop 0x406458
add eax, 0xf16f
xor ebx, ebx
add ebx, eax
add eax, 0xf0162445
add eax, 0xfe9dbc0
mov ecx, 0x400000
add ecx, dword [ebp - 0x48]
call ebx
leave
ret

Function at 0x4065b0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40c17c]
jne 0x4065ba
repz ret
jmp fcn.00406941
Function at 0x401330
Capabilities:
Enumerate process modules
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1004
call fcn.004171d0
lea eax, [ebp - 4]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
call sub.KERNEL32.dll_K32EnumProcesses
test eax, eax
jne 0x40135f
mov eax, 1
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [ebp - 4]
push edi
shr ebx, 2
xor edi, edi
test ebx, ebx
je 0x4013b5
push esi
nop
mov eax, dword [ebp + edi*4 - 0x1004]
test eax, eax
je 0x4013af
push eax
call fcn.004013c0
add esp, 4
cmp eax, 1
jne 0x4013af
push dword [ebp + edi*4 - 0x1004]
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, ebx
jb 0x401370
pop esi
pop edi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x402210
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x434acf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push 0
mov dword [ebp - 0x10], esi
call fcn.004160f6
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 6
test eax, eax
je 0x40229b
push eax
push esi
call fcn.00416403
mov ecx, dword [ebp - 0xc]
add esp, 8
mov eax, esi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 4
push str.bad_locale_name
call fcn.004160a9
int3
Function at 0x4064d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
sub esp, 0x104
cmp dword [eax + 0x14], 0x10
jb 0x4064e4
mov eax, dword [eax]
lea ecx, [ebp + 0x10]
push ecx
push 0x20019
push 0
push eax
mov eax, dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x406537
mov eax, dword [ebp + 0x14]
mov dword [ebp - 4], 0xff
cmp dword [eax + 0x14], 0x10
jb 0x406511
mov eax, dword [eax]
lea ecx, [ebp - 4]
push ecx
lea ecx, [ebp - 0x104]
push ecx
push 0
push 0
push eax
push dword [ebp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x40655f
push dword [ebp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov dword [eax + 0x10], 0
mov byte [eax], 0
mov esp, ebp
pop ebp
ret
push esi
push dword [ebp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x104]
lea edx, [ecx + 1]
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x406590
sub ecx, edx
lea eax, [ebp - 0x104]
push ecx
push eax
mov ecx, esi
call fcn.004018d0
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4091a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x434fb0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
mov eax, ecx
push esi
push edi
push 8
mov dword [ebp - 0x10], eax
mov dword [eax], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.00417185
mov esi, eax
add esp, 4
test esi, esi
je 0x4091ef
push 1
mov dword [ebp - 4], 0
call fcn.00416303
add esp, 4
mov dword [esi + 4], eax
jmp 0x4091f1
xor esi, esi
mov eax, dword [ebp - 0x10]
lea edi, [eax + 0x14]
lea ecx, [eax + 0x18]
lea edx, [eax + 0x24]
mov dword [eax + 0x34], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea esi, [eax + 8]
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], ecx
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov ecx, dword [ebp - 0xc]
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [ebx], 0
mov dword [edi], 0
pop edi
pop esi
mov dword [edx], 0
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x40b880
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov ecx, dword [ebp + 8]
push ebx
push esi
push edi
mov eax, dword [ecx]
mov ebx, dword [ecx + 8]
mov edi, dword [ecx + 0xc]
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], eax
mov eax, dword [ecx + 4]
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 8], 0
movups xmm0, xmmword [ecx]
movups xmmword [ebp - 0x50], xmm0
movups xmm0, xmmword [ecx + 0x10]
movups xmmword [ebp - 0x40], xmm0
movups xmm0, xmmword [ecx + 0x20]
movups xmmword [ebp - 0x30], xmm0
movups xmm0, xmmword [ecx + 0x30]
movups xmmword [ebp - 0x20], xmm0
mov esi, eax
mov dword [ebp + 0xc], eax
mov ecx, ebx
not esi
and ecx, eax
and esi, edi
or esi, ecx
mov edx, edi
mov ecx, dword [ebp - 8]
mov edi, ebx
mov ebx, dword [ebp - 8]
mov ecx, dword [ecx + 0x436b18]
add ecx, dword [ebp + ebx - 0x50]
add ecx, esi
add ecx, dword [ebp - 4]
rol ecx, 7
add eax, ecx
mov dword [ebp - 4], edx
mov ecx, ebx
mov ebx, dword [ebp + 0xc]
add ecx, 4
mov dword [ebp - 8], ecx
cmp ecx, 0x40
jb 0x40b8c6
mov dword [ebp - 0xc], 0x436b58
mov dword [ebp - 8], 0x51
mov esi, edi
mov dword [ebp + 0xc], eax
not esi
mov ecx, edi
and ecx, eax
and esi, ebx
or esi, ecx
mov edx, edi
mov ecx, dword [ebp - 8]
mov edi, ebx
mov ebx, dword [ebp - 0xc]
and ecx, 0xf
add dword [ebp - 0xc], 4
mov ecx, dword [ebp + ecx*4 - 0x50]
add ecx, dword [ebx]
mov ebx, dword [ebp + 0xc]
add ecx, esi
add ecx, dword [ebp - 4]
rol ecx, 0xc
add eax, ecx
mov dword [ebp - 4], edx
mov ecx, dword [ebp - 8]
add ecx, 5
mov dword [ebp - 8], ecx
cmp ecx, 0xa1
jb 0x40b914
mov ecx, 0x65
mov dword [ebp - 0xc], 0x436b98
mov dword [ebp - 8], ecx
nop word [eax + eax]
and ecx, 0xf
mov dword [ebp + 0xc], eax
mov edx, edi
mov esi, edi
xor edx, ebx
mov edi, ebx
mov ebx, dword [ebp - 0xc]
xor edx, eax
mov ecx, dword [ebp + ecx*4 - 0x50]
add dword [ebp - 0xc], 4
add ecx, dword [ebx]
mov ebx, dword [ebp + 0xc]
add ecx, edx
add ecx, dword [ebp - 4]
ror ecx, 0xf
add eax, ecx
mov dword [ebp - 4], esi
mov ecx, dword [ebp - 8]
add ecx, 3
mov dword [ebp - 8], ecx
cmp ecx, 0x95
jb 0x40b970
mov ecx, 0x150
mov dword [ebp + 0xc], 0xc0
mov dword [ebp - 0xc], ecx
nop dword [eax]
add dword [ebp - 0xc], 7
and ecx, 0xf
mov edx, edi
mov dword [ebp - 8], edi
mov edi, dword [ebp + 0xc]
not edx
or edx, eax
mov dword [ebp - 4], ebx
mov ecx, dword [ebp + ecx*4 - 0x50]
xor edx, ebx
mov ebx, eax
add ecx, dword [edi + 0x436b18]
add ecx, edx
mov edx, dword [ebp - 8]
add ecx, esi
mov esi, edx
ror ecx, 0xa
add eax, ecx
mov ecx, edi
mov edi, dword [ebp - 4]
add ecx, 4
mov dword [ebp + 0xc], ecx
cmp ecx, 0x100
mov ecx, dword [ebp - 0xc]
jb 0x40b9c0
mov ecx, dword [ebp - 0x10]
add ecx, edx
mov edx, dword [ebp + 8]
add dword [edx + 8], ebx
add dword [edx + 4], eax
add dword [edx + 0xc], edi
pop edi
pop esi
mov dword [edx], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40bcb0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0x10
jb 0x40bcbe
mov eax, dword [eax]
push 1
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
pop ebp
ret
Function at 0x410020
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
mov edx, 0x811c9dc5
push edi
mov edi, dword [ebp + 8]
mov ecx, 0
sub esi, edi
je 0x410051
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x410040
pop edi
mov eax, edx
pop esi
pop ebp
ret 8

Function at 0x410dc0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x10
push eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
mov esi, dword [ebp + 8]
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
test eax, eax
je 0x410e1c
lea ecx, [ebp - 0x14]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x410e00
sub ecx, edx
lea eax, [ebp - 0x14]
push ecx
push eax
mov ecx, esi
call fcn.004018d0
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
push 3
push 0x436d18
push esi
mov dword [esi + 0x10], 3
call fcn.004185a0
add esp, 0xc
mov byte [esi + 3], 0
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x410e40
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x43530d
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
mov esi, ecx
push edi
push 8
mov dword [esi + 0x30], 0
mov dword [esi + 8], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0x201
mov dword [esi + 0x18], 6
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0xc], 0
call fcn.00417185
mov edi, eax
add esp, 4
test edi, edi
je 0x410ed2
push 1
mov dword [ebp - 4], 0
call fcn.00416303
add esp, 4
mov dword [edi + 4], eax
jmp 0x410ed4
xor edi, edi
mov eax, dword [ebp + 8]
mov dword [esi + 0x30], edi
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], 0
mov edi, dword [edi + 4]
mov ecx, edi
push ebx
mov dword [ebp - 0x10], edi
mov eax, dword [edi]
call dword [eax + 4]
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 1
push eax
call fcn.00401c60
add esp, 4
mov ecx, eax
mov edx, dword [eax]
push 0x20
mov eax, dword [edx + 0x20]
call eax
mov dword [ebp - 4], 0xffffffff
mov bl, al
test edi, edi
je 0x410f30
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 8]
test eax, eax
je 0x410f30
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
cmp dword [esi + 0x38], 0
mov byte [esi + 0x40], bl
pop ebx
jne 0x410f4d
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
and eax, 0x13
or eax, 4
mov dword [esi + 0xc], eax
and ecx, eax
jne 0x410f6e
cmp byte [ebp + 0xc], 0
je 0x410f5c
push esi
call fcn.0041677f
add esp, 4
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
test cl, 4
je 0x410f7a
mov esi, str.ios_base::badbit_set
jmp 0x410f8a
test cl, 2
mov esi, str.ios_base::failbit_set
mov eax, str.ios_base::eofbit_set
cmove esi, eax
lea eax, [ebp - 0x14]
push 1
push eax
call fcn.00403c80
add esp, 8
lea ecx, [ebp - 0x28]
push eax
push esi
call fcn.00402500
push 0x444034
lea eax, [ebp - 0x28]
push eax
call fcn.004180bf
int3
Function at 0x42442b
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x43b200
push 0x43b1f8
push str.FlsAlloc
push 0x1e
call fcn.00424298
mov esi, eax
add esp, 0x10
test esi, esi
je 0x42445f
push dword [ebp + 8]
mov ecx, esi
call dword [0x4361d0]
call esi
jmp 0x424465
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x4244a9
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x43b210
push 0x43b208
push str.FlsGetValue
push 0x20
call fcn.00424298
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4244e0
push dword [ebp + 8]
mov ecx, esi
call dword [0x4361d0]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x425b8a
Capabilities:
Read file on windows

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

Function at 0x425f87
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.004171d0
mov eax, dword [0x447060]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.00424a5e
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x425fc9
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x426125
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.004344a0
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x448d00]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.00426f7e
mov ecx, dword [esi*4 + 0x448d00]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x42611e
cmp eax, dword [edi + ecx + 0x24]
jne 0x42611e
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x42611e
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00426f7e
add esp, 0x14
test edx, edx
jl 0x42611e
jg 0x426094
test eax, eax
jb 0x42611e
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x42611e
jl 0x4260ae
cmp dword [ebp - 0x1008], eax
ja 0x42611e
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x4260cc
test ebx, ebx
je 0x426105
cmp ecx, edi
jae 0x426105
mov al, byte [ecx]
cmp al, 0xd
jne 0x4260e6
lea eax, [edi - 1]
cmp ecx, eax
jae 0x4260f2
cmp byte [ecx + 1], 0xa
jne 0x4260f2
inc ecx
jmp 0x4260f2
movzx eax, al
movsx eax, byte [eax + 0x4472d8]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x4260cc
cmp edx, ebx
jne 0x4260cc
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x426123
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004179ab
leave
ret