joyce8/EMBER2024-capa huggingface dataset:
Function at 0x3053700
Capabilities:
Decompress data using aplib

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cld
mov dl, 0x80
xor ebx, ebx
movsb byte es:[edi], byte [esi]
mov bl, 2
call fcn.0305378f
jae 0x305370e
xor ecx, ecx
call fcn.0305378f
jae 0x305373d
xor eax, eax
call fcn.0305378f
jae 0x305374d
mov bl, 2
inc ecx
mov al, 0x10
call fcn.0305378f
adc al, al
jae 0x305372f
jne 0x3053779
stosb byte es:[edi], al
jmp 0x3053711
call fcn.0305379b
sub ecx, ebx
jne 0x3053756
call fcn.03053799
jmp 0x3053775
lodsb al, byte [esi]
shr eax, 1
je 0x3053783
adc ecx, ecx
jmp 0x3053772
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
call fcn.03053799
cmp eax, 0x7d00
jae 0x3053772
cmp ah, 5
jae 0x3053773
cmp eax, 0x7f
ja 0x3053774
inc ecx
inc ecx
xchg ebp, eax
mov eax, ebp
mov bl, 1
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x3053711
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret 8

Function at 0x3079fcc
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
jmp 0x3079ff2
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [ebp + 0x10]
jge 0x307a0b4
mov edx, dword [ebp - 0xc]
add edx, 1
and edx, 0x800000ff
jns 0x307a014
dec edx
or edx, 0xffffff00
inc edx
mov dword [ebp - 0xc], edx
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0xc]
xor ecx, ecx
mov cl, byte [eax]
mov edx, dword [ebp - 0x10]
add edx, ecx
and edx, 0x800000ff
jns 0x307a036
dec edx
or edx, 0xffffff00
inc edx
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0xc]
mov cl, byte [eax]
mov byte [ebp - 4], cl
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x10]
mov cl, byte [eax]
mov byte [edx], cl
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x10]
mov al, byte [ebp - 4]
mov byte [edx], al
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x10]
xor ecx, ecx
mov cl, byte [eax]
add edx, ecx
and edx, 0x800000ff
jns 0x307a085
dec edx
or edx, 0xffffff00
inc edx
mov dword [ebp - 8], edx
mov edx, dword [ebp + 8]
add edx, dword [ebp - 8]
mov al, byte [edx]
mov byte [ebp - 4], al
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 0x14]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp - 4]
and eax, 0xff
xor edx, eax
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 0x14]
mov byte [ecx], dl
jmp 0x3079fe9
mov esp, ebp
pop ebp
ret
Function at 0x2377058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.023771a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x237707e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x237706a
add dl, dl
jne 0x2377089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x23770dc
xor eax, eax
add dl, dl
jne 0x2377096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x237717d
add dl, dl
jne 0x23770a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x23770b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x23770bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x23770c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x23770d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x2377075
mov eax, 1
add dl, dl
jne 0x23770ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x23770f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x23770e1
sub eax, ebx
mov ebx, 1
jne 0x2377128
mov ecx, 1
add dl, dl
jne 0x237710e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x2377119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x2377105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x2377075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x237713f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x237714a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x2377136
cmp eax, 0x7d00
jae 0x237716d
cmp eax, 0x500
jb 0x2377168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x2377075
cmp eax, 0x7f
ja 0x2377170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x2377075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x237719e
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 0x2377075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10

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 0x401000
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x401090
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x40108d
push 0x5c
push esi
call dword [sym.imp.MSVCR71.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x40108d
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x401066
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x40105f
test ebp, ebp
je 0x40105f
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x401066
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x401087
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x401087
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x401018
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x40287f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x40288e
pop dword [ebp - 0x40]
mov eax, 0x40288e
sub dword [ebp - 0x40], eax
mov dword [ebp - 0x50], 0xac1da834
sub dword [ebp - 0x50], 0x5dcb62e9
mov dword [ebp - 0x4c], 0x2029ac0d
add dword [ebp - 0x4c], 0x1209a038
mov dword [ebp - 0x48], 0xbd5857b7
sub dword [ebp - 0x48], 0x710c1389
mov dword [ebp - 0x44], 0x37c05034
add dword [ebp - 0x44], 0xc83fafcc
lea eax, [ebp - 0x50]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x40]
call dword [eax]
mov dword [ebp - 0x50], 0xbde88ace
sub dword [ebp - 0x50], 0x49762178
mov dword [ebp - 0x4c], 0xfa697771
add dword [ebp - 0x4c], 0x4702ea04
mov dword [ebp - 0x48], 0x48eafda0
add dword [ebp - 0x48], 0x1a846ecc
mov dword [ebp - 0x44], 0xe9979541
add dword [ebp - 0x44], 0x16686abf
lea ebx, [ebp - 0x50]
push ebx
push eax
mov eax, 0xf4be0a66
add eax, 0xb82766e
add eax, dword [ebp - 0x40]
call dword [eax]
push 0x40
push 0x1000
push 0x32436
push 0
call eax
mov ecx, 0x2980a80c
sub ecx, 0x29807161
mov esi, eax
mov edi, 0x6462713e
add edi, 0x9bde9ec2
add edi, dword [ebp - 0x40]
mov edx, 0x840d353d
sub edx, 0xa49a70fe
mov ebx, dword [edi]
xor dword [ebp - 0x38], esi
xor ebx, edx
sub dword [ebp - 0x28], 0x5bc96437
mov dword [esi], ebx
sub dword [ebp - 0x20], 0x17e50dbf
add esi, 0x1d94453c
sub esi, 0x1d944538
add edi, 0x78e4b53f
sub edi, 0x78e4b53b
loop 0x4029a6
add eax, 0xcd7f
xor ebx, ebx
add ebx, eax
add eax, 0x92027c09
sub eax, 0x92027c04
mov ecx, 0xd5522d1e
add ecx, 0x2aedd2e2
add ecx, dword [ebp - 0x40]
call ebx
leave
ret
Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
mov eax, section..pdata
nop
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x430072
nop
nop
nop
nop
nop
mov ebx, 0x408f6c
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
pop eax
nop
nop
nop
nop
nop
mov esi, 0x69c46956
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
nop
loop 0x430060
mov eax, section..pdata_1
nop
nop
nop
nop
cmp eax, 0
je 0x4300d2
nop
nop
nop
nop
nop
mov ebx, 0x42e3d0
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x585a5677
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x466c28
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov dl, 0xb5
mov ebx, eax
xor eax, eax
mov ecx, eax
mov esi, ebx
shr esi, cl
mov ecx, esi
and cl, 0xff
xor dl, cl
inc eax
cmp eax, 4
jne 0x466c30
mov eax, edx
pop esi
pop ebx
ret

Function at 0x49184c
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0xf]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x49189a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xf], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
call sub.kernel32.dll_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.00491310
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4918b3
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x4a0c24
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
mov ecx, 4
push 0
push 0
dec ecx
jne 0x4a0c2c
push ecx
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x4a0d1d
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
call fcn.00422c6c
mov edx, dword [ebp - 8]
mov ecx, 0x4a0d38
xor eax, eax
call fcn.004a0b04
push 0
mov eax, dword [ebp - 4]
call fcn.004084c8
push eax
call sub.kernel32.dll_CreateDirectoryW
test eax, eax
jne 0x4a0ceb
call sub.kernel32.dll_GetLastError
mov ebx, eax
cmp ebx, 0xb7
je 0x4a0c46
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x1c]
mov edx, dword [ebp - 4]
mov ax, 0x3d
call fcn.00426d78
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov eax, ebx
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x20]
call fcn.00419f40
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
lea edx, [ebp - 0x24]
mov eax, ebx
call fcn.004231e8
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x18]
mov ecx, 2
mov ax, 0x81
call fcn.00426d48
mov ecx, dword [ebp - 0xc]
mov dl, 1
mov eax, dword [0x414ed4]
call fcn.0041f38c
call fcn.004070f0
jmp 0x4a0c46
mov eax, esi
mov edx, dword [ebp - 4]
call fcn.00407dd4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a0d24
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.00407a54
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00407a54
ret

Function at 0x4a0e08
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov ebx, eax
mov esi, ecx
dec esi
test esi, esi
jl 0x4a0e62
inc esi
xor edi, edi
cmp edi, 1
jne 0x4a0e2e
mov eax, dword [ebp + 0xc]
push eax
call sub.kernel32.dll_Sleep
jmp 0x4a0e3c
cmp edi, 1
jle 0x4a0e3c
mov eax, dword [ebp + 8]
push eax
call sub.kernel32.dll_Sleep
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.00426f5c
test eax, eax
jne 0x4a0e62
call sub.kernel32.dll_GetLastError
cmp eax, 2
je 0x4a0e62
call sub.kernel32.dll_GetLastError
cmp eax, 3
je 0x4a0e62
inc edi
dec esi
jne 0x4a0e1e
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 8
Function at 0x4a0e6c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, eax
push 2
lea eax, [ebp - 4]
push eax
push 0x20001004
movzx eax, bx
push eax
call sub.kernel32.dll_GetLocaleInfoW
test eax, eax
jle 0x4a0e90
mov eax, dword [ebp - 4]
jmp 0x4a0e93
or eax, 0xffffffff
pop ebx
pop ecx
pop ebp
ret

Function at 0x4a0e98
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov byte [ebp - 1], dl
mov edi, eax
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax], edx
mov byte [ebp - 2], 0
test esi, esi
je 0x4a0ee5
xor ebx, ebx
jmp 0x4a0eda
mov eax, dword [ebp - 8]
mov edx, dword [eax]
mov eax, esi
call fcn.004198d4
test eax, eax
jne 0x4a0ed9
mov eax, dword [ebp + 8]
mov dword [eax], ebx
mov byte [ebp - 2], 2
jmp 0x4a0f90
inc ebx
lea edx, [ebp - 8]
mov eax, ebx
call edi
test al, al
jne 0x4a0ebb
movzx eax, byte [ebp - 1]
sub al, 1
jb 0x4a0ef1
je 0x4a0efa
jmp 0x4a0f03
call fcn.00422f18
mov esi, eax
jmp 0x4a0f05
call sub.kernel32.dll_GetUserDefaultLangID
mov esi, eax
jmp 0x4a0f05
xor esi, esi
test si, si
je 0x4a0f90
xor ebx, ebx
jmp 0x4a0f2b
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x28]
movzx edx, si
cmp eax, edx
jne 0x4a0f2a
mov eax, dword [ebp + 8]
mov dword [eax], ebx
mov byte [ebp - 2], 1
jmp 0x4a0f90
inc ebx
lea edx, [ebp - 8]
mov eax, ebx
call edi
test al, al
jne 0x4a0f12
xor ebx, ebx
jmp 0x4a0f85
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x28]
and eax, 0x3ff
mov dx, 0x3ff
and dx, si
movzx edx, dx
cmp eax, edx
jne 0x4a0f84
mov ax, 0x3ff
and ax, si
cmp ax, 4
jne 0x4a0f79
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0x28]
call fcn.004a0e6c
push eax
mov eax, esi
call fcn.004a0e6c
pop edx
cmp edx, eax
jne 0x4a0f84
mov eax, dword [ebp + 8]
mov dword [eax], ebx
mov byte [ebp - 2], 1
jmp 0x4a0f90
inc ebx
lea edx, [ebp - 8]
mov eax, ebx
call edi
test al, al
jne 0x4a0f3a
movzx eax, byte [ebp - 2]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 4
Function at 0x408c2a
Capabilities:
Access peb ldr_data

Disassembly:
call 0x408b15
cld
push 0xffffffffffffffeb
inc edi
call 0x408c2a
pushal
xor ebx, ebx
mov edi, dword [ebp + 0x3c]
mov edi, dword [ebp + edi + 0x78]
add edi, ebp
mov edx, dword [edi + 0x20]
add edx, ebp
mov esi, dword [edx + ebx*4]
add esi, ebp
xor eax, eax
cdq
lodsb al, byte [esi]
ror edx, 0xd
add edx, eax
test al, al
jne 0x408c4a
inc ebx
cmp dx, cx
jne 0x408c3d
dec ebx
mov ecx, dword [edi + 0x24]
add ecx, ebp
mov bx, word [ecx + ebx*2]
mov ecx, dword [edi + 0x1c]
add ecx, ebp
add ebp, dword [ecx + ebx*4]
mov dword [esp + 0x1c], ebp
popal
jmp eax

Function at 0x10010e1
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push 0x100109c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
jne 0x1001123
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x100107c
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x104]
push eax
call fcn.010010c8
jmp 0x1001143
push 0x1001074
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x1001141
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x1001050
jmp 0x1001105
call eax
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x417410
Capabilities:
Terminate process

Disassembly:
call fcn.00417a65
jmp 0x41741a
push 0x58
push 0x417bd0
call fcn.00417b18
xor ebx, ebx
mov dword [ebp - 0x20], ebx
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov edi, ebx
mov edx, 0x41c9fc
mov ecx, esi
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
je 0x41746c
cmp eax, esi
jne 0x41745f
xor esi, esi
inc esi
mov edi, esi
jmp 0x41746f
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x417443
xor esi, esi
inc esi
cmp dword [0x41ca00], esi
jne 0x417481
push 0x1f
call fcn.004b6000
pop ecx
jmp 0x4174bb
cmp dword [0x41ca00], ebx
jne 0x4174b5
mov dword [0x41ca00], esi
push 0x401018
push 0x40100c
call fcn.004175f9
pop ecx
pop ecx
test eax, eax
je 0x4174bb
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x4175e9
mov dword [0x41c0d4], esi
cmp dword [0x41ca00], esi
jne 0x4174de
push 0x401008
push section..text
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x41ca00], 2
test edi, edi
jne 0x4174eb
xor eax, eax
mov ecx, 0x41c9fc
xchg dword [ecx], eax
cmp dword [0x41ca04], 0
je 0x417517
push 0x41ca04
call fcn.00417970
pop ecx
test eax, eax
je 0x417517
push ebx
push 2
push ebx
mov esi, dword [0x41ca04]
mov ecx, esi
call dword [0x41d284]
call esi
mov eax, dword [sym.imp.msvcrt.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x1c], esi
mov edi, dword [ebp - 0x20]
mov cl, byte [esi]
cmp cl, 0x20
ja 0x417575
test cl, cl
je 0x417544
test edi, edi
jne 0x417575
test cl, cl
je 0x417544
cmp cl, 0x20
ja 0x417544
inc esi
mov dword [ebp - 0x1c], esi
mov cl, byte [esi]
jmp 0x417533
test byte [ebp - 0x3c], 1
je 0x417550
movzx eax, word [ebp - 0x38]
jmp 0x417553
push 0xa
pop eax
push eax
push esi
push ebx
push 0x400000
call main
mov dword [0x41c0d0], eax
cmp dword [0x41c0e8], 0
jne 0x4175ce
push eax
call dword [sym.imp.msvcrt.dll_exit]
cmp cl, 0x22
jne 0x417586
xor eax, eax
test edi, edi
sete al
mov edi, eax
mov dword [ebp - 0x20], edi
movzx eax, cl
push eax
call dword [sym.imp.msvcrt.dll__ismbblead]
pop ecx
test eax, eax
je 0x417599
inc esi
mov dword [ebp - 0x1c], esi
inc esi
mov dword [ebp - 0x1c], esi
jmp 0x417524
cmp dword [0x41c0d4], 0
jne 0x4175e2
call dword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x41c0d0]
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x417854
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x417bf0
call fcn.00417b18
xor ecx, ecx
mov eax, dword [ebp + 8]
test eax, eax
je 0x4178b4
cmp eax, 0xffffffff
je 0x4178b4
mov dword [ebp - 4], ecx
mov edx, 0x5a4d
cmp word [eax], dx
jne 0x4178ad
mov edx, dword [eax + 0x3c]
test edx, edx
js 0x4178ad
cmp edx, 0x10000000
jae 0x4178ad
add eax, edx
mov dword [ebp - 0x1c], eax
mov ecx, dword [eax]
sub ecx, 0x4550
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
jmp 0x4178aa
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, ecx
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x44ed40
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x5315fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.00525fb8
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x44edc2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00523e92
mov eax, dword [eax]
push 0x745e74
push eax
call fcn.00512044
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00526243
test bl, bl
je 0x44edc2
push 0x745e74
lea ecx, [esp + 0xc]
call fcn.005265d3
push 0x745e80
lea ecx, [esp + 0xc]
call fcn.005265d3
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x44edfe
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00526243
jmp 0x44eec9
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x44ee82
lea edx, [esp + 0x7c]
push 0x745e7c
push edx
call fcn.00512044
add esp, 8
test eax, eax
je 0x44ee82
lea eax, [esp + 0x7c]
push 0x745e78
push eax
call fcn.00512044
add esp, 8
test eax, eax
je 0x44ee82
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x44ee12
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.00526243
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x44f6d0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x44f732
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x44f740
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x53167b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x8070a0]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x44f878
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x44f7a6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00526243
xor eax, eax
jmp 0x44f8ef
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00526380
push esi
lea ecx, [esp + 0xc]
call fcn.0052660f
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x745eb4
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x44f8cd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.0044f6d0
test eax, eax
jne 0x44f8cd
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.0044f6d0
test eax, eax
jne 0x44f8cd
lea eax, [esp + 0x14]
push 0x745e90
push eax
call fcn.005132b0
mov esi, eax
add esp, 8
test esi, esi
jne 0x44f8ac
lea ecx, [esp + 0x14]
push 0x745e8c
push ecx
call fcn.00513230
mov esi, eax
add esp, 8
test esi, esi
jne 0x44f8ac
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x44f8af
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00526330
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x44f7be
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00526243
xor eax, eax
jmp 0x44f8ef
mov byte [esi], 0
push 0x745e88
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.00526243
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4