joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4117f0
Capabilities:
Resume thread
Suspend thread

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x2cc
push ebx
push ebp
push esi
push edi
push eax
push 0
push 0x1f03ff
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov esi, eax
cmp esi, 0xffffffff
je 0x411888
test esi, esi
je 0x411888
push esi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
je 0x411897
mov ebp, dword [sym.imp.KERNEL32.dll_GetThreadContext]
lea ecx, [esp + 0x10]
push ecx
push esi
mov dword [esp + 0x18], 0x10001
xor edi, edi
call ebp
test eax, eax
je 0x411888
mov ebx, dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, dword [esp + 0xc8]
mov ecx, dword [esp + 0x2e4]
cmp eax, ecx
jb 0x411888
mov edx, dword [esp + 0x2e8]
add ecx, edx
cmp eax, ecx
jae 0x411888
cmp edi, 3
push esi
jge 0x411895
call ebx
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
lea eax, [esp + 0x10]
inc edi
push eax
push esi
call ebp
test eax, eax
jne 0x411845
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2cc
ret
call ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x2cc
ret

Function at 0x411980
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0xf4
xor ecx, ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x104]
push edi
xor eax, eax
mov al, byte [ecx + 0x474e98]
mov edx, eax
and eax, 7
sar edx, 3
mov bl, byte [eax*2 + 0x474e28]
mov dl, byte [edx + esi]
test bl, dl
setne al
mov byte [esp + ecx + 0x4c], al
inc ecx
cmp ecx, 0x38
jl 0x411993
mov eax, 0x1e
xor edx, edx
mov dword [esp + 0x10], eax
cmp word [esp + 0x10c], 1
je 0x4119d5
lea eax, [edx + edx]
lea edi, [esp + eax*4 + 0x88]
lea ebp, [esp + eax*4 + 0x84]
xor eax, eax
xor ecx, ecx
mov cl, byte [edx + 0x474ed0]
mov dword [edi], 0
mov dword [ebp], 0
mov esi, ecx
cmp ecx, 0x1c
jge 0x411a07
mov bl, byte [esp + ecx + 0x4c]
jmp 0x411a0b
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x1c
jl 0x4119fc
mov eax, 0x1c
lea ecx, [esi + 0x1c]
cmp ecx, 0x38
jge 0x411a29
mov bl, byte [esp + ecx + 0x4c]
jmp 0x411a2d
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x38
jl 0x411a1e
xor ecx, ecx
mov eax, 0x474e38
xor ebx, ebx
mov bl, byte [ecx + 0x474ee0]
cmp byte [esp + ebx + 0x14], 0
je 0x411a58
mov esi, dword [eax]
mov ebx, dword [ebp]
or ebx, esi
mov dword [ebp], ebx
xor ebx, ebx
mov bl, byte [ecx + 0x474ef8]
cmp byte [esp + ebx + 0x14], 0
je 0x411a6f
mov esi, dword [eax]
mov ebx, dword [edi]
or ebx, esi
mov dword [edi], ebx
add eax, 4
inc ecx
cmp eax, 0x474e98
jl 0x411a3f
mov eax, dword [esp + 0x10]
inc edx
sub eax, 2
cmp eax, 0xfffffffe
mov dword [esp + 0x10], eax
jg 0x4119c7
lea edx, [esp + 0x84]
push edx
call fcn.00411ab0
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf4
ret
Function at 0x412d60
Capabilities:
Check mutex on windows

Disassembly:
mov eax, dword [esp + 4]
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov ecx, dword [esp + 8]
test eax, eax
mov dword [ecx], eax
je 0x412da0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x412d98
push str.Mutex_has_been_locked_
call fcn.00416430
add esp, 4
xor eax, eax
ret 8
mov eax, 1
ret 8
push str.Cant_create_Mutex_
call fcn.00416430
add esp, 4
xor eax, eax
ret 8

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

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x10], ecx
call edi
mov ebx, eax
mov eax, dword [esp + 0x18]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea esi, [eax + eax*4]
shl esi, 3
call edi
sub eax, ebx
cmp eax, esi
jae 0x41388b
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [esp + 0x10]
call fcn.00419982
cmp eax, 4
je 0x41388b
push 0x64
call ebp
call edi
sub eax, ebx
cmp eax, esi
jb 0x413871
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 4

Function at 0x414070
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x43fa8f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
push edi
mov edi, ecx
mov dword [esp + 8], 0
lea eax, [esp + 0xc]
mov dword [esp + 0x24], 1
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov esi, dword [esp + 0x30]
test esi, esi
je 0x4140b3
mov eax, dword [esi]
jmp 0x4140b5
xor eax, eax
mov ecx, dword [edi]
lea edx, [esp + 0xc]
push edx
mov edx, dword [esp + 0x38]
push edx
push eax
push edi
call dword [ecx + 0x74]
test eax, eax
jge 0x4140d6
push 0x475960
push edi
push eax
call fcn.0042d2de
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov eax, edi
mov word [esp + 0xc], 0
mov dword [esp + 8], 1
mov dword [eax], ecx
mov ecx, dword [esp + 0x14]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x18]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
test esi, esi
mov byte [esp + 0x24], 0
je 0x414143
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x414143
mov eax, dword [esi]
test eax, eax
je 0x41412a
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x41413a
push eax
call fcn.00432013
add esp, 4
push esi
call fcn.00432013
add esp, 4
mov ecx, dword [esp + 0x1c]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
Function at 0x414180
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push esi
mov esi, ecx
push edi
xor ebx, ebx
push str.Kernel32
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
call ebp
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
mov dword [esi + 4], eax
je 0x4141d7
push str.CreateToolhelp32Snapshot
push eax
call edi
mov dword [esi + 8], eax
mov eax, dword [esi + 4]
push str.Process32First
push eax
call edi
mov ecx, dword [esi + 4]
push str.Process32Next
push ecx
mov dword [esi + 0xc], eax
call edi
mov dword [esi + 0x10], eax
cmp dword [esi + 8], ebx
je 0x4141e6
cmp dword [esi + 0xc], ebx
je 0x4141e6
cmp dword [esi + 0x10], ebx
jne 0x41422d
cmp dword [esi + 4], ebx
je 0x41422d
push str.ntdll.dll
call ebp
cmp eax, ebx
mov dword [esi], eax
je 0x41422d
push str.ZwQuerySystemInformation
push eax
call edi
mov edx, dword [esi + 4]
push str.GetProcessHeap
push edx
mov dword [esi + 0x14], eax
call edi
mov dword [esi + 0x18], eax
mov eax, dword [esi + 4]
push str.HeapAlloc
push eax
call edi
mov ecx, dword [esi + 4]
push 0x4759a8
push ecx
mov dword [esi + 0x1c], eax
call edi
mov dword [esi + 0x20], eax
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x414260
Capabilities:
Enumerate gui resources
Terminate process

Disassembly:
mov edx, dword [esp + 4]
lea eax, [esp + 4]
push esi
push eax
push edx
call fcn.004142e0
mov esi, eax
test esi, esi
jne 0x41427c
mov al, 1
pop esi
ret 8
mov eax, dword [esp + 8]
push edi
push eax
push 0x414580
call dword [sym.imp.USER32.dll_EnumWindows]
mov ecx, dword [esp + 0x10]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x4142bc
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
cmp edi, 1
pop edi
pop esi
sete al
ret 8
push esi
mov edi, 1
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
cmp edi, edi
pop edi
pop esi
sete al
ret 8

Function at 0x4145c0
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret
Function at 0x416190
Capabilities:
Delete file
Download url
Receive data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x43faf8
push eax
mov dword fs:[0], esp
push ebx
push esi
push edi
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x416256
mov esi, dword [esp + 0x20]
test esi, esi
je 0x416256
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push edi
lea ecx, [esp + 0x20]
call fcn.00432317
mov eax, dword [esp + 0x1c]
mov ebx, dword [sym.imp.WININET.dll_DeleteUrlCacheEntry]
push eax
mov dword [esp + 0x18], 0
call ebx
lea ecx, [esp + 0x1c]
push 0x475bc0
lea edx, [esp + 0x24]
push ecx
push edx
call fcn.0043253e
mov eax, dword [eax]
push eax
call ebx
lea ecx, [esp + 0x20]
call fcn.004322a9
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
push 0
push 0
push esi
push edi
push 0
call sub.urlmon.dll_URLDownloadToFileA
mov esi, eax
call dword [sym.imp.ole32.dll_CoUninitialize]
test esi, esi
mov dword [esp + 0x14], 0xffffffff
lea ecx, [esp + 0x1c]
jl 0x416251
call fcn.004322a9
mov eax, 1
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret
call fcn.004322a9
mov ecx, dword [esp + 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret
Function at 0x416270
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x43fb32
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x230
push ebx
xor ebx, ebx
push esi
push edi
mov dword [esp + 0x10], ebx
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x139]
mov byte [esp + 0x138], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x35]
mov byte [esp + 0x34], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x138]
mov dword [esp + 0x244], 1
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov edx, dword [esp + 0x250]
cmp dword [edx - 8], ebx
jne 0x4163a1
push ebx
call fcn.00422d8c
push eax
call fcn.00422d5d
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x1d]
mov byte [esp + 0x1c], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
add esp, 8
xor esi, esi
stosb byte es:[edi], al
call fcn.00422d6a
mov edx, eax
mov edi, str.abcdefghijklmnopqrstuvwxyz1234567890________
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
mov eax, edx
dec ecx
xor edx, edx
div ecx
inc esi
cmp esi, 0xc
mov dl, byte [edx + str.abcdefghijklmnopqrstuvwxyz1234567890________]
mov byte [esp + esi + 0x13], dl
jl 0x416315
mov edi, str..tmp
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x14]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x34]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x138]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x34]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
push ecx
push edx
jmp 0x4163d5
lea edi, [esp + 0x138]
or ecx, 0xffffffff
xor eax, eax
lea esi, [esp + 0x34]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0xc], esi
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0xc]
push edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x38]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
mov esi, dword [esp + 0x24c]
lea edx, [esp + 0x34]
push edx
mov ecx, esi
call fcn.00432317
mov dword [esp + 0x10], 1
lea ecx, [esp + 0x250]
mov byte [esp + 0x244], bl
call fcn.004322a9
mov ecx, dword [esp + 0x23c]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x23c
ret
Function at 0x416480
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x43fb56
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14c
mov eax, dword [0x475eac]
push esi
mov dword [esp + 4], eax
mov dword [esp + 0x158], 0
mov dword [esp + 8], eax
mov esi, dword [esp + 0x160]
lea ecx, [esp + 8]
push esi
mov byte [esp + 0x15c], 1
call fcn.00432432
push str..
lea ecx, [esp + 0xc]
call fcn.00432685
mov ecx, dword [esp + 8]
lea eax, [esp + 0x10]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x416531
lea ecx, [esp + 8]
mov byte [esp + 0x158], 0
call fcn.004322a9
lea ecx, [esp + 4]
mov dword [esp + 0x158], 0xffffffff
call fcn.004322a9
xor eax, eax
pop esi
mov ecx, dword [esp + 0x14c]
mov dword fs:[0], ecx
add esp, 0x158
ret
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push ebp
mov ebp, dword [esp + 0x16c]
push edi
mov edi, dword [esp + 0x174]
lea edx, [esp + 0x48]
push 0x475c1c
push edx
call fcn.00422ffd
add esp, 8
test eax, eax
je 0x41662c
lea eax, [esp + 0x48]
push 0x475c18
push eax
call fcn.00422ffd
add esp, 8
test eax, eax
je 0x41662c
test ebp, ebp
jne 0x41659a
lea ecx, [esp + 0x48]
push str.desktop.ini
push ecx
call fcn.00422e68
add esp, 8
test eax, eax
je 0x41662c
push esi
lea ecx, [esp + 0x14]
call fcn.00432432
push 0x5c
lea ecx, [esp + 0x14]
call fcn.004326ac
lea edx, [esp + 0x48]
lea ecx, [esp + 0x10]
push edx
call fcn.00432685
mov eax, dword [esp + 0x10]
push eax
call ebx
test al, 1
je 0x4165d6
mov ecx, dword [esp + 0x10]
and al, 0xfe
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test byte [esp + 0x1c], 0x10
je 0x4165f9
mov edx, dword [esp + 0x10]
push edi
push ebp
push edx
call fcn.00416480
mov eax, dword [esp + 0x1c]
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
jmp 0x41662c
test edi, edi
je 0x416621
lea ecx, [esp + 0x48]
push str.index.dat
push ecx
call fcn.00422e68
add esp, 8
test eax, eax
jne 0x416621
lea edx, [esp + 0x48]
push edx
push esi
call fcn.004166a0
add esp, 8
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x1c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x416548
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0x14]
mov byte [esp + 0x164], 0
call fcn.004322a9
lea ecx, [esp + 0x10]
mov dword [esp + 0x164], 0xffffffff
call fcn.004322a9
mov ecx, dword [esp + 0x15c]
pop edi
pop ebp
pop ebx
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x158
ret
Function at 0x4166a0
Capabilities:
Get file size
Write file on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x43fb6b
push eax
mov eax, 0x2718
mov dword fs:[0], esp
call fcn.00422420
mov eax, dword [0x475eac]
push edi
mov dword [esp + 4], eax
mov ecx, 0x9c4
xor eax, eax
lea edi, [esp + 0xc]
mov dword [esp + 0x2724], 0
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x272c]
push ecx
lea ecx, [esp + 8]
call fcn.00432432
push 0x5c
lea ecx, [esp + 8]
call fcn.004326ac
mov edx, dword [esp + 0x2730]
lea ecx, [esp + 4]
push edx
call fcn.00432685
mov eax, dword [esp + 4]
push 0
push 0x80
push 3
push 0
push 3
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x41675a
lea ecx, [esp + 4]
mov dword [esp + 0x2724], eax
call fcn.004322a9
xor eax, eax
pop edi
mov ecx, dword [esp + 0x2718]
mov dword fs:[0], ecx
add esp, 0x2724
ret
push ebx
push esi
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0
push 0
mov esi, eax
push 0x40
push edi
sub esi, 0x40
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
test esi, esi
jbe 0x4167b5
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
cmp esi, 0x2710
push 0
jbe 0x4167a7
lea ecx, [esp + 0x14]
lea edx, [esp + 0x18]
push ecx
push 0x2710
push edx
push edi
call ebx
sub esi, 0x2710
jne 0x416781
jmp 0x4167b5
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push eax
push esi
push ecx
push edi
call ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0xc]
mov dword [esp + 0x272c], 0xffffffff
call fcn.004322a9
mov ecx, dword [esp + 0x2724]
pop esi
pop ebx
mov eax, 1
pop edi
mov dword fs:[0], ecx
add esp, 0x2724
ret
Function at 0x416f10
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x43fd60
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x34], 1
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x416f50
mov byte [esp + 0x34], al
jmp 0x417033
lea ecx, [esp + 0x1c]
call fcn.00437262
mov ecx, dword [esp + 0x3c]
xor ebx, ebx
push ebx
push 0x42
push ecx
lea ecx, [esp + 0x28]
mov byte [esp + 0x40], 2
call fcn.00437374
test eax, eax
je 0x417021
lea ecx, [esp + 0x1c]
call fcn.0043766e
mov ebp, eax
cmp ebp, 0x1e
jb 0x417021
lea edi, [ebp + 1]
push edi
call fcn.00431fea
mov esi, eax
add esp, 4
cmp esi, ebx
jne 0x416faa
lea ecx, [esp + 0x1c]
call fcn.0043758f
jmp 0x417021
mov ecx, edi
xor eax, eax
mov edx, ecx
mov edi, esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push ebp
and ecx, 3
push esi
rep stosb byte es:[edi], al
lea ecx, [esp + 0x24]
call fcn.00437491
lea ecx, [esp + 0x1c]
call fcn.0043758f
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push esi
call fcn.00432317
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x14]
push eax
call fcn.00416d70
push esi
mov byte [esp + 0x38], 3
call fcn.00432013
mov ecx, dword [esp + 0x44]
add esp, 4
push ebx
push 0x1002
push ecx
lea ecx, [esp + 0x28]
call fcn.00437374
test eax, eax
jne 0x417051
lea ecx, [esp + 0x10]
mov byte [esp + 0x34], 2
call fcn.004322a9
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], 1
call fcn.004372b7
mov byte [esp + 0x34], bl
lea ecx, [esp + 0x3c]
call fcn.004322a9
lea ecx, [esp + 0x40]
mov dword [esp + 0x34], 0xffffffff
call fcn.004322a9
xor eax, eax
jmp 0x4170ab
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 8]
push ecx
push eax
lea ecx, [esp + 0x24]
call fcn.004374cb
lea ecx, [esp + 0x1c]
call fcn.0043758f
lea ecx, [esp + 0x10]
mov byte [esp + 0x34], 2
call fcn.004322a9
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], 1
call fcn.004372b7
lea ecx, [esp + 0x3c]
mov byte [esp + 0x34], bl
call fcn.004322a9
lea ecx, [esp + 0x40]
mov dword [esp + 0x34], 0xffffffff
call fcn.004322a9
mov eax, 1
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x28
ret 8
Function at 0x417100
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x43fda2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x404
push esi
push edi
mov dword [esp + 8], 0
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0xd]
mov byte [esp + 0xc], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edx, dword [esp + 0x424]
lea ecx, [esp + 0xc]
stosb byte es:[edi], al
mov eax, dword [esp + 0x428]
mov dword [esp + 0x414], 3
push eax
mov eax, dword [esp + 0x424]
push 0x3ff
push ecx
push 0x47a360
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov esi, dword [esp + 0x41c]
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call fcn.00432317
mov dword [esp + 8], 1
lea ecx, [esp + 0x420]
mov byte [esp + 0x414], 2
call fcn.004322a9
lea ecx, [esp + 0x424]
mov byte [esp + 0x414], 1
call fcn.004322a9
lea ecx, [esp + 0x428]
mov byte [esp + 0x414], 0
call fcn.004322a9
mov ecx, dword [esp + 0x40c]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x410
ret 0x10

Function at 0x4171f0
Capabilities:
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x43fdc0
push eax
mov dword fs:[0], esp
push esi
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x18]
push ecx
push edx
push eax
mov dword [esp + 0x1c], 1
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
lea ecx, [esp + 0x14]
mov esi, eax
call fcn.004322a9
lea ecx, [esp + 0x18]
mov byte [esp + 0xc], 0
call fcn.004322a9
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], 0xffffffff
call fcn.004322a9
mov ecx, dword [esp + 4]
mov eax, esi
mov dword fs:[0], ecx
pop esi
add esp, 0xc
ret 0x10

Function at 0x417500
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x40]
test eax, eax
je 0x41751a
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [esi + 0x40], 0
pop esi
ret
Function at 0x417c80
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov ebx, eax
mov eax, dword [esp + 0x10]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea esi, [eax + eax*4]
shl esi, 3
call edi
sub eax, ebx
cmp eax, esi
ja 0x417cc9
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x64
call ebp
call fcn.004167f0
call edi
sub eax, ebx
cmp eax, esi
jbe 0x417cac
pop ebp
pop edi
pop esi
mov eax, 1
pop ebx
ret 4
pop edi
pop esi
mov eax, 1
pop ebx
ret 4

Function at 0x417ce0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x108
push edi
lea eax, [esp + 4]
push 4
push eax
push 0x51
push 0
mov dword [esp + 0x14], 3
call dword [sym.imp.WININET.dll_InternetSetOptionA]
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 9]
mov byte [esp + 8], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0
lea ecx, [esp + 0xc]
push 0x21
push ecx
push 0
stosb byte es:[edi], al
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
mov edx, dword [0x47a430]
lea eax, [esp + 8]
push edx
push eax
call fcn.00422640
add esp, 8
test eax, eax
pop edi
jne 0x417d46
add esp, 0x108
ret
push 0
lea ecx, [esp + 8]
push 0
push ecx
call fcn.00416480
add esp, 0xc
mov eax, 1
add esp, 0x108
ret
Function at 0x4188c0
Capabilities:
Get mac address on windows

Disassembly:
push 0xffffffffffffffff
push 0x440057
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
push edi
xor ebx, ebx
push 0x47a360
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], ebx
call fcn.00432317
lea eax, [esp + 0x18]
mov ebp, 1
push eax
push ebx
mov dword [esp + 0x30], ebp
mov dword [esp + 0x20], ebx
call sub.iphlpapi.dll_GetAdaptersInfo
cmp eax, 0x6f
je 0x418926
mov esi, dword [esp + 0x30]
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call fcn.0043201e
mov dword [esp + 0x14], ebp
jmp 0x4189ff
mov edx, dword [esp + 0x18]
push edx
call fcn.00431fea
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x4189eb
lea ecx, [esp + 0x18]
push ecx
push edi
call sub.iphlpapi.dll_GetAdaptersInfo
cmp eax, ebx
je 0x418956
lea edx, [esp + 0x10]
push edx
jmp 0x4189f0
mov esi, edi
lea eax, [esi + 0x1d8]
lea ecx, [esp + 0x1c]
push eax
call fcn.00432317
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0x28], 2
cmp dword [ecx - 8], ebx
jg 0x41898c
mov esi, dword [esi]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x28], 1
call fcn.004322a9
cmp esi, ebx
jne 0x418958
jmp 0x4189e2
xor edx, edx
xor eax, eax
mov dl, byte [esi + 0x199]
mov al, byte [esi + 0x198]
xor ecx, ecx
push edx
mov cl, byte [esi + 0x197]
push eax
xor edx, edx
push ecx
mov dl, byte [esi + 0x196]
xor eax, eax
mov al, byte [esi + 0x195]
xor ecx, ecx
mov cl, byte [esi + 0x194]
push edx
push eax
push ecx
lea edx, [esp + 0x28]
push str._02x__02x__02x__02x__02x__02x
push edx
call fcn.0043119b
add esp, 0x20
lea ecx, [esp + 0x1c]
mov byte [esp + 0x28], 1
call fcn.004322a9
push edi
call fcn.00432013
add esp, 4
lea eax, [esp + 0x10]
push eax
mov esi, dword [esp + 0x34]
mov ecx, esi
call fcn.0043201e
mov dword [esp + 0x14], ebp
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], bl
call fcn.004322a9
mov ecx, dword [esp + 0x20]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 4