joyce8/EMBER2024-capa huggingface dataset:
Function at 0x452940
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [ebp + 0xc]
movzx eax, byte [ecx]
mov esi, dword [edi + 0xc]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [ecx + 1]
mov ecx, dword [edi + 0x18]
xor edx, eax
imul eax, edx, 0x1000193
and ecx, eax
mov eax, dword [esi + ecx*8]
lea edx, [ecx + ecx]
mov ecx, dword [edi + 4]
lea edi, [esi + edx*4]
mov ebx, dword [esi + edx*4]
mov esi, dword [ebp + 0xc]
nop
cmp ebx, ecx
jne 0x452988
mov edx, ecx
jmp 0x45298d
mov edx, dword [edi + 4]
mov edx, dword [edx]
cmp eax, edx
je 0x4529d9
mov dx, word [eax + 8]
cmp dx, word [esi]
je 0x45299e
mov eax, dword [eax]
jmp 0x452980
movzx esi, word [esi]
mov edx, eax
mov dword [ebp + 0xc], esi
cmp ebx, ecx
jne 0x4529ae
mov esi, ecx
jmp 0x4529b3
mov esi, dword [edi + 4]
mov esi, dword [esi]
cmp eax, esi
je 0x4529c4
mov esi, dword [ebp + 0xc]
cmp si, word [eax + 8]
jne 0x4529c4
mov eax, dword [eax]
jmp 0x4529a6
cmp edx, eax
je 0x4529d9
mov ecx, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword [ecx + 4], eax
mov eax, ecx
mov dword [ecx], edx
pop ebp
ret 8
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword [eax], ecx
mov dword [eax + 4], ecx
pop ebp
ret 8

Function at 0x4529f0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, ecx
movzx eax, byte [edi + 8]
mov ecx, dword [ebx + 0x18]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [edi + 9]
xor edx, eax
imul eax, edx, 0x1000193
and ecx, eax
lea edx, [ecx*8]
mov ecx, dword [ebx + 0xc]
add ecx, edx
cmp dword [ecx + 4], edi
jne 0x452a49
cmp dword [ecx], edi
jne 0x452a41
mov eax, dword [ebx + 4]
mov dword [ecx], eax
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 4]
mov dword [edx + ecx + 4], eax
jmp 0x452a51
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp 0x452a51
cmp dword [ecx], edi
jne 0x452a54
mov eax, dword [edi]
mov dword [ecx], eax
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 4]
mov esi, dword [edi]
push 0xc
push 1
mov dword [eax], esi
mov ecx, dword [edi]
mov eax, dword [edi + 4]
push edi
mov dword [ecx + 4], eax
dec dword [ebx + 8]
call fcn.00452310
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], esi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x403960
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], eax
mov eax, 0x403940
call fcn.0040378c
xor eax, eax
push ebp
push 0x4039ea
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14]
call fcn.00403810
mov eax, dword [ebp - 0x14]
call fcn.00402568
push 1
push 0
lea eax, [ebp - 0x1c]
call fcn.00403894
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x18]
mov edx, 0x403a00
call fcn.00403298
mov eax, dword [ebp - 0x18]
call fcn.00403398
push eax
push 0x403a1c
push 0x403a24
push 0
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4039f1
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.00403164
ret
Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x78596980
nop
nop
nop
test eax, eax
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x6a0d6f5f
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x4039e0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4624c3
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x4735a8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor eax, eax
or ecx, 0xffffffff
mov dword [edi + 8], ecx
mov dword [edi + 4], ecx
mov dword [edi + 0xc], eax
mov dword [edi + 0x20], 0x49e224
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], eax
mov dword [edi + 0x24], eax
mov dword [edi + 0x28], eax
mov dword [ebp - 4], eax
lea ebx, [edi + 0x34]
mov dword [edi], vtable.TiXmlDocument.0
mov dword [ebx], 0x49e224
mov byte [ebp - 4], 1
mov dword [edi + 0x40], ecx
mov dword [edi + 0x3c], ecx
push 0x46b340
xor esi, esi
mov dword [edi + 0x38], 4
mov byte [edi + 0x44], al
mov byte [edi + 0x2c], al
mov dword [edi + 0x30], eax
call fcn.0040a620
xor eax, eax
mov dword [edi + 0x40], eax
mov dword [edi + 0x3c], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x403d80
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
test ebx, ebx
jne 0x403dcc
cmp byte [edi + 0x2c], bl
jne 0x403dc4
mov byte [edi + 0x2c], 1
mov dword [edi + 0x30], 2
mov edx, dword [str.Failed_to_open_file]
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x403da7
sub eax, esi
push edx
lea ebx, [edi + 0x34]
mov esi, eax
call fcn.0040a620
or eax, 0xffffffff
mov dword [edi + 0x40], eax
mov dword [edi + 0x3c], eax
pop esi
xor al, al
pop ebx
pop ebp
ret 8
mov esi, dword [edi + 0x18]
test esi, esi
je 0x403de4
mov ecx, esi
mov eax, dword [ecx]
mov edx, dword [eax]
mov esi, dword [esi + 0x28]
push 1
call edx
test esi, esi
jne 0x403dd3
xor ecx, ecx
push 2
or eax, 0xffffffff
push ecx
mov dword [edi + 0x18], ecx
mov dword [edi + 0x1c], ecx
push ebx
mov dword [edi + 8], eax
mov dword [edi + 4], eax
call fcn.0043b362
push ebx
call fcn.0043b273
push 0
mov ebx, eax
mov eax, dword [ebp + 8]
push 0
push eax
call fcn.0043b362
add esp, 0x1c
test ebx, ebx
jg 0x403e42
cmp byte [edi + 0x2c], 0
jne 0x403dc4
mov byte [edi + 0x2c], 1
mov dword [edi + 0x30], 0xc
mov edx, dword [str.Error_document_empty.]
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x403e36
jmp 0x403dae
lea ecx, [ebx + 1]
push ecx
call fcn.0043a157
mov edx, dword [ebp + 8]
push edx
push 1
mov esi, eax
push ebx
push esi
mov byte [esi], 0
call fcn.0043b0c2
add esp, 0x14
cmp eax, 1
je 0x403e9c
push esi
call fcn.00439a51
add esp, 4
cmp byte [edi + 0x2c], 0
jne 0x403dc4
mov byte [edi + 0x2c], 1
mov dword [edi + 0x30], 2
mov edx, dword [str.Failed_to_open_file]
mov eax, edx
lea esi, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x403e90
jmp 0x403dae
mov byte [esi + ebx], 0
cmp byte [esi], 0
mov eax, esi
mov ecx, esi
je 0x403ecc
lea esp, [esp]
mov dl, byte [eax]
cmp dl, 0xd
jne 0x403ec3
mov byte [ecx], 0xa
inc eax
inc ecx
cmp byte [eax], 0xa
jne 0x403ec7
jmp 0x403ec6
mov byte [ecx], dl
inc ecx
inc eax
cmp byte [eax], 0
jne 0x403eb0
mov byte [ecx], 0
mov ecx, dword [ebp + 0xc]
mov eax, dword [edi]
mov edx, dword [eax + 8]
push ecx
push 0
push esi
mov ecx, edi
call edx
push esi
call fcn.00439a51
add esp, 4
xor eax, eax
cmp byte [edi + 0x2c], al
pop esi
sete al
pop ebx
pop ebp
ret 8
Function at 0x40aa60
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push edi
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
jne 0x40aa86
push str.createSnapshot__of_processes_
call fcn.00420320
add esp, 4
xor eax, eax
pop edi
pop ebp
ret
push esi
mov esi, dword [ebp + 0xc]
push esi
push edi
mov dword [esi], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
jne 0x40aaa2
push str.process32First
jmp 0x40aacb
push ebx
mov ebx, dword [ebp + 8]
cmp dword [esi + 8], ebx
je 0x40aac3
jmp 0x40aab0
push esi
push edi
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x40aac0
cmp dword [esi + 8], ebx
jne 0x40aab0
cmp dword [esi + 8], ebx
pop ebx
je 0x40aae0
push str.finding_proc_failed.
call fcn.00420320
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
xor eax, eax
pop edi
pop ebp
ret
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov eax, 1
pop edi
pop ebp
ret
Function at 0x40e030
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45ef9b
mov eax, dword fs:[0]
push eax
sub esp, 0x268
mov eax, dword [0x4735a8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov esi, ecx
cmp dword [esi + 0x6c], 0
mov dword [ebp - 0x224], eax
je 0x40e1cc
push 0x463a2c
lea ecx, [ebp - 0x274]
call fcn.00402de0
push edi
push 0x104
lea edx, [ebp - 0x220]
push edx
push 0x46b340
push str.EadIpv6Addr
lea ecx, [ebp - 0x274]
push 0x465218
mov dword [ebp - 4], 0
mov dword [esi + 0x6c], ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x220]
push eax
push str.eadIpv6Addr
mov ecx, esi
call fcn.00406dc0
push str..MaxUserCtrl
push 0x465218
lea ecx, [ebp - 0x118]
push 0x465020
push ecx
call fcn.0043a71a
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
add esp, 0x10
push edi
push 0xffffffffffffffff
lea edx, [ebp - 0x118]
push edx
push str.Common
call ebx
cmp eax, 0xffffffff
je 0x40e112
push eax
push str.MaxUserCtrl
mov ecx, esi
call fcn.00407040
push str..ProbationCtrl
push 0x465218
lea eax, [ebp - 0x118]
push 0x465020
push eax
call fcn.0043a71a
add esp, 0x10
push edi
push 0xffffffffffffffff
lea ecx, [ebp - 0x118]
push ecx
push str.Common
call ebx
cmp eax, 0xffffffff
je 0x40e153
push eax
push str.ProbationCtrl
mov ecx, esi
call fcn.00407040
push str..TimeStamp
push 0x465218
lea edx, [ebp - 0x118]
push 0x465020
push edx
call fcn.0043a71a
add esp, 0x10
push edi
push 0x104
lea eax, [ebp - 0x220]
push eax
push 0x46b340
lea ecx, [ebp - 0x118]
push ecx
push str.Common
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [ebp - 0x220]
push edx
push str.TimeStamp
mov ecx, esi
call fcn.00406dc0
mov ecx, dword [ebp - 0x224]
lea eax, [ebp - 0x274]
push eax
call fcn.00402720
lea ecx, [ebp - 0x274]
mov dword [ebp - 4], 0xffffffff
call fcn.00402fa0
push 1
mov ecx, esi
call fcn.00407280
movzx eax, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004396d4
mov esp, ebp
pop ebp
ret 8
Function at 0x40e200
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45efdb
mov eax, dword fs:[0]
push eax
sub esp, 0x160
mov eax, dword [0x4735a8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov esi, ecx
cmp dword [esi + 0x6c], 0
mov dword [ebp - 0x11c], eax
je 0x40e33a
push 0x4639cc
lea ecx, [ebp - 0x16c]
call fcn.00402de0
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push edi
push 0x104
lea edx, [ebp - 0x118]
push edx
push 0x46b340
push str.DAMIP
lea ecx, [ebp - 0x16c]
push 0x465244
mov dword [ebp - 4], 0
mov dword [esi + 0x6c], ecx
call ebx
lea eax, [ebp - 0x118]
push eax
push str.damIP
mov ecx, esi
call fcn.00406dc0
push edi
push 0x104
lea ecx, [ebp - 0x118]
push ecx
push 0x46b340
push str.DAMIPv6
push 0x465244
call ebx
lea edx, [ebp - 0x118]
push edx
push str.damIPv6
mov ecx, esi
call fcn.00406dc0
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push edi
push 0xffffffffffffffff
push str.DAMPort
push 0x465244
call ebx
cmp eax, 0xffffffff
je 0x40e2f5
push eax
push str.damPort
mov ecx, esi
call fcn.00407040
push edi
push 0xffffffffffffffff
push str.Customize
push 0x465244
call ebx
cmp eax, 0xffffffff
je 0x40e316
push eax
push str.customize
mov ecx, esi
call fcn.00407040
mov ecx, dword [ebp - 0x11c]
lea eax, [ebp - 0x16c]
push eax
call fcn.00402720
lea ecx, [ebp - 0x16c]
mov dword [ebp - 4], 0xffffffff
call fcn.00402fa0
push 1
mov ecx, esi
call fcn.00407280
movzx eax, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004396d4
mov esp, ebp
pop ebp
ret 8
Function at 0x40e370
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45f01b
mov eax, dword fs:[0]
push eax
sub esp, 0x160
mov eax, dword [0x4735a8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov edi, ecx
cmp dword [edi + 0x6c], 0
mov dword [ebp - 0x11c], eax
je 0x40e544
push 0x463934
lea ecx, [ebp - 0x16c]
call fcn.00402de0
push esi
push 0x104
lea edx, [ebp - 0x118]
push edx
push 0x46b340
push str.CustomizeProxyIP
lea ecx, [ebp - 0x16c]
push 0x4652cc
mov dword [ebp - 4], 0
mov dword [edi + 0x6c], ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x118]
push eax
push str.customizeProxyIP
mov ecx, edi
call fcn.00406dc0
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push esi
push 0xffffffffffffffff
push str.CustomizeProxyPort
push 0x4652cc
call ebx
cmp eax, 0xffffffff
je 0x40e432
push eax
push str.customizeProxyPort
mov ecx, edi
call fcn.00407040
push esi
push 0x104
lea ecx, [ebp - 0x118]
push ecx
push 0x46b340
push str.CustomizeProxyIPBak
push 0x4652cc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [ebp - 0x118]
push edx
push str.customizeProxyIPBak
mov ecx, edi
call fcn.00406dc0
push esi
push 0xffffffffffffffff
push str.CustomizeProxyPortBak
push 0x4652cc
call ebx
cmp eax, 0xffffffff
je 0x40e488
push eax
push str.customizeProxyPortBak
mov ecx, edi
call fcn.00407040
push esi
push 0xffffffffffffffff
push str.MakeSetup
push 0x4652cc
call ebx
cmp eax, 0xffffffff
je 0x40e4a9
push eax
push str.makeSetup
mov ecx, edi
call fcn.00407040
push esi
push 0xffffffffffffffff
push str.MakeUpdate
push 0x4652cc
call ebx
cmp eax, 0xffffffff
je 0x40e4ca
push eax
push str.makeUpdate
mov ecx, edi
call fcn.00407040
push esi
push 0xffffffffffffffff
push str.TRMUninstall
push 0x4652cc
call ebx
cmp eax, 0xffffffff
je 0x40e4eb
push eax
push str.trmUninstall
mov ecx, edi
call fcn.00407040
push esi
push 0x104
lea eax, [ebp - 0x118]
push eax
push 0x46b340
push str.TRMUninstallPass
push 0x4652cc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x118]
push ecx
push str.trmUninstallPass
mov ecx, edi
call fcn.00406dc0
mov ecx, dword [ebp - 0x11c]
lea edx, [ebp - 0x16c]
push edx
call fcn.00402720
lea ecx, [ebp - 0x16c]
mov dword [ebp - 4], 0xffffffff
call fcn.00402fa0
push 1
mov ecx, edi
call fcn.00407280
movzx eax, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004396d4
mov esp, ebp
pop ebp
ret 8
Function at 0x40eae0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45f106
mov eax, dword fs:[0]
push eax
sub esp, 0x2bc
mov eax, dword [0x4735a8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov edi, ecx
mov eax, dword [edi + 0x6c]
xor ebx, ebx
mov dword [ebp - 0x228], esi
mov dword [ebp - 0x224], eax
cmp eax, ebx
je 0x40ec3c
push str.exceptDevs
lea ecx, [ebp - 0x278]
call fcn.00402de0
push esi
push 0xffffffffffffffff
push str.DevsCount
lea eax, [ebp - 0x278]
push str.ExceptDevs
mov dword [ebp - 4], ebx
mov dword [edi + 0x6c], eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp eax, 0xffffffff
je 0x40eb62
mov ebx, eax
xor esi, esi
test ebx, ebx
je 0x40ec0e
lea esp, [esp]
push str.devItem
lea ecx, [ebp - 0x2c8]
call fcn.00402de0
push esi
push str.DevName.
lea edx, [ebp - 0x118]
lea ecx, [ebp - 0x2c8]
push 0x465378
push edx
mov byte [ebp - 4], 1
mov dword [edi + 0x6c], ecx
call fcn.0043a71a
mov eax, dword [ebp - 0x228]
add esp, 0x10
push eax
push 0x104
lea ecx, [ebp - 0x220]
push ecx
push 0x46b340
lea edx, [ebp - 0x118]
push edx
push str.ExceptDevs
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x220]
push eax
push str.devName
mov ecx, edi
call fcn.00406e90
lea ecx, [ebp - 0x2c8]
push ecx
lea ecx, [ebp - 0x278]
call fcn.00402720
lea ecx, [ebp - 0x2c8]
mov byte [ebp - 4], 0
call fcn.00402fa0
inc esi
cmp esi, ebx
jb 0x40eb70
mov esi, dword [ebp - 0x224]
lea edx, [ebp - 0x278]
mov eax, edx
push eax
mov ecx, esi
mov dword [edi + 0x6c], edx
call fcn.00402720
lea ecx, [ebp - 0x278]
mov dword [edi + 0x6c], esi
mov dword [ebp - 4], 0xffffffff
call fcn.00402fa0
push 1
mov ecx, edi
call fcn.00407280
movzx eax, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004396d4
mov esp, ebp
pop ebp
ret 4
Function at 0x40edf0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45f17b
mov eax, dword fs:[0]
push eax
sub esp, 0x160
mov eax, dword [0x4735a8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
push ebx
push 0xffffffffffffffff
push str.FuncComponents
push str.Components
mov edi, ecx
mov dword [ebp - 0x11c], eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp dword [edi + 0x6c], 0
mov esi, eax
je 0x40ef27
push str.smartCard
lea ecx, [ebp - 0x16c]
call fcn.00402de0
lea ecx, [ebp - 0x16c]
and esi, 0xa
push esi
mov dword [edi + 0x6c], ecx
push str.type
mov ecx, edi
mov dword [ebp - 4], 0
call fcn.00407040
push str..MaxUserCtrl
push str.SmartCard
lea edx, [ebp - 0x118]
push 0x465020
push edx
call fcn.0043a71a
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
add esp, 0x10
push ebx
push 0xffffffffffffffff
lea eax, [ebp - 0x118]
push eax
push str.Common
call esi
cmp eax, 0xffffffff
je 0x40eec2
push eax
push str.MaxUserCtrl
mov ecx, edi
call fcn.00407040
push str..ProbationCtrl
push str.SmartCard
lea ecx, [ebp - 0x118]
push 0x465020
push ecx
call fcn.0043a71a
add esp, 0x10
push ebx
push 0xffffffffffffffff
lea edx, [ebp - 0x118]
push edx
push str.Common
call esi
cmp eax, 0xffffffff
je 0x40ef03
push eax
push str.ProbationCtrl
mov ecx, edi
call fcn.00407040
mov ecx, dword [ebp - 0x11c]
lea eax, [ebp - 0x16c]
push eax
call fcn.00402720
lea ecx, [ebp - 0x16c]
mov dword [ebp - 4], 0xffffffff
call fcn.00402fa0
push 1
mov ecx, edi
call fcn.00407280
movzx eax, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004396d4
mov esp, ebp
pop ebp
ret 8
Function at 0x410920
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45f308
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push esi
push edi
mov eax, dword [0x4735a8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x6c]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x4109ee
push str.protoComponent
lea ecx, [ebp - 0x60]
call fcn.00402de0
mov edi, dword [ebp + 8]
push edi
push 0xffffffffffffffff
push str.ProtoComponents
lea eax, [ebp - 0x60]
push str.Components
mov dword [ebp - 4], 0
mov dword [esi + 0x6c], eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ebx, eax
test bl, 1
je 0x41099b
lea ecx, [ebp - 0x60]
push ecx
push edi
mov ecx, esi
call fcn.0040c950
test bl, 2
je 0x4109ac
lea edx, [ebp - 0x60]
push edx
push edi
mov ecx, esi
call fcn.0040cdb0
test bl, 4
je 0x4109bd
lea eax, [ebp - 0x60]
push eax
push edi
mov ecx, esi
call fcn.0040f1a0
test bl, 8
je 0x4109ce
lea ecx, [ebp - 0x60]
push ecx
push edi
mov ecx, esi
call fcn.0040d9a0
mov edi, dword [ebp - 0x10]
lea edx, [ebp - 0x60]
push edx
mov ecx, edi
call fcn.00402720
lea ecx, [ebp - 0x60]
mov dword [esi + 0x6c], edi
mov dword [ebp - 4], 0xffffffff
call fcn.00402fa0
push 1
mov ecx, esi
call fcn.00407280
movzx eax, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x410a10
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45f338
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push esi
push edi
mov eax, dword [0x4735a8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x6c], 0
je 0x410adf
mov edi, dword [ebp + 8]
push edi
push 0xffffffffffffffff
push str.FuncComponents
push str.Components
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ebx, eax
mov eax, dword [esi + 0x6c]
push str.funcComponent
lea ecx, [ebp - 0x5c]
mov dword [ebp + 8], eax
call fcn.00402de0
lea ecx, [ebp - 0x5c]
mov dword [ebp - 4], 0
mov dword [esi + 0x6c], ecx
test bl, 1
je 0x410a8c
mov edx, ecx
push edx
push edi
mov ecx, esi
call fcn.0040e030
test bl, 4
je 0x410a9d
lea eax, [ebp - 0x5c]
push eax
push edi
mov ecx, esi
call fcn.0040e200
test bl, 0x10
je 0x410aae
lea ecx, [ebp - 0x5c]
push ecx
push edi
mov ecx, esi
call fcn.0040e370
test bl, 0xa
je 0x410abf
lea edx, [ebp - 0x5c]
push edx
push edi
mov ecx, esi
call fcn.0040edf0
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x5c]
push eax
mov ecx, edi
call fcn.00402720
lea ecx, [ebp - 0x5c]
mov dword [esi + 0x6c], edi
mov dword [ebp - 4], 0xffffffff
call fcn.00402fa0
push 1
mov ecx, esi
call fcn.00407280
movzx eax, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x41d710
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x460583
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4735a8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov edi, dword [ebp + 8]
push 0xffffffffffffffff
push 0
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
push edi
mov byte [esi], 0
call fcn.00407b80
mov eax, dword [edi + 0x1c]
mov dword [esi + 0x1c], eax
mov ecx, dword [edi + 0x20]
mov dword [esi + 0x20], ecx
mov edx, dword [edi + 0x24]
mov dword [esi + 0x24], edx
mov eax, dword [edi + 0x28]
mov dword [esi + 0x28], eax
mov ecx, dword [edi + 0x2c]
mov dword [esi + 0x2c], ecx
mov edx, dword [edi + 0x30]
mov dword [esi + 0x30], edx
mov eax, dword [edi + 0x34]
mov dword [esi + 0x34], eax
mov ecx, dword [edi + 0x38]
mov dword [esi + 0x38], ecx
mov edx, dword [edi + 0x3c]
mov dword [esi + 0x3c], edx
mov eax, dword [edi + 0x40]
mov dword [esi + 0x40], eax
mov ecx, dword [edi + 0x44]
mov dword [esi + 0x44], ecx
mov edx, dword [edi + 0x48]
mov dword [esi + 0x48], edx
mov eax, dword [edi + 0x4c]
mov dword [esi + 0x4c], eax
mov ecx, dword [edi + 0x50]
lea edx, [edi + 0x54]
mov dword [esi + 0x50], ecx
push edx
lea ecx, [esi + 0x54]
mov dword [ebp - 4], 0
call fcn.0041cfd0
mov eax, dword [edi + 0x60]
add edi, 0x64
push edi
lea ecx, [esi + 0x64]
mov byte [ebp - 4], 1
mov dword [esi + 0x60], eax
call fcn.0041cfd0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4