joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5d3fec
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xc4], 0
je 0x5d4049
cmp byte [ebx + 0xeb], 0
jne 0x5d4049
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x188]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00409478
mov eax, dword [esi]
test eax, eax
je 0x5d4036
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x5d4056
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.004096d0
jmp 0x5d4056
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.004096d0
add esp, 0x200
pop esi
pop ebx
ret

Function at 0x5d5908
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x98]
test esi, esi
je 0x5d5979
mov eax, esi
call fcn.00528e54
test al, al
je 0x5d5979
mov eax, dword [ebx + 0x98]
call fcn.00528a84
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x5d5979
mov eax, dword [ebx + 0x98]
mov edx, dword [eax]
call dword [edx + 0x114]
test al, al
je 0x5d596a
push 0
mov eax, dword [ebx + 0x98]
call fcn.00528a84
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x98]
call fcn.0051f77c
jmp 0x5d5979
mov cl, 1
mov edx, dword [ebx + 0x88]
mov eax, ebx
call fcn.005d5740
pop esi
pop ebx
ret
Function at 0x401134
Capabilities:
Create thread

Disassembly:
push esi
mov esi, dword [ecx + 0x10]
lea eax, [esi + 4]
push eax
xor eax, eax
push eax
push ecx
push 0x401227
push eax
push eax
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
mov dword [esi + 8], eax
pop esi
ret

Function at 0x401168
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x800
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.0040797e
test eax, eax
jne 0x40121a
mov eax, dword [esi + 4]
mov byte [esi + 0x14], 1
lea edi, [esi + 8]
push dword [eax]
push edi
call fcn.0040799c
push dword [edi]
call fcn.004079fc
mov dword [esi + 0xc], eax
mov eax, dword [esi + 4]
add esp, 0xc
mov ebp, str.DX8Diag
push dword [eax + 0x18]
lea eax, [esp + 0x14]
mov ebx, 0x412030
push 0x800
push eax
push str._none_
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [esp + 0x10]
push eax
push dword [esi + 0xc]
call sub.MSVCRT.dll_strcmp
pop ecx
test eax, eax
pop ecx
je 0x40121a
push dword [edi]
call fcn.004079d3
mov eax, dword [esi + 4]
pop ecx
mov edi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push dword [eax + 0x18]
push dword [esi + 0xc]
push ebp
push ebx
call edi
push 1
mov ebp, 0x418b98
push 0x412048
push ebp
call dword [sym.imp.MSVCRT.dll_sprintf]
mov eax, dword [esi + 4]
add esp, 0xc
push dword [eax + 0x18]
push ebp
push str.RequirementsChecked
push ebx
call edi
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x800
ret

Function at 0x4022af
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1104
call fcn.0040e3c0
push esi
push edi
lea eax, [ebp - 0x104]
push 0x104
push eax
lea esi, [ebp - 0x1104]
call fcn.00402407
lea eax, [ebp - 0x104]
push 0x4121ac
push eax
call sub.MSVCRT.dll_strcat
lea eax, [ebp - 0x104]
push str.MumboJumbo
push eax
call sub.MSVCRT.dll_strcat
lea eax, [ebp - 0x104]
push str..ini
push eax
call sub.MSVCRT.dll_strcat
mov edi, dword [ebp + 0xc]
add esp, 0x20
lea eax, [ebp - 0x104]
and byte [edi], 0
push eax
lea eax, [ebp - 0x1104]
push 0x1000
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesA]
cmp eax, 0xffe
jne 0x40233b
call fcn.004023c5
jmp 0x4023bb
cmp byte [ebp - 0x1104], 0
je 0x402369
push dword [ebp + 8]
push esi
call dword [sym.imp.MSVCRT.dll__stricmp]
pop ecx
test eax, eax
pop ecx
je 0x402364
push esi
call sub.MSVCRT.dll_strlen
lea esi, [esi + eax + 1]
pop ecx
cmp byte [esi], 0
jne 0x402344
cmp byte [esi], 0
jne 0x4023bf
mov esi, dword [sym.imp.MSVCRT.dll_fopen]
lea eax, [ebp - 0x104]
push 0x412194
push eax
mov byte [edi], 1
call esi
pop ecx
test eax, eax
pop ecx
jne 0x40239a
lea eax, [ebp - 0x104]
push 0x412190
push eax
call esi
pop ecx
test eax, eax
pop ecx
je 0x4023bb
push eax
call dword [sym.imp.MSVCRT.dll_fclose]
pop ecx
lea eax, [ebp - 0x104]
push eax
push 0x418bc4
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileSectionA]
test eax, eax
jne 0x4023bf
xor al, al
jmp 0x4023c1
mov al, 1
pop edi
pop esi
leave
ret
Function at 0x402407
Capabilities:
Get common file path

Disassembly:
push 1
push 0x1a
push dword [esp + 0xc]
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
jne 0x402429
push dword [esp + 8]
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
ret

Function at 0x40242a
Capabilities:
Read .ini file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1104
call fcn.0040e3c0
push ebx
push esi
push edi
lea eax, [ebp - 0x104]
push 0x104
push eax
lea esi, [ebp - 0x1104]
call fcn.00402407
lea eax, [ebp - 0x104]
push 0x4121ac
push eax
call sub.MSVCRT.dll_strcat
lea eax, [ebp - 0x104]
push str.ud_soundmanager
push eax
call sub.MSVCRT.dll_strcat
lea eax, [ebp - 0x104]
push str..ini
push eax
call sub.MSVCRT.dll_strcat
mov edi, dword [ebp + 0xc]
add esp, 0x20
lea eax, [ebp - 0x104]
xor ebx, ebx
push eax
lea eax, [ebp - 0x1104]
push 0x1000
push eax
mov byte [edi], bl
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesA]
cmp eax, 0xffe
jne 0x4024b8
call fcn.004023c5
jmp 0x40254d
cmp byte [ebp - 0x1104], bl
je 0x4024e3
push dword [ebp + 8]
push esi
call dword [sym.imp.MSVCRT.dll__stricmp]
pop ecx
test eax, eax
pop ecx
je 0x4024df
push esi
call sub.MSVCRT.dll_strlen
lea esi, [esi + eax + 1]
pop ecx
cmp byte [esi], bl
jne 0x4024c0
cmp byte [esi], bl
jne 0x402551
mov esi, dword [sym.imp.MSVCRT.dll_fopen]
lea eax, [ebp - 0x104]
push 0x412194
push eax
mov byte [edi], 1
call esi
mov edi, eax
pop ecx
cmp edi, ebx
pop ecx
jne 0x402527
lea eax, [ebp - 0x104]
push 0x412190
push eax
call esi
mov edi, eax
pop ecx
cmp edi, ebx
pop ecx
je 0x40254d
lea eax, [ebp - 0x104]
push 2
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push edi
call dword [sym.imp.MSVCRT.dll_fclose]
cmp byte [ebp + 0x10], bl
pop ecx
je 0x402551
lea eax, [ebp - 0x104]
push eax
push 0x418bc4
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileSectionA]
test eax, eax
jne 0x402551
xor al, al
jmp 0x402553
mov al, 1
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4025c5
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
lea eax, [ebp - 0x104]
push 0x104
push eax
call fcn.00402407
lea eax, [ebp - 0x104]
push 0x4121ac
push eax
call sub.MSVCRT.dll_strcat
lea eax, [ebp - 0x104]
push str.MumboJumbo
push eax
call sub.MSVCRT.dll_strcat
lea eax, [ebp - 0x104]
push str..ini
push eax
call sub.MSVCRT.dll_strcat
add esp, 0x20
lea eax, [ebp - 0x104]
push eax
push 0x400
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
leave
ret
Function at 0x40286c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, ecx
push esi
push edi
lea eax, [ebx + 0x814]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp + 8], 8
lea edi, [eax + 0xa8]
cmp dword [edi], 0
je 0x4028c0
push 8
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
pop ecx
test esi, esi
je 0x4028b9
mov eax, dword [edi]
mov dword [esi], 0x40f3a0
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [esi + 4], eax
jmp 0x4028bb
xor esi, esi
mov eax, dword [ebp - 4]
mov dword [eax], esi
add dword [ebp - 4], 4
add edi, 4
dec dword [ebp + 8]
jne 0x40288e
push 0x1c
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
pop ecx
test esi, esi
je 0x4028ec
lea eax, [esi + 4]
mov dword [esi], 0x40f2b0
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
jmp 0x4028ee
xor esi, esi
push 0xc
mov dword [ebx + 0x83c], esi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
test eax, eax
pop ecx
je 0x402912
and dword [eax + 4], 0
and dword [eax + 8], 0
mov dword [eax], 0x40f2a8
mov esi, eax
jmp 0x402914
xor esi, esi
lea eax, [esi + 4]
mov dword [ebx + 0x840], esi
push eax
xor eax, eax
push eax
push ebx
push 0x4027fc
push eax
push eax
mov dword [ebx + 0x838], 1
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
mov dword [esi + 8], eax
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x403008
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
push 0x94
lea eax, [ebp - 0x94]
push 0
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x94]
mov dword [ebp - 0x94], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x4030f0
mov eax, dword [ebp - 0x84]
sub eax, 0
je 0x4030e7
dec eax
je 0x40309b
dec eax
jne 0x4030f0
cmp dword [ebp - 0x90], 3
je 0x4030f0
cmp dword [ebp - 0x90], 4
je 0x4030f0
cmp dword [ebp - 0x90], 5
jne 0x403096
cmp dword [ebp - 0x8c], 0
mov eax, dword [ebp + 8]
jne 0x403090
cmp dword [eax + 0x5c], 5
jmp 0x4030ee
cmp dword [eax + 0x5c], 6
ja 0x4030f0
xor eax, eax
inc eax
jmp 0x4030f3
cmp dword [ebp - 0x90], 4
jb 0x4030de
cmp dword [ebp - 0x8c], 0xa
jae 0x4030ba
mov ecx, dword [ebp + 8]
xor eax, eax
inc eax
cmp dword [ecx + 0x5c], eax
ja 0x4030f0
jmp 0x4030f3
cmp dword [ebp - 0x8c], 0x5a
mov eax, dword [ebp + 8]
jae 0x4030e1
cmp dword [ebp - 0x88], 0x887
jb 0x4030d8
cmp dword [eax + 0x5c], 3
jmp 0x4030ee
cmp dword [eax + 0x5c], 2
jmp 0x4030ee
mov eax, dword [ebp + 8]
cmp dword [eax + 0x5c], 4
jmp 0x4030ee
mov eax, dword [ebp + 8]
cmp dword [eax + 0x5c], 0
jbe 0x403096
push 2
pop eax
leave
ret 4

Function at 0x403257
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push 0x20
lea eax, [ebp - 0x20]
push 0
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x20
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [eax + 0x68]
sbb eax, eax
and eax, 3
inc eax
leave
ret 4
Function at 0x4038fb
Capabilities:
Read file on windows

Disassembly:
push edi
push 0x4126b8
push dword [esp + 0x10]
call dword [sym.imp.MSVCRT.dll_fopen]
mov edi, eax
pop ecx
test edi, edi
pop ecx
jne 0x403915
pop edi
ret
push ebx
push esi
mov esi, dword [sym.imp.MSVCRT.dll_fseek]
push 2
push 0
push edi
call esi
push edi
call dword [sym.imp.MSVCRT.dll_ftell]
push 0
push 0
push edi
mov ebx, eax
call esi
push ebx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 0x20
test esi, esi
je 0x403951
push edi
push ebx
push 1
push esi
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x10
push edi
call dword [sym.imp.MSVCRT.dll_fclose]
push ebx
push esi
push dword [esp + 0x1c]
call fcn.00403974
push esi
mov edi, eax
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 0x14
mov eax, edi
pop esi
pop ebx
pop edi
ret

Function at 0x403974
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x4190fc], 0
push esi
jne 0x4039ab
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x403985
mov dword [ecx*4 + 0x4190f8], eax
inc ecx
cmp ecx, 0x100
jl 0x403980
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x4039dc
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x4190f8]
xor eax, esi
inc ecx
dec edx
jne 0x4039be
pop edi
not eax
pop esi
ret

Function at 0x4039e0
Capabilities:
Read file on windows

Disassembly:
push ecx
mov ecx, dword [esp + 0xc]
push ebx
xor ebx, ebx
xor eax, eax
cmp byte [ecx + 0x2c], bl
push ebp
push esi
je 0x403a63
cmp dword [0x41a548], ebx
je 0x403a63
mov eax, dword [0x41a54c]
lea esi, [eax - 0x10]
push esi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ebp, eax
pop ecx
cmp ebp, ebx
je 0x403a7b
push edi
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
push ebx
push ebx
push dword [0x41a548]
call edi
push dword [0x41a548]
push esi
push 1
push ebp
call dword [sym.imp.MSVCRT.dll_fread]
push ebx
mov dword [esp + 0x30], eax
push dword [0x41a54c]
push dword [0x41a548]
call edi
add esp, 0x28
cmp dword [esp + 0x10], esi
pop edi
jne 0x403a7b
push esi
push ebp
push ebx
call fcn.00403974
add esp, 0xc
cmp eax, dword [0x4190f0]
jne 0x403a7b
mov ecx, dword [esp + 0x18]
cmp byte [ecx + 0x2d], bl
je 0x403a7f
push dword [ecx + 0x14]
push eax
call fcn.004038fb
cmp eax, dword [0x4190f4]
pop ecx
pop ecx
je 0x403a7f
xor al, al
jmp 0x403a81
mov al, 1
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x403ab4
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
and dword [0x41a54c], 0
push ebx
push esi
push edi
push 0x4126b8
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll_fopen]
pop ecx
mov dword [0x41a548], eax
test eax, eax
pop ecx
je 0x403bc2
test byte [eax + 0xc], 0x10
jne 0x403ba1
mov esi, dword [sym.imp.MSVCRT.dll_fread]
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
push eax
push 1
lea eax, [ebp + 0xb]
push 1
push eax
call esi
add esp, 0x10
cmp eax, 1
jne 0x403bc2
cmp byte [ebp + 0xb], 0x4d
jne 0x403b92
push dword [0x41a548]
call dword [sym.imp.MSVCRT.dll_ftell]
mov ebx, eax
push 0
lea eax, [ebx - 1]
push eax
push dword [0x41a548]
call edi
push dword [0x41a548]
lea eax, [ebp - 4]
push 4
push 1
push eax
call esi
add esp, 0x20
cmp eax, 4
jne 0x403b84
cmp dword [ebp - 4], 0x30454a4d
jne 0x403b84
push dword [0x41a548]
lea eax, [ebp - 0x10]
push 0xc
push 1
push eax
call esi
add esp, 0x10
cmp eax, 0xc
jne 0x403b84
cmp dword [ebp - 0x10], 0xdc763dc2
jne 0x403b84
cmp dword [ebp - 0xc], 0xb7da9210
jne 0x403b84
cmp dword [ebp - 8], 0x963fdb38
je 0x403bae
push 0
push ebx
push dword [0x41a548]
call edi
add esp, 0xc
mov eax, dword [0x41a548]
test byte [eax + 0xc], 0x10
je 0x403af7
xor eax, eax
inc eax
mov dword [0x41a550], eax
pop edi
pop esi
pop ebx
leave
ret
push dword [0x41a548]
call dword [sym.imp.MSVCRT.dll_ftell]
pop ecx
mov dword [0x41a54c], eax
jmp 0x403ba1
xor eax, eax
jmp 0x403ba9

Function at 0x403bc6
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [0x41a548]
push esi
test eax, eax
jne 0x403bd4
xor eax, eax
pop esi
ret
push 0
push dword [0x41a54c]
push eax
call dword [sym.imp.MSVCRT.dll_fseek]
push dword [0x41a548]
mov esi, 0x4190e8
push 0x10
push 1
push esi
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x1c
cmp eax, 0x10
jne 0x403bd0
push edi
push eax
push esi
call fcn.00403c2d
mov edi, eax
push 0x10
push edi
push esi
call sub.MSVCRT.dll_memcpy
push edi
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 0x18
cmp dword [0x4190e8], 0x10000
sbb eax, eax
pop edi
inc eax
pop esi
ret

Function at 0x403cb2
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [0x41a54c]
push esi
push edi
add eax, 0x10
push 0
push eax
push dword [0x41a548]
call dword [sym.imp.MSVCRT.dll_fseek]
mov esi, dword [0x4190ec]
imul esi, esi, 0x8c
push esi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
add esp, 0x10
test edi, edi
je 0x403cfd
push dword [0x41a548]
push esi
push 1
push edi
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x10
cmp eax, esi
je 0x403d01
xor eax, eax
jmp 0x403d19
push esi
push edi
call fcn.00403c2d
push edi
mov dword [0x4194fc], eax
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
xor eax, eax
add esp, 0xc
inc eax
pop edi
pop esi
ret
Function at 0x403f18
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
push edi
test ebx, ebx
je 0x403f73
push ebx
call fcn.00403ec9
mov esi, eax
push esi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
pop ecx
test edi, edi
pop ecx
je 0x403f73
mov eax, dword [ebx]
mov ecx, dword [0x4194fc]
imul eax, eax, 0x8c
push 0
push dword [eax + ecx + 0x84]
push dword [0x41a548]
call dword [sym.imp.MSVCRT.dll_fseek]
push dword [0x41a548]
push esi
push 1
push edi
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x1c
cmp eax, esi
je 0x403f77
xor eax, eax
jmp 0x403f8b
push esi
push edi
call fcn.00403c2d
push edi
mov esi, eax
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 0xc
mov eax, esi
pop edi
pop esi
pop ebx
ret
Function at 0x4051d9
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, dword [ecx + 0xc]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0xc]
mov dword [ecx + 8], eax
lea eax, [esi + 4]
push eax
xor eax, eax
push eax
push ecx
push 0x40520a
push eax
push eax
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
mov dword [esi + 8], eax
pop esi
ret 8

Function at 0x405514
Capabilities:
Create thread

Disassembly:
push esi
mov esi, dword [ecx + 0xc20]
lea eax, [esi + 4]
push eax
xor eax, eax
push eax
push ecx
push 0x405553
push eax
push eax
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
mov dword [esi + 8], eax
pop esi
ret

Function at 0x406055
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 8]
push 0x41ad68
mov dword [0x41b174], eax
mov eax, dword [esp + 8]
mov dword [0x41ad60], eax
xor eax, eax
push eax
push eax
push 0x406088
push eax
push eax
call dword [sym.imp.MSVCRT.dll__beginthreadex]
mov dword [0x41ad6c], eax
add esp, 0x18
xor eax, eax
ret

Function at 0x406256
Capabilities:
Initialize winsock library

Disassembly:
cmp dword [0x41b308], 0
jg 0x4062a1
push esi
push 0x190
mov esi, 0x41b178
push 0
push esi
call sub.MSVCRT.dll_memset
add esp, 0xc
push esi
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
sub eax, 0x271e
pop esi
je 0x4062a5
sub eax, 0x16
je 0x4062a5
sub eax, 0x1f
je 0x4062a5
sub eax, 0x18
je 0x4062a5
dec eax
je 0x4062a5
inc dword [0x41b308]
xor eax, eax
inc eax
ret
xor eax, eax
ret

Function at 0x406d30
Capabilities:
Encrypt data using blowfish

Disassembly:
sub esp, 8
mov ecx, 0x412
push ebx
mov ebx, dword [esp + 0x10]
push esi
push edi
mov esi, 0x40f418
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x1c]
cmp edi, 0x48
jle 0x406d56
mov edi, 0x48
mov ecx, dword [esp + 0x20]
push ebp
add edi, ecx
mov eax, ecx
xor ebp, ebp
xor edx, edx
mov dl, byte [eax]
inc eax
cmp eax, edi
mov esi, edx
jb 0x406d6e
mov eax, ecx
xor edx, edx
mov dl, byte [eax]
shl esi, 8
or esi, edx
inc eax
cmp eax, edi
jb 0x406d7e
mov eax, ecx
xor edx, edx
mov dl, byte [eax]
shl esi, 8
or esi, edx
inc eax
cmp eax, edi
jb 0x406d8e
mov eax, ecx
xor edx, edx
mov dl, byte [eax]
shl esi, 8
or esi, edx
inc eax
cmp eax, edi
jb 0x406d9e
mov eax, ecx
mov edx, dword [ebx + ebp*4]
xor edx, esi
mov dword [ebx + ebp*4], edx
inc ebp
cmp ebp, 0x12
jl 0x406d61
xor esi, esi
pop ebp
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], esi
lea eax, [esp + 0xc]
push ebx
push eax
call fcn.00406e10
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [ebx + esi*4], ecx
mov dword [ebx + esi*4 + 4], edx
add esi, 2
add esp, 8
cmp esi, 0x12
jl 0x406db7
xor esi, esi
lea eax, [esp + 0xc]
push ebx
push eax
call fcn.00406e10
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [ebx + esi*4 + 0x48], ecx
mov dword [ebx + esi*4 + 0x4c], edx
add esi, 2
add esp, 8
cmp esi, 0x400
jl 0x406dde
pop edi
pop esi
pop ebx
add esp, 8
ret
Function at 0x40b136
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
push ebx
mov ebx, dword [ebp + 0xc]
push esi
lea eax, [ebp + 0xc]
push edi
push eax
lea eax, [ebp - 0x108]
mov esi, 0x104
push eax
push esi
push 0
mov edi, ecx
push ebx
push 0
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_SearchPathA]
test eax, eax
je 0x40b17a
mov eax, dword [edi]
lea ecx, [ebp - 0x108]
push ecx
mov ecx, edi
jmp 0x40b229
lea eax, [ebp - 0x108]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [ebp - 0x108]
push eax
call sub.MSVCRT.dll_strlen
pop ecx
lea esi, [ebp + eax - 0x109]
mov al, byte [esi]
cmp al, 0x2f
je 0x40b1a6
cmp al, 0x5c
jne 0x40b1a9
dec esi
jmp 0x40b19c
inc esi
push str.drivers_
mov byte [esi], 0x5c
inc esi
push esi
call sub.MSVCRT.dll_strcpy
push ebx
push esi
call sub.MSVCRT.dll_strcat
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
add esp, 0x10
lea eax, [ebp - 0x108]
push eax
call edi
cmp eax, 0xffffffff
jne 0x40b21d
push str.dxxpdbg_
push esi
call sub.MSVCRT.dll_strcpy
push ebx
push esi
call sub.MSVCRT.dll_strcat
add esp, 0x10
lea eax, [ebp - 0x108]
push eax
call edi
cmp eax, 0xffffffff
jne 0x40b21d
push str.dllcache_
push esi
call sub.MSVCRT.dll_strcpy
push ebx
push esi
call sub.MSVCRT.dll_strcat
add esp, 0x10
lea eax, [ebp - 0x108]
push eax
call edi
cmp eax, 0xffffffff
je 0x40b232
mov ecx, dword [ebp - 4]
lea edx, [ebp - 0x108]
push edx
mov eax, dword [ecx]
push ebx
push dword [ebp + 8]
call dword [eax + 0x10]
jmp 0x40b240
mov ecx, dword [ebp + 8]
push str._i_not_found___i_
push ebx
call fcn.004073e5
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x40b7b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x40e8a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push esi
mov esi, dword [esp + 0x58]
push edi
mov ecx, 7
lea edi, [esp + 0x30]
lea eax, [esp + 0x33]
rep movsd dword es:[edi], dword [esi]
push eax
lea ecx, [esp + 0xc]
call fcn.0040c2f0
lea ecx, [esp + 8]
mov dword [esp + 0x54], 0
push ecx
mov ecx, 0x41bb68
call fcn.0040cb90
or esi, 0xffffffff
lea ecx, [esp + 8]
mov dword [esp + 0x54], esi
call fcn.0040c3d0
lea edx, [esp + 0x30]
lea ecx, [esp + 0x1c]
push edx
call fcn.0040c2f0
lea eax, [esp + 0x1c]
mov ecx, 0x41bb54
push eax
mov dword [esp + 0x58], 1
call fcn.0040cb90
lea ecx, [esp + 0x1c]
mov dword [esp + 0x54], esi
call fcn.0040c3d0
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x50
ret
Function at 0x40c2f0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x40e8b8
push eax
mov dword fs:[0], esp
sub esp, 0x14
xor eax, eax
push ebx
push ebp
mov ebx, ecx
push edi
mov edi, dword [esp + 0x30]
xor ebp, ebp
or ecx, 0xffffffff
mov dword [ebx], 0x41052c
mov dword [ebx + 8], ebp
mov dword [ebx + 0xc], ebp
mov dword [ebx + 0x10], ebp
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x40c3b4
push esi
mov eax, dword [esp + 0x34]
xor esi, esi
mov al, byte [eax + ebp]
cmp al, 0x30
jl 0x40c34c
cmp al, 0x39
jg 0x40c34c
movsx esi, al
sub esi, 0x30
jmp 0x40c35a
cmp al, 0x61
jl 0x40c35a
cmp al, 0x66
jg 0x40c35a
movsx esi, al
sub esi, 0x57
cmp al, 0x41
jl 0x40c368
cmp al, 0x46
jg 0x40c368
movsx esi, al
sub esi, 0x37
push 4
mov ecx, ebx
call fcn.0040cc70
push esi
lea ecx, [esp + 0x14]
call fcn.0040c260
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0
push ecx
mov ecx, ebx
call fcn.0040ccf0
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
call fcn.0040c3d0
mov edi, dword [esp + 0x34]
or ecx, 0xffffffff
xor eax, eax
inc ebp
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ebp, ecx
jb 0x40c333
pop esi
mov ecx, dword [esp + 0x20]
pop edi
mov eax, ebx
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 4

Function at 0x40d230
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x40e9a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
xor esi, esi
push ecx
lea ecx, [esp + 0xc]
mov dword [esp + 8], esi
call fcn.0040c2c0
mov eax, dword [esp + 0x30]
lea ecx, [esp + 8]
push eax
mov dword [esp + 0x28], esi
call fcn.0040c820
mov esi, dword [esp + 0x2c]
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call fcn.0040c2c0
lea ecx, [esp + 8]
call fcn.0040c3d0
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret 8

Function at 0x40d2a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x40e9c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
xor esi, esi
push ecx
lea ecx, [esp + 0xc]
mov dword [esp + 8], esi
call fcn.0040c2c0
mov eax, dword [esp + 0x30]
lea ecx, [esp + 8]
push eax
mov dword [esp + 0x28], esi
call fcn.0040c920
mov esi, dword [esp + 0x2c]
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call fcn.0040c2c0
lea ecx, [esp + 8]
call fcn.0040c3d0
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret 8