joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14a13173
Capabilities:
Delete service
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push esi
mov esi, ecx
mov dword [ebp - 0x14], esi
call fcn.14a0fcbb
test eax, eax
jne 0x14a1318e
inc eax
jmp 0x14a132d2
push ebx
push edi
push 0xf003f
xor edi, edi
push edi
push edi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov ebx, eax
mov dword [ebp - 0xc], ebx
cmp ebx, edi
jne 0x14a131c7
push str.Could_not_open_Service_Manager
lea ecx, [ebp - 4]
call fcn.14a12daf
push 0xd80a
lea ecx, [ebp - 4]
call fcn.14a12498
add esi, 0x40
jmp 0x14a13202
push 0x10020
add esi, 0x40
push esi
push ebx
mov dword [ebp - 0x10], esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov dword [ebp - 8], eax
cmp eax, edi
jne 0x14a13213
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push str.Could_not_open_service
lea ecx, [ebp - 4]
call fcn.14a12daf
push 0xd80c
lea ecx, [ebp - 4]
call fcn.14a12498
push edi
push esi
push dword [ebp - 4]
push edi
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x14a132b6
lea ecx, [ebp - 0x30]
push ecx
push 1
push eax
call dword [sym.imp.ADVAPI32.dll_ControlService]
mov ebx, dword [sym.imp.USER32.dll_MessageBoxA]
test eax, eax
jne 0x14a13271
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x426
je 0x14a13271
cmp eax, 0x425
jne 0x14a13244
cmp dword [ebp - 0x2c], 3
je 0x14a13271
push str.Could_not_stop_service
lea ecx, [ebp - 4]
call fcn.14a12daf
push 0xd80e
lea ecx, [ebp - 4]
call fcn.14a12498
push edi
push esi
push dword [ebp - 4]
push edi
call ebx
mov ecx, dword [ebp - 4]
add ecx, 0xfffffff0
call fcn.14a0ab78
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_DeleteService]
push dword [ebp - 8]
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov dword [ebp - 4], eax
call esi
push dword [ebp - 0xc]
call esi
cmp dword [ebp - 4], edi
jne 0x14a132c5
push str.Could_not_delete_service
lea ecx, [ebp - 4]
call fcn.14a12daf
push 0xd80d
lea ecx, [ebp - 4]
call fcn.14a12498
push edi
push dword [ebp - 0x10]
push dword [ebp - 4]
push edi
call ebx
mov ecx, dword [ebp - 4]
add ecx, 0xfffffff0
call fcn.14a0ab78
xor eax, eax
jmp 0x14a132d0
mov ecx, dword [ebp - 0x14]
call fcn.14a10635
xor eax, eax
inc eax
pop edi
pop ebx
pop esi
leave
ret

Function at 0x14a159c0
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x14a159cd
mov eax, 0x14a36390
cmp byte [eax], 0
je 0x14a15a3f
push esi
push 0
push 0x80
push 4
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x14a15a3e
push edi
push 2
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov edi, dword [esp + 0xc]
push 0
lea eax, [esp + 0x18]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call edi
cmp dword [esp + 0x10], 0
je 0x14a15a36
push 0
lea ecx, [esp + 0x18]
push ecx
push 2
push 0x14a291c8
push esi
call edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
ret 0xc
Function at 0x14a17030
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x14a24a61
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x14a36198]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
xor edx, edx
mov dword [esi], vtable.CAPITrace.0
mov dword [esi + 0x10], edx
mov dword [esp + 0x18], edx
mov dword [esi + 0x14], edx
lea ecx, [esi + 0x18]
mov dword [ecx], edx
mov eax, dword [esp + 0x24]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x34]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x28]
mov dword [esi + 8], edx
mov edi, dword [eax]
mov dword [esi + 0x1c], edi
mov edi, dword [eax + 4]
mov dword [esi + 0x20], edi
mov edi, dword [eax + 8]
mov dword [esi + 0x24], edi
mov eax, dword [eax + 0xc]
mov dword [esi + 0x28], eax
mov eax, dword [esp + 0x2c]
mov edi, dword [eax]
mov dword [esi + 0x2c], edi
mov edi, dword [eax + 4]
mov dword [esi + 0x30], edi
mov edi, dword [eax + 8]
mov dword [esi + 0x34], edi
mov eax, dword [eax + 0xc]
mov dword [esi + 0x38], eax
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x3c], eax
mov eax, dword [esp + 0x30]
mov dword [esi + 0x48], eax
mov eax, dword [esp + 0x38]
mov byte [esp + 0x18], 2
mov dword [esi + 0x40], edx
mov dword [esi + 0x44], edx
cmp eax, edx
je 0x14a170de
push eax
call fcn.14a01d1f
mov ecx, dword [esp + 0x20]
push ecx
mov ecx, esi
call fcn.14a17010
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 0x20
Function at 0x14a17a10
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x14a36198]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
call fcn.14a173b0
test eax, eax
je 0x14a17afb
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax]
push ecx
call fcn.14a22aee
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x14a17ae2
mov edi, dword [ebp + 0xc]
test edi, edi
jne 0x14a17a53
xor eax, eax
jmp 0x14a17a7c
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x14a17a66
xor eax, eax
jmp 0x14a17a7c
lea esi, [eax + eax]
mov eax, esi
call fcn.14a22e40
mov eax, esp
push 3
push esi
push edi
push eax
call fcn.14a0106e
mov edx, dword [ebp + 0x1c]
mov esi, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
push edx
mov edx, dword [ebp + 8]
push ebx
push esi
push ecx
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp dword [esi], 1
mov edi, eax
jne 0x14a17ac3
push ebx
lea ecx, [ebp - 8]
call fcn.14a01cef
mov eax, dword [ebp + 0x1c]
mov eax, dword [eax]
mov esi, dword [ebp - 8]
mov ecx, dword [ebp + 0x18]
push eax
push esi
push eax
push ecx
call dword [sym.imp.MSVCR90.dll_wcsncpy_s]
add esp, 0x10
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push ebx
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
add esp, 4
mov eax, edi
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.14a22c16
mov esp, ebp
pop ebp
ret
mov eax, 8
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.14a22c16
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x14]
push edx
mov edx, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 8]
push edx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.14a22c16
mov esp, ebp
pop ebp
ret
Function at 0x14a182e0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x14a36198]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor edi, edi
cmp ebx, edi
jne 0x14a18301
mov dword [ebp - 8], edi
jmp 0x14a1832e
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x14a18315
mov dword [ebp - 8], edi
jmp 0x14a1832e
lea esi, [eax + eax]
mov eax, esi
call fcn.14a22e40
mov eax, esp
push 3
push esi
push ebx
push eax
call fcn.14a0106e
mov dword [ebp - 8], eax
mov ebx, dword [ebp + 0xc]
test ebx, ebx
jne 0x14a18339
xor eax, eax
jmp 0x14a18362
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x14a1834c
xor eax, eax
jmp 0x14a18362
lea esi, [eax + eax]
mov eax, esi
call fcn.14a22e40
mov eax, esp
push 3
push esi
push ebx
push eax
call fcn.14a0106e
mov ecx, dword [ebp - 8]
push ecx
push 0
push str.Count
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 8], eax
test eax, eax
jle 0x14a183f7
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov edx, dword [ebp + 8]
push edx
xor eax, eax
push ebx
push edi
push eax
push eax
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], vtable.CHPCUERegDefault.0
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 1
call dword [vtable.CHPCUERegDefault.0]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.14a1ff90
add esp, 0x1c
test eax, eax
jl 0x14a183e5
lea ecx, [ebp - 0x20]
call fcn.14a17810
mov ecx, dword [ebp - 0xc]
push ecx
test eax, eax
jl 0x14a183e9
inc edi
call esi
mov edx, dword [ebp - 0x10]
push edx
call esi
mov eax, dword [ebp - 0x14]
push eax
call esi
cmp edi, dword [ebp - 8]
jl 0x14a18381
jmp 0x14a183f7
mov ecx, dword [ebp - 0xc]
push ecx
call esi
mov edx, dword [ebp - 0x10]
push edx
call esi
mov eax, dword [ebp - 0x14]
push eax
call esi
mov eax, edi
lea esp, [ebp - 0x2c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.14a22c16
mov esp, ebp
pop ebp
ret 8

Function at 0x14a18710
Capabilities:
Read .ini file

Disassembly:
mov eax, dword [esp + 0x10]
push ebx
mov ebx, dword [esp + 0x10]
push ebp
mov ebp, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0x14]
push edi
push eax
push ebx
push esi
push 0x14a26959
push str.SameAs
push ebp
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
ja 0x14a18751
test esi, esi
je 0x14a1874a
push ebx
push ebp
push esi
call fcn.14a20d00
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret
Function at 0x14a18780
Capabilities:
Read .ini file

Disassembly:
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 8]
push esi
push eax
push ebx
call fcn.14a18680
mov esi, eax
add esp, 8
test esi, esi
je 0x14a187cd
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
push edi
push ecx
mov ecx, dword [esp + 0x18]
push edx
push eax
push 0x14a26959
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push ebx
push esi
mov edi, eax
call fcn.14a18760
add esp, 8
mov eax, edi
pop edi
pop esi
pop ebx
ret
pop esi
xor eax, eax
pop ebx
ret

Function at 0x14a18e40
Capabilities:
Read .ini file

Disassembly:
sub esp, 0xc
push edi
push ebx
xor edi, edi
push ebp
mov dword [esp + 0x14], 0x100
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], edi
push esi
lea esp, [esp]
cmp dword [esp + 0x10], 0
jne 0x14a18f3d
movsx ebp, word [esp + 0x18]
push ebp
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x14a18f2d
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, eax
test esi, esi
je 0x14a18f17
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
push eax
push ebp
push esi
push 0x14a3659c
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [esi], 0
mov ebx, eax
mov dword [esp + 0x14], 0
je 0x14a18edc
lea esp, [esp]
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x14a18ec5
inc dword [esp + 0x14]
sub eax, edx
cmp byte [esi + eax + 1], cl
lea esi, [esi + eax + 1]
jne 0x14a18ec0
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
cmp ebx, 1
jle 0x14a18eef
add ebp, 0xfffffffe
cmp ebx, ebp
jne 0x14a18f35
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov edx, dword [esp + 0x18]
lea eax, [edx + edx]
xor edx, edx
xor edi, edi
cmp ebx, 1
setle dl
movzx ecx, ax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], edx
jmp 0x14a18e60
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor edi, edi
mov dword [esp + 0x10], 1
jmp 0x14a18e60
mov dword [esp + 0x10], 1
test edi, edi
je 0x14a18e60
mov eax, dword [esp + 0x28]
pop esi
pop ebp
pop ebx
test eax, eax
je 0x14a18f4e
mov ecx, dword [esp + 8]
mov dword [eax], ecx
mov eax, edi
pop edi
add esp, 0xc
ret 0xc
Function at 0x14a18f60
Capabilities:
Read .ini file

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
xor edi, edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], edi
mov ebp, 0x400
jmp 0x14a18f80
cmp dword [esp + 0x10], 0
jne 0x14a1903c
push ebp
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x14a1902c
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, eax
test esi, esi
je 0x14a19016
mov eax, dword [esp + 0x1c]
push eax
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesA]
cmp byte [esi], 0
mov ebx, eax
mov dword [esp + 0x14], 0
je 0x14a18fe7
mov eax, esi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x14a18fd0
inc dword [esp + 0x14]
sub eax, edx
cmp byte [esi + eax + 1], cl
lea esi, [esi + eax + 1]
jne 0x14a18fc7
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
cmp ebx, 1
jle 0x14a18ffa
lea ecx, [ebp - 2]
cmp ebx, ecx
jne 0x14a19034
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor edx, edx
xor edi, edi
add ebp, ebp
cmp ebx, 1
setle dl
mov dword [esp + 0x10], edx
jmp 0x14a18f80
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor edi, edi
mov dword [esp + 0x10], 1
jmp 0x14a18f80
mov dword [esp + 0x10], 1
test edi, edi
je 0x14a18f80
mov eax, dword [esp + 0x20]
test eax, eax
je 0x14a1904a
mov ecx, dword [esp + 0x14]
mov dword [eax], ecx
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8

Function at 0x14a19060
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x110
mov eax, dword [0x14a36198]
xor eax, esp
mov dword [esp + 0x10c], eax
mov eax, dword [esp + 0x11c]
push ebx
mov ebx, dword [esp + 0x11c]
push ebp
push esi
push edi
mov edi, dword [esp + 0x124]
lea ecx, [esp + 0x10]
push ecx
push edi
push ebx
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 0
call fcn.14a18e40
mov esi, dword [esp + 0x10]
mov ebp, eax
mov dword [esp + 0x18], ebp
test esi, esi
jle 0x14a19122
test ebp, ebp
je 0x14a1912d
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, eax
test esi, esi
je 0x14a1911e
cmp byte [esi], 0
je 0x14a19117
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
nop
push ebx
push 0x100
lea edx, [esp + 0x24]
push edx
push 0x14a26959
push esi
push edi
call ebp
test eax, eax
jbe 0x14a190fa
mov eax, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x20]
push ecx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov eax, esi
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x14a19100
sub eax, edx
cmp byte [esi + eax + 1], cl
lea esi, [esi + eax + 1]
jne 0x14a190d0
mov ebp, dword [esp + 0x18]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov esi, dword [esp + 0x10]
test ebp, ebp
je 0x14a1912d
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ecx, dword [esp + 0x11c]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.14a22c16
add esp, 0x110
ret 0xc
Function at 0x14a19150
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x110
mov eax, dword [0x14a36198]
xor eax, esp
mov dword [esp + 0x10c], eax
mov eax, dword [esp + 0x118]
push ebx
mov ebx, dword [esp + 0x120]
push ebp
push esi
push edi
mov edi, dword [esp + 0x124]
lea ecx, [esp + 0x10]
push ecx
push ebx
push edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 0
call fcn.14a18e40
mov esi, dword [esp + 0x10]
mov ebp, eax
mov dword [esp + 0x18], ebp
test esi, esi
jle 0x14a19232
test ebp, ebp
je 0x14a1923d
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, eax
test esi, esi
je 0x14a1922e
mov al, byte [esi]
test al, al
je 0x14a19227
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
jmp 0x14a191d0
movsx edx, al
push edx
call dword [sym.imp.MSVCR90.dll_isdigit]
add esp, 4
test eax, eax
je 0x14a19209
push edi
push 0x100
lea eax, [esp + 0x24]
push eax
push 0x14a26959
push esi
push ebx
call ebp
test eax, eax
jbe 0x14a19209
mov ecx, dword [esp + 0x14]
push ecx
push edi
lea edx, [esp + 0x24]
push edx
call fcn.14a19060
mov eax, esi
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x14a19210
sub eax, edx
lea esi, [esi + eax + 1]
mov al, byte [esi]
test al, al
jne 0x14a191d0
mov ebp, dword [esp + 0x18]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov esi, dword [esp + 0x10]
test ebp, ebp
je 0x14a1923d
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ecx, dword [esp + 0x11c]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.14a22c16
add esp, 0x110
ret 0xc
Function at 0x14a19260
Capabilities:
Read .ini file

Disassembly:
sub esp, 0xc
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
push esi
push edi
lea eax, [esp + 0xc]
push eax
push ecx
xor edi, edi
push edx
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
call fcn.14a18e40
cmp dword [esp + 0xc], edi
mov esi, eax
mov dword [esp + 0x10], esi
jle 0x14a19367
cmp esi, edi
je 0x14a19372
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebx, eax
cmp ebx, edi
je 0x14a19366
push ebp
push 0x400
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ebp, eax
test ebp, ebp
je 0x14a1935e
mov al, byte [ebx]
test al, al
je 0x14a19357
movsx eax, al
push eax
call dword [sym.imp.MSVCR90.dll_isdigit]
add esp, 4
test eax, eax
je 0x14a1933c
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
push ecx
push 0x400
push ebp
push 0x14a26959
push ebx
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jbe 0x14a1933c
push 0x2c
push ebp
call fcn.14a20b60
push 0x2c
push 0
mov esi, eax
call fcn.14a20b60
push 0x3b
push 0
mov edi, eax
call fcn.14a20b60
test esi, esi
je 0x14a19338
test edi, edi
je 0x14a19338
mov ecx, dword [esp + 0x24]
push ecx
push eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
inc dword [esp + 0x10]
mov esi, dword [esp + 0x18]
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x14a19341
mov edi, dword [esp + 0x10]
sub eax, edx
lea ebx, [ebx + eax + 1]
jmp 0x14a192c5
push ebp
call dword [sym.imp.KERNEL32.dll_LocalFree]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
pop ebp
pop ebx
test esi, esi
je 0x14a19372
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, edi
pop edi
pop esi
add esp, 0xc
ret 0xc

Function at 0x14a194d0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x18
mov eax, dword [0x14a36198]
xor eax, esp
mov dword [esp + 0x14], eax
push ebx
push esi
mov esi, dword [esp + 0x28]
push edi
mov edi, dword [esp + 0x28]
test esi, esi
je 0x14a194f2
cmp byte [esi], 0
jne 0x14a194f7
mov esi, str.ThisFile
mov ebx, dword [esp + 0x30]
test ebx, ebx
je 0x14a1953c
push 0xa
push 0x14
lea eax, [esp + 0x14]
push eax
push ebx
call dword [sym.imp.MSVCR90.dll__ltoa_s]
add esp, 0x10
push edi
lea ecx, [esp + 0x10]
push ecx
push esi
push str.Version
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
test eax, eax
jne 0x14a1955f
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.14a22c16
add esp, 0x18
ret 0xc
push edi
push 0
push esi
push str.Version
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.14a22c16
add esp, 0x18
ret 0xc
mov ecx, dword [esp + 0x20]
pop edi
pop esi
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.14a22c16
add esp, 0x18
ret 0xc
Function at 0x14a1b2a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, dword [ebp - 0x700]
inc eax
mov dword [ebp - 0x700], eax
cmp dword [ebp - 0x700], 5
jge 0x14a1b2c6
mov eax, dword [ebp - 0x700]
movsx eax, byte [ebp + eax - 0x394]
movsx ecx, byte [ebp - 0x24]
xor eax, ecx
mov ecx, dword [ebp - 0x700]
mov byte [ebp + ecx - 0x394], al
mov eax, dword [ebp - 0x700]
movsx eax, byte [ebp + eax - 0x394]
not eax
mov ecx, dword [ebp - 0x700]
mov byte [ebp + ecx - 0x394], al
jmp 0x14a1b270
call fcn.14a19e70
mov bh, 0x99
mov ch, 9
and byte [ebp - 0x72c], 0
and byte [ebp - 0x72b], 0
mov byte [ebp - 0x72a], 0xc2
and byte [ebp - 0x729], 0
invalid
test eax, ebx
clc
invalid
Function at 0x14a20850
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
push esi
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x14a20877
cmp dword [esp + 0x10], edi
je 0x14a20880
push edi
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
pop edi
pop esi
ret 8
test al, 0x10
mov eax, 1
jne 0x14a20882
mov eax, edi
pop edi
pop esi
ret 8

Function at 0x14a20940
Capabilities:
Delete directory
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
mov eax, esi
push edi
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x14a20950
mov ebp, dword [esp + 0x1c]
sub eax, edx
mov dword [esp + 0x14], eax
lea ebx, [ebp + 0x2c]
mov eax, dword [esp + 0x18]
push str..
push eax
push esi
call dword [sym.imp.MSVCR90.dll_strcat_s]
add esp, 0xc
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x14a209b1
mov eax, ebx
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x14a20990
sub eax, edx
cmp byte [ebx + eax - 1], 0x2e
jne 0x14a209cc
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
neg eax
sbb eax, eax
add eax, 1
je 0x14a20987
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esp + 0x14]
push esi
mov byte [eax + esi], 0
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
pop edi
pop esi
pop ebp
pop ebx
ret
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push ebx
push edi
push esi
mov byte [ecx + esi + 1], 0
call dword [sym.imp.MSVCR90.dll_strcat_s]
add esp, 0xc
test byte [ebp], 0x10
je 0x14a20a0a
push ebp
push edi
push esi
call fcn.14a20940
mov edx, dword [esp + 0x20]
add esp, 0xc
mov byte [edx + esi], 0
jmp 0x14a20964
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edx, dword [esp + 0x14]
mov byte [edx + esi], 0
jmp 0x14a20964
Function at 0x14a21880
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x14a36198]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor edi, edi
test ebx, ebx
je 0x14a2195d
cmp dword [ebp + 0xc], edi
je 0x14a2195d
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov esi, eax
inc esi
cmp esi, 1
jle 0x14a21964
push esi
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
test edi, edi
je 0x14a21959
push esi
push edi
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextA]
cmp byte [edi], 0
je 0x14a21952
push edi
lea ecx, [ebp - 0xc]
mov dword [ebp - 8], 0
call fcn.14a01cef
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 0x10]
lea eax, [ebp - 8]
push eax
push ecx
push edx
call dword [ebp + 0xc]
add esp, 0xc
test eax, eax
jl 0x14a21940
mov eax, dword [ebp - 8]
mov ebx, eax
test eax, eax
je 0x14a2191b
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x14a2191f
xor eax, eax
jmp 0x14a21935
lea esi, [eax + eax]
mov eax, esi
call fcn.14a22e40
mov eax, esp
push 3
push esi
push ebx
push eax
call fcn.14a0106e
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov ecx, dword [ebp - 0xc]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push ecx
call esi
mov edx, dword [ebp - 8]
push edx
call esi
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
jmp 0x14a21966
mov eax, 0x80004005
jmp 0x14a21966
mov eax, edi
lea esp, [ebp - 0x18]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.14a22c16
mov esp, ebp
pop ebp
ret 0xc

Function at 0x14a2269c
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x14a36668], 0
push esi
jne 0x14a2260a
call fcn.14a2251e
test eax, eax
je 0x14a2264d
mov eax, dword [0x14a36668]
cmp eax, 1
jne 0x14a2262b
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x14a2264d
pop esi
ret
push eax
call dword [0x14a36670]
test eax, eax
jne 0x14a22695
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x14a22651
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x14a36668]
call dword [0x14a36670]
mov edi, eax
test edi, edi
je 0x14a22676
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x14a22692
mov edi, esi
add esi, 0xff0
push edi
push dword [0x14a36668]
call dword [0x14a3666c]
add edi, 0x10
cmp edi, esi
jb 0x14a2267e
mov eax, edi
pop edi
pop esi
ret
jmp 0x14a225f7

Function at 0x14a22c16
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x14a36198]
jne 0x14a22c20
repz ret
jmp fcn.14a234d6