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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor ecx, ecx
mov dword [ebp - 8], ecx
mov ebx, eax
xor eax, eax
push ebp
push 0x5dfa71
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [edx + 0xc]
sub eax, 1
jb 0x5df9a9
je 0x5df9db
dec eax
je 0x5df9ff
dec eax
je 0x5dfa4c
jmp 0x5dfa5b
push 3
push 0
push 0
lea eax, [ebp - 8]
call fcn.0056ae38
lea eax, [ebp - 8]
mov edx, 0x5dfa88
call fcn.00404db8
mov eax, dword [ebp - 8]
call fcn.00404fb0
push eax
push 0
push 0
call sub.shell32.dll_ShellExecuteA
jmp 0x5dfa5b
push 1
push 0
push 0
mov eax, dword [0x634bd8]
mov eax, dword [eax]
call fcn.00404fb0
push eax
push 0
mov eax, ebx
call fcn.0046f82c
push eax
call sub.shell32.dll_ShellExecuteA
jmp 0x5dfa5b
mov ecx, dword [0x634984]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x5e2120]
call fcn.00482128
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5dfa45
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0xec]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5dfa5b
mov eax, dword [ebp - 4]
call fcn.00403cbc
ret
mov eax, dword [0x634518]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0xec]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5dfa78
lea eax, [ebp - 8]
call fcn.00404af0
ret

Function at 0x5e1708
Capabilities:
Stop service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
mov esi, eax
xor edx, edx
push ebp
push 0x5e176d
push dword fs:[edx]
mov dword fs:[edx], esp
push 0xf003f
push 0
push 0
call sub.advapi32.dll_OpenSCManagerA
push 0xf01ff
push 0x5e1780
push eax
call sub.advapi32.dll_OpenServiceA
mov ebx, eax
lea eax, [ebp - 0x1c]
push eax
push 1
push ebx
call sub.advapi32.dll_ControlService
push ebx
call sub.advapi32.dll_CloseServiceHandle
mov eax, dword [esi + 0x55c]
mov edx, 0x5e1798
call fcn.00469074
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5e1777
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5e29e8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
xor eax, eax
mov dword [ebp - 0x20], eax
mov eax, 0x5e2368
call fcn.00406f3c
mov ebx, dword [0x634984]
xor eax, eax
push ebp
push 0x5e2c17
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, dword [ebx]
mov dl, 1
mov eax, dword [0x5c09b0]
call fcn.00482128
mov edx, dword [0x634a90]
mov dword [edx], eax
mov eax, dword [0x634a90]
mov eax, dword [eax]
call fcn.00486480
mov eax, dword [0x634a90]
mov eax, dword [eax]
call fcn.00469580
call fcn.0040b85c
fstp qword [0x638d28]
wait
mov eax, 0x5e2c2c
call fcn.0040cd4c
fadd qword [0x638d28]
fstp xword [ebp - 0x1c]
wait
call fcn.0040b85c
fld xword [ebp - 0x1c]
fcompp
fnstsw ax
sahf
ja 0x5e2a4c
mov eax, dword [ebx]
call fcn.00489980
mov ecx, dword [0x63485c]
mov eax, dword [ebx]
mov edx, dword [0x5c1418]
call fcn.00489998
mov eax, dword [0x634a90]
mov eax, dword [eax]
call fcn.00403cbc
mov ecx, dword [0x634518]
mov eax, dword [ebx]
mov edx, dword [0x5c0f9c]
call fcn.00489998
mov ecx, dword [0x634708]
mov eax, dword [ebx]
mov edx, dword [0x59c920]
call fcn.00489998
mov ecx, dword [0x634a7c]
mov eax, dword [ebx]
mov edx, dword [0x5a14b0]
call fcn.00489998
mov ecx, dword [0x634398]
mov eax, dword [ebx]
mov edx, dword [0x57f52c]
call fcn.00489998
mov ecx, dword [0x634a60]
mov eax, dword [ebx]
mov edx, dword [0x5ab63c]
call fcn.00489998
mov ecx, dword [0x634884]
mov eax, dword [ebx]
mov edx, dword [0x5b12c4]
call fcn.00489998
mov ecx, dword [0x6348f8]
mov eax, dword [ebx]
mov edx, dword [0x5c05ec]
call fcn.00489998
mov ecx, dword [0x6348d8]
mov eax, dword [ebx]
mov edx, dword [0x57d7a0]
call fcn.00489998
mov ecx, dword [0x63495c]
mov eax, dword [ebx]
mov edx, dword [0x5be618]
call fcn.00489998
mov ecx, dword [0x634a74]
mov eax, dword [ebx]
mov edx, dword [0x5aa438]
call fcn.00489998
mov ecx, dword [0x634a10]
mov eax, dword [ebx]
mov edx, dword [0x5a5c30]
call fcn.00489998
mov ecx, dword [0x634c30]
mov eax, dword [ebx]
mov edx, dword [0x5802e0]
call fcn.00489998
mov ecx, dword [0x63474c]
mov eax, dword [ebx]
mov edx, dword [0x589acc]
call fcn.00489998
mov ecx, dword [0x63478c]
mov eax, dword [ebx]
mov edx, dword [0x5bfcd8]
call fcn.00489998
mov eax, dword [ebx]
call fcn.00489a18
mov eax, 0x638d30
xor ecx, ecx
mov edx, 0x44
call fcn.00403374
mov dword [0x638d30], 0x44
mov eax, dword [0x63485c]
mov eax, dword [eax]
cmp byte [eax + 0x9d4], 0
je 0x5e2c01
push 0x638d74
push 0x638d30
push 0
push 0
push 0x20
push 0
push 0
push 0
lea edx, [ebp - 0x20]
mov eax, dword [ebx]
call fcn.0048a028
mov eax, dword [ebp - 0x20]
call fcn.00404fb0
push eax
push 0
call sub.kernel32.dll_CreateProcessA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5e2c1e
lea eax, [ebp - 0x20]
call fcn.00404af0
ret
Function at 0x401940
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x40195b
pop edi
pop ebx
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x401992
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
add eax, esi
and ecx, 0xf
jbe 0x40198e
jmp 0x401980
cmp esi, eax
jae 0x401992
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x401980
cmp esi, eax
jb 0x401999
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x40ac80
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x5e91b4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push str.__________________LoadLibraryWtsapiDll____________________n
push 0x40000
push 0x5eb054
call fcn.0042e040
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
add esp, 0xc
lea eax, [ebp - 0x98]
push eax
mov dword [ebp - 0x98], 0x94
call esi
cmp dword [ebp - 0x94], 6
je 0x40acf6
lea ecx, [ebp - 0x98]
push ecx
mov dword [ebp - 0x98], 0x94
call esi
cmp dword [ebp - 0x94], 5
jne 0x40acf2
cmp dword [ebp - 0x90], 1
jae 0x40acf6
xor esi, esi
jmp 0x40ad2e
mov edx, dword [edi + 0x97c]
mov eax, dword [edx + 4]
lea ecx, [edi + 0x97c]
call eax
cmp eax, 1
jne 0x40ad15
mov esi, eax
push str.__Loading_WtsapiDll_is_succeeded__n
jmp 0x40ad1c
xor esi, esi
push str.__Loading_WtsapiDll_is_Failed_________n
push 0x40000
push 0x5eb054
call fcn.0042e040
add esp, 0xc
push str._______________________________________________________n_n
push 0x40000
push 0x5eb054
call fcn.0042e040
mov ecx, dword [ebp - 4]
add esp, 0xc
mov eax, esi
xor ecx, ebp
pop esi
call fcn.005578df
mov esp, ebp
pop ebp
ret

Function at 0x40ad60
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x5e91b4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push str.__________________WTSRegisterSessionNotification____________________n
push 0x40000
push 0x5eb054
mov esi, ecx
call fcn.0042e040
mov edi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
add esp, 0xc
lea eax, [ebp - 0x98]
push eax
mov dword [ebp - 0x98], 0x94
call edi
cmp dword [ebp - 0x94], 6
je 0x40add9
lea ecx, [ebp - 0x98]
push ecx
mov dword [ebp - 0x98], 0x94
call edi
cmp dword [ebp - 0x94], 5
jne 0x40add5
cmp dword [ebp - 0x90], 1
jae 0x40add9
xor esi, esi
jmp 0x40ae24
cmp dword [esi + 0x994], 0
mov ecx, dword [esi + 0x20]
jne 0x40adff
mov eax, dword [esi + 0x984]
test eax, eax
je 0x40ae0b
push 0
push ecx
call eax
mov dword [esi + 0x994], eax
cmp eax, 1
jne 0x40ae0b
mov esi, 1
push str.__WTSRegisterSessionNotification_is_succeeded__n
jmp 0x40ae12
xor esi, esi
push str.__WTSRegisterSessionNotification_is_Failed_________n
push 0x40000
push 0x5eb054
call fcn.0042e040
add esp, 0xc
push str._______________________________________________________n_n
push 0x40000
push 0x5eb054
call fcn.0042e040
mov ecx, dword [ebp - 4]
add esp, 0xc
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.005578df
mov esp, ebp
pop ebp
ret

Function at 0x40ae50
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x5e91b4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
lea eax, [ebp - 0x98]
push eax
mov dword [ebp - 0x98], 0x94
call esi
cmp dword [ebp - 0x94], 6
je 0x40aeab
lea ecx, [ebp - 0x98]
push ecx
mov dword [ebp - 0x98], 0x94
call esi
cmp dword [ebp - 0x94], 5
jne 0x40aebe
cmp dword [ebp - 0x90], 1
jb 0x40aebe
mov edx, dword [edi + 0x20]
push 0
push 0x1388
push 6
push edx
call dword [sym.imp.USER32.dll_SetTimer]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.005578df
mov esp, ebp
pop ebp
ret
Function at 0x4100e0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x582190
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
mov eax, dword [0x5e91b4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x24]
push eax
mov byte [ebp - 0xd], 0
call fcn.0042f7f0
mov dword [ebp - 4], 0
call fcn.004655e9
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x410135
push 0x80004005
call fcn.00402040
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x14], eax
mov bl, 1
lea esi, [ebp - 0x18]
mov byte [ebp - 4], bl
call fcn.00430570
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.00401fb0
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x410180
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.BrotherOfflineChk.exe
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x18]
push edx
call fcn.00404ad0
add esp, 0xc
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.00401fb0
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4101c4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [ebp - 0x14]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x4101d5
mov bl, byte [ebp - 0xd]
lea eax, [esi - 0x10]
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4101f5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
mov dword [ebp - 0x24], vtable.CCommFun.0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x410222
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x410241
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41bb60
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
mov eax, dword [0x5e91b4]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x98]
push eax
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [ebp - 0x88]
cmp eax, 1
jne 0x41bbc7
push 0
push str.WindowsScreenSaverClass
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
je 0x41bc5c
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005578df
mov esp, ebp
pop ebp
ret
cmp eax, 2
jne 0x41bc5c
cmp dword [ebp - 0x94], eax
jne 0x41bc49
push esi
push 0x2000000
push 0
push 0
push str.screen_saver
call dword [sym.imp.USER32.dll_OpenDesktopA]
mov esi, eax
test esi, esi
jne 0x41bc23
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
cmp eax, 5
sete cl
push esi
mov dword [ebp - 0x9c], ecx
call dword [sym.imp.USER32.dll_CloseDesktop]
mov eax, dword [ebp - 0x9c]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005578df
mov esp, ebp
pop ebp
ret
push esi
mov dword [ebp - 0x9c], 1
call dword [sym.imp.USER32.dll_CloseDesktop]
mov eax, dword [ebp - 0x9c]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005578df
mov esp, ebp
pop ebp
ret
push 0
lea edx, [ebp - 0x9c]
push edx
push 0
push 0x72
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x9c]
xor ecx, ebp
call fcn.005578df
mov esp, ebp
pop ebp
ret
Function at 0x41d5b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57e72c
mov eax, dword fs:[0]
push eax
sub esp, 0x27c
mov eax, dword [0x5e91b4]
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
push str.SOFTWAREBrotherInstalledInformation_
lea ecx, [ebp - 0x264]
call fcn.0042af00
xor ebx, ebx
lea esi, [ebp - 0x26c]
mov dword [ebp - 4], ebx
call fcn.00450990
mov byte [ebp - 4], 1
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x274]
call fcn.0042afc0
mov byte [ebp - 4], 2
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0x264]
call fcn.0042b6b0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x274]
add eax, 0xfffffff0
or edi, 0xffffffff
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d64e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x26c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d672
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x1b
push str.SoftwareUpdateNotification
lea ecx, [ebp - 0x264]
call fcn.0042b6b0
mov edx, dword [ebp - 0x264]
lea ecx, [ebp - 0x268]
push ecx
push 0x20019
push ebx
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41d72e
mov dword [ebp - 0x288], ebx
mov dword [ebp - 0x284], ebx
mov dword [ebp - 0x280], ebx
lea esi, [ebp - 0x288]
mov byte [ebp - 4], 3
call fcn.0042b620
mov esi, dword [ebp - 0x288]
mov ecx, dword [ebp - 0x284]
lea edx, [ebp - 0x278]
push edx
sub ecx, esi
push esi
sar ecx, 1
lea eax, [ebp - 0x270]
push eax
add ecx, ecx
push ebx
mov dword [ebp - 0x278], ecx
mov ecx, dword [ebp - 0x268]
push str.Path
push ecx
mov dword [ebp - 0x270], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x41d754
mov edx, dword [ebp - 0x268]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, ebx
je 0x41d72e
push esi
call fcn.00464a0e
add esp, 4
mov dword [ebp - 4], edi
mov eax, dword [ebp - 0x264]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x41d750
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
jmp 0x41d7ab
mov ecx, dword [ebp - 0x268]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [ebp - 0x260]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, edi
je 0x41d721
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp esi, ebx
je 0x41d787
push esi
call fcn.00464a0e
add esp, 4
mov dword [ebp - 4], edi
mov eax, dword [ebp - 0x264]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x41d7a9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
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.005578df
mov esp, ebp
pop ebp
ret
Function at 0x421a00
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [eax]
lea ecx, [ebp - 4]
push ecx
push 0x20006
push 0
push eax
push SysReAllocString
mov dword [ebp - 4], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x421a4b
push 4
lea edx, [ebp + 0xc]
push edx
mov edx, dword [ebp - 4]
push 4
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret 8

Function at 0x421a60
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [eax]
lea ecx, [ebp - 4]
push ecx
push 0x20006
push 0
push eax
push SysReAllocString
mov dword [ebp - 4], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x421aaf
mov eax, dword [ebp + 0xc]
mov edx, dword [eax - 0xc]
inc edx
push edx
mov edx, dword [ebp - 4]
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421ace
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esp, ebp
pop ebp
ret 8

Function at 0x421ae0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov eax, 4
lea ecx, [ebp - 4]
push ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push 0x20019
xor esi, esi
push esi
push eax
push SysReAllocString
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x421b53
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 8]
push edx
mov edx, dword [ebp - 4]
lea ecx, [ebp - 0x10]
push ecx
push esi
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x421b45
lea esi, [eax + 1]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x421b5d
mov eax, dword [ebp + 0x10]
pop esi
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp - 8]
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x42d500
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5819c0
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x5e91b4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x24]
push eax
call fcn.0042f7f0
lea esi, [ebp - 0x18]
mov dword [ebp - 4], 0
call fcn.00430570
push 0x5f1cc8
push eax
lea ecx, [ebp - 0x14]
push ecx
mov byte [ebp - 4], 1
call fcn.00404a10
add esp, 0xc
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42d579
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.004655e9
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x42d593
push 0x80004005
call fcn.00402040
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 4
mov eax, dword [esi - 8]
mov edi, dword [ebp - 0x14]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
jge 0x42d5cd
push 0x104
lea ecx, [ebp - 0x10]
call fcn.00401dd0
mov esi, dword [ebp - 0x10]
mov ecx, dword [0x5f1cc4]
push edi
push 0x104
push esi
push str.FASLE
push ecx
push str.NetworkRepairTool
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
inc eax
cmp eax, 0xffffffff
jne 0x42d5fe
mov eax, dword [esi - 8]
push eax
push esi
call fcn.00557e86
add esp, 8
test eax, eax
js 0x42d6cc
cmp eax, dword [esi - 8]
jg 0x42d6cc
push str.TRUE
mov dword [esi - 0xc], eax
push esi
mov byte [eax + esi], 0
call fcn.0055984b
add esp, 8
test eax, eax
lea eax, [esi - 0x10]
sete bl
mov byte [ebp - 4], 3
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42d649
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42d66c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
mov dword [ebp - 0x24], vtable.CCommFun.0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42d699
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42d6b8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00402040
int3
Function at 0x430e00
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57e929
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x5e91b4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x20], ebx
call fcn.004655e9
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x430e4f
push 0x80004005
call fcn.00402040
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
mov dword [ebp - 4], ebx
mov ebx, 1
push 0x5ba32c
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x20], ebx
call fcn.0042af00
push 0x5b9d3c
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], ebx
call fcn.0042af00
mov byte [ebp - 4], 2
mov eax, dword [edi + 8]
push eax
lea ecx, [ebp - 0x14]
call fcn.0042afc0
mov bl, 3
mov byte [ebp - 4], bl
mov eax, dword [edi + 4]
push eax
lea ecx, [ebp - 0x10]
call fcn.0042afc0
mov byte [ebp - 4], 4
mov eax, dword [esi]
mov edi, dword [ebp - 0x10]
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, 0x2711
or eax, ecx
jge 0x430ecf
push 0x2711
mov ecx, esi
call fcn.00405000
mov eax, dword [esi]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
push edi
push 0x2710
push eax
mov eax, dword [ebp - 0x1c]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [esi]
mov ecx, 0x2711
cmp dword [eax - 8], ecx
jl 0x430fa9
mov dword [eax - 0xc], ecx
mov ecx, dword [esi]
xor edx, edx
mov word [ecx + 0x4e22], dx
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x430f2a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x430f4d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x430f70
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x430f93
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
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
push 0x80070057
call fcn.00402040
int3