joyce8/EMBER2024-capa huggingface dataset:
Function at 0x55e140
Capabilities:
Enumerate pe sections

Disassembly:
push edi
mov edi, dword [esp + 0xc]
test edi, edi
je 0x55e25d
push ebx
mov ebx, dword [edi + 0x20]
push ebp
mov ebp, dword [esp + 0x18]
push esi
push ebx
mov edx, 0x12311998
mov eax, ebp
call fcn.0055db70
and eax, dword [edi + 0x28]
mov ecx, dword [edi + 0x30]
mov esi, dword [ecx + eax*8]
add esp, 4
test esi, esi
je 0x55e25a
xor eax, eax
test ebx, ebx
lea ecx, [esi + 0x14]
jbe 0x55e191
mov edx, dword [ecx]
add ecx, 4
cmp edx, dword [ebp + eax*4]
jne 0x55e1e6
inc eax
cmp eax, ebx
jb 0x55e181
cmp dword [edi + 0x34], esi
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
jne 0x55e19f
mov dword [edi + 0x34], eax
cmp dword [edi + 0x38], esi
jne 0x55e1a7
mov dword [edi + 0x38], ecx
test eax, eax
je 0x55e1ae
mov dword [eax + 0xc], ecx
test ecx, ecx
je 0x55e1b5
mov dword [ecx + 8], eax
mov eax, dword [esi]
test eax, eax
je 0x55e1c1
mov ecx, dword [esi + 4]
mov dword [eax + 4], ecx
mov eax, dword [esi + 4]
test eax, eax
je 0x55e1cc
mov edx, dword [esi]
mov dword [eax], edx
mov ecx, dword [edi + 0x18]
test ecx, ecx
mov eax, dword [esi + 0x10]
mov ebx, dword [esp + 0x14]
jne 0x55e1f1
push eax
push ebx
call fcn.00557b30
add esp, 8
jmp 0x55e213
mov esi, dword [esi]
test esi, esi
jne 0x55e178
pop esi
pop ebp
pop ebx
pop edi
ret
mov cx, word [eax]
movzx edx, word [eax + 4]
neg cx
sbb ecx, ecx
and ecx, 3
inc ecx
imul ecx, edx
movzx edx, word [eax + 2]
movzx eax, word [eax + 6]
imul ecx, edx
lea eax, [ecx + eax*4 + 0x14]
mov ecx, dword [edi + 0x2c]
mov ebp, dword [edi + 4]
mov edx, dword [edi + 0xc]
add ecx, eax
sub ebp, ecx
mov ecx, dword [edi + 0x18]
dec edx
test ecx, ecx
mov dword [edi + 4], ebp
mov dword [edi + 0xc], edx
mov eax, dword [esi + 0x10]
push eax
push ebx
jne 0x55e249
call fcn.0055d150
add esp, 8
push esi
call fcn.0043f0a0
add esp, 4
pop esi
pop ebp
pop ebx
pop edi
ret
call fcn.0055db50
add esp, 8
push esi
call fcn.0043f0a0
add esp, 4
pop esi
pop ebp
pop ebx
pop edi
ret
Function at 0x577b00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x14
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x40]
push esi
mov esi, dword [esp + 0x2c]
add edx, edx
add esi, esi
test ecx, ecx
mov dword [esp + 0xc], edx
jle 0x577c99
mov eax, dword [esp + 0x28]
sub eax, edx
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x24]
sub eax, edx
mov edx, dword [esp + 0x3c]
push ebx
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x34], eax
push ebp
mov eax, ebx
sub eax, esi
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x48]
push edi
mov edi, dword [esp + 0x28]
lea edx, [edx + eax*4]
mov ebp, edi
sub ebp, esi
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x48]
add eax, ecx
lea eax, [edx + eax*4]
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], ecx
jmp 0x577b71
mov ebp, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov ecx, dword [edx*4 + 0x5ed618]
lea eax, [edi + esi*2]
push eax
lea edx, [esi + edi]
push edx
push edi
push ebp
mov dword [esp + 0x30], ecx
call fcn.00577750
lea eax, [edi + esi*2 + 0x10]
push eax
lea ecx, [esi + edi + 0x10]
push ecx
mov ecx, dword [esp + 0x38]
lea edx, [edi + 0x10]
push edx
lea eax, [ebp + 0x10]
push eax
call fcn.00577750
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx]
lea eax, [ebx + esi*2]
push eax
add ebp, 0x20
lea ecx, [esi + ebx]
push ecx
mov dword [esp + 0x48], ebp
mov ebp, dword [edx*4 + 0x5ed618]
mov edx, dword [esp + 0x60]
push ebx
push edx
mov ecx, ebp
add edi, 0x20
call fcn.00577750
lea eax, [ebx + esi*2 + 0x10]
push eax
mov eax, dword [esp + 0x6c]
lea ecx, [esi + ebx + 0x10]
push ecx
lea edx, [ebx + 0x10]
push edx
add eax, 0x10
push eax
mov ecx, ebp
call fcn.00577750
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x58]
add eax, 0x20
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x70]
lea edx, [eax + ecx*2]
add esp, 0x40
push edx
add ecx, eax
push ecx
push eax
mov eax, dword [esp + 0x48]
push eax
mov ecx, ebp
add ebx, 0x20
call fcn.00577750
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x28]
lea edx, [eax + ecx*2]
push edx
add ecx, eax
push ecx
push eax
mov eax, dword [esp + 0x6c]
push eax
mov ecx, ebp
call fcn.00577750
mov ebp, dword [esp + 0x50]
mov edx, dword [esp + 0x5c]
mov eax, 0x10
add ebp, eax
add esp, 0x20
mov dword [esp + 0x30], ebp
add edx, eax
mov ecx, dword [esp + 0x34]
mov ebp, dword [esp + 0x50]
add ecx, eax
add ebp, eax
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x14]
mov eax, 4
add edx, eax
add ecx, eax
mov eax, dword [esp + 0x1c]
dec eax
mov dword [esp + 0x50], ebp
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], eax
jne 0x577b6d
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x14
ret
Function at 0x578540
Capabilities:
Create thread

Disassembly:
mov eax, dword [0x629f9c]
test eax, eax
je 0x57858e
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0
push 0
push 0
push 0
call esi
push 0
push 0
push 0
push 0
mov dword [0x6f8d00], eax
call esi
push 0
push 0
push 0
push 0x578500
push 0
push 0
mov dword [0x6f8cfc], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x629f9c], 0
pop esi
mov eax, dword [0x6f8d00]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
ret
Function at 0x580ad0
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 8]
mov eax, ecx
cdq
and edx, 7
push ebx
mov ebx, dword [esp + 0x10]
add eax, edx
push ebp
sar eax, 3
and ecx, 7
test eax, eax
push esi
mov esi, dword [esp + 0x10]
mov ebp, ecx
jle 0x580b1c
push edi
mov edi, eax
push 8
mov ecx, esi
call fcn.0057bd00
xor edx, edx
mov ecx, ebx
shr ecx, 8
mov dh, bl
xor eax, ecx
and eax, 0xff
xor edx, dword [eax*4 + 0x5f2990]
dec edi
mov ebx, edx
jne 0x580af6
pop edi
test ebp, ebp
jle 0x580b48
push 1
mov ecx, esi
call fcn.0057bd00
mov ecx, ebx
shr ecx, 0xf
and ecx, 1
and ebx, 0x7fff
xor eax, ecx
shl ebx, 1
test eax, eax
je 0x580b45
xor ebx, 0x8005
dec ebp
jne 0x580b20
pop esi
pop ebp
mov eax, ebx
pop ebx
ret

Function at 0x582bce
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 8]
xor eax, eax
test edx, edx
je 0x582bf2
mov ecx, dword [esp + 4]
push esi
mov esi, eax
shl eax, 4
sar esi, 0x1c
xor esi, eax
movzx eax, word [ecx]
xor eax, esi
inc ecx
inc ecx
dec edx
jne 0x582bdd
pop esi
ret
Function at 0x5bf5c0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
sub esp, 0x18
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x10c]
test eax, eax
lea esi, [edi + 0x10c]
je 0x5bf6eb
mov al, byte [edi + 0x40]
test al, al
jne 0x5bf6eb
mov edx, dword [edi + 0x24]
lea eax, [esp + 8]
inc edx
push eax
mov dword [edi + 0x24], edx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [0x6f8f18]
or ecx, dword [0x6f8f1c]
jne 0x5bf611
push 0x6f8f18
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov edx, dword [0x6f8f1c]
mov eax, dword [0x6f8f18]
mov ecx, dword [esp + 0x24]
push ebx
push ebp
push edx
push eax
push 0
push ecx
call fcn.004eb5b0
push 0
push 0x3e8
push edx
push eax
call fcn.004eb5f0
add eax, dword [esp + 0x10]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x14]
mov ebp, edx
adc ebp, eax
lea ebx, [ebx]
mov ebx, dword [esi]
test ebx, ebx
je 0x5bf6a2
mov eax, dword [0x632608]
cmp ebx, eax
jbe 0x5bf661
mov ebx, eax
test ebx, ebx
jbe 0x5bf681
mov eax, dword [esi]
mov edx, dword [esi + 8]
dec eax
mov dword [esi], eax
mov ecx, dword [edx + eax*8]
mov eax, dword [edx + eax*8 + 4]
push esi
push eax
push ecx
mov ecx, edi
call fcn.005bea80
dec ebx
jne 0x5bf665
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [esp + 0x1c]
cmp ecx, ebp
ja 0x5bf6a6
jb 0x5bf650
mov edx, dword [esp + 0x18]
cmp edx, dword [esp + 0x20]
jae 0x5bf6a6
jmp 0x5bf650
mov byte [edi + 0x40], 1
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x14]
mov edx, dword [edi + 0x18]
mov dword [edi + 0x118], eax
sub eax, ebx
mov dword [edi + 0x11c], ecx
sbb ecx, esi
add edx, eax
mov eax, dword [edi + 0x1c]
pop ebp
adc eax, ecx
pop ebx
mov dword [edi + 0x18], edx
mov dword [edi + 0x1c], eax
pop edi
pop esi
add esp, 0x18
ret 4
mov ecx, edi
call fcn.005bf1d0
pop edi
pop esi
add esp, 0x18
ret 4
Function at 0x5bf700
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 0x24]
push edi
mov dword [esi + 0x20], eax
mov byte [esi + 0x100], 0
mov byte [esi + 0x109], 1
call fcn.005bd380
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea ebp, [esi + 0x334]
mov ecx, ebp
call fcn.0040c770
mov edi, dword [esi + 0x338]
test edi, edi
je 0x5bf767
lea ebx, [esi + 0x10c]
lea ebx, [ebx]
mov ecx, dword [edi + 0x14]
mov eax, dword [edi + 0x10]
push ebx
push ecx
push eax
mov ecx, esi
call fcn.005bea80
mov edi, dword [edi + 8]
test edi, edi
jne 0x5bf750
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [esp + 0x10]
mov ebp, dword [esp + 0x18]
mov edi, dword [esi + 0x18]
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x1c]
mov edx, dword [esi + 0x1c]
sub eax, ebp
sbb ecx, ebx
add edi, eax
adc edx, ecx
push 0xa
mov ecx, esi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edx
call fcn.005bf5c0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret

Function at 0x5bfc80
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x24
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [esp + 4]
add esp, 0x24
ret

Function at 0x5bfd10
Capabilities:
Allocate or change rwx memory

Disassembly:
push ecx
mov cl, byte [esp + 0x10]
mov edx, dword [esp + 0xc]
neg cl
lea eax, [esp]
push eax
mov eax, dword [esp + 0xc]
mov dword [esp + 4], 0
sbb ecx, ecx
and ecx, 0xffffffe0
add ecx, 0x40
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop ecx
ret 0xc

Function at 0x5d30d5
Capabilities:
Terminate process

Disassembly:
push 8
push 0x5fb650
call fcn.005d3220
push 8
call fcn.005d35d8
pop ecx
xor edi, edi
mov dword [ebp - 4], edi
xor esi, esi
inc esi
cmp dword [0x6f99a4], esi
jne 0x5d3109
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [0x6f99a0], esi
mov al, byte [ebp + 0x10]
mov byte [0x6f999c], al
cmp dword [ebp + 0xc], edi
jne 0x5d3153
cmp dword [0x6fa068], edi
je 0x5d3143
mov eax, dword [0x6fa064]
sub eax, 4
mov dword [0x6fa064], eax
cmp eax, dword [0x6fa068]
jb 0x5d3143
mov eax, dword [eax]
cmp eax, edi
je 0x5d3124
call eax
jmp 0x5d3124
push 0x5ff028
mov eax, 0x5ff024
call fcn.005d30bd
pop ecx
push 0x5ff030
mov eax, 0x5ff02c
call fcn.005d30bd
pop ecx
or dword [ebp - 4], 0xffffffff
call fcn.005d3184
cmp dword [ebp + 0x10], edi
jne 0x5d3192
mov dword [0x6f99a4], esi
push dword [ebp + 8]
call fcn.005d307b
xor edi, edi
xor esi, esi
inc esi
call fcn.005d325b
ret
Function at 0x5d452e
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 8]
test bl, 3
jne 0x5d455c
mov eax, dword fs:[0x18]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
cmp ebx, ecx
mov dword [ebp - 4], ecx
jb 0x5d4563
cmp ebx, dword [eax + 4]
jae 0x5d4563
xor eax, eax
jmp 0x5d4753
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x5d4574
xor eax, eax
inc eax
jmp 0x5d4752
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x5d458a
cmp ecx, edx
jae 0x5d46cf
cmp dword [eax + 4], 0
je 0x5d4593
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x5d457b
cmp dword [ebp + 8], 0
je 0x5d45b5
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x5d46cf
cmp eax, esi
jae 0x5d46cf
mov eax, dword [0x6f9b08]
mov edi, ebx
and edi, 0xfffff000
xor esi, esi
test eax, eax
jle 0x5d45da
cmp dword [esi*4 + 0x6f9b10], edi
je 0x5d46d3
inc esi
cmp esi, eax
jl 0x5d45c8
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x5d474f
cmp dword [ebp - 8], 0x1000000
jne 0x5d474f
test byte [ebp - 0xc], 0xcc
je 0x5d4658
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x5d474f
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x5d474f
cmp word [eax + 0x18], 0x10b
jne 0x5d474f
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x5d474f
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x5d4658
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x5d4658
test byte [ecx + 0x27], 0x80
jne 0x5d46cf
push 1
push 0x6f9b50
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
test eax, eax
jne 0x5d456c
mov ecx, dword [0x6f9b08]
test ecx, ecx
mov edx, ecx
jle 0x5d468c
lea eax, [ecx*4 + 0x6f9b0c]
cmp dword [eax], edi
je 0x5d468c
dec edx
sub eax, 4
test edx, edx
jg 0x5d4680
test edx, edx
jne 0x5d46bd
push 0xf
pop ebx
cmp ecx, ebx
jg 0x5d4699
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x5d46b1
lea eax, [edx*4 + 0x6f9b10]
mov esi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], edi
mov edi, esi
jle 0x5d469f
cmp ecx, 0x10
jge 0x5d46bd
inc ecx
mov dword [0x6f9b08], ecx
push 0
push 0x6f9b50
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
jmp 0x5d456c
xor eax, eax
jmp 0x5d4752
test esi, esi
jle 0x5d456c
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 1
push 0x6f9b50
call ebx
test eax, eax
jne 0x5d456c
cmp dword [esi*4 + 0x6f9b10], edi
je 0x5d4729
mov eax, dword [0x6f9b08]
lea esi, [eax - 1]
test esi, esi
jl 0x5d4717
cmp dword [esi*4 + 0x6f9b10], edi
je 0x5d4713
dec esi
jns 0x5d4707
test esi, esi
jge 0x5d4727
cmp eax, 0x10
jge 0x5d4722
inc eax
mov dword [0x6f9b08], eax
lea esi, [eax - 1]
jmp 0x5d4729
je 0x5d4741
xor ecx, ecx
test esi, esi
jl 0x5d4741
lea eax, [ecx*4 + 0x6f9b10]
mov edx, dword [eax]
inc ecx
cmp ecx, esi
mov dword [eax], edi
mov edi, edx
jle 0x5d472f
push 0
push 0x6f9b50
call ebx
jmp 0x5d456c
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x5d4757
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x6f9b54], ebx
push esi
push edi
jne 0x5d47d7
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x5d4812
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x5fb8cc
push edi
call esi
test eax, eax
mov dword [0x6f9b54], eax
je 0x5d4812
push str.GetActiveWindow
push edi
call esi
push str.GetLastActivePopup
push edi
mov dword [0x6f9b58], eax
call esi
cmp dword [0x6f9964], 2
mov dword [0x6f9b5c], eax
jne 0x5d47d7
push str.GetUserObjectInformationA
push edi
call esi
test eax, eax
mov dword [0x6f9b64], eax
je 0x5d47d7
push str.GetProcessWindowStation
push edi
call esi
mov dword [0x6f9b60], eax
mov eax, dword [0x6f9b60]
test eax, eax
je 0x5d481c
call eax
test eax, eax
je 0x5d4803
lea ecx, [ebp - 4]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [0x6f9b64]
test eax, eax
je 0x5d4803
test byte [ebp - 8], 1
jne 0x5d481c
cmp dword [0x6f9970], 4
jb 0x5d4816
or byte [ebp + 0x12], 0x20
jmp 0x5d483b
xor eax, eax
jmp 0x5d484b
or byte [ebp + 0x12], 4
jmp 0x5d483b
mov eax, dword [0x6f9b58]
test eax, eax
je 0x5d483b
call eax
mov ebx, eax
test ebx, ebx
je 0x5d483b
mov eax, dword [0x6f9b5c]
test eax, eax
je 0x5d483b
push ebx
call eax
mov ebx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [0x6f9b54]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x5d4b15
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x8c]
sub esp, 0x10c
mov eax, dword [0x633400]
mov ecx, dword [ebp + 0x94]
push ebx
push esi
mov dword [ebp + 0x88], eax
xor edx, edx
push edi
xor eax, eax
cmp ecx, dword [eax*8 + 0x6336c8]
je 0x5d4b4a
inc eax
cmp eax, 0x13
jb 0x5d4b3b
mov esi, eax
shl esi, 3
cmp ecx, dword [esi + 0x6336c8]
jne 0x5d4c70
mov eax, dword [0x6f9b74]
cmp eax, 1
je 0x5d4c48
cmp eax, edx
jne 0x5d4b7a
cmp dword [0x6336bc], 1
je 0x5d4c48
cmp ecx, 0xfc
je 0x5d4c70
push 0x104
lea eax, [ebp - 0x80]
push eax
push edx
mov byte [ebp + 0x84], dl
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x5d4bb0
lea eax, [ebp - 0x80]
push str._program_name_unknown_
push eax
call fcn.005d4850
pop ecx
pop ecx
lea edi, [ebp - 0x80]
mov eax, edi
push eax
call fcn.005d4950
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x5d4be4
mov eax, edi
push eax
call fcn.005d4950
mov edi, eax
lea eax, [ebp - 0x80]
sub eax, 0x3b
push 3
add edi, eax
push 0x5fb6a4
push edi
call fcn.005d26a0
add esp, 0x10
push edi
call fcn.005d4950
push dword [esi + 0x6336cc]
mov ebx, eax
call fcn.005d4950
lea eax, [ebx + eax + 0x1c]
pop ecx
add eax, 3
pop ecx
and eax, 0xfffffffc
call fcn.005d2b10
mov ebx, esp
push str.Runtime_Error__n_nProgram:
push ebx
call fcn.005d4850
push edi
push ebx
call fcn.005d4860
push 0x5fb6a0
push ebx
call fcn.005d4860
push dword [esi + 0x6336cc]
push ebx
call fcn.005d4860
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebx
call fcn.005d4757
add esp, 0x2c
jmp 0x5d4c70
push edx
lea eax, [ebp + 0x94]
push eax
lea esi, [esi + 0x6336cc]
push dword [esi]
call fcn.005d4950
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]
lea esp, [ebp - 0x8c]
mov ecx, dword [ebp + 0x88]
call fcn.005d2de9
pop edi
pop esi
pop ebx
add ebp, 0x8c
leave
ret
Function at 0x5d5f0e
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
push 4
pop eax
call fcn.005d2b10
mov esi, esp
push 0x1c
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x5d5fa9
mov ebx, dword [ebp - 0x24]
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x48]
mov eax, dword [0x6f9964]
lea edi, [ecx - 1]
not edi
and edi, esi
sub edi, ecx
mov esi, eax
dec esi
neg esi
sbb esi, esi
and esi, 0xfffffff1
add esi, 0x11
imul esi, ecx
add esi, ebx
cmp edi, esi
mov dword [ebp - 8], ecx
jb 0x5d5fa9
cmp eax, 1
je 0x5d5fca
mov dword [ebp - 4], ebx
mov ebx, 0x1000
push 0x1c
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x5d5fa9
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
test dword [ebp - 0x18], ebx
je 0x5d5f76
test byte [ebp - 0x13], 1
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
je 0x5d5fa5
xor eax, eax
inc eax
jmp 0x5d5fe9
cmp edi, eax
jae 0x5d5fad
xor eax, eax
jmp 0x5d5fe9
cmp eax, esi
jae 0x5d5fb4
mov dword [ebp - 4], esi
push 4
push ebx
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [0x6f9964]
jmp 0x5d5fcd
mov dword [ebp - 4], edi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 0xc]
push ecx
inc eax
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x58]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x71a3bf
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ecx
push ebx
push edx
push esi
push edi
mov dword [ebp - 4], 0
mov esi, dword [ebp + 0xc]
mov edx, esi
cmp byte [esi], 0
je 0x71a3de
inc esi
jmp 0x71a3d6
inc esi
sub esi, edx
mov dword [ebp - 8], esi
mov esi, dword [ebp + 8]
add esi, dword [esi + 0x3c]
mov esi, dword [esi + 0x78]
add esi, dword [ebp + 8]
mov ebx, dword [esi + 0x20]
add ebx, dword [ebp + 8]
xor edx, edx
push esi
mov edi, dword [ebx]
add edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
cld
repe cmpsb byte [esi], byte es:[edi]
jne 0x71a40c
pop esi
jmp 0x71a418
pop esi
add ebx, 4
inc edx
cmp edx, dword [esi + 0x18]
jb 0x71a3f8
jmp 0x71a43a
sub ebx, dword [esi + 0x20]
sub ebx, dword [ebp + 8]
shr ebx, 1
add ebx, dword [esi + 0x24]
add ebx, dword [ebp + 8]
movzx eax, word [ebx]
shl eax, 2
add eax, dword [esi + 0x1c]
add eax, dword [ebp + 8]
mov eax, dword [eax]
add eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop edi
pop esi
pop edx
pop ebx
pop ecx
leave
ret 8
Function at 0x40d344
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov byte [ebp - 8], dl
test dl, dl
jle 0x40d356
call fcn.004a50ac
mov byte [ebp - 0x2a], cl
mov byte [ebp - 0x29], dl
mov dword [ebp - 4], eax
mov eax, 0x4aaa00
call fcn.00499e38
mov word [ebp - 0x18], 8
mov cl, byte [ebp - 0x2a]
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00423500
add dword [ebp - 0xc], 2
mov edx, dword [ebp - 4]
mov byte [edx + 0xf], 1
mov ecx, dword [ebp - 4]
xor eax, eax
mov dword [ecx + 0x30], eax
mov edx, dword [ebp - 0x28]
mov dword fs:[0], edx
mov eax, dword [ebp - 4]
cmp byte [ebp - 0x29], 0
je 0x40d3a7
call fcn.004a50b9
mov esp, ebp
pop ebp
ret
Function at 0x45349c
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x4534a2
ret

Function at 0x46c1c4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x46c375
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.0043a934
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x46c38c
call fcn.0043a598
mov eax, ebx
call fcn.00423f28
mov edi, eax
dec edi
test edi, edi
jl 0x46c27c
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.00423efc
mov edx, dword [0x444648]
call fcn.004396f0
test al, al
je 0x46c278
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.00423efc
lea edx, [ebp - 0x14]
call fcn.0047255c
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.0043a934
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0043a60c
inc esi
dec edi
jne 0x46c22a
mov al, byte [0x46c390]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x46c39c
mov eax, dword [ebp - 0xc]
call fcn.0042c1f0
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.0043a32c
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.0047255c
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x46c38c
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x2f0]
call fcn.0047255c
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x46c38c
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x46c38c
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x46c3a8
call fcn.00428600
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46c37c
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.0043a2b8
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.0043a2b8
lea eax, [ebp - 0x14]
call fcn.0043a294
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.0043a2b8
ret