joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401000
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
mov eax, dword [0x4ad1df]
shl eax, 2
mov dword [0x4ad1e3], eax
push edi
push ecx
xor eax, eax
mov edi, 0x4d29a8
mov ecx, 0x4d7ebc
cmp ecx, edi
jbe 0x401024
sub ecx, edi
cld
rep stosb byte es:[edi], al
pop ecx
pop edi
push 0
call fcn.0049b80f
pop ecx
push 0x4ad1a8
push 0
call sub.KERNEL32.dll_GetModuleHandleA
mov dword [0x4ad1e7], eax
push 0
jmp fcn.004a9b5c

Function at 0x406155
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov eax, 0x4adbb4
push ebx
push esi
mov esi, 0x4ada44
call fcn.0049d698
mov word [ebp - 0x18], 8
mov edx, dword [ebp + 8]
add edx, 6
push edx
call fcn.004aa26c
pop ecx
inc dword [ebp - 0xc]
cmp dword [esi], 0
jne 0x40626a
imul ecx, dword [0x4ada48], 0x3c
add ecx, 4
push ecx
call fcn.004a78f4
pop ecx
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4061d7
mov word [ebp - 0x18], 0x20
push 0x4070c0
push 1
push 0x407064
push 0x211
push dword [0x4ada48]
push 0x3c
push dword [ebp - 4]
call fcn.004a7b3c
mov word [ebp - 0x18], 0x14
add esp, 0x1c
jmp 0x4061da
mov eax, dword [ebp - 4]
mov dword [esi], eax
mov word [ebp - 0x18], 8
xor eax, eax
jmp 0x406202
mov edx, eax
shl edx, 4
sub edx, eax
mov ecx, dword [esi]
xor ebx, ebx
mov dword [ecx + edx*4 + 0x14], ebx
push ebx
pop ebx
mov dword [ecx + edx*4 + 0x10], ebx
xor ebx, ebx
mov dword [ecx + edx*4 + 0x38], ebx
inc eax
cmp eax, dword [0x4ada48]
jl 0x4061e6
mov eax, dword [0x4ada48]
inc eax
shl eax, 2
push eax
call fcn.004a78f4
pop ecx
mov dword [0x4ada50], eax
push 0
push 0
push 0
push 0
call sub.KERNEL32.dll_CreateEventA
mov edx, dword [0x4ada50]
mov dword [edx], eax
push 0x4d2ba8
call sub.KERNEL32.dll_InitializeCriticalSection
lea ecx, [ebp - 0x2c]
push ecx
push 0
push 0
push 0x406f02
push 0
push 0
call sub.KERNEL32.dll_CreateThread
mov ebx, eax
mov dword [0x4ada54], ebx
test ebx, ebx
jne 0x40626a
mov dword [0x4ada4c], 0xa
mov eax, dword [ebp + 8]
mov byte [eax], 0
mov edx, dword [ebp + 8]
mov byte [edx + 1], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 2], 0xffffffff
mov eax, dword [ebp - 0x28]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4064c4
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
mov eax, 0x4adca0
push ebx
call fcn.0049d698
cmp dword [0x4ada44], 0
je 0x406571
push 0
push dword [0x4ada54]
call sub.KERNEL32.dll_TerminateThread
push 0x4d2ba8
call sub.KERNEL32.dll_DeleteCriticalSection
mov edx, dword [0x4ada50]
push dword [edx]
call sub.KERNEL32.dll_CloseHandle
xor ebx, ebx
jmp 0x406533
mov eax, ebx
shl eax, 4
sub eax, ebx
mov edx, dword [0x4ada44]
mov eax, dword [edx + eax*4 + 0x38]
test eax, eax
je 0x406532
mov edx, ebx
mov ecx, dword [0x4ada44]
shl edx, 4
push eax
sub edx, ebx
call sub.KERNEL32.dll_FindCloseChangeNotification
inc ebx
cmp ebx, dword [0x4ada48]
jl 0x40650a
mov eax, dword [0x4ada44]
mov dword [ebp - 4], eax
mov word [ebp - 0x18], 0x14
push 0x4070c0
push 0x19
push 0
push 0x3c
push dword [ebp - 4]
call fcn.004a7a14
add esp, 0x14
mov word [ebp - 0x18], 8
push dword [0x4ada50]
call fcn.004a789c
pop ecx
xor edx, edx
mov dword [0x4ada44], edx
xor ecx, ecx
mov dword [0x4ada50], ecx
mov eax, dword [ebp - 0x28]
mov dword fs:[0], eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40d6db
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push 5
push dword [ebx + 0x14]
call sub.USER32.dll_ShowWindow
push dword [ebx + 0x14]
call sub.USER32.dll_BringWindowToTop
push 0
push 0
push 0xc5
push dword [ebx + 0x14]
call sub.USER32.dll_SendMessageA
push 0
push dword [ebx + 0x18]
push 0x30
push dword [ebx + 0x14]
call sub.USER32.dll_SendMessageA
push 1
push ebx
call fcn.0040d722
add esp, 8
pop ebx
pop ebp
ret

Function at 0x413879
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd38
mov eax, 0x4b05bc
push ebx
push esi
push edi
mov esi, str.Serv_U___d_
mov edi, dword [ebp + 0xc]
call fcn.0049d698
push edi
call fcn.00407808
pop ecx
mov ebx, 1
push ebx
lea eax, [esi + 0x4a2]
push eax
lea edx, [esi + 0x49d]
push edx
lea ecx, [ebp - 0xc8]
push ecx
call fcn.004a00a0
add esp, 0x10
lea eax, [ebp - 0x2c8]
lea edx, [esi + 0x4a7]
lea ecx, [ebp - 0xc8]
push 0x4afe1c
push pe_nt_image_headers32
push eax
push edx
push ecx
lea eax, [esi + 0x496]
push eax
call sub.KERNEL32.dll_GetPrivateProfileStringA
lea edx, [esi + 0x4a7]
push edx
lea ecx, [ebp - 0x2c8]
push ecx
call sub.KERNEL32.dll_lstrcmpA
test eax, eax
je 0x413943
mov word [ebp - 0x18], 8
lea eax, [ebp - 0x2c8]
push eax
lea edx, [ebp - 4]
push edx
call fcn.004aa30c
add esp, 8
inc dword [ebp - 0xc]
lea ecx, [ebp - 4]
push ecx
push edi
call fcn.004073c0
add esp, 8
dec dword [ebp - 0xc]
push 2
lea eax, [ebp - 4]
push eax
call fcn.004aac40
add esp, 8
inc ebx
jmp 0x4138a3
mov edx, dword [ebp - 0x28]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x416011
Capabilities:
Delete registry value
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf4
push ebx
push esi
push edi
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x41602b
mov edi, 1
jmp 0x41602d
xor edi, edi
cmp dword [0x4afe18], 1
jne 0x416112
push str.KERNEL32.DLL
call sub.KERNEL32.dll_LoadLibraryA
mov esi, eax
push str.RegisterServiceProcess
push esi
call sub.KERNEL32.dll_GetProcAddress
mov dword [ebp - 4], eax
test eax, eax
je 0x41605e
push edi
push 0
call dword [ebp - 4]
push esi
call sub.KERNEL32.dll_FreeLibrary
mov eax, ebx
test ebx, ebx
mov dword [0x4afe14], eax
je 0x4160df
push pe_nt_image_headers32
lea edx, [ebp - 0x20c]
push edx
mov ecx, dword [ebp + 8]
push dword [ecx + 0x5a]
call sub.KERNEL32.dll_GetModuleFileNameA
lea eax, [ebp - 0xc]
lea edx, [ebp - 8]
push eax
push edx
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRunServices
push 0x80000002
call sub.ADVAPI32.dll_RegCreateKeyExA
test eax, eax
jne 0x416112
lea ecx, [ebp - 0x20c]
push ecx
call fcn.0049af74
pop ecx
inc eax
push eax
lea eax, [ebp - 0x20c]
push eax
push 1
push 0
push str.Serv_U
push dword [ebp - 8]
call sub.ADVAPI32.dll_RegSetValueExA
push dword [ebp - 8]
call sub.ADVAPI32.dll_RegCloseKey
jmp 0x416112
lea edx, [ebp - 8]
push edx
push 0x20019
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRunServices
push 0x80000002
call sub.ADVAPI32.dll_RegOpenKeyExA
test eax, eax
jne 0x416112
push str.Serv_U
push dword [ebp - 8]
call sub.ADVAPI32.dll_RegDeleteValueA
push dword [ebp - 8]
call sub.ADVAPI32.dll_RegCloseKey
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41bc94
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
mov eax, 0x4b218e
call fcn.0049d698
mov word [ebp - 0x14], 8
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [edx], ecx
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x14]
mov dword [eax + 4], edx
mov ecx, dword [ebp + 8]
add ecx, 8
push ecx
call fcn.0041fac4
pop ecx
add dword [ebp - 8], 3
mov eax, dword [ebp + 8]
add eax, 0x30
push eax
call fcn.004041d8
pop ecx
inc dword [ebp - 8]
mov edx, dword [ebp + 8]
add edx, 0x2bc
push edx
call fcn.00407174
pop ecx
add dword [ebp - 8], 2
mov ecx, dword [ebp + 8]
add ecx, 0x2dc
push ecx
call fcn.00407174
pop ecx
add dword [ebp - 8], 2
mov eax, dword [ebp + 8]
add eax, 0x2fc
push eax
call fcn.00407174
pop ecx
add dword [ebp - 8], 2
push pe_nt_image_headers32
push dword [ebp + 0x10]
mov edx, dword [ebp + 8]
add edx, 0xb8
push edx
call fcn.0049b180
add esp, 0xc
mov ecx, dword [ebp + 8]
mov byte [ecx + 0x2b7], 0
push dword [ebp + 8]
call fcn.0041c113
pop ecx
push eax
call fcn.0049e174
pop ecx
push dword [ebp + 8]
call fcn.0041be20
pop ecx
mov eax, dword [ebp - 0x24]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret
Function at 0x41cd1e
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff90
push ebx
push esi
push edi
mov edi, dword [ebp + 0x14]
mov ebx, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
push esi
push edi
mov esi, 0x4b2aa0
lea edi, [ebp - 0x70]
mov eax, edi
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
pop edi
pop esi
mov edx, dword [ebp + 0xc]
add edx, 8
push edx
lea ecx, [ebp - 0x70]
push ecx
call fcn.0049ae68
add esp, 8
lea eax, [esi + 0xb8]
push eax
push edi
push ebx
push str._DEF_PASS_
push 0x4b2b33
lea edx, [ebp - 0x70]
push edx
call sub.KERNEL32.dll_GetPrivateProfileStringA
mov dword [ebp - 4], ebx
push str._DEF_PASS_
push dword [ebp - 4]
call sub.KERNEL32.dll_lstrcmpA
test eax, eax
jne 0x41ce24
lea ecx, [esi + 0xb8]
push ecx
push edi
push ebx
push str._DEF_PASS_
push 0x4b2b47
lea eax, [ebp - 0x70]
push eax
call sub.KERNEL32.dll_GetPrivateProfileStringA
mov dword [ebp - 8], ebx
push str._DEF_PASS_
push dword [ebp - 8]
call sub.KERNEL32.dll_lstrcmpA
test eax, eax
je 0x41cdf3
push esi
push edi
mov esi, 0x4b2b4d
lea edi, [ebp - 0x70]
mov eax, edi
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
pop edi
pop esi
push ebx
lea edx, [ebp - 0x70]
push edx
call fcn.0049ae68
add esp, 8
lea ecx, [esi + 0xb8]
push ecx
push edi
push ebx
push str._DEF_PASS_
push 0x4b2b33
lea eax, [ebp - 0x70]
push eax
call sub.KERNEL32.dll_GetPrivateProfileStringA
mov dword [ebp - 0xc], ebx
push str._DEF_PASS_
push dword [ebp - 0xc]
call sub.KERNEL32.dll_lstrcmpA
test eax, eax
jne 0x41ce24
add esi, 0xb8
push esi
push edi
push ebx
push str._DEF_PASS_
push 0x4b2b33
push str.USER_Default_
call sub.KERNEL32.dll_GetPrivateProfileStringA
mov esi, ebx
push str._DEF_PASS_
push esi
call sub.KERNEL32.dll_lstrcmpA
test eax, eax
jne 0x41ce39
xor eax, eax
jmp 0x41ce3b
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41d4d9
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd7c
xor eax, eax
lea ecx, [ebp - 0x268]
push ebx
push esi
push edi
mov esi, dword [ebp + 8]
mov edi, 0x4b2a74
mov dword [ebp - 4], eax
push esi
push edi
lea esi, [edi + 0x2c]
lea edi, [ebp - 0x268]
mov ebx, 1
mov eax, edi
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
pop edi
mov edx, dword [ebp + 0xc]
add edx, 8
pop esi
push edx
push ecx
call fcn.0049ae68
add esp, 8
cmp dword [ebp - 4], 0
jne 0x41d593
push ebx
lea eax, [edi + 0x114]
push eax
lea edx, [edi + 0x10f]
push edx
lea ecx, [ebp - 0x284]
push ecx
call fcn.004a00a0
add esp, 0x10
lea eax, [esi + 0xb8]
lea edx, [ebp - 0x204]
lea ecx, [edi + 8]
push eax
push pe_nt_image_headers32
push edx
push ecx
lea eax, [ebp - 0x284]
lea edx, [ebp - 0x268]
push eax
push edx
call sub.KERNEL32.dll_GetPrivateProfileStringA
test eax, eax
je 0x41d593
push dword [ebp + 0xc]
lea ecx, [ebp - 0x204]
push ecx
push esi
call fcn.0041da3c
add esp, 0xc
test eax, eax
jne 0x41d6e8
inc ebx
cmp dword [ebp - 4], 0
je 0x41d525
cmp dword [esi + 0x2b8], 0
jne 0x41d6e8
lea eax, [esi + 0xb8]
lea edx, [ebp - 0x204]
push eax
push pe_nt_image_headers32
push edx
lea ecx, [edi + 8]
push ecx
lea eax, [edi + 0xd3]
push eax
lea edx, [ebp - 0x268]
push edx
call sub.KERNEL32.dll_GetPrivateProfileStringA
test eax, eax
je 0x41d673
push esi
push edi
lea esi, [edi + 0xd9]
lea edi, [ebp - 0x268]
mov eax, edi
lea edx, [ebp - 0x204]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
pop edi
pop esi
push edx
lea ecx, [ebp - 0x268]
push ecx
call fcn.0049ae68
add esp, 8
mov ebx, 1
cmp dword [ebp - 4], 0
jne 0x41d673
push ebx
lea eax, [edi + 0x114]
push eax
lea edx, [edi + 0x10f]
push edx
lea ecx, [ebp - 0x284]
push ecx
call fcn.004a00a0
add esp, 0x10
lea eax, [esi + 0xb8]
lea edx, [ebp - 0x204]
lea ecx, [edi + 8]
push eax
push pe_nt_image_headers32
push edx
push ecx
lea eax, [ebp - 0x284]
lea edx, [ebp - 0x268]
push eax
push edx
call sub.KERNEL32.dll_GetPrivateProfileStringA
test eax, eax
je 0x41d673
push dword [ebp + 0xc]
lea ecx, [ebp - 0x204]
push ecx
push esi
call fcn.0041da3c
add esp, 0xc
test eax, eax
jne 0x41d6e8
inc ebx
cmp dword [ebp - 4], 0
je 0x41d609
cmp dword [ebp - 4], 0
mov ebx, 1
jne 0x41d6e8
push ebx
lea eax, [edi + 0x114]
push eax
lea edx, [edi + 0x10f]
push edx
lea ecx, [ebp - 0x284]
push ecx
call fcn.004a00a0
add esp, 0x10
lea eax, [esi + 0xb8]
lea edx, [ebp - 0x204]
lea ecx, [edi + 8]
push eax
push pe_nt_image_headers32
push edx
push ecx
lea eax, [ebp - 0x284]
lea edx, [edi + 0xe0]
push eax
push edx
call sub.KERNEL32.dll_GetPrivateProfileStringA
test eax, eax
je 0x41d6e8
push dword [ebp + 0xc]
lea ecx, [ebp - 0x204]
push ecx
push esi
call fcn.0041da3c
add esp, 0xc
test eax, eax
jne 0x41d6e8
inc ebx
cmp dword [ebp - 4], 0
je 0x41d67e
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41dfaf
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc70
mov eax, 0x4b22bc
push ebx
push esi
push edi
lea edi, [ebp - 0x34]
mov ebx, dword [ebp + 8]
call fcn.0049d698
push ebx
call fcn.0041e16e
pop ecx
mov esi, 1
push esi
push str.ClientCheckDLL
push 0x4b2b83
lea eax, [ebp - 0x50]
push eax
call fcn.004a00a0
add esp, 0x10
lea edx, [ebx + 0xb8]
lea ecx, [ebp - 0xf0]
lea eax, [ebp - 0x50]
push edx
push 0xa0
push ecx
push 0x4b2a7c
push eax
push 0x4b2b9e
call sub.KERNEL32.dll_GetPrivateProfileStringA
test eax, eax
je 0x41e15f
inc esi
mov word [edi + 0x10], 8
lea edx, [ebp - 4]
push edx
call fcn.004aa26c
pop ecx
inc dword [edi + 0x1c]
inc dword [edi + 0x1c]
add dword [edi + 0x1c], 2
mov word [edi + 0x10], 0x14
lea ecx, [ebp - 0xf0]
push ecx
call sub.KERNEL32.dll_LoadLibraryA
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x41e06e
push 0xa0
lea edx, [ebp - 0x190]
push edx
push 0x7ff
push dword [ebx + 4]
call sub.USER32.dll_LoadStringA
jmp 0x41e10f
push str.HandleClientEvent
push dword [ebp - 0xc]
call sub.KERNEL32.dll_GetProcAddress
mov dword [ebp - 8], eax
test eax, eax
jne 0x41e0a5
push 0xa0
lea edx, [ebp - 0x190]
push edx
push 0x800
push dword [ebx + 4]
call sub.USER32.dll_LoadStringA
push dword [ebp - 0xc]
call sub.KERNEL32.dll_FreeLibrary
jmp 0x41e10f
push 0xa0
lea ecx, [ebp - 0x190]
push ecx
push 0x7fe
push dword [ebx + 4]
call sub.USER32.dll_LoadStringA
mov word [edi + 0x10], 0x20
lea eax, [ebp - 0xf0]
push eax
lea edx, [ebp - 0x10]
push edx
call fcn.004aa30c
add esp, 8
lea ecx, [ebp - 0x10]
inc dword [edi + 0x1c]
lea eax, [ebp - 4]
push 0xffffffffffffffff
push 0
push ecx
push eax
call fcn.004a9f54
add esp, 0x10
dec dword [edi + 0x1c]
push 2
lea edx, [ebp - 0x10]
push edx
call fcn.004aac40
add esp, 8
lea ecx, [ebp - 0xc]
push ecx
lea eax, [ebx + 8]
push eax
call fcn.0041fbd4
add esp, 8
lea edx, [ebp - 0xf0]
push edx
lea ecx, [ebp - 0x190]
push ecx
lea eax, [ebp - 0x390]
push eax
call fcn.004a00a0
add esp, 0xc
lea edx, [ebp - 0x390]
push edx
push 0x12
push 0x403
push dword [ebx]
call sub.USER32.dll_SendMessageA
sub dword [edi + 0x1c], 2
add dword [edi + 0x1c], 2
dec dword [edi + 0x1c]
push 2
lea ecx, [ebp - 4]
push ecx
call fcn.004aac40
add esp, 8
jmp 0x41dfd7
mov eax, dword [edi]
mov dword fs:[0], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41e204
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff38
lea ecx, [ebp - 0x64]
push ebx
push esi
push edi
lea edi, [ebp - 0x64]
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
mov eax, edi
mov byte [ebx + 0x31c], 0
push esi
mov esi, 0x4b2aa0
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov edx, dword [ebp + 0xc]
pop esi
add edx, 8
push edx
push ecx
call fcn.0049ae68
add esp, 8
lea eax, [ebx + 0xb8]
lea edx, [ebx + 0x31c]
lea ecx, [ebp - 0x64]
push eax
push pe_nt_image_headers32
push edx
push 0x4b2a7c
push esi
push ecx
call sub.KERNEL32.dll_GetPrivateProfileStringA
test eax, eax
jne 0x41e2ff
cmp dword [ebx + 0x2b8], 0
jne 0x41e2ff
lea edi, [ebx + 0xb8]
lea eax, [ebp - 0xc8]
push edi
push 0x64
push eax
push 0x4b2a7c
lea edx, [ebp - 0x64]
push 0x4b2b47
push edx
call sub.KERNEL32.dll_GetPrivateProfileStringA
test eax, eax
je 0x41e2de
push esi
push edi
lea edi, [ebp - 0x64]
mov esi, 0x4b2b4d
mov eax, edi
lea edx, [ebp - 0xc8]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
pop edi
pop esi
push edx
lea ecx, [ebp - 0x64]
push ecx
call fcn.0049ae68
add esp, 8
lea eax, [ebx + 0x31c]
lea edx, [ebp - 0x64]
push edi
push pe_nt_image_headers32
push eax
push 0x4b2a7c
push esi
push edx
call sub.KERNEL32.dll_GetPrivateProfileStringA
test eax, eax
jne 0x41e2ff
push edi
add ebx, 0x31c
push pe_nt_image_headers32
push ebx
push 0x4b2a7c
push esi
push str.USER_Default_
call sub.KERNEL32.dll_GetPrivateProfileStringA
test eax, eax
je 0x41e30a
mov eax, 1
jmp 0x41e30c
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41e62b
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd38
mov eax, 0x4b2338
push ebx
push esi
push edi
mov edi, 0x4b2a74
mov ebx, dword [ebp + 8]
call fcn.0049d698
lea edx, [ebx + 0x2bc]
push edx
call fcn.00407808
pop ecx
mov esi, 1
push esi
lea eax, [edi + 0x19a]
push eax
lea edx, [edi + 0x10f]
push edx
lea ecx, [ebp - 0xc8]
push ecx
call fcn.004a00a0
add esp, 0x10
lea eax, [ebx + 0xb8]
lea edx, [ebp - 0x2c8]
lea ecx, [edi + 0x1a6]
push eax
push pe_nt_image_headers32
push edx
push ecx
lea eax, [ebp - 0xc8]
lea edx, [edi + 0x19f]
push eax
push edx
call sub.KERNEL32.dll_GetPrivateProfileStringA
lea ecx, [edi + 0x1a6]
push ecx
lea eax, [ebp - 0x2c8]
push eax
call sub.KERNEL32.dll_lstrcmpA
test eax, eax
je 0x41e703
mov word [ebp - 0x18], 8
lea edx, [ebp - 0x2c8]
push edx
lea ecx, [ebp - 4]
push ecx
call fcn.004aa30c
add esp, 8
inc dword [ebp - 0xc]
lea eax, [ebp - 4]
push eax
lea edx, [ebx + 0x2bc]
push edx
call fcn.004073c0
add esp, 8
dec dword [ebp - 0xc]
push 2
lea ecx, [ebp - 4]
push ecx
call fcn.004aac40
add esp, 8
inc esi
jmp 0x41e65b
mov eax, dword [ebp - 0x28]
mov dword fs:[0], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41eaa2
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffebc
mov eax, 0x4b239c
push ebx
push esi
push edi
mov edi, 0x4b2a74
mov esi, dword [ebp + 8]
call fcn.0049d698
lea edx, [esi + 0x2dc]
push edx
call fcn.00407808
pop ecx
mov ebx, 1
push ebx
lea eax, [edi + 9]
push eax
lea edx, [edi + 0x10f]
push edx
lea ecx, [ebp - 0x44]
push ecx
call fcn.004a00a0
add esp, 0x10
lea eax, [esi + 0xb8]
lea edx, [ebp - 0x144]
lea ecx, [edi + 8]
push eax
push 0xff
push edx
push ecx
lea eax, [ebp - 0x44]
lea edx, [edi + 0x1cc]
push eax
push edx
call sub.KERNEL32.dll_GetPrivateProfileStringA
test eax, eax
je 0x41eb78
movsx eax, byte [ebp - 0x144]
cmp eax, 0x44
je 0x41eb26
cmp eax, 0x41
jne 0x41eb72
movsx edx, byte [ebp - 0x143]
cmp edx, 0x2c
jne 0x41eb72
mov word [ebp - 0x18], 8
lea ecx, [ebp - 0x144]
push ecx
lea eax, [ebp - 4]
push eax
call fcn.004aa30c
add esp, 8
inc dword [ebp - 0xc]
lea edx, [ebp - 4]
push edx
lea ecx, [esi + 0x2dc]
push ecx
call fcn.004073c0
add esp, 8
dec dword [ebp - 0xc]
push 2
lea eax, [ebp - 4]
push eax
call fcn.004aac40
add esp, 8
inc ebx
jmp 0x41ead2
mov edx, dword [ebp - 0x28]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41ee27
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed4
mov eax, 0x4b23e0
push ebx
push esi
push edi
call fcn.0049d698
mov word [ebp - 0x1c], 8
lea edx, [ebp - 4]
push edx
call fcn.004aa26c
pop ecx
inc dword [ebp - 0x10]
mov word [ebp - 0x1c], 0x14
mov ecx, dword [ebp + 8]
add ecx, 0x2fc
push ecx
call fcn.00407808
mov eax, dword [ebp + 8]
pop ecx
add eax, 0xb8
lea edx, [ebp - 0x12c]
push eax
push 0xff
push edx
push 0x4b2a7c
push 0x4b2c51
push 0x4b2c4a
call sub.KERNEL32.dll_GetPrivateProfileStringA
mov byte [ebp - 0x2e], 0
test eax, eax
jne 0x41eeb6
dec dword [ebp - 0x10]
push 2
lea ecx, [ebp - 4]
push ecx
call fcn.004aac40
add esp, 8
mov eax, dword [ebp - 0x2c]
mov dword fs:[0], eax
jmp 0x41ef75
lea esi, [ebp - 0x12c]
push 0x2c
push esi
call fcn.0049b079
add esp, 8
mov edi, eax
test edi, edi
je 0x41eed0
mov byte [edi], 0
mov word [ebp - 0x1c], 0x14
xor ebx, ebx
jmp 0x41eee9
movsx eax, byte [esi + ebx]
test byte [eax*2 + 0x4d129f], 1
jne 0x41eef4
inc ebx
push esi
call fcn.0049af74
pop ecx
cmp eax, ebx
ja 0x41eeda
mov word [ebp - 0x1c], 0x20
push esi
call fcn.00454478
pop ecx
push eax
lea edx, [ebp - 8]
push edx
call fcn.004aa30c
add esp, 8
lea ecx, [ebp - 8]
inc dword [ebp - 0x10]
lea eax, [ebp - 4]
push 0xffffffffffffffff
push 0
push ecx
push eax
call fcn.004a9f54
add esp, 0x10
dec dword [ebp - 0x10]
push 2
lea edx, [ebp - 8]
push edx
call fcn.004aac40
add esp, 8
lea ecx, [ebp - 4]
push ecx
mov eax, dword [ebp + 8]
add eax, 0x2fc
push eax
call fcn.004073c0
add esp, 8
test edi, edi
je 0x41ef52
lea esi, [edi + 1]
test edi, edi
jne 0x41eebc
dec dword [ebp - 0x10]
push 2
lea eax, [ebp - 4]
push eax
call fcn.004aac40
add esp, 8
mov edx, dword [ebp - 0x2c]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x420988
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax + 0x14], edx
mov dword [eax + 0x10], edx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
pop ebp
ret

Function at 0x421470
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax + 0x14], edx
mov dword [eax + 0x10], edx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
pop ebp
ret
Function at 0x42f469
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
cmp dword [ebx + 0x1a5], 6
jne 0x42f59f
test esi, esi
je 0x42f4a5
cmp esi, 0x17
je 0x42f4a5
push 0
push 0x422
push 1
push ebx
call fcn.0042dada
add esp, 0x10
jmp 0x42f59f
mov ecx, dword [ebx + 0x9c]
test ecx, ecx
je 0x42f58d
mov eax, ecx
neg eax
cdq
push edx
push eax
push dword [ebx + 0x179]
call fcn.0044eb8d
add esp, 0xc
test eax, eax
jne 0x42f4e3
push 0
push 0x46f
push 1
push ebx
call fcn.0042dada
add esp, 0x10
jmp 0x42f59f
push 0
lea eax, [ebp - 4]
push eax
push dword [ebx + 0x9c]
push dword [ebx + 0x84]
push dword [ebx + 0x98]
call sub.KERNEL32.dll_WriteFile
test eax, eax
je 0x42f50f
mov edx, dword [ebp - 4]
cmp edx, dword [ebx + 0x9c]
je 0x42f52f
push dword [ebx + 0x179]
call fcn.0044ee15
pop ecx
push 0
push 0x424
push 1
push ebx
call fcn.0042dada
add esp, 0x10
jmp 0x42f59f
mov ecx, dword [ebx + 0x9c]
xor eax, eax
add dword [ebx + 0x90], ecx
cmp esi, 0x17
mov dword [ebx + 0x9c], eax
je 0x42f59f
mov edi, dword [ebx + 0xa0]
mov eax, dword [ebx + 0x84]
mov dword [ebp - 8], eax
lea esi, [ebx + 0x9c]
cmp dword [0x4c0168], 0
mov ebx, dword [ebx + 0x34]
jne 0x42f57b
push 0
push esi
push edi
push dword [ebp - 8]
push ebx
call fcn.00456e27
add esp, 0x14
jmp 0x42f59f
push 0
push esi
push edi
push dword [ebp - 8]
push ebx
call fcn.0045bf06
add esp, 0x14
jmp 0x42f59f
push 0
push 0x423
push 0
push ebx
call fcn.0042dada
add esp, 0x10
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret