joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4d1bc8
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov word [ebp - 4], cx
mov byte [ebp - 1], dl
xor eax, eax
push ebp
push 0x877de3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.00404868
xor ebx, ebx
mov eax, ebx
and eax, 0x80000001
jns 0x4d1c03
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x4d1c1c
lea eax, [ebp - 0x10]
mov edx, dword [0x8c8760]
mov edx, dword [edx]
mov edx, dword [edx + 0xc]
call fcn.004048c8
jmp 0x4d1c2f
lea eax, [ebp - 0x10]
mov edx, dword [0x8c8760]
mov edx, dword [edx]
mov edx, dword [edx + 0x10]
call fcn.004048c8
lea eax, [ebp - 0x10]
mov edx, ebx
sar edx, 1
jns 0x4d1c3b
adc edx, 0
mov edx, dword [edx*4 + 0x8c6d0c]
call fcn.00404ac8
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 0x10]
call fcn.00404aac
push eax
call fcn.00406a50
mov esi, eax
cmp esi, 0xffffffff
je 0x4d1db5
mov eax, 0x40
call fcn.00402724
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0x40
push edi
push esi
call fcn.00406e80
test eax, eax
je 0x4d1da8
mov eax, edi
cmp word [eax], 0x5a4d
jne 0x4d1da8
push 0
push 0
mov eax, dword [eax + 0x3c]
push eax
push esi
call fcn.00406ef8
mov eax, edi
call fcn.00402744
mov eax, 0x18
call fcn.00402724
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0x18
push edi
push esi
call fcn.00406e80
test eax, eax
je 0x4d1da8
mov eax, edi
cmp dword [eax], 0x4550
jne 0x4d1da8
add eax, 4
mov dword [ebp - 0xc], eax
cmp byte [ebp - 1], 0
je 0x4d1d46
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x8664
jne 0x4d1d46
mov eax, edi
call fcn.00402744
mov eax, 0xf0
call fcn.00402724
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0xf0
push edi
push esi
call fcn.00406e80
test eax, eax
je 0x4d1d46
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x4d1d46
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.004048a4
cmp byte [ebp - 1], 0
jne 0x4d1da8
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x14c
jb 0x4d1da8
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x150
ja 0x4d1da8
mov eax, edi
call fcn.00402744
mov eax, 0xe0
call fcn.00402724
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0xe0
push edi
push esi
call fcn.00406e80
test eax, eax
je 0x4d1da8
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x4d1da8
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.004048a4
mov eax, edi
call fcn.00402744
push esi
call fcn.00406a08
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor edx, edx
call fcn.00404bd4
jne 0x4d1dcd
inc ebx
cmp ebx, 0x19
jne 0x4d1bf5
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x877dea
lea eax, [ebp - 0x10]
call fcn.00404868
ret
Function at 0x4e116c
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
test edi, edi
jle 0x4e11ff
xor ebx, ebx
mov byte [ebp - 9], 0
lea eax, [ebp - 0x110]
mov ecx, pe_nt_image_headers32
mov edx, dword [ebp + 8]
call fcn.0045ee7c
dec edi
test edi, edi
jl 0x4e11ff
inc edi
mov dword [ebp - 0x10], edi
xor edx, edx
inc ebx
mov esi, ebx
and esi, 0xff
mov al, byte [ebp + esi - 0x110]
add byte [ebp - 9], al
xor ecx, ecx
mov cl, byte [ebp - 9]
mov cl, byte [ebp + ecx - 0x110]
mov byte [ebp + esi - 0x110], cl
xor ecx, ecx
mov cl, byte [ebp - 9]
mov byte [ebp + ecx - 0x110], al
add al, byte [ebp + esi - 0x110]
mov ecx, dword [ebp - 4]
mov cl, byte [ecx + edx]
and eax, 0xff
xor cl, byte [ebp + eax - 0x110]
mov eax, dword [ebp - 8]
mov byte [eax + edx], cl
inc edx
dec dword [ebp - 0x10]
jne 0x4e11a8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4e7304
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
test ebx, ebx
jle 0x4e73a7
lea eax, [ebp - 0x10c]
mov ecx, pe_nt_image_headers32
mov edx, dword [ebp + 8]
call fcn.004078fc
xor edx, edx
xor ecx, ecx
dec ebx
test ebx, ebx
jl 0x4e73a7
inc ebx
mov dword [ebp - 0xc], ebx
xor esi, esi
inc edx
and dl, 0xff
xor eax, eax
mov al, dl
mov al, byte [ebp + eax - 0x10c]
lea ecx, [eax + ecx]
and cl, 0xff
xor ebx, ebx
mov bl, cl
mov bl, byte [ebp + ebx - 0x10c]
mov edi, edx
and edi, 0xff
mov byte [ebp + edi - 0x10c], bl
xor ebx, ebx
mov bl, cl
mov byte [ebp + ebx - 0x10c], al
xor ebx, ebx
mov bl, dl
add al, byte [ebp + ebx - 0x10c]
and al, 0xff
mov ebx, dword [ebp - 4]
mov bl, byte [ebx + esi]
and eax, 0xff
xor bl, byte [ebp + eax - 0x10c]
mov eax, dword [ebp - 8]
mov byte [eax + esi], bl
inc esi
dec dword [ebp - 0xc]
jne 0x4e7342
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4e73b0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
test ebx, ebx
jle 0x4e7453
lea eax, [ebp - 0x10c]
mov ecx, pe_nt_image_headers32
mov edx, dword [ebp + 8]
call fcn.004078fc
xor edx, edx
xor ecx, ecx
dec ebx
test ebx, ebx
jl 0x4e7453
inc ebx
mov dword [ebp - 0xc], ebx
xor esi, esi
inc edx
and dl, 0xff
xor eax, eax
mov al, dl
mov al, byte [ebp + eax - 0x10c]
lea ecx, [eax + ecx]
and cl, 0xff
xor ebx, ebx
mov bl, cl
mov bl, byte [ebp + ebx - 0x10c]
mov edi, edx
and edi, 0xff
mov byte [ebp + edi - 0x10c], bl
xor ebx, ebx
mov bl, cl
mov byte [ebp + ebx - 0x10c], al
xor ebx, ebx
mov bl, dl
add al, byte [ebp + ebx - 0x10c]
and al, 0xff
mov ebx, dword [ebp - 4]
mov bl, byte [ebx + esi]
and eax, 0xff
xor bl, byte [ebp + eax - 0x10c]
mov eax, dword [ebp - 8]
mov byte [eax + esi], bl
inc esi
dec dword [ebp - 0xc]
jne 0x4e73ee
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4f1930
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
cmp dword [ebp + 0xc], 0
jne 0x4f1944
call fcn.004f157c
pushal
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [0x8d0adc]
mov dword [ebp - 4], eax
popal
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
cmp dword [ebp + 0xc], 0
jne 0x4f19b4
mov eax, dword [0x8c85fc]
mov eax, dword [eax]
mov eax, dword [eax + 0x184]
mov ebx, eax
mov edx, dword [0x8c85fc]
mov esi, eax
mov edx, dword [0x8c85fc]
mov edx, dword [edx]
add esi, dword [edx + 0x2fc]
mov edx, dword [0x8c85fc]
mov edi, eax
mov eax, dword [0x8c85fc]
mov eax, dword [eax]
add edi, dword [eax + 0x300]
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
push ebx
call esi
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
push ebx
call edi
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 0xc

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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
xor esi, esi
mov ecx, ebx
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [ecx + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x78]
test edx, edx
je 0x4f2d1f
add edx, ebx
mov eax, edx
mov edi, dword [eax + 0x18]
mov edx, dword [eax + 0x1c]
add edx, ebx
mov dword [ebp - 0xc], edx
mov edx, dword [eax + 0x20]
add edx, ebx
mov dword [ebp - 4], edx
mov edx, dword [eax + 0x24]
add edx, ebx
mov dword [ebp - 8], edx
mov edx, dword [ebp + 0xc]
cmp edx, 0xffff
jbe 0x4f2d03
test edi, edi
jbe 0x4f2d1f
mov eax, dword [ebp - 4]
mov eax, dword [eax]
add eax, ebx
mov edx, dword [ebp + 0xc]
call fcn.0040a510
test eax, eax
jne 0x4f2cf4
mov eax, dword [ebp - 8]
movzx eax, word [eax]
shl eax, 2
add eax, dword [ebp - 0xc]
mov esi, dword [eax]
test esi, esi
je 0x4f2d1f
add ebx, esi
mov esi, ebx
jmp 0x4f2d1f
add dword [ebp - 8], 2
add dword [ebp - 4], 4
dec edi
test edi, edi
ja 0x4f2cc9
jmp 0x4f2d1f
mov edi, edx
sub edi, dword [eax + 0x10]
cmp edi, dword [eax + 0x14]
jae 0x4f2d1f
mov eax, edi
shl eax, 2
add eax, dword [ebp - 0xc]
mov esi, dword [eax]
test esi, esi
je 0x4f2d1f
add ebx, esi
mov esi, ebx
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x504194
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push ebp
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 8]
cld
mov dl, 0x80
mov al, byte [esi]
add esi, 1
mov byte [edi], al
add edi, 1
mov ebx, 2
add dl, dl
jne 0x5041c5
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x5041ad
add dl, dl
jne 0x5041d0
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x504221
xor eax, eax
add dl, dl
jne 0x5041dd
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x5042be
add dl, dl
jne 0x5041ec
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x5041f7
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x504202
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x50420d
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x504217
mov ebx, edi
sub ebx, eax
mov al, byte [ebx]
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x5041bc
mov eax, 1
add dl, dl
jne 0x50422f
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x50423a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x504226
sub eax, ebx
mov ebx, 1
jne 0x50426d
mov ecx, 1
add dl, dl
jne 0x504253
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x50425e
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x50424a
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x5041bc
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x504284
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x50428f
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x50427b
cmp eax, 0x7d00
sbb ecx, 0xffffffff
cmp eax, 0x500
sbb ecx, 0xffffffff
cmp eax, 0x80
adc ecx, 0
cmp eax, 0x80
adc ecx, 0
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x5041bc
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x5042df
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x5041bc
pop ebp
sub edi, dword [ebp - 8]
mov dword [ebp - 0xc], edi
pop edi
pop esi
pop ebx
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x10001949
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
cmp dword [esp + 8], ecx
jle 0x10001968
mov dl, byte [ecx + eax]
xor dl, 0x39
sub dl, 0x36
mov byte [ecx + eax], dl
inc ecx
cmp ecx, dword [esp + 8]
jl 0x10001955
ret

Function at 0x10001a0d
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 8], 0
jne 0x10001a1b
xor eax, eax
leave
ret
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_inet_addr]
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
jne 0x10001a4f
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x10001a4c
mov eax, dword [eax + 0xc]
push 4
push dword [eax]
lea eax, [ebp - 4]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov eax, dword [ebp - 4]
leave
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 0x10]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
cmp word [ebp + 8], 0
jne 0x10001a8e
cmp word [ebp + 0xc], 0
jne 0x10001a8e
call dword [sym.imp.MSVCRT.dll_rand]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add esi, eax
movzx eax, word [ebp - 4]
add esi, eax
movzx eax, word [ebp - 6]
add eax, esi
jmp 0x10001ac1
movzx esi, word [ebp + 8]
push edi
call dword [sym.imp.MSVCRT.dll_rand]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
movzx ecx, word [ebp + 0xc]
add edi, eax
sub ecx, esi
movzx eax, word [ebp - 4]
add edi, eax
xor edx, edx
movzx eax, word [ebp - 6]
add edi, eax
inc ecx
mov eax, edi
pop edi
div ecx
mov eax, edx
add eax, esi
pop esi
leave
ret

Function at 0x10001b14
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x190
and byte [ebp - 0x8c], 0
push edi
push 0x1f
xor eax, eax
pop ecx
lea edi, [ebp - 0x8b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x80
lea eax, [ebp - 0x8c]
push 0
push eax
call sub.MSVCRT.dll_memset
lea eax, [ebp - 0x190]
push str.SOFTWAREMicrosoftWindows_NTCurrentVersion
push eax
call sub.MSVCRT.dll_strcpy
add esp, 0x14
lea eax, [ebp - 4]
push eax
push 0xf003f
lea eax, [ebp - 0x190]
push 0
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
pop edi
jne 0x10001bad
lea eax, [ebp - 8]
mov dword [ebp - 8], 0xc8
push eax
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push str.ProductName
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
mov esi, dword [sym.imp.MSVCRT.dll_strstr]
lea eax, [ebp - 0x8c]
push str.2000
push eax
call esi
pop ecx
test eax, eax
pop ecx
jne 0x10001bf0
lea eax, [ebp - 0x8c]
push str.2003
push eax
call esi
pop ecx
test eax, eax
pop ecx
jne 0x10001bf0
lea eax, [ebp - 0x8c]
push str.2008
push eax
call esi
pop ecx
test eax, eax
pop ecx
je 0x10001bf3
push 1
pop eax
pop esi
leave
ret
Function at 0x10002ce3
Capabilities:
Get session information
Get session user name

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
lea ecx, [ebp - 8]
xor eax, eax
push ecx
lea ecx, [ebp - 4]
push ecx
push 5
push 0xffffffffffffffff
push eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
call sub.WTSAPI32.dll_WTSQuerySessionInformationA
test eax, eax
je 0x10002d2d
push dword [ebp - 4]
push dword [ebp + 8]
call sub.MSVCRT.dll_strcpy
pop ecx
pop ecx
push dword [ebp - 4]
call sub.WTSAPI32.dll_WTSFreeMemory
push dword [ebp + 8]
call sub.MSVCRT.dll_strlen
test eax, eax
pop ecx
je 0x10002d2d
push 1
pop eax
leave
ret
push 0x10009170
push dword [ebp + 8]
call sub.MSVCRT.dll_strcpy
pop ecx
xor eax, eax
pop ecx
leave
ret

Function at 0x10002f89
Capabilities:
Access the windows event log
Clear windows event logs

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
movzx eax, byte [ebp + 8]
dec eax
mov dword [ebp - 0xc], str.Application
mov dword [ebp - 8], str.Security
mov dword [ebp - 4], str.System
je 0x10002fd6
dec eax
je 0x10002fcb
dec eax
je 0x10002fbe
dec eax
jne 0x10003008
mov eax, 0x1000a568
mov dword [ebp - 8], eax
jmp 0x10002fc6
mov eax, 0x1000a568
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], eax
jmp 0x10002fd6
mov eax, 0x1000a568
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
push ebx
push esi
push edi
push 3
lea edi, [ebp - 0xc]
pop ebx
push dword [edi]
push 0
call dword [sym.imp.ADVAPI32.dll_OpenEventLogA]
mov esi, eax
test esi, esi
je 0x10002fff
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_ClearEventLogA]
push esi
call dword [sym.imp.ADVAPI32.dll_CloseEventLog]
add edi, 4
dec ebx
jne 0x10002fdf
pop edi
pop esi
pop ebx
leave
ret

Function at 0x100030e4
Capabilities:
Delete service
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
push 2
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
push 0xf01ff
push 0x1000a7e4
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
push eax
call dword [sym.imp.ADVAPI32.dll_DeleteService]
call fcn.10003068
lea eax, [ebp - 0x94]
mov dword [ebp - 0x94], 0x94
push eax
call dword [0x1000acc0]
cmp dword [ebp - 0x84], 2
jne 0x10003149
cmp dword [ebp - 0x90], 6
jb 0x10003149
mov dword [0x1000b078], 1
push 0
call dword [sym.imp.MSVCRT.dll_exit]
Function at 0x10003348
Capabilities:
Get disk information
Get disk size
Get hostname
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x16c
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor ebx, ebx
push 0x5e8
push ebx
push esi
call sub.MSVCRT.dll_memset
add esp, 0xc
lea edi, [esi + 0x21]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push ebx
push edi
push 1
push str.ProcessorNameString
push 0x100092e0
push 0x80000002
call fcn.10006767
add esp, 0x20
test eax, eax
jne 0x100033a0
push str.Find_CPU_infomation_error
push edi
call sub.MSVCRT.dll_strcpy
pop ecx
pop ecx
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x6c], 0x40
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov eax, dword [ebp - 0x64]
mov edx, dword [ebp - 0x60]
push 0x14
pop ecx
call fcn.10006c50
xor edi, edi
mov dword [esi + 0x55c], eax
and dword [ebp + 8], edi
mov al, byte [ebp + 8]
and byte [ebp - 9], 0
add al, 0x42
mov byte [ebp - 0xb], 0x3a
mov byte [ebp - 0xc], al
lea eax, [ebp - 0xc]
push eax
mov byte [ebp - 0xa], 0x5c
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
jne 0x10003423
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x20]
push 0x1e
pop ecx
call fcn.10006c50
mov edx, dword [ebp - 0x18]
push 0x1e
add edi, eax
mov eax, dword [ebp - 0x1c]
pop ecx
call fcn.10006c50
add ebx, eax
inc dword [ebp + 8]
cmp dword [ebp + 8], 0x1a
jl 0x100033ca
lea eax, [ebp - 0x14]
mov dword [esi + 0x5e0], edi
push eax
lea eax, [esi + 0xa1]
push eax
mov dword [esi + 0x5e4], ebx
mov dword [ebp - 0x14], 0x32
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea eax, [esi + 0xd3]
push eax
call fcn.10002ce3
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
pop ecx
push 1
call edi
push eax
push 0
call edi
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
push eax
lea eax, [esi + 0x153]
push str._d___d
push eax
call edi
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x5265c00
xor edx, edx
mov ebx, ecx
mov dword [ebp + 8], eax
div ebx
xor edx, edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
div ecx
mov ecx, 0x36ee80
mov ebx, ecx
mov dword [ebp + 8], edx
mov eax, edx
xor edx, edx
div ebx
mov ebx, 0xea60
mov eax, edx
xor edx, edx
div ebx
xor edx, edx
push eax
mov eax, dword [ebp + 8]
div ecx
push eax
lea eax, [esi + 0xf3]
push dword [ebp - 0x10]
push 0x100092ac
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
call fcn.10004b00
push eax
lea eax, [esi + 0x35b]
push eax
call sub.MSVCRT.dll_strcpy
lea eax, [esi + 0x560]
push 0x80
push eax
call fcn.10002d40
add esp, 0x24
lea eax, [ebp - 0x16c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x16c]
add esi, 0x1f7
push eax
push esi
call edi
pop ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x1000352e
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2d8
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0x170
lea eax, [ebp - 0x2d8]
push esi
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
xor ebx, ebx
xor eax, eax
lea edi, [ebp - 0x167]
push 0x59
mov byte [ebp - 0x168], bl
pop ecx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push ebx
push ebx
push 2
push ebx
stosb byte es:[edi], al
push 1
lea eax, [ebp - 0x1cc]
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x100035aa
lea eax, [ebp + 8]
push ebx
push eax
mov eax, dword [ebp + 0xc]
add eax, 0xfffffe90
add esi, 0x170
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x100035b1
xor eax, eax
jmp 0x10003637
push edi
call dword [0x1000ac94]
lea eax, [ebp - 0x2d0]
push eax
call sub.MSVCRT.dll_strlen
test eax, eax
pop ecx
je 0x100035ee
lea eax, [ebp - 0x2d0]
push eax
lea eax, [ebp - 0x1cc]
push eax
lea eax, [ebp - 0x168]
push str._s__s
push eax
call dword [0x1000ace4]
add esp, 0x10
jmp 0x10003602
lea eax, [ebp - 0x1cc]
push eax
lea eax, [ebp - 0x168]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [ebp - 0x2d4]
sub eax, ebx
je 0x10003624
dec eax
je 0x10003621
dec eax
dec eax
jne 0x10003634
lea eax, [ebp - 0x168]
push eax
call fcn.100030e4
jmp 0x10003633
push ebx
jmp 0x10003626
push 5
lea eax, [ebp - 0x168]
push eax
call fcn.10003151
pop ecx
pop ecx
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10003916
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x560
push ebx
push esi
push edi
xor ebx, ebx
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x55f]
mov byte [ebp - 0x560], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 9
mov esi, str.SYSTEMCurrentControlSetSoftware_s
pop ecx
lea edi, [ebp - 0x5c]
rep movsd dword es:[edi], dword [esi]
push dword [ebp + 8]
lea eax, [ebp - 0x5c]
movsb byte es:[edi], byte [esi]
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
push eax
lea eax, [ebp - 0x560]
push eax
call esi
add esp, 0xc
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x15f]
mov byte [ebp - 0x160], bl
mov byte [ebp - 0x24], 0x25
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
movzx eax, word [ebp - 0x2a]
push eax
mov byte [ebp - 0x23], 0x34
movzx eax, word [ebp - 0x2c]
push eax
mov byte [ebp - 0x22], 0x64
movzx eax, word [ebp - 0x2e]
push eax
mov byte [ebp - 0x21], 0x2d
movzx eax, word [ebp - 0x32]
push eax
mov byte [ebp - 0x20], 0x25
movzx eax, word [ebp - 0x34]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x160]
push eax
mov byte [ebp - 0x1f], 0x2e
mov byte [ebp - 0x1e], 0x32
mov byte [ebp - 0x1d], 0x64
mov byte [ebp - 0x1c], 0x2d
mov byte [ebp - 0x1b], 0x25
mov byte [ebp - 0x1a], 0x2e
mov byte [ebp - 0x19], 0x32
mov byte [ebp - 0x18], 0x64
mov byte [ebp - 0x17], 0x20
mov byte [ebp - 0x16], 0x25
mov byte [ebp - 0x15], 0x2e
mov byte [ebp - 0x14], 0x32
mov byte [ebp - 0x13], 0x64
mov byte [ebp - 0x12], 0x3a
mov byte [ebp - 0x11], 0x25
mov byte [ebp - 0x10], 0x2e
mov byte [ebp - 0xf], 0x32
mov byte [ebp - 0xe], 0x64
mov byte [ebp - 0xd], bl
call esi
add esp, 0x1c
mov byte [ebp - 0xc], 0x4d
mov byte [ebp - 0xb], 0x61
mov byte [ebp - 0xa], 0x72
mov byte [ebp - 9], 0x6b
mov byte [ebp - 8], 0x54
lea eax, [ebp - 0x160]
push ebx
push eax
mov byte [ebp - 7], 0x69
mov byte [ebp - 6], 0x6d
mov byte [ebp - 5], 0x65
mov byte [ebp - 4], bl
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [ebp - 0x160]
push eax
lea eax, [ebp - 0xc]
push 1
push eax
lea eax, [ebp - 0x560]
push eax
push 0x80000002
call fcn.100069d8
add esp, 0x1c
pop edi
pop esi
pop ebx
leave
ret