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

Disassembly:
push ebp
mov ebp, esp
movzx eax, byte [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
push dword [ebp + 0x14]
push eax
push esi
push str._SplashScreen__SplashType:__d__TextSwitch:__d__DisplayText:__s
push 0
call fcn.10005b90
mov eax, dword [0x1007b5a4]
add esp, 0x14
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, dword [sym.imp.USER32.dll_UnregisterClassA]
test eax, eax
je 0x10006157
push 0
push 0
push 0x10
push eax
call edi
push dword [0x1017cd34]
mov dword [0x1007b5a4], 0
push dword [0x1007b5bc]
call ebx
mov eax, dword [0x1007b6cc]
test eax, eax
je 0x10006181
push 0
push 0
push 0x10
push eax
call edi
push dword [0x1017cd34]
mov dword [0x1007b6cc], 0
push dword [0x1007b6e4]
call ebx
mov eax, dword [0x1007b7f4]
test eax, eax
je 0x100061ab
push 0
push 0
push 0x10
push eax
call edi
push dword [0x1017cd34]
mov dword [0x1007b7f4], 0
push dword [0x1007b80c]
call ebx
mov eax, esi
sub eax, 0
je 0x100061dc
sub eax, 1
je 0x100061d0
sub eax, 1
jne 0x100061c8
mov eax, 2
mov ecx, 0x2b39c0
jmp 0x100061e3
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x10]
jmp 0x100061e3
mov eax, 1
mov ecx, 0x227ee6
jmp 0x100061e3
xor eax, eax
mov ecx, 0xf1f0ec
cmp byte [ebp + 0x10], 0
mov esi, dword [ebp + 8]
je 0x10006207
push ecx
push dword [ebp + 0x14]
mov ecx, esi
push 1
push 0x808080
push dword [0x1017cd34]
push eax
call fcn.100064d0
jmp 0x1000621a
push 0x808080
push dword [0x1017cd34]
mov ecx, esi
push eax
call fcn.10006330
push 0
push 0
push esi
push 0x100062a0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 0x18]
test eax, eax
jle 0x1000628c
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp + 0xc], 0
je 0x1000628c
mov eax, dword [esi + 4]
test eax, eax
je 0x10006278
push 0
push 0
push 0x10
push eax
call edi
mov dword [esi + 4], 0
push dword [0x1017cd34]
push dword [esi + 0x1c]
call ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call 0x100067f0
jmp dword [pe_dos_header]
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x10006330
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [0x1017bda4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 0xc]
mov byte [esi + 0x20], 0
test eax, eax
jne 0x100063aa
mov edx, 0x4c
xor ecx, ecx
nop dword [eax]
mov al, byte [ecx + 0x1002ba58]
xor al, dl
mov byte [ebp + ecx - 0x20], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x1a
jb 0x10006360
push 0x10
push 0
push 0
push 0
lea eax, [ebp - 0x20]
mov byte [ebp - 6], 0
push eax
push edi
call dword [sym.imp.USER32.dll_LoadImageA]
xorps xmm0, xmm0
mov word [ebp - 8], 0
movups xmmword [ebp - 0x20], xmm0
mov byte [ebp - 6], 0
movq qword [ebp - 0x10], xmm0
jmp 0x1000646b
cmp eax, 1
jne 0x10006403
mov edx, 0x82
xor ecx, ecx
nop word [eax + eax]
mov al, byte [ecx + 0x1002ba74]
xor al, dl
mov byte [ebp + ecx - 0x3c], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x19
jb 0x100063c0
push 0x10
push 0
push 0
push 0
lea eax, [ebp - 0x3c]
mov byte [ebp - 0x23], 0
push eax
push edi
call dword [sym.imp.USER32.dll_LoadImageA]
xorps xmm0, xmm0
mov word [ebp - 0x24], 0
movups xmmword [ebp - 0x3c], xmm0
movq qword [ebp - 0x2c], xmm0
jmp 0x1000646b
push 0x8bd8c578
cmp eax, 2
jne 0x1000643d
lea ecx, [ebp - 0x58]
call fcn.10001eb0
push 0x10
push 0
push 0
push 0
push eax
push edi
call dword [sym.imp.USER32.dll_LoadImageA]
xorps xmm0, xmm0
mov word [ebp - 0x40], 0
movups xmmword [ebp - 0x58], xmm0
mov byte [ebp - 0x3e], 0
movq qword [ebp - 0x48], xmm0
jmp 0x1000646b
lea ecx, [ebp - 0x74]
call fcn.10001eb0
push 0x10
push 0
push 0
push 0
push eax
push edi
call dword [sym.imp.USER32.dll_LoadImageA]
xorps xmm0, xmm0
mov word [ebp - 0x5c], 0
movups xmmword [ebp - 0x74], xmm0
mov byte [ebp - 0x5a], 0
movq qword [ebp - 0x64], xmm0
push eax
mov ecx, esi
call fcn.10006090
mov ecx, dword [esi + 4]
mov eax, dword [ebp + 0x10]
mov dword [esi + 0xc], eax
test ecx, ecx
je 0x100064b7
cmp dword [0x1017cd50], 0
je 0x100064b7
test eax, eax
je 0x100064b7
push 0xffffffffffffffec
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongA]
or eax, 0x80000
push eax
push 0xffffffffffffffec
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 1
push 0
push dword [esi + 0xc]
push dword [esi + 4]
call dword [0x1017cd50]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1000deee
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100064d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [0x1017bda4]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0x18]
mov al, byte [ebp + 0x14]
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 0xc]
push edx
mov byte [esi + 0x20], al
lea eax, [esi + 0x21]
push 0xff
push eax
call fcn.100132e1
mov eax, dword [ebp + 0x1c]
add esp, 0xc
mov dword [esi + 0x120], eax
mov eax, dword [ebp + 8]
test eax, eax
jne 0x1000656a
mov edx, 0x4c
xor ecx, ecx
nop dword [eax]
mov al, byte [ecx + 0x1002ba58]
xor al, dl
mov byte [ebp + ecx - 0x20], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x1a
jb 0x10006520
push 0x10
push 0
push 0
push 0
lea eax, [ebp - 0x20]
mov byte [ebp - 6], 0
push eax
push edi
call dword [sym.imp.USER32.dll_LoadImageA]
xorps xmm0, xmm0
mov word [ebp - 8], 0
movups xmmword [ebp - 0x20], xmm0
mov byte [ebp - 6], 0
movq qword [ebp - 0x10], xmm0
jmp 0x1000662b
cmp eax, 1
jne 0x100065c3
mov edx, 0x82
xor ecx, ecx
nop word [eax + eax]
mov al, byte [ecx + 0x1002ba74]
xor al, dl
mov byte [ebp + ecx - 0x3c], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x19
jb 0x10006580
push 0x10
push 0
push 0
push 0
lea eax, [ebp - 0x3c]
mov byte [ebp - 0x23], 0
push eax
push edi
call dword [sym.imp.USER32.dll_LoadImageA]
xorps xmm0, xmm0
mov word [ebp - 0x24], 0
movups xmmword [ebp - 0x3c], xmm0
movq qword [ebp - 0x2c], xmm0
jmp 0x1000662b
push 0x8bd8c578
cmp eax, 2
jne 0x100065fd
lea ecx, [ebp - 0x58]
call fcn.10001eb0
push 0x10
push 0
push 0
push 0
push eax
push edi
call dword [sym.imp.USER32.dll_LoadImageA]
xorps xmm0, xmm0
mov word [ebp - 0x40], 0
movups xmmword [ebp - 0x58], xmm0
mov byte [ebp - 0x3e], 0
movq qword [ebp - 0x48], xmm0
jmp 0x1000662b
lea ecx, [ebp - 0x74]
call fcn.10001eb0
push 0x10
push 0
push 0
push 0
push eax
push edi
call dword [sym.imp.USER32.dll_LoadImageA]
xorps xmm0, xmm0
mov word [ebp - 0x5c], 0
movups xmmword [ebp - 0x74], xmm0
mov byte [ebp - 0x5a], 0
movq qword [ebp - 0x64], xmm0
push eax
mov ecx, esi
call fcn.10006090
mov ecx, dword [esi + 4]
mov eax, dword [ebp + 0x10]
mov dword [esi + 0xc], eax
test ecx, ecx
je 0x10006677
cmp dword [0x1017cd50], 0
je 0x10006677
test eax, eax
je 0x10006677
push 0xffffffffffffffec
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongA]
or eax, 0x80000
push eax
push 0xffffffffffffffec
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 1
push 0
push dword [esi + 0xc]
push dword [esi + 4]
call dword [0x1017cd50]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1000deee
mov esp, ebp
pop ebp
ret 0x18
Function at 0x10008d00
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10029478
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x1017bda4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x80], 0
cmp dword [ebp + 0x20], 0x10
lea eax, [ebp + 0xc]
push dword [ebp + 0x1c]
cmovae eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x7c]
push eax
mov dword [ebp - 4], 0
mov byte [ebp - 0x7c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0x67452301
mov dword [ebp - 0x2c], 0xefcdab89
mov dword [ebp - 0x28], 0x98badcfe
mov dword [ebp - 0x24], 0x10325476
call fcn.1000a880
lea ecx, [ebp - 0x7c]
call fcn.100084a0
push esi
lea ecx, [ebp - 0x7c]
call fcn.10008860
mov ecx, dword [ebp + 0x20]
cmp ecx, 0x10
jb 0x10008da5
inc ecx
push ecx
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.10007ed0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1000deee
mov esp, ebp
pop ebp
ret

Function at 0x10009550
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x200
mov eax, dword [0x1017bda4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x10]
lea eax, [ebp - 0x1f8]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
push 0x1f4
push 0
push eax
call fcn.10010a40
add esp, 0xc
lea eax, [ebp - 0x1fc]
push eax
push 0x20019
push 0
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x100095fc
lea eax, [ebp - 0x200]
push eax
lea eax, [ebp - 0x1f8]
push eax
push 0
push 0
push ebx
push dword [ebp - 0x1fc]
call esi
test eax, eax
jne 0x100095fc
push 0x1f4
lea eax, [ebp - 0x1f8]
push 0
push eax
call fcn.10010a40
add esp, 0xc
push dword [ebp - 0x1fc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000deee
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x200]
push eax
lea eax, [ebp - 0x1f8]
push eax
push 0
push 0
push ebx
push dword [ebp - 0x1fc]
call esi
test eax, eax
je 0x100095c4
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000deee
mov esp, ebp
pop ebp
ret
Function at 0x1000af40
Capabilities:
Allocate or change rwx memory

Disassembly:
mov eax, dword [0x1017dcfc]
test eax, eax
je 0x1000af5c
nop dword [eax]
cmp dword [eax + 4], 0
jne 0x1000afb6
mov eax, dword [eax]
test eax, eax
jne 0x1000af50
push 0x40
push 0x3000
push 0x1000
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ecx, eax
test ecx, ecx
je 0x1000afb4
push esi
lea edx, [ecx + 0x20]
mov dword [ecx + 4], 0
mov esi, edx
mov dword [ecx + 8], 0
sub esi, ecx
nop dword [eax]
mov eax, dword [ecx + 4]
add esi, 0x20
mov dword [edx], eax
mov dword [ecx + 4], edx
add edx, 0x20
cmp esi, 0xfe0
jbe 0x1000af90
mov eax, dword [0x1017dcfc]
mov dword [ecx], eax
mov dword [0x1017dcfc], ecx
pop esi
mov eax, ecx
ret
Function at 0x1000b7b0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [0x1017dcf8]
push esi
push edi
xor edi, edi
xor esi, esi
mov dword [ebp - 4], edi
test ebx, ebx
je 0x1000b8b3
mov eax, dword [0x1017dcf0]
mov edx, dword [ebp + 8]
add eax, 0x14
nop dword [eax]
movzx ecx, byte [eax]
shr ecx, 1
and ecx, 1
cmp ecx, edx
jne 0x1000b7fd
inc esi
add eax, 0x2c
cmp esi, ebx
jb 0x1000b7e0
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp esi, 0xffffffff
je 0x1000b8b3
xor eax, eax
test edx, edx
setne al
push eax
lea eax, [ebp - 0x10]
push 0xffffffffffffffff
push eax
call fcn.1000bc50
mov edx, dword [0x1017dcf8]
add esp, 0xc
cmp esi, edx
jae 0x1000b867
mov ecx, dword [ebp + 8]
imul ebx, esi, 0x2c
nop dword [eax]
mov eax, dword [0x1017dcf0]
movzx eax, byte [ebx + eax + 0x14]
shr eax, 1
and eax, 1
cmp eax, ecx
je 0x1000b85c
push ecx
push esi
call fcn.1000b980
mov edi, eax
add esp, 8
test edi, edi
jne 0x1000b864
mov edx, dword [0x1017dcf8]
mov ecx, dword [ebp + 8]
inc esi
add ebx, 0x2c
cmp esi, edx
jb 0x1000b830
mov dword [ebp - 4], edi
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x1000b8b3
xor esi, esi
cmp dword [ebp - 8], esi
jbe 0x1000b8a4
mov edi, eax
push dword [edi + esi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ebx, eax
test ebx, ebx
je 0x1000b898
push ebx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [ebp - 8]
jb 0x1000b877
mov edi, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
push eax
push 0
push dword [0x1017cfd8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000b980
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
imul esi, dword [ebp + 8], 0x2c
mov eax, 5
push edi
mov dword [ebp + 8], eax
add esi, dword [0x1017dcf0]
test byte [esi + 0x14], 1
mov edi, dword [esi]
je 0x1000b9aa
sub edi, eax
mov eax, 7
mov dword [ebp + 8], eax
lea ecx, [ebp - 4]
push ecx
push 0x40
push eax
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1000b9c7
pop edi
mov eax, 0xa
pop esi
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x1000b9ec
mov byte [edi], 0xe9
mov eax, dword [esi + 4]
sub eax, edi
sub eax, 5
mov dword [edi + 1], eax
test byte [esi + 0x14], 1
je 0x1000ba0d
mov eax, dword [esi]
mov word [eax], 0xf9eb
jmp 0x1000ba0d
mov eax, dword [esi + 0xc]
test byte [esi + 0x14], 1
mov dword [edi], eax
je 0x1000ba07
mov ax, word [esi + 0x10]
mov word [edi + 4], ax
mov al, byte [esi + 0x12]
mov byte [edi + 6], al
jmp 0x1000ba0d
mov al, byte [esi + 0x10]
mov byte [edi + 4], al
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov al, byte [esi + 0x14]
and bl, 1
mov cl, bl
and al, 0xfd
add cl, cl
shl bl, 2
or cl, al
and cl, 0xfb
or cl, bl
xor eax, eax
pop ebx
pop edi
mov byte [esi + 0x14], cl
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1000bab0
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x1017bda4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
push 0
push 4
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x1000bb97
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x1000bb90
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
nop dword [eax]
cmp dword [ebp - 0x20], 0x10
jb 0x1000bb76
call ebx
cmp dword [ebp - 0x14], eax
jne 0x1000bb76
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x18], eax
je 0x1000bb76
mov ecx, dword [esi]
test ecx, ecx
jne 0x1000bb3f
push 0x200
push ecx
mov dword [esi + 4], 0x80
push dword [0x1017cfd8]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [esi], eax
test eax, eax
je 0x1000bb8f
jmp 0x1000bb68
mov eax, dword [esi + 4]
cmp dword [esi + 8], eax
jb 0x1000bb68
shl eax, 3
push eax
push ecx
push 0
push dword [0x1017cfd8]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
test eax, eax
je 0x1000bb8f
mov ecx, dword [esi + 4]
add ecx, ecx
mov dword [esi], eax
mov dword [esi + 4], ecx
mov edx, dword [esi + 8]
mov ecx, dword [esi]
mov eax, dword [ebp - 0x18]
mov dword [ecx + edx*4], eax
inc dword [esi + 8]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x1000bb00
pop ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1000deee
mov esp, ebp
pop ebp
ret
Function at 0x1000bc50
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.1000bab0
add esp, 4
cmp dword [esi], 0
je 0x1000bcbc
push edi
xor edi, edi
cmp dword [esi + 8], edi
jbe 0x1000bcbb
push ebx
mov eax, dword [esi]
push dword [eax + edi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ebx, eax
test ebx, ebx
je 0x1000bcb4
push ebx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.1000beb0
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [esi + 8]
jb 0x1000bc82
pop ebx
pop edi
pop esi
pop ebp
ret

Function at 0x1000bff0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 8]
cmp dword [edi], 0
je 0x1000c040
push esi
xor esi, esi
cmp dword [edi + 8], esi
jbe 0x1000c02f
push ebx
mov eax, dword [edi]
push dword [eax + esi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ebx, eax
test ebx, ebx
je 0x1000c028
push ebx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [edi + 8]
jb 0x1000c005
pop ebx
push dword [edi]
push 0
push dword [0x1017cfd8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop esi
pop edi
pop ebp
ret
Function at 0x1001a4ba
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1001a339

Function at 0x10020a55
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10020715
Function at 0x437644
Capabilities:
Encode data using xor

Disassembly:
sub ch, dl
xor dword [ecx - 0x16], ecx
mov ebp, 0x1e0ccf7e
loop fcn.00437644
out 0x5f, eax
or eax, 0xc4b0329a
outsd dx, dword [esi]
push ebp
or al, byte [eax - 0x5c]
sar dword [ebx], 1
rcr dword [edi + edx*4 - 0x383d31c1], 0xe2
mov eax, 0x4ab8c8fb
pop eax
invalid

Function at 0x4519fc
Capabilities:
Encode data using xor

Disassembly:
pop edx
mov cl, 0x8a
out dx, eax
movsd dword es:[edi], dword [esi]
or eax, 0xff056dce
cmp eax, dword [ebp - 0x78]
add ch, byte [eax + 0x4d]
xlatb
adc al, 0x6c
sal dword [ebx - 0x33], 1
out 0x90, al
push edi
test dword [edx], ebp
sbb byte [ebp - 0x43], dh
aaa
pop es
ljmp 0x319f
adc byte [ebx + 0x6a159699], dh
invalid
jp 0x451a2b
pop edi
mov ecx, 0x905fa13a
nop
add dword [eax + 0x1c8a9c2f], edx
mov al, byte [0x6a1c4a70]
xlatb
dec ebx
add byte [edi - 0x5e9fb4a1], 0x2e
jecxz 0x451a7d
pop ebx
je 0x451a98
rol edi, cl
bnd jae 0x4519e9
fadd qword [esi]
neg dword [ecx - 0x29]
sbb eax, 0x7f1d62a7
invalid
jg 0x4519bc
xchg ebx, eax
mov bh, 0x5f
scasb al, byte es:[edi]
xlatb
add ebx, dword [ebx - 0x3b]
clc
push cs
idiv dword [eax + eax*4 - 0x4f]
mov byte [0x5b739f68], al
out 0xab, eax
xor bl, byte [ebp - 0x37]
ficomp dword [eax + 0x1b]
div byte [ebp + 0x68]
mov dword [0xba43116c], eax
lahf
lcall 0x4b2c, 0xdc793f5a
outsd dx, dword [esi]
xchg dword [ebp + 0x5c], edi
pop esp
jns 0x451a03
xor bh, 0x51
xor dh, dl
dec edx
in al, dx
dec eax
mov byte [0x497e766b], al
lcall 0xe6fa, 0x4af87b33
xor ecx, ebx
and edi, dword [eax + ebp + 0x66]
inc ebx
arpl bx, dx
movsd dword es:[edi], dword [esi]
jnp 0x451a5c
shl dword [ebp - 0x20dc2485], cl
and ebx, edi
sti
xor dword [esi], edi
out 0x5b, al
aaa
push esi
jecxz 0x451af1
fisub dword [esi - 0x76]
jae 0x451ae9
inc edi
xor ebp, esi
add dword [edi + 0x39f37fa1], ebx
shr dword [edi + 0x26], cl
std
mov eax, dword [0xd339f37f]
insb byte es:[edi], dx
daa
std
scasb al, byte es:[edi]
pop es
xor edi, dword [edi + edi*8]
cmp al, 0xff
sbb edx, dword [edx + edi*4 + 0x7b72387f]
insb byte es:[edi], dx
sahf
aas
jnp 0x451aaf
retf
mov edi, 0x4fa8d4b6
mov eax, 0x16f5b490
cmc
push ss
mov ecx, esp
mul byte [edx]
jb 0x451aa4
push 0x6e7b495a
xor dh, dl
dec edx
cmp al, 0xeb
in al, dx
or eax, 0x67938a83
mov edi, 0x42f9a359
pop ecx
aaa
hlt
Function at 0x4b9491
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4c13d8
cmp edx, dword [eax]
je 0x4b94b3
add eax, 8
inc ecx
cmp eax, 0x4c1468
jl 0x4b94a4
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4c13d8]
jne 0x4b95e1
mov eax, dword [0x4c5d5c]
cmp eax, 1
je 0x4b95bb
test eax, eax
jne 0x4b94e4
cmp dword [0x4c1300], 1
je 0x4b95bb
cmp edx, 0xfc
je 0x4b95e1
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4b951b
lea eax, [ebp - 0x1a4]
push 0x4be960
push eax
call fcn.004b9e70
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004ba300
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4b955e
lea eax, [ebp - 0x1a4]
push eax
call fcn.004ba300
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4be95c
push edi
call fcn.004bc1d0
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x4be940
push eax
call fcn.004b9e70
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004b9e80
lea eax, [ebp - 0xa0]
push 0x4be93c
push eax
call fcn.004b9e80
push dword [esi + 0x4c13dc]
lea eax, [ebp - 0xa0]
push eax
call fcn.004b9e80
push 0x12010
lea eax, [ebp - 0xa0]
push 0x4be914
push eax
call fcn.004bc144
add esp, 0x2c
pop edi
jmp 0x4b95e1
lea eax, [ebp + 8]
lea esi, [esi + 0x4c13dc]
push 0
push eax
push dword [esi]
call fcn.004ba300
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 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 0x4247d8
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0042447a

Function at 0x4247e3
Capabilities:
Read file on windows

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

Function at 0x424bdd
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.0040f0b0
mov eax, dword [0x488ac0]
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.004233a3
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x424c1f
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x424d7b
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00430920
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 + 0x48a908]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.00425dad
mov ecx, dword [esi*4 + 0x48a908]
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 0x424d74
cmp eax, dword [edi + ecx + 0x24]
jne 0x424d74
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 0x424d74
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00425dad
add esp, 0x14
test edx, edx
jl 0x424d74
jg 0x424cea
test eax, eax
jb 0x424d74
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x424d74
jl 0x424d04
cmp dword [ebp - 0x1008], eax
ja 0x424d74
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x424d22
test ebx, ebx
je 0x424d5b
cmp ecx, edi
jae 0x424d5b
mov al, byte [ecx]
cmp al, 0xd
jne 0x424d3c
lea eax, [edi - 1]
cmp ecx, eax
jae 0x424d48
cmp byte [ecx + 1], 0xa
jne 0x424d48
inc ecx
jmp 0x424d48
movzx eax, al
movsx eax, byte [eax + 0x488d80]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x424d22
cmp edx, ebx
jne 0x424d22
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x424d79
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0040e599
leave
ret