joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4029c5
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x25c
push esi
push edi
lea edi, [ebp - 0x25c]
mov ecx, 0x97
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov byte [ebp - 0x104], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x103]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x104]
push eax
mov ecx, dword [str.073110116101114110101116082101097100070105108101]
push ecx
call fcn.004013f3
add esp, 8
mov esi, esp
lea edx, [ebp - 0x104]
push edx
mov edi, esp
push str.wininet.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp edi, esp
call fcn.00402b65
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.00402b65
mov dword [0x40acf8], eax
call fcn.00401d70
test eax, eax
jne 0x402a60
call fcn.00402331
call fcn.0040260d
call fcn.004018cb
xor eax, eax
jmp 0x402b50
mov eax, dword [ebp + 0x10]
push eax
call fcn.00402c80
add esp, 4
test eax, eax
je 0x402a85
push str.start
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.00402fa0
add esp, 8
test eax, eax
jne 0x402af1
push 0x44
push 0
lea edx, [ebp - 0x25c]
push edx
call fcn.00403020
add esp, 0xc
mov dword [ebp - 0x230], 1
mov word [ebp - 0x22c], 5
push str.__start
push 0x40abf4
call fcn.00402e90
add esp, 8
mov esi, esp
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x25c]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0x40abf4
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
cmp esi, esp
call fcn.00402b65
xor eax, eax
jmp 0x402b50
call fcn.00402985
mov byte [ebp - 0x208], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x207]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea edx, [ebp - 0x208]
push edx
push 0x40abf4
call fcn.00401d9b
add esp, 8
lea eax, [ebp - 0x208]
push eax
call fcn.00402c80
add esp, 4
cmp eax, 0x26
jne 0x402b46
lea ecx, [ebp - 0x208]
push ecx
call fcn.00402075
add esp, 4
call fcn.0040260d
mov eax, 1
pop edi
pop esi
add esp, 0x25c
cmp ebp, esp
call fcn.00402b65
mov esp, ebp
pop ebp
ret 0x10

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x10008340
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.100252c0

Function at 0x1004b39b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x1004b3aa
pop dword [ebp - 0xc]
mov eax, 0x67b5d58a
add eax, 0xa84ede20
sub dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], 0x4cff6a0e
add dword [ebp - 0x1c], 0x152db3d
mov dword [ebp - 0x18], 0x912a79b8
add dword [ebp - 0x18], 0xa108d28d
mov dword [ebp - 0x14], 0x11beb0e6
add dword [ebp - 0x14], 0x3a8d9348
mov dword [ebp - 0x10], 0x849f75bb
sub dword [ebp - 0x10], 0x849f75bb
lea eax, [ebp - 0x1c]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0xc]
call dword [eax]
mov dword [ebp - 0x1c], 0x69385b0f
sub dword [ebp - 0x1c], 0xf4c5f1b9
mov dword [ebp - 0x18], 0x913f6c0f
sub dword [ebp - 0x18], 0x4fd30a9a
mov dword [ebp - 0x14], 0xfe28f2a0
sub dword [ebp - 0x14], 0x9ab98634
mov dword [ebp - 0x10], 0xe35cb1ed
sub dword [ebp - 0x10], 0xe35cb1ed
lea ebx, [ebp - 0x1c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0xc]
call dword [eax]
push 0x40
push 0x1000
push 0x65ff0
push 0
call eax
mov ecx, 0x4317
mov ebx, eax
mov edx, 0xe0e591d
sub edx, 0xfe060d1d
add edx, dword [ebp - 0xc]
mov edi, 0x143fcd34
add dword [ebp - 4], 0x1dba9d4c
mov esi, dword [edx]
xor dword [ebp - 8], 0xfaeb81a0
xor esi, edi
mov dword [ebx], esi
add dword [ebp - 4], edx
add ebx, 0xa339190f
add ebx, 0x5cc6e6f5
add edx, 4
loop 0x1004b4b6
add eax, 0xff2f
xor ebx, ebx
add ebx, eax
add eax, 0x65e16573
sub eax, 0x65e1656e
mov ecx, 0x61b5fb4
add ecx, 0x9e4a04c
add ecx, dword [ebp - 0xc]
call ebx
leave
ret
Function at 0x1000d66c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x1000d67b
pop dword [ebp - 0x38]
mov eax, 0x1000d67b
sub dword [ebp - 0x38], eax
push 0x40
push 0x1000
push 0x3ea1c
push 0
mov eax, 0x569b5b67
sub eax, 0x4699fa27
add eax, dword [ebp - 0x38]
call dword [eax]
mov ecx, 0xd8915ff9
add ecx, 0x276ef9ae
mov ebx, eax
mov esi, 0x2a4664ed
add esi, 0xe5bbdf13
add esi, dword [ebp - 0x38]
mov edi, 0xef6e8f84
sub edi, 0xc11ee6d7
mov edx, dword [esi]
xor edx, edi
xor dword [ebp - 0x20], ebx
mov dword [ebx], edx
add dword [ebp - 0x30], esi
add ebx, 0x1e164b7b
sub ebx, 0x1e164b77
add esi, 0x4e56aec1
sub esi, 0x4e56aebd
loop 0x1000d6d5
add eax, 0x1596f
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0xa1e89055
add ecx, 0x6e176fab
add ecx, dword [ebp - 0x38]
call ebx
leave
ret
Function at 0x10006089
Capabilities:
Resume thread

Disassembly:
push 0x10
mov eax, 0x10011324
call fcn.10010dbc
mov ebx, ecx
mov dword [ebp - 0x18], ebx
cmp byte [ebx + 4], 0
jne 0x100061ed
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
cmp eax, dword [ebx]
jne 0x100061ed
push 0x1000334a
push 0xd008
call fcn.100062eb
mov edi, eax
mov dword [ebp - 0x1c], edi
pop ecx
pop ecx
test edi, edi
je 0x100061e6
push 0xc000
xor ebx, ebx
push ebx
push edi
call fcn.1000ec20
add esp, 0xc
mov dword [edi + 0xc000], ebx
lea eax, [edi + 0xc004]
push 0x1000
push ebx
push eax
call fcn.1000ec20
add esp, 0xc
mov dword [edi + 0xd004], ebx
test edi, edi
je 0x100061e6
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
lea ecx, [ebp - 0x1c]
call fcn.100062eb
mov ecx, edi
mov dword [ebp - 4], ebx
call fcn.100062eb
mov esi, eax
push esi
push 0x10003028
mov dword [ebp - 0x10], esi
call fcn.100062eb
pop ecx
pop ecx
test esi, esi
jne 0x1000619a
mov ecx, edi
call fcn.100062eb
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x100061fa
mov eax, dword [eax]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x10014250]
mov ecx, dword [ebp - 0x14]
call esi
call fcn.100062eb
test eax, eax
je 0x10006190
jg 0x10006175
mov esi, eax
mov dword [ebp - 0x10], eax
jmp 0x10006181
movzx esi, ax
or esi, 0x80070000
mov dword [ebp - 0x10], esi
push esi
push 0x10003050
call fcn.100062eb
pop ecx
pop ecx
jmp 0x1000619a
mov eax, dword [ebp - 0x18]
mov esi, dword [ebp - 0x10]
mov byte [eax + 4], 1
lea ecx, [ebp - 0x1c]
call fcn.1000704c
lea eax, [edi + 0xc000]
mov dword [ebp - 0x1c], eax
cmp dword [eax], ebx
jbe 0x100061ce
lea esi, [edi + 8]
test byte [esi - 4], 1
je 0x100061c3
push dword [esi]
call dword [sym.imp.kernel32.dll_ResumeThread]
mov eax, dword [ebp - 0x1c]
inc ebx
add esi, 0xc
cmp ebx, dword [eax]
jb 0x100061b2
mov esi, dword [ebp - 0x10]
mov ecx, edi
call fcn.100062eb
push 0xd008
push edi
call fcn.100062eb
pop ecx
pop ecx
mov eax, esi
jmp 0x100061f2
mov eax, 0x8007000e
jmp 0x100061f2
mov eax, 0x800710dd
call fcn.10010d85
ret 4
call fcn.100062eb
int3

Function at 0x100062eb
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x100062fa
pop dword [ebp - 0x48]
mov eax, 0x100062fa
sub dword [ebp - 0x48], eax
push 0x40
push 0x1000
push 0x383a0
push 0
mov eax, 0xd937e59c
add eax, 0x36c95ac8
add eax, dword [ebp - 0x48]
call dword [eax]
mov ecx, 0xcfc994a7
sub ecx, 0xcfc94fd6
xor edi, edi
add edi, eax
mov ebx, 0x10018600
add ebx, dword [ebp - 0x48]
mov esi, 0x4909c122
xor dword [ebp - 0x28], edx
mov edx, dword [ebx]
mov dword [ebp - 0x38], 0x8b18567a
xor edx, esi
mov dword [edi], edx
sub dword [ebp - 0x20], 0x73ef84fb
add edi, 0x43acf941
add edi, 0xbc5306c3
add ebx, 0xef9fee4a
add ebx, 0x106011ba
loop 0x1000634a
add eax, 0x10617
mov ebx, eax
add eax, 5
mov ecx, 0x10000000
add ecx, dword [ebp - 0x48]
call ebx
leave
ret
Function at 0x10007c3d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x10007c4c
pop dword [ebp - 0x38]
mov eax, 0x815d7714
sub eax, 0x715cfac8
sub dword [ebp - 0x38], eax
push 0x40
push 0x1000
push 0x39252
push 0
mov eax, 0xb13f9af6
sub eax, 0xa13eaa22
add eax, dword [ebp - 0x38]
call dword [eax]
mov ecx, 0x2230687b
add ecx, 0xddcfe092
xor ebx, ebx
add ebx, eax
mov esi, 0x2b34b422
sub esi, 0x1b32f022
add esi, dword [ebp - 0x38]
mov edi, 0xa4eb107d
add edi, 0x37f758fb
add dword [ebp - 0x24], eax
mov edx, dword [esi]
xor dword [ebp - 8], 0x5b410d9d
xor edx, edi
xor dword [ebp - 0x34], 0x3d0e1bdb
mov dword [ebx], edx
add ebx, 4
add esi, 0xf88460ed
add esi, 0x77b9f17
loop 0x10007cad
add eax, 0x3f68c988
add eax, 0xc0984d7f
xor ebx, ebx
add ebx, eax
add eax, 0x42b355eb
add eax, 0xbd4caa1a
mov ecx, 0x10000000
add ecx, dword [ebp - 0x38]
call ebx
leave
ret
Function at 0x10005ace
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
pushal
call 0x10005add
pop dword [ebp - 0x1c]
mov eax, 0x10005add
sub dword [ebp - 0x1c], eax
push 0x40
push 0x1000
push 0x36fcd
push 0
mov eax, 0x92e68ce3
sub eax, 0x82e5bc07
add eax, dword [ebp - 0x1c]
call dword [eax]
mov ecx, 0x7191e914
sub ecx, 0x7191a602
xor ebx, ebx
add ebx, eax
mov edx, 0x10015200
add edx, dword [ebp - 0x1c]
mov edi, 0x5f912189
sub edi, 0xa35f6aa0
sub dword [ebp - 8], ecx
mov esi, dword [edx]
sub dword [ebp - 0xc], 0xc9b74a95
sub esi, edi
xor dword [ebp - 8], 0x6006a758
mov dword [ebx], esi
xor dword [ebp - 8], 0xc65a8032
add ebx, 4
add edx, 4
loop 0x10005b33
add eax, 0x6de65d7c
add eax, 0x921aa19f
mov ebx, eax
add eax, 5
mov ecx, 0x10000000
add ecx, dword [ebp - 0x1c]
call ebx
leave
ret

Function at 0x1000655b
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
mov edi, dword [ebp + 8]
lea esi, [edi - 0x6c]
mov ecx, esi
call fcn.10005ace
test eax, eax
jne 0x1000657b
mov eax, 0x80070005
jmp 0x100065ec
push esi
mov ecx, esi
call fcn.10005ace
test eax, eax
js 0x100065ea
cmp dword [edi + 0x44], 0
je 0x100065ea
and dword [ebp + 8], 0
lea eax, [ebp - 0x10]
mov esi, dword [sym.imp.USER32.dll_GetCursorPos]
push eax
call esi
lea eax, [ebp - 8]
push eax
call esi
push 0x14
pop ecx
call fcn.100099b8
test eax, eax
je 0x100065c7
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
and dword [eax + 8], 0
mov dword [eax], vtable.CNameShowContactCardJob.0
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], edx
jmp 0x100065c9
xor eax, eax
push eax
lea ecx, [ebp + 8]
call fcn.10005ace
mov esi, dword [ebp + 8]
test esi, esi
je 0x100065ea
mov ecx, dword [edi + 0x44]
push esi
call fcn.10005ace
test eax, eax
mov eax, dword [esi]
push esi
call dword [eax + 8]
xor eax, eax
pop edi
pop esi
leave
ret 4
Function at 0x401402
Capabilities:
Check if file exists
Get common file path
Read .ini file

Disassembly:
push 0x230
mov eax, 0x555025
call fcn.0052faf2
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
and dword [ebp - 0x230], 0
mov edi, edx
mov esi, ecx
mov dword [ebp - 0x228], edi
mov dword [ebp - 0x234], eax
call fcn.0040118e
push str.DCEX.Model
lea ecx, [ebp - 0x220]
call fcn.00401daf
and dword [ebp - 4], 0
push edi
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.00401680
add esp, 0xc
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x220]
add ecx, 0xfffffff0
call fcn.004021a7
lea eax, [ebp - 0x21c]
push eax
mov ecx, ebx
call fcn.004011d5
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x21c]
add ecx, 0xfffffff0
call fcn.004021a7
push 1
push 0x23
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ebx, 0x587b60
test eax, eax
je 0x4015d4
push ebx
lea ecx, [ebp - 0x238]
call fcn.00401daf
push dword [ebp - 0x228]
mov dword [ebp - 4], 3
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.00401680
add esp, 0xc
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x238]
add ecx, 0xfffffff0
call fcn.004021a7
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x22c]
call fcn.00401daf
push str.epsonEpson_Scan_2ModelsES
push eax
lea eax, [ebp - 0x23c]
push eax
mov byte [ebp - 4], 6
call fcn.004016d7
push dword [ebp - 0x228]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.00401680
push str.DCP.ini
push eax
lea eax, [ebp - 0x220]
push eax
mov byte [ebp - 4], 8
call fcn.004016d7
add esp, 0x24
mov ecx, dword [ebp - 0x224]
add ecx, 0xfffffff0
call fcn.004021a7
mov ecx, dword [ebp - 0x23c]
add ecx, 0xfffffff0
call fcn.004021a7
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x22c]
add ecx, 0xfffffff0
call fcn.004021a7
push dword [ebp - 0x220]
call edi
test eax, eax
je 0x4015b4
push dword [ebp - 0x220]
push 0
push str.DataVersion
push dword [ebp - 0x21c]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
je 0x4015b4
js 0x4015b4
mov dword [ebp - 0x230], eax
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x220]
call fcn.004011d5
mov ecx, dword [ebp - 0x220]
add ecx, 0xfffffff0
call fcn.004021a7
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x21c]
add ecx, 0xfffffff0
call fcn.004021a7
push ebx
lea ecx, [ebp - 0x22c]
call fcn.00401daf
push dword [ebp - 0x228]
mov dword [ebp - 4], 0xd
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.00401680
add esp, 0xc
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x22c]
add ecx, 0xfffffff0
call fcn.004021a7
mov ebx, dword [ebp - 0x234]
push dword [ebx]
call edi
test eax, eax
je 0x40164c
push dword [ebx]
push 0
push str.DataVersion
push dword [ebp - 0x224]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
je 0x40164c
cmp eax, dword [ebp - 0x230]
jl 0x40164c
lea eax, [ebp - 0x224]
push eax
mov ecx, ebx
call fcn.004011d5
mov ecx, dword [ebp - 0x224]
add ecx, 0xfffffff0
call fcn.004021a7
call fcn.0052fb75
ret 8
Function at 0x40233b
Capabilities:
Enumerate files on windows

Disassembly:
push 0x348
mov eax, 0x5577be
call fcn.0052faf2
mov eax, dword [ebp + 8]
mov ebx, ecx
lea esi, [ebx + 0xd0]
mov edi, edx
mov dword [ebp - 0x27c], eax
call fcn.0040294d
push edi
lea ecx, [ebp - 0x26c]
call fcn.00401daf
and dword [ebp - 4], 0
push 0x587c08
lea eax, [ebp - 0x26c]
push eax
lea eax, [ebp - 0x274]
push eax
call fcn.004016d7
add esp, 0xc
lea eax, [ebp - 0x264]
push eax
mov byte [ebp - 4], 1
push dword [ebp - 0x274]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
and dword [ebp - 0x284], 0
mov dword [ebp - 0x270], eax
call fcn.004029d8
mov esi, eax
mov dword [esi], esi
mov dword [ebp - 0x288], esi
mov dword [esi + 4], esi
cmp dword [ebp - 0x270], 0xffffffff
mov byte [ebp - 4], 2
je 0x402499
push 0x587c28
lea eax, [ebp - 0x26c]
push eax
lea eax, [ebp - 0x278]
push eax
call fcn.004016d7
add esp, 0xc
lea ecx, [ebp - 0x238]
push ecx
push eax
lea eax, [ebp - 0x268]
push eax
mov byte [ebp - 4], 3
call fcn.004016d7
add esp, 0xc
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x278]
add ecx, 0xfffffff0
call fcn.004021a7
push dword [ebp - 0x26c]
lea ecx, [ebp - 0x354]
push dword [ebp - 0x27c]
push dword [ebp - 0x268]
call fcn.00404b96
lea eax, [ebp - 0x354]
push eax
lea edi, [ebp - 0x288]
mov byte [ebp - 4], 6
call fcn.00402911
lea ecx, [ebp - 0x354]
call fcn.00404649
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x268]
add ecx, 0xfffffff0
call fcn.004021a7
lea eax, [ebp - 0x264]
push eax
push dword [ebp - 0x270]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4023d4
push dword [ebp - 0x270]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, dword [ebp - 0x288]
xor eax, eax
mov dword [ebp - 0x268], eax
cmp dword [ebp + 0xc], eax
jle 0x4024eb
mov ecx, dword [ebp + 0x10]
mov ecx, dword [ecx + eax*4]
test ecx, ecx
jle 0x4024d9
mov eax, dword [esi]
jmp 0x4024bb
cmp dword [eax + 0x24], ecx
je 0x4024c1
mov eax, dword [eax]
cmp eax, esi
jne 0x4024b4
jmp 0x4024d9
cmp dword [ebx + 0xd4], 0x1e
jae 0x4024d9
add eax, 8
push eax
lea edi, [ebx + 0xd0]
call fcn.00402911
mov eax, dword [ebp - 0x268]
inc eax
mov dword [ebp - 0x268], eax
cmp eax, dword [ebp + 0xc]
jl 0x4024a6
mov ebx, dword [ebx + 0xd4]
lea esi, [ebp - 0x288]
call fcn.0040294d
push dword [ebp - 0x288]
call fcn.0042b517
pop ecx
mov ecx, dword [ebp - 0x274]
add ecx, 0xfffffff0
call fcn.004021a7
mov ecx, dword [ebp - 0x26c]
add ecx, 0xfffffff0
call fcn.004021a7
mov eax, ebx
call fcn.0052fb75
ret 0xc
Function at 0x402cad
Capabilities:
Read .ini file

Disassembly:
push 0x8c
mov eax, 0x554e95
call fcn.0052faf2
and dword [ebp - 0x98], 0
lea ecx, [ebp - 0x98]
call fcn.00409c58
and dword [ebp - 4], 0
push str.NSMInfo.ini
push eax
lea eax, [ebp - 0x94]
push eax
call fcn.004016d7
add esp, 0xc
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x98]
add ecx, 0xfffffff0
call fcn.004021a7
push dword [ebp - 0x94]
mov esi, 0x587ce0
push 0
push str.KeywordLock
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
je 0x402d61
xor eax, eax
push 0x7e
push eax
mov word [ebp - 0x90], ax
lea eax, [ebp - 0x8e]
push eax
call fcn.0052bfd0
add esp, 0xc
push dword [ebp - 0x94]
lea eax, [ebp - 0x90]
push 0x40
push eax
push 0x587cac
push str.Keyword
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x90]
push eax
mov ecx, ebx
call fcn.00401daf
jmp 0x402d6e
call fcn.0042b589
push eax
mov ecx, ebx
call fcn.0040217f
mov ecx, dword [ebp - 0x94]
add ecx, 0xfffffff0
call fcn.004021a7
mov eax, ebx
call fcn.0052fb75
ret

Function at 0x402d84
Capabilities:
Read .ini file

Disassembly:
push 8
mov eax, 0x557011
call fcn.0052fa89
lea ecx, [ebp - 0x14]
call fcn.00409c58
and dword [ebp - 4], 0
push str.NSMInfo.ini
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.004016d7
mov ecx, dword [ebp - 0x14]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004021a7
push dword [ebp - 0x10]
push 0
push str.GroupEnabled
push 0x587ce0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [ebp - 0x10]
neg eax
sbb esi, esi
add ecx, 0xfffffff0
neg esi
call fcn.004021a7
mov eax, esi
call fcn.0052fb61
ret

Function at 0x402de7
Capabilities:
Read .ini file

Disassembly:
push 8
mov eax, 0x557011
call fcn.0052fa89
lea ecx, [ebp - 0x14]
call fcn.00409c58
and dword [ebp - 4], 0
push str.NSMInfo.ini
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.004016d7
mov ecx, dword [ebp - 0x14]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004021a7
push dword [ebp - 0x10]
push 0
push str.GroupNumber
push 0x587ce0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.004021a7
mov eax, esi
call fcn.0052fb61
ret
Function at 0x402e46
Capabilities:
Get hostname
Read .ini file

Disassembly:
push 0x244
mov eax, 0x554e57
call fcn.0052faf2
and dword [ebp - 4], 0
and dword [ebp - 0x248], 0
lea ecx, [ebp - 0x24c]
mov dword [ebp - 0x250], esi
call fcn.00409c58
push str.NSMInfo.ini
push eax
xor edi, edi
lea eax, [ebp - 0x240]
inc edi
push eax
mov dword [ebp - 4], edi
call fcn.004016d7
add esp, 0xc
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x24c]
add ecx, 0xfffffff0
call fcn.004021a7
call fcn.0042b589
push eax
mov ecx, esi
call fcn.0040217f
push esi
mov dword [ebp - 0x248], edi
call fcn.00403168
cmp byte [ebp + 8], 0
pop ecx
je 0x402f52
mov eax, dword [esi]
mov eax, dword [eax - 0xc]
mov ebx, str.Name
mov edi, 0x587ce0
test eax, eax
jne 0x402f09
push dword [ebp - 0x240]
lea eax, [ebp - 0x23c]
push 0x104
push eax
push 0x587cac
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x23c]
push eax
push 0x587d38
push esi
call fcn.004034f1
add esp, 0xc
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
jne 0x402f52
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x244], 0x11
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
je 0x402f3b
lea eax, [ebp - 0x34]
push eax
mov ecx, esi
call fcn.00401d89
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
je 0x402f52
push dword [ebp - 0x240]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov ecx, dword [ebp - 0x240]
add ecx, 0xfffffff0
call fcn.004021a7
mov eax, esi
call fcn.0052fb75
ret

Function at 0x402f68
Capabilities:
Read .ini file

Disassembly:
push 0x218
mov eax, 0x554df7
call fcn.0052faf2
lea ecx, [ebp - 0x224]
call fcn.00409c58
and dword [ebp - 4], 0
push str.NSMInfo.ini
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.004016d7
add esp, 0xc
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x224]
add ecx, 0xfffffff0
call fcn.004021a7
call fcn.0042b589
push eax
lea ecx, [ebp - 0x220]
call fcn.0040217f
mov byte [ebp - 4], 3
push dword [ebp - 0x21c]
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0x587cac
push str.Name
push 0x587ce0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x220]
push 0x587d38
push eax
call fcn.004034f1
mov eax, dword [ebp - 0x220]
add esp, 0xc
cmp dword [eax - 0xc], 0
jne 0x403015
lea ecx, [eax - 0x10]
jmp 0x403035
push ecx
lea esi, [eax - 0x10]
mov dword [ebp - 0x224], esp
mov edi, esp
push esi
call fcn.00401e83
add eax, 0x10
pop ecx
mov dword [edi], eax
call fcn.00403086
pop ecx
mov ecx, esi
call fcn.004021a7
mov ecx, dword [ebp - 0x21c]
add ecx, 0xfffffff0
call fcn.004021a7
call fcn.0052fb75
ret
Function at 0x40352c
Capabilities:
Link many functions at runtime

Disassembly:
push 0x214
mov eax, 0x554dae
call fcn.0052faf2
mov dword [ebp - 0x220], esi
xor ebx, ebx
push 0x12c
mov dword [ebp - 4], ebx
lea eax, [esi + 0x40]
push ebx
push eax
mov dword [esi], vtable.PanelDriver.0
mov dword [esi + 0x38], ebx
mov byte [esi + 0x16c], bl
call fcn.0052bfd0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x3c], eax
cmp dword [0x5bc158], ebx
jne 0x403619
xor eax, eax
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push ebx
push eax
call fcn.0052bfd0
add esp, 0xc
call fcn.0042d138
mov eax, dword [eax + 8]
push 0x104
lea ecx, [ebp - 0x218]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push 0x5c
push eax
call fcn.0052c71c
pop ecx
pop ecx
xor ecx, ecx
mov word [eax + 2], cx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x21c]
call fcn.00401daf
mov edi, str.espd01.dll
push edi
mov byte [ebp - 4], 1
call fcn.0052ba99
pop ecx
push eax
push edi
lea ecx, [ebp - 0x21c]
call fcn.00404353
push dword [ebp - 0x21c]
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, dword [ebp - 0x21c]
add ecx, 0xfffffff0
mov dword [0x5bc158], eax
call fcn.004021a7
mov eax, dword [0x5bc158]
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x24], ebx
cmp eax, ebx
je 0x4036f9
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.PDOpen
push eax
call edi
push str.PDClose
push dword [0x5bc158]
mov dword [esi + 8], eax
call edi
push str.PDLock
push dword [0x5bc158]
mov dword [esi + 0xc], eax
call edi
push str.PDUnLock
push dword [0x5bc158]
mov dword [esi + 0x10], eax
call edi
push str.PDSendJobData
push dword [0x5bc158]
mov dword [esi + 0x14], eax
call edi
push str.PDRecvJobData
push dword [0x5bc158]
mov dword [esi + 0x18], eax
call edi
push str.PDSendJobData2
push dword [0x5bc158]
mov dword [esi + 0x24], eax
call edi
push str.PDSendJobData3
push dword [0x5bc158]
mov dword [esi + 0x1c], eax
call edi
push str.PDDecodeData
push dword [0x5bc158]
mov dword [esi + 0x20], eax
call edi
push str.PDCreateJobData
push dword [0x5bc158]
mov dword [esi + 0x28], eax
call edi
push str.PDCreateJobData2
push dword [0x5bc158]
mov dword [esi + 0x2c], eax
call edi
push str.PDCreateJobData3
push dword [0x5bc158]
mov dword [esi + 0x30], eax
call edi
mov dword [esi + 0x34], eax
mov byte [esi + 4], bl
mov eax, esi
call fcn.0052fb75
ret