joyce8/EMBER2024-capa huggingface dataset:
Function at 0x454fc8
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x472bb4]
cmp dword [eax + 0x30], 0
je 0x455072
cmp dword [ebx + 0x94], 0
jne 0x45506c
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x454f58
call sub.USER32.DLL_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45506c
push 3
mov eax, dword [esp + 4]
push eax
call sub.USER32.DLL_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.USER32.DLL_GetWindowLongA
test al, 8
je 0x455032
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45506c
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00417604
push eax
call sub.USER32.DLL_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x455041
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x455bd4
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x455c09
push 0x100
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.USER32.DLL_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004046a8
jmp 0x455c16
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0040460c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x456cf8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x456d39
mov eax, esi
call fcn.0043d430
test al, al
je 0x456d39
mov eax, dword [ebx + 0x84]
call fcn.0043d12c
push eax
call sub.USER32.DLL_IsWindowVisible
test eax, eax
je 0x456d39
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043d12c
push eax
call sub.USER32.DLL_ShowWindow
pop esi
pop ebx
ret

Function at 0x45a400
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x45a42e
mov eax, ebx
call fcn.0045aeb4
cmp dword [ebx + 0x40], 0
je 0x45a427
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x45a49f
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x45a491
cmp dword [ebx + 8], 0
je 0x45a450
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x45a462
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x45a491
cmp dword [ebx + 8], 0
je 0x45a443
cmp eax, 3
je 0x45a475
dec eax
jne 0x45a443
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x45a443
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x45a443
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x45a4bd
cmp dword [ebx + 0x14], 0xcc
je 0x45a4bd
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0045a4c8
pop ebx
ret
Function at 0x46ae34
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x414a98]
call fcn.00404f24
xor eax, eax
push ebp
push 0x46af78
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4716fc], 0
jne 0x46ae87
mov ecx, dword [0x471790]
mov dl, 1
mov eax, dword [0x4076fc]
call fcn.0040bf68
call fcn.00403ff4
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.004030fc
mov eax, ebx
call fcn.00404df4
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x46af88
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.00405ea8
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404e04
test eax, eax
jle 0x46af1f
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.KERNEL32.DLL_GetComputerNameA
test eax, eax
je 0x46af18
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404840
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404828
mov eax, dword [ebp - 0x48]
pop edx
call fcn.0040855c
test eax, eax
jne 0x46af18
mov ebx, 0x15
jmp 0x46af24
mov ebx, 0x10
jmp 0x46af24
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x4716fc]
call fcn.0046ad8c
mov eax, dword [ebp - 8]
call fcn.0046ad8c
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00405ec0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46af7f
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.004045dc
lea eax, [ebp - 0x10]
mov edx, dword [0x414a98]
call fcn.00404ff4
ret

Function at 0x46dc98
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, edx
xor eax, eax
push ebp
push 0x46dd13
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
mov eax, ebx
call fcn.00408834
lea eax, [ebp - 4]
mov edx, 0x46dd28
call fcn.00404880
mov eax, dword [ebp - 4]
call fcn.00408d3c
cmp al, 1
jne 0x46dcf8
lea edx, [ebp - 8]
mov eax, ebx
call fcn.00408834
lea eax, [ebp - 8]
mov edx, 0x46dd28
call fcn.00404880
mov eax, dword [ebp - 8]
call fcn.00404a78
push eax
call sub.KERNEL32.DLL_DeleteFileA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46dd1a
lea eax, [ebp - 8]
mov edx, 2
call fcn.004045dc
ret
Function at 0x46e714
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov esi, eax
xor eax, eax
push ebp
push 0x46e933
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 4], eax
xor edi, edi
xor eax, eax
mov dword [0x472c3c], eax
push 1
call sub.USER32.DLL_BlockInput
mov dl, 1
mov eax, dword [esi + 0x308]
call fcn.0042b8c0
push 0
push 0
mov eax, dword [0x9378e0]
push eax
mov eax, dword [eax]
call dword [eax + 0x38]
push 0
push 0x3f800000
mov eax, dword [0x9378e0]
push eax
mov eax, dword [eax]
call dword [eax + 0x1c]
mov eax, dword [esi + 0x2f8]
mov edx, dword [eax]
call dword [edx + 0xe0]
xor edx, edx
mov eax, esi
call fcn.0046d21c
mov ebx, 1
mov edx, ebx
mov eax, esi
call fcn.0046d8e0
inc ebx
cmp ebx, 0xb
jne 0x46e791
mov eax, dword [esi + 0x2f8]
mov eax, dword [eax + 0x68]
mov edx, 0xff
call fcn.00420358
mov eax, dword [esi + 0x2f8]
mov eax, dword [eax + 0x68]
mov edx, 0x64
call fcn.004205f8
mov eax, dword [0x472c38]
lea eax, [eax + eax*4]
mov dword [ebp - 8], eax
fild dword [ebp - 8]
fild dword [0x472c34]
fdivp st(1)
call fcn.00402b0c
mov ebx, eax
cmp ebx, 2
jge 0x46e7ed
mov ebx, 2
lea edx, [ebp - 0x10]
mov eax, dword [0x472c38]
call fcn.00408834
push dword [ebp - 0x10]
push 0x46e94c
lea edx, [ebp - 0x14]
mov eax, dword [0x472c34]
call fcn.00408834
push dword [ebp - 0x14]
push 0x46e95c
push 0x46e970
lea edx, [ebp - 0x18]
mov eax, ebx
call fcn.00408834
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 6
call fcn.00404938
mov edx, dword [ebp - 0xc]
mov eax, dword [esi + 0x2f8]
mov eax, dword [eax + 0x220]
mov ecx, dword [eax]
call dword [ecx + 0x38]
cmp ebx, 5
jne 0x46e86f
push 0xa
push 0x46e97c
mov eax, dword [0x472668]
push eax
call sub.KERNEL32.DLL_FindResourceA
push eax
mov eax, dword [0x472668]
push eax
call sub.KERNEL32.DLL_LoadResource
mov edi, eax
cmp ebx, 4
jne 0x46e894
push 0xa
push 0x46e984
mov eax, dword [0x472668]
push eax
call sub.KERNEL32.DLL_FindResourceA
push eax
mov eax, dword [0x472668]
push eax
call sub.KERNEL32.DLL_LoadResource
mov edi, eax
cmp ebx, 3
jne 0x46e8b9
push 0xa
push 0x46e98c
mov eax, dword [0x472668]
push eax
call sub.KERNEL32.DLL_FindResourceA
push eax
mov eax, dword [0x472668]
push eax
call sub.KERNEL32.DLL_LoadResource
mov edi, eax
cmp ebx, 2
jg 0x46e8de
push 0xa
push 0x46e994
mov eax, dword [0x472668]
push eax
call sub.KERNEL32.DLL_FindResourceA
push eax
mov eax, dword [0x472668]
push eax
call sub.KERNEL32.DLL_LoadResource
mov edi, eax
push 0x15
push 0
push edi
call sub.KERNEL32.DLL_LockResource
push eax
call sub.WINMM.DLL_PlaySoundA
push edi
call sub.KERNEL32.DLL_FreeResource
mov edx, 0x46e9a4
mov eax, dword [0x472c10]
call fcn.00436974
push 0
push 0x46e9b4
push 0x46e9b8
mov eax, dword [ebp - 4]
push eax
call sub.USER32.DLL_MessageBoxA_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46e93a
lea eax, [ebp - 0x18]
mov edx, 4
call fcn.004045dc
ret
Function at 0x406624
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x406648
xor eax, eax
test eax, eax
je 0x40665b
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x40665b
xor ecx, ecx
jmp 0x40665e
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x406787
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x4698ec], 0
push esi
jne 0x4067be
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406798
mov dword [ecx*4 + 0x4698e8], eax
inc ecx
cmp ecx, 0x100
jl 0x406793
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x4067ef
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x4698e8]
xor eax, esi
inc ecx
dec edx
jne 0x4067d1
pop edi
not eax
pop esi
ret 0xc

Function at 0x7ffe54a7
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword fs:[0x30]
call 0x7ffe54b2
pop edx
xor dx, dx
add edx, 0xd5e0
xor ecx, ecx
mov cl, 0x1e
xor byte [ecx + edx], 0xb0
loop 0x7ffe54c0
push dword fs:[0x24]
pop dword [edx + 0xa]
mov cl, 0xff
push edx
loop 0x7ffe54d2
mov dword [edx + 0x11], 0xffffacbb
mov ecx, dword [eax + 0x2c]
mov dword [edx + 0x1b], ecx
mov dword [edx + 0x100], ecx
mov dword [eax + 0x2c], esp
push 0
push 0
push 0
push 0
push 0x30
push 0x20
push 0
push 0
add edx, 0xffff7f38
push edx
push edx
push 0
call dword [edx + 0x820b]
add esp, 0x3f8
xor eax, eax
inc eax
cld
ret 0xc
Function at 0x401000
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push 0
push str.SOFTWAREK7_ComputingK7TotalSecurityCommonInfoUpdates
push reloc.OLEAUT32.dll_SysReAllocString
mov esi, eax
call fcn.00412f30
mov ebx, eax
test ebx, ebx
jne 0x40101e
pop esi
pop ebx
ret
test esi, esi
je 0x40102e
push esi
push str.ProxyEnabled
push ebx
call fcn.00412fe0
cmp dword [esp + 0xc], 0
jne 0x401047
cmp dword [esp + 0x10], 0
jne 0x401047
cmp dword [esp + 0x14], 0
je 0x4010db
push 0x1d0
call fcn.004166a9
mov esi, eax
add esp, 4
test esi, esi
je 0x4010db
push 0x1d0
push 0
push esi
call fcn.00416710
add esp, 0xc
push 0x1d0
push esi
push str.ProxyInfo
push ebx
call fcn.004130b0
cmp eax, 1
jne 0x4010d2
push ebp
push edi
lea edi, [esi + 0xc]
mov eax, edi
mov edx, 0x71
mov ecx, dword [esi + 8]
xor dword [eax], ecx
mov ecx, dword [eax]
mov ebp, dword [esi + 4]
xor ebp, ecx
mov dword [eax], ebp
add eax, 4
sub edx, 1
jne 0x401090
mov edx, dword [esp + 0x14]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push edx
call edi
mov ecx, dword [esp + 0x18]
lea eax, [esi + 0x110]
push eax
push ecx
call edi
mov eax, dword [esp + 0x1c]
lea edx, [esi + 0x190]
push edx
push eax
call edi
pop edi
pop ebp
push esi
call fcn.0041342f
add esp, 4
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov eax, 1
pop ebx
ret

Function at 0x401110
Capabilities:
Check os version

Disassembly:
sub esp, 0xa0
mov eax, dword [0x444148]
xor eax, esp
mov dword [esp + 0x9c], eax
push 0x9c
lea eax, [esp + 4]
push 0
push eax
call fcn.00416710
add esp, 0xc
lea ecx, [esp]
push ecx
mov dword [esp + 4], 0x9c
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x40116f
cmp dword [esp + 4], 6
jb 0x40116f
mov eax, 1
mov ecx, dword [esp + 0x9c]
xor ecx, esp
call fcn.0041343a
add esp, 0xa0
ret
mov ecx, dword [esp + 0x9c]
xor ecx, esp
xor eax, eax
call fcn.0041343a
add esp, 0xa0
ret

Function at 0x401190
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
lea eax, [esp]
push eax
push 0x20019
push 0
push str.SoftwareMicrosoftWindows_NTCurrentVersionWinLogon
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4011b8
xor eax, eax
add esp, 0xc
ret
mov eax, dword [esp]
test eax, eax
je 0x4011b2
push esi
lea ecx, [esp + 8]
push ecx
push 0x4491a4
lea edx, [esp + 0x14]
push edx
push 0
push str.AllowMultipleTSSessions
push eax
mov dword [esp + 0x20], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
je 0x4011fe
cmp dword [esp + 8], 4
jne 0x4011b2
mov eax, 1
add esp, 0xc
ret
Function at 0x40216f
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
mov esi, ecx
xor edi, edi
mov eax, dword [esi]
test eax, eax
je 0x4021b8
lea ecx, [ebp - 4]
push ecx
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0xc]
push ecx
push 0
push dword [ebp + 8]
mov dword [ebp - 4], 4
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x4021c0
cmp eax, 0x3fa
jne 0x4021b8
mov ecx, esi
call fcn.004020ab
inc edi
cmp edi, 2
jl 0x40217b
xor eax, eax
pop edi
pop esi
leave
ret 4
xor eax, eax
inc eax
jmp 0x4021ba

Function at 0x4021c5
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
mov esi, ecx
xor edi, edi
mov eax, dword [esi + 4]
test eax, eax
je 0x40220f
lea ecx, [ebp - 4]
push ecx
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0xc]
push ecx
push 0
push dword [ebp + 8]
mov dword [ebp - 4], 4
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x402217
cmp eax, 0x3fa
jne 0x40220f
mov ecx, esi
call fcn.004020ab
inc edi
cmp edi, 2
jl 0x4021d1
xor eax, eax
pop edi
pop esi
leave
ret 4
xor eax, eax
inc eax
jmp 0x402211

Function at 0x40249b
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4024b8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x4024b8
xor eax, eax
ret
xor eax, eax
inc eax
ret
Function at 0x402cdb
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
lea ebp, [esp - 0x98]
sub esp, 0x118
mov eax, dword [0x444148]
xor eax, ebp
mov dword [ebp + 0x94], eax
mov eax, dword [0x445db4]
push ebx
xor ebx, ebx
mov byte [eax], bl
push dword [0x43f044]
lea eax, [ebp - 0x70]
push str._sLanguages
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x74]
push eax
push 0x20019
push ebx
lea eax, [ebp - 0x70]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x402e29
push esi
push 0x2000
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
cmp esi, ebx
jne 0x402d61
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x402e28
push edi
lea edi, [esi + 0x80]
lea eax, [edi + 0x400]
push eax
mov byte [eax], bl
call fcn.00401e6d
lea eax, [edi + 0x400]
mov dword [esp], str.K7LangIds.dat
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov eax, dword [0x445db4]
push ebx
push ebx
push ebx
push ebx
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x7c]
push eax
push esi
mov dword [ebp - 0x80], ebx
push ebx
jmp 0x402df4
cmp byte [esi], bl
je 0x402de5
lea eax, [edi + 0x400]
push eax
push 0x400
push edi
push 0x43b830
push esi
push str.Desc
mov byte [edi], bl
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [edi], bl
je 0x402de5
push edi
call fcn.0042e037
push esi
push edi
push str._s_s_n
push dword [ebp - 0x78]
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
add dword [ebp - 0x78], eax
inc dword [ebp - 0x80]
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x7c]
push eax
push esi
push dword [ebp - 0x80]
mov dword [ebp - 0x7c], 0x7c
mov byte [esi], bl
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
je 0x402da1
mov eax, dword [ebp - 0x78]
push esi
push ebx
mov byte [eax], bl
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov ecx, dword [ebp + 0x94]
xor eax, eax
xor ecx, ebp
inc eax
pop ebx
call fcn.0041343a
add ebp, 0x98
leave
ret
Function at 0x4033f9
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x445f18]
and dword [ebp - 0x2c], 0
push 0x10000
push 8
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], str._local_
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 4], eax
test eax, eax
je 0x4035a3
push ebx
push esi
push edi
lea edi, [eax + 0x104]
mov dword [ebp - 0x10], edi
mov esi, 0x104
add edi, esi
mov dword [ebp - 0x30], edi
add edi, esi
mov dword [ebp - 0x18], edi
add edi, esi
mov dword [ebp - 0x1c], edi
push str.K7AVFiles.ini
add edi, esi
push 0x445e10
mov dword [ebp - 0xc], edi
add edi, 0x208
mov ebx, str._s_s
lea ecx, [edi + 0x208]
push ebx
push eax
mov dword [ebp - 0x20], edi
mov dword [ebp - 8], ecx
call fcn.00415a3a
add esp, 0x10
push dword [ebp - 4]
push esi
push dword [ebp - 0x10]
push str.K7SpmEng.dsm
push 0x43066c
push str.K7SpmEng
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push dword [ebp - 0x10]
push 0x445e10
push ebx
push dword [ebp - 4]
call fcn.00415a3a
xor eax, eax
add esp, 0x10
cmp dword [0x445f18], eax
jne 0x403556
mov ecx, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x30]
mov dword [ebp - 0x14], eax
mov byte [ecx], al
mov eax, dword [ebp - 0x18]
push ecx
push eax
mov byte [eax], 0
lea eax, [ebp - 0x14]
push ebx
push eax
mov byte [ebx], 0
call fcn.004010f0
xor eax, eax
add esp, 0x10
cmp dword [ebp - 0x14], eax
je 0x40351d
mov ecx, dword [ebp - 8]
mov word [ecx], ax
mov word [edi], ax
mov eax, dword [ebp - 0xc]
push esi
xor ecx, ecx
push ebx
push eax
mov word [eax], cx
call fcn.004158e0
push esi
push dword [ebp - 0x18]
push edi
call fcn.004158e0
push esi
push dword [ebp - 0x1c]
push dword [ebp - 8]
call fcn.004158e0
add esp, 0x24
jmp 0x403529
mov dword [ebp - 8], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0xc], eax
push dword [ebp - 8]
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push dword [ebp - 0xc]
push 0x43065c
push str.k7e.in
push dword [ebp - 4]
call dword [0x445f2c]
add esp, 0x1c
mov dword [0x445f18], eax
test eax, eax
je 0x40358e
jmp 0x403575
push dword [ebp - 4]
mov dword [0x445f18], eax
push dword [ebp - 0x28]
call dword [0x445f30]
pop ecx
pop ecx
test eax, eax
je 0x40358e
mov eax, dword [ebp - 0x28]
mov dword [0x445f18], eax
push 0x445db8
push eax
call dword [0x445f38]
pop ecx
pop ecx
test eax, eax
je 0x40358e
mov dword [ebp - 0x2c], 1
push dword [ebp - 4]
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
pop esi
pop ebx
mov eax, dword [ebp - 0x2c]
leave
ret
Function at 0x4035a8
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x444148]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
push str.K7SpmEng.dll
xor ebx, ebx
xor edi, edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x445f20], eax
cmp eax, ebx
je 0x403741
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.K7SA_Eng_Init
push eax
call esi
push str.K7SA_Eng_Cleanup
push dword [0x445f20]
mov dword [0x445f24], eax
call esi
push str.K7SA_Eng_Client_DSMInit
push dword [0x445f20]
mov dword [0x445f28], eax
call esi
push str.K7SA_Eng_Client_DSMUpdate
push dword [0x445f20]
mov dword [0x445f2c], eax
call esi
push str.K7SA_Eng_Client_DSMFree
push dword [0x445f20]
mov dword [0x445f30], eax
call esi
push str.K7SA_Eng_GetThresholds
push dword [0x445f20]
mov dword [0x445f34], eax
call esi
push str.K7SA_Eng_Client_InitEmail
push dword [0x445f20]
mov dword [0x445f38], eax
call esi
push str.K7SA_Eng_Client_ProcessEmail
push dword [0x445f20]
mov dword [0x445f3c], eax
call esi
push str.K7SA_Eng_Client_GetBlob3
push dword [0x445f20]
mov dword [0x445f40], eax
call esi
push str.K7SA_Eng_Client_SubmitCloud
push dword [0x445f20]
mov dword [0x445f44], eax
call esi
push str.K7SA_Eng_Client_FreeEmail
push dword [0x445f20]
mov dword [0x445f48], eax
call esi
mov dword [0x445f4c], eax
pop esi
cmp dword [0x445f2c], ebx
je 0x403741
cmp dword [0x445f30], ebx
je 0x403741
cmp dword [0x445f34], ebx
je 0x403741
cmp dword [0x445f38], ebx
je 0x403741
cmp dword [0x445f3c], ebx
je 0x403741
cmp dword [0x445f40], ebx
je 0x403741
cmp eax, ebx
je 0x403741
push 0x445e10
call fcn.0040200b
pop ecx
test eax, eax
je 0x403741
lea eax, [ebp - 0x84]
push eax
mov byte [ebp - 0x84], bl
call fcn.00402048
pop ecx
test eax, eax
je 0x403741
lea eax, [ebp - 0x84]
push ebx
push eax
call fcn.00415ac0
pop ecx
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.00413250
mov dword [0x445f1c], eax
call dword [0x445f24]
test eax, eax
je 0x403741
call fcn.004033f9
test eax, eax
je 0x403741
xor eax, eax
inc eax
mov dword [0x445f14], eax
mov edi, eax
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop ebx
call fcn.0041343a
leave
ret