joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5744a8
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x30
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x54]
mov ebp, edx
mov ebx, ecx
mov dword [esp + 0x14], ebp
mov ecx, edi
call fcn.00579ed6
cmp dword [esp + 0x50], 0
je 0x57459b
mov eax, dword [esp + 0x44]
xorps xmm0, xmm0
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x48]
push ebp
movlpd qword [esp + 0x30], xmm0
mov dword [esp + 0x40], ebp
mov dword [esp + 0x3c], eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
xor esi, esi
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x58]
push dword [esp + 0x58]
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x574593
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebp
cmp eax, 0x26
je 0x57459b
cmp eax, 0x6d
je 0x57459b
cmp eax, 0x3e5
jne 0x5745a5
mov eax, dword [esp + 0x14]
mov ecx, edi
mov dword [esp + 0x18], eax
mov eax, dword [edi]
call dword [eax + 4]
mov edi, dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
mov dword [esp + 0x20], eax
call edi
push 0xffffffffffffffff
push esi
lea eax, [esp + 0x20]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
test eax, eax
jne 0x5745ac
push esi
call edi
push 1
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x34]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
jne 0x574593
call ebp
mov edi, eax
cmp edi, 0x26
je 0x574597
cmp edi, 0x6d
je 0x574597
push ebx
call dword [sym.imp.KERNEL32.dll_CancelIo]
mov ecx, edi
jmp 0x5745a7
mov esi, dword [esp + 0x10]
mov eax, esi
jmp 0x57459d
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
mov ecx, eax
call fcn.0057b7ff
push ebx
call dword [sym.imp.KERNEL32.dll_CancelIo]
lea ecx, [esp + 0x20]
call fcn.0041e720
push 0x600780
mov eax, ecx
push eax
call fcn.005936f7
int3

Function at 0x57633e
Capabilities:
Check for time delay via gettickcount

Disassembly:
push esi
push edi
mov esi, edx
mov edi, ecx
jmp 0x57630d
cmp eax, esi
jne 0x57632d
call fcn.005762c7
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 0x4ff
push 0xffffffffffffffff
push 0
push edi
push esi
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
cmp eax, 0xffffffff
je 0x576338
jmp 0x576304
jb 0x576335
call dword [0x5b49a4]
pop edi
pop esi
ret
call fcn.0054c6d1
int3
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x14]
mov esi, edx
mov ebp, ecx
cmp edi, 0xffffffff
jne 0x576358
pop edi
pop esi
pop ebp
pop ebx
jmp 0x5762fc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor ebx, ebx
mov dword [esp + 0x14], eax
test edi, edi
je 0x5763a2
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 0x4ff
mov eax, edi
sub eax, ebx
push eax
push 0
push ebp
push esi
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
cmp eax, 0xffffffff
je 0x5763bd
cmp eax, esi
jne 0x5763ac
call fcn.005762c7
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
sub ebx, dword [esp + 0x14]
cmp ebx, edi
jb 0x576368
mov eax, 0x102
pop edi
pop esi
pop ebp
pop ebx
ret
cmp eax, 0x102
je 0x5763a7
cmp eax, esi
jb 0x5763a7
call dword [0x5b49a4]
call fcn.0054c6d1
int3
Function at 0x58c060
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5b0485
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push esi
mov esi, dword [0x60fa10]
push edi
mov edi, ecx
test esi, esi
je 0x58c09e
nop word [eax + eax]
mov eax, dword [esi]
mov ecx, esi
push edi
call dword [eax]
mov esi, dword [esi + 4]
test esi, esi
jne 0x58c090
mov dword [ebp - 0x30], fcn.0058c4a0
mov dword [ebp - 0x2c], 0x5b57c4
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov byte [ebp - 0x1c], 0
mov ecx, edi
mov dword [ebp - 4], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x58c0d1
sub ecx, edx
push ecx
push edi
lea ecx, [ebp - 0x30]
call fcn.0058c4a0
mov eax, dword [ebp - 0x30]
lea ecx, [ebp - 0x30]
push 1
push 0x5bc19c
call dword [eax]
mov eax, dword [ebp - 0x30]
lea ecx, [ebp - 0x30]
call dword [eax + 4]
xor esi, esi
mov dword [ebp - 0x10], eax
xor edi, edi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], edi
or edx, 0xffffffff
mov byte [ebp - 4], 1
mov ecx, eax
call fcn.0058f330
mov ebx, eax
test ebx, ebx
je 0x58c12b
push ebx
lea ecx, [ebp - 0x18]
call fcn.004103b0
mov esi, dword [ebp - 0x18]
mov edi, ebx
mov edx, dword [ebp - 0x10]
mov ecx, esi
call fcn.0058f120
test edi, edi
mov eax, 0x5b5d98
cmovne eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov byte [ebp - 4], 2
test edi, edi
je 0x58c15f
push 0
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x14], 0
call fcn.004103b0
push dword [ebp - 0x24]
call dword [0x5b46d4]
mov ecx, dword [ebp - 0xc]
add esp, 4
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x58cfb0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b0523
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
mov eax, edx
mov esi, ecx
push edi
push eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], esi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov edi, eax
test edi, edi
js 0x58d121
mov ebx, 0
add edi, 1
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], ebx
je 0x58d00b
push edi
lea ecx, [ebp - 0x1c]
call fcn.004103b0
mov ebx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], edi
push edi
push ebx
push dword [ebp - 0x10]
xor eax, eax
mov word [ebx], ax
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jle 0x58d103
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov edx, edi
mov byte [ebp - 4], 1
mov ecx, ebx
call fcn.0058f3a0
mov dword [ebp - 0x10], eax
test eax, eax
je 0x58d054
push eax
lea ecx, [ebp - 0x24]
call fcn.00418b40
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x24]
mov edx, eax
push edi
push ebx
call fcn.0058f1c0
add esp, 8
mov edi, dword [ebp - 0x20]
mov ecx, 0x5b57c4
test edi, edi
mov dword [esi], fcn.0058c4a0
mov dword [esi + 4], 0x5b57c4
cmovne ecx, dword [ebp - 0x24]
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov byte [ebp - 4], 3
xor eax, eax
mov byte [esi + 0x14], 0
nop dword [eax]
cmp byte [ecx + eax], 0
je 0x58d0ac
inc eax
cmp eax, 0xffffffff
jb 0x58d0a0
push eax
push ecx
mov ecx, esi
call fcn.0058c580
mov byte [ebp - 4], 4
test edi, edi
je 0x58d0ce
push 0
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x20], 0
call fcn.00418b40
mov dword [ebp - 4], 5
cmp dword [ebp - 0x18], 0
jbe 0x58d16c
push 0
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x18], 0
call fcn.004103b0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 6
cmp dword [ebp - 0x18], 0
jbe 0x58d121
push 0
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x18], 0
call fcn.004103b0
mov dword [esi], fcn.0058c4a0
mov dword [esi + 4], 0x5b57c4
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [ebp - 4], 7
xor eax, eax
mov byte [esi + 0x14], 0
cmp byte [eax + 0x5b57c4], 0
je 0x58d15f
inc eax
cmp eax, 0xffffffff
jb 0x58d150
push eax
push 0x5b57c4
mov ecx, esi
call fcn.0058c580
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x58d1c0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
push esi
push edi
push 0x11
call ebx
movzx esi, ax
shr esi, 0xf
and esi, 1
push 0x10
add esi, esi
call ebx
shr eax, 0xf
mov edi, esi
or edi, 4
and al, 1
push 0x12
cmove edi, esi
call ebx
shr eax, 0xf
mov esi, edi
or esi, 1
and al, 1
push 0x5b
cmove esi, edi
call ebx
shr eax, 0xf
test al, 1
jne 0x58d210
push 0x5c
call ebx
shr eax, 0xf
test al, 1
je 0x58d213
or esi, 8
pop edi
mov eax, esi
pop esi
pop ebx
ret
Function at 0x591a20
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b0944
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
push edi
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov esi, eax
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x38]
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 0x2c]
test ecx, ecx
je 0x591a76
mov eax, dword [ecx]
lea edx, [ebp - 0x38]
push edx
call dword [eax]
mov dword [ebp - 0x14], eax
push 0x28
mov byte [ebp - 4], 2
call fcn.00592716
mov edi, eax
add esp, 4
mov dword [ebp - 0x10], edi
mov dword [edi + 0x24], 0
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x591aa3
mov eax, dword [ecx]
push edi
call dword [eax]
mov dword [edi + 0x24], eax
push 0
push 4
push edi
push 0x5919d0
push 0
push 0
call dword [0x5b4788]
mov edi, eax
add esp, 0x18
test edi, edi
je 0x591b16
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push edi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x591aee
mov edx, dword [ecx]
lea eax, [ebp - 0x38]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov ecx, dword [ebp + 0x2c]
test ecx, ecx
je 0x591b06
mov edx, dword [ecx]
lea eax, [ebp + 8]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret
call fcn.0054c700
int3

Function at 0x591b20
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b096d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], 0
lea eax, [ebp - 0x38]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 0x2c]
test ecx, ecx
je 0x591b6a
mov eax, dword [ecx]
lea edx, [ebp - 0x38]
push edx
call dword [eax]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 2
push eax
lea ecx, [edi + 8]
call fcn.0042a7b0
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x591b92
mov edx, dword [ecx]
lea eax, [ebp - 0x38]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov ecx, edi
mov ebx, eax
call fcn.00591960
push 0
push 4
push edi
push 0x5919c0
push 0
push 0
call dword [0x5b4788]
mov esi, eax
add esp, 0x18
test esi, esi
je 0x591c02
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [ebp + 0x2c]
mov dword [edi + 4], esi
test ecx, ecx
je 0x591bef
mov edx, dword [ecx]
lea eax, [ebp + 8]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x28
call fcn.0054c700
int3
Function at 0x1004c83
Capabilities:
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
push 4
pop eax
call fcn.01002df0
mov ebx, esp
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x1004ce9
mov edi, dword [ebp - 0x1c]
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [0x10062b8]
mov esi, dword [ebp - 0x40]
mov ecx, eax
dec ecx
neg ecx
sbb ecx, ecx
lea edx, [esi - 1]
and ecx, 0x103
not edx
and edx, ebx
inc ecx
sub edx, esi
dec eax
neg eax
sbb eax, eax
and eax, 0xfffffff1
add eax, 0x11
imul eax, esi
add eax, edi
cmp edx, eax
jae 0x1004ced
xor eax, eax
jmp 0x1004cfa
lea eax, [ebp - 4]
push eax
push ecx
push esi
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x50]
pop edi
pop esi
pop ebx
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 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 0x433001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
mov ecx, 0xa0e17a0
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x433024
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x4304d8
mov ecx, 0x3dc44306
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x433084
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43306c
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x1005a3f3
Capabilities:
Encode data using xor

Disassembly:
call 0x1005a36c
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or eax, dword [ebx - 0x178f73c]
xor esi, 0xde5af04
add eax, esi
lea esp, [esp - 0xe]
mov esi, dword [esp + 0xe]
lea esp, [esp + 0x12]
xor esi, dword [esp]
push eax
sub eax, 0xf24f2b00
mov eax, esp
or dword [eax - 0x22], ebx
pop eax
jmp 0x1005a39c
xor dword [esp], esi
xor eax, 0
mov dword [esp], esi
add esp, 4
add esi, dword [ebp + 8]
push ebp
add ebp, 0xc
mov ecx, dword [ebp]
pop ebp
ja 0x1005a3b8
xor edx, 0
jmp 0x1005a3c3
xor edx, edx
jmp 0x1005a3da
jmp 0x1005a3e6
xor eax, eax
push 0x8427d7c0
call 0x1005a3f3
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x1005a42f
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
add bl, dl
xor byte [esi], bl
mov dl, byte [esi]
inc esi
add ebx, edi
rol ebx, 8
dec ecx
jne 0x1005a408
lea esp, [esp - 4]
xchg dword [esp], ebx
mov ebx, dword [esp]
or eax, edx
xor eax, eax
add eax, dword [esp]
add esp, 4
pop esi
pop edi
pop ebx
xchg dword [esp], ecx
mov dword [esp], ecx
lea esp, [esp + 4]
pop edx
leave
je 0x1005a446
add eax, 0
jno 0x1005a44b
add esi, 0
ret 0x10

Function at 0x1005b1b4
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp - 0x63]
mov dword [esp + 0x5f], ebx
lea esp, [esp + 0x5f]
mov ebx, 0x8dff8662
xchg dword [esp], ebx
and dword [esp], ebp
jmp 0x1005b1d6
add ebx, 0
or dword [esp], ebp
mov ebp, esp
push eax
push edi
lea esp, [esp - 4]
xchg dword [esp], ecx
pop ecx
lea esp, [esp - 4]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp + 0x14]
ja 0x1005b378
cmp edi, dword [ebp + 0x10]
jb 0x1005b378
lea esi, [esi]
sub esi, 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
sub esp, 0x6a
mov dword [esp + 0x66], 0xc2ccbc3c
add esp, 0x66
mov dword [esp], edi
or edi, 0xffffffff
and edi, 0xcedcf875
xor edi, 0xce9c140e
xchg dword [esp], edi
push edx
mov edx, esp
xor edx, 0
add edx, 0
push ebx
lea ebx, [edx + 4]
mov dword [ebx], eax
pop ebx
pop edx
push edi
call fcn.1005aca0
inc edi
jmp 0x1005b25f
jmp 0x1005b26c
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.1005aca0
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.1005aca0
inc edi
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push 0
sub esi, 0
add dword [esp], edx
xor edx, edx
je 0x1005b2c0
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or edx, 0x13e27bd2
push ebx
add ebx, esi
mov ebx, esp
xor dword [ebx - 0x2a], edi
fdiv qword [ecx]
jnp 0x1005b2a4
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.1005b2ee
add dword [eax], 0x39
jle 0x1005b2ca
sub al, 0xf5
mov ch, al
call fcn.1005b303
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10
Function at 0x1005cfdb
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push ecx
push edx
push 0
sub esi, esi
shr esi, 9
and dword [esp - 0x69], ebx
jbe 0x1005cff1
add edi, 0
shr esi, 0x17
or esi, dword [esp]
add esp, 4
add esi, dword [ebp + 8]
xor eax, eax
xor edx, edx
cld
and dword [esp - 0x46], edx
xor ecx, ecx
rol edx, 7
and dword [esp - 0x4b], edx
xor dl, al
mov al, byte [esi]
inc esi
or al, al
jne 0x1005d002
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.1005d043
std
inc ebx
sar cl, 0x3e
lahf
in al, dx
mov ch, 0x4a
mov ebx, 0x971631d8
test byte [ebp - 0x5e], ch
xor eax, dword [ebx + 0x2b5108c4]
add esp, 8
push ecx
sub ecx, eax
mov ecx, esp
cmp dword [ecx - 0x51], edx

Function at 0x1005f3af
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0xffffffffffffffff
push esi
mov esi, esp
xor dword [esp - 0x43], esi
xor dword [esp - 0x45], esi
and dword [esi + 4], eax
pop esi
push 0
ja 0x1005f2f8
add ebx, 0
push ecx
call 0x1005f30d
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
add esp, 8
xor dword [esp], ebx
sub esp, 0x6b
mov dword [esp + 0x67], edx
add esp, 0x67
push ecx
push 0
xor dword [esp - 0x56], edx
xor edi, 0
add dword [esp], edi
push esi
mov ebx, 0x73037133
sub ebx, dword [0x73056972]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x73056962
call fcn.1005add7
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.1005a2e5
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x1005f46b
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x1005f46b
mov ecx, dword [esi + 0x10]
sub dword [esp - 0x34], ebx
xor ecx, edi
mov edx, dword [esi + 0x14]
xor edx, edi
shl edx, 2
add edx, 0x18
mov eax, dword [esi]
xor eax, edi
cmp eax, 1
je 0x1005f422
mov eax, 1
lock xchg dword [0x7305696e], eax
push 0x3dd1fc71
call 0x1005f3af
push esi
add esp, 8
cmp eax, 0
jne 0x1005f398
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x1005f3be
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x1005f3d3
cmp ecx, edx
cmp eax, 0
je 0x1005f3f8
mov dword [ebp - 4], eax
lea ecx, [esi + 0x18]
mov eax, dword [esi + ecx]
xor eax, edi
add eax, edx
add dword [esi + eax], ebx
add ecx, 4
dec dword [ebp - 4]
jne 0x1005f3e2
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.1005f411
dec eax
loope 0x1005f414
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x7305696e], 0
add edx, esi
mov dword [ebp + 4], edx
xchg dword [esp], esi
push ecx
lea ecx, [edi - 0x72d1f741]
mov ecx, esp
mov dword [ecx - 0x15], ebx
pop ecx
push esi
xor esi, esi
mov esi, esp
and dword [esi - 0x1d], ecx
pop esi
mov dword [esp], esi
jb 0x1005f448
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x1005f45d
jmp 0x1005f468
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x1005f356
Function at 0x100664d0
Capabilities:
Access peb ldr_data

Disassembly:
add esp, 8
and dword [esp], ebx
push ecx
push edx
push edi
push esi
or edi, 0xffffffff
not edi
add edi, dword [ebp + 8]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0xc]
push ecx
xor edx, edx
mov ecx, dword [ecx]
cmp ecx, dword [esp]
je 0x100667a6
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x730435e6
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x7303a5ac
push 0xffffffffffffffff
call fcn.1005d6d0
xchg edx, eax
and eax, 0
add eax, 0x75d46dc4
push ecx
and ecx, 0xcfb6d7ec
mov ecx, esp
mov dword [ecx - 0x54], esi
pop ecx
ja 0x1006653a
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.10066552
mov byte [0xee69f033], al
invalid
mov eax, ecx
pop esi
mov edi, dword [esp]
add esp, 4
pop edx
xor ecx, ecx
add ecx, 0xffffffff
and ecx, dword [esp]
xor ecx, 0
add esp, 4
pop ebx
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
jno 0x1006679a
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x1006676e
Function at 0x10075fa0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x10075fc2
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x10075fc2
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x10075fc2
ret
cmp word [ebx + 4], 0x14c
jne 0x10075fc2
test word [ebx + 0x16], 2
je 0x10075fc2
test word [ebx + 0x16], 0x100
je 0x10075fc2
cmp word [ebx + 0x18], 0x10b
jne 0x10075fc2
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x10075fc2
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x1007604e
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x10075fe2
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.1005cf2d
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x10075fc2
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8

Function at 0x1007604e
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x10075fc2
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x10075fc2
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x10075fc2
ret
cmp word [ebx + 4], 0x14c
jne 0x10075fc2
test word [ebx + 0x16], 2
je 0x10075fc2
test word [ebx + 0x16], 0x100
je 0x10075fc2
cmp word [ebx + 0x18], 0x10b
jne 0x10075fc2
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x10075fc2
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x1007604e
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x10075fe2
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.1005cf2d
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x10075fc2
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8