joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43b3c8
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x67c
push esi
mov esi, dword [ebp + 8]
add esi, 0x28
push edi
mov dword [ebp - 8], esi
call fcn.00401347
xor edi, edi
push edi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
push 0x228
mov dword [ebp - 4], eax
lea eax, [ebp - 0x46c]
push edi
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x470]
push eax
push dword [ebp - 4]
mov dword [ebp - 0x470], 0x22c
call sub.KERNEL32.dll_Process32FirstW
lea eax, [ebp - 0x470]
push eax
push dword [ebp - 4]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x43b577
push ebx
mov eax, dword [ebp - 0x468]
mov ecx, dword [ebp - 0x458]
push eax
push edi
push 0x410
mov word [ebp - 0x240], di
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x244], eax
mov dword [ebp - 0x34], ecx
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
cmp ebx, edi
mov dword [ebp - 0xc], ebx
je 0x43b507
push 0x208
lea eax, [ebp - 0x67a]
push edi
push eax
mov word [ebp - 0x67c], di
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x67c]
push eax
mov eax, dword [ebp + 8]
push ebx
call fcn.0043b3a0
cmp word [ebp - 0x67c], di
jne 0x43b4d2
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x67c]
push eax
push ebx
mov dword [ebp - 0x10], 0x104
call fcn.0043afe2
add esp, 0xc
lea eax, [ebp - 0x67c]
lea ebx, [ebp - 0x240]
call fcn.0043b1f3
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0xc]
call fcn.0043af8c
add esp, 0x14
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [esi + 0xc]
cmp ebx, edi
jl 0x43b55f
cmp ebx, 0xffffffff
mov eax, dword [esi + 8]
jne 0x43b51f
push dword [esi]
call sub.msvcrt.dll_free
jmp 0x43b535
push eax
push 0x234
lea eax, [esi + 4]
mov edx, ebx
mov edi, esi
call fcn.00446133
mov esi, dword [ebp - 8]
pop ecx
lea eax, [ebx + 1]
cmp dword [esi + 0xc], eax
pop ecx
jge 0x43b541
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 8]
mov edi, ebx
imul edi, edi, 0x234
add edi, dword [eax]
mov ecx, 0x8d
lea esi, [ebp - 0x244]
rep movsd dword es:[edi], dword [esi]
xor edi, edi
mov esi, eax
lea eax, [ebp - 0x470]
push eax
push dword [ebp - 4]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x43b434
pop ebx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
leave
ret 4

Function at 0x43be0f
Capabilities:
Acquire debug privileges

Disassembly:
push esi
push edi
mov esi, eax
xor edi, edi
call fcn.0043bd76
test eax, eax
je 0x43be3d
push str.LookupPrivilegeValueW
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, edi
je 0x43be3d
push dword [esp + 0xc]
push str.SeDebugPrivilege
push edi
call eax
mov edi, eax
mov eax, edi
pop edi
pop esi
ret 4

Function at 0x43c07b
Capabilities:
Terminate process

Disassembly:
cmp dword [0x45e8c4], 2
jne 0x43c08c
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
ret
Function at 0x43c54e
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x162c
call fcn.004516d0
push ebx
push esi
push edi
lea eax, [ebp + 0x14]
push eax
push 0x20019
xor edi, edi
push edi
push str.Creds
push dword [ebp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43c6ce
push 0x1fe
lea eax, [ebp - 0x226]
push edi
push eax
mov word [ebp - 0x228], di
call sub.msvcrt.dll_memset
add esp, 0xc
mov ebx, 0xff
push ebx
lea eax, [ebp - 0x228]
push eax
mov dword [ebp - 4], edi
push edi
jmp 0x43c6b4
lea eax, [ebp - 0xc]
push eax
push 0x20019
push edi
lea eax, [ebp - 0x228]
push eax
push dword [ebp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43c6a6
push 0xb7
mov dword [ebp - 8], 0x1000
call fcn.00448b23
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0x1628]
push ecx
lea ecx, [ebp - 0x28]
push ecx
push edi
push eax
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43c69d
mov eax, dword [ebp - 8]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1628]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x14]
push eax
push 1
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x1c]
push eax
add esi, 0xc
call fcn.0044caad
test eax, eax
je 0x43c69d
lea esi, [ebp - 0x628]
call fcn.0043c3d6
lea eax, [ebp - 0x228]
push eax
mov eax, ebx
mov edi, esi
call fcn.00446184
mov esi, dword [ebp - 0x14]
cmp esi, 0x1fe
pop ecx
jae 0x43c684
push esi
push dword [ebp - 0x10]
lea eax, [ebp - 0x428]
push eax
call sub.msvcrt.dll_memcpy
shr esi, 1
add esp, 0xc
and word [ebp + esi*2 - 0x428], 0
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
lea edx, [ebp - 0x628]
push edx
call dword [eax]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor edi, edi
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc dword [ebp - 4]
push ebx
lea eax, [ebp - 0x228]
push eax
push dword [ebp - 4]
push dword [ebp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x43c5b2
push dword [ebp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x43c7c9
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x52c
push ebx
push esi
push edi
mov edi, 0x400
push 0xab
xor ebx, ebx
mov dword [ebp - 8], edi
call fcn.00448b23
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0x528]
push ecx
push ebx
push ebx
push eax
mov eax, dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43c924
inc eax
cmp dword [ebp - 8], eax
jbe 0x43c924
cmp byte [ebp - 0x528], 0x20
mov dword [ebp - 4], ebx
jae 0x43c892
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
call fcn.0044ca58
test eax, eax
je 0x43c888
mov eax, dword [ebp - 8]
add eax, 0xfffffffe
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x526]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x10]
push eax
push 1
push ebx
lea eax, [ebp - 0x24]
push eax
lea esi, [ebp - 0x1c]
call fcn.0044caad
test eax, eax
je 0x43c888
cmp dword [ebp - 0x10], edi
jae 0x43c87f
push dword [ebp - 0x10]
lea eax, [ebp - 0x528]
push dword [ebp - 0xc]
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov dword [ebp - 4], 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea esi, [ebp - 0x1c]
call fcn.0044ca33
jmp 0x43c895
mov dword [ebp - 4], eax
cmp dword [ebp - 4], ebx
je 0x43c924
mov esi, 0xff
push esi
lea eax, [ebp - 0x127]
push ebx
push eax
mov byte [ebp - 0x129], bl
mov byte [ebp - 0x128], bl
call sub.msvcrt.dll_memset
add esp, 0xc
push esi
lea edi, [ebp - 0x128]
lea eax, [ebp - 0x528]
call fcn.0044edbe
pop ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [esi + 0x200]
push eax
push 0xffffffffffffffff
mov eax, edi
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0xac
mov dword [ebp + 8], 0x1fe
call fcn.00448b23
lea ecx, [ebp + 8]
push ecx
push esi
push ebx
push ebx
push eax
mov eax, dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43c924
mov word [esi + 0x1fc], bx
mov word [esi + 0x3fc], bx
xor ebx, ebx
inc ebx
mov eax, dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 8
Function at 0x43c938
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x924
push ebx
push esi
push edi
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x920]
push eax
mov eax, dword [ebp + 0x14]
xor ebx, ebx
push ebx
push ebx
push dword [ebp + 0xc]
mov edi, 0x800
push dword [eax]
mov dword [ebp - 4], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43ca7e
cmp dword [ebp - 4], 1
jbe 0x43ca7e
cmp byte [ebp - 0x920], 0x20
mov dword [ebp + 0xc], ebx
jae 0x43ca7e
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
call fcn.0044ca58
test eax, eax
je 0x43c9f3
mov eax, dword [ebp - 4]
add eax, 0xfffffffe
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x91e]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0xc]
push eax
push 1
push ebx
lea eax, [ebp - 0x20]
push eax
lea esi, [ebp - 0x18]
call fcn.0044caad
test eax, eax
je 0x43c9f3
cmp dword [ebp - 0xc], edi
jae 0x43c9ea
push dword [ebp - 0xc]
lea eax, [ebp - 0x920]
push dword [ebp - 8]
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov dword [ebp + 0xc], 1
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea esi, [ebp - 0x18]
call fcn.0044ca33
cmp dword [ebp + 0xc], ebx
je 0x43ca7e
mov esi, 0xff
push esi
lea eax, [ebp - 0x11f]
push ebx
push eax
mov byte [ebp - 0x121], bl
mov byte [ebp - 0x120], bl
call sub.msvcrt.dll_memset
add esp, 0xc
push esi
lea edi, [ebp - 0x120]
lea eax, [ebp - 0x920]
call fcn.0044edbe
pop ecx
push esi
mov esi, dword [ebp + 0x10]
lea eax, [esi + 0x200]
push eax
push 0xffffffffffffffff
mov eax, edi
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [ebp + 0xc]
push eax
mov eax, dword [ebp + 0x14]
push esi
push ebx
push ebx
push dword [ebp + 8]
mov dword [ebp + 0xc], 0x1fe
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43ca7e
mov word [esi + 0x1fc], bx
mov word [esi + 0x3fc], bx
xor ebx, ebx
inc ebx
mov eax, dword [ebp + 0x14]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 0x10
Function at 0x43ca92
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1030
call fcn.004516d0
push ebx
push esi
push edi
push 0xba
call fcn.00448b23
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea ecx, [ebp - 8]
push ecx
mov edi, 0x20019
push edi
xor ebx, ebx
push ebx
push eax
push 0x80000001
call esi
test eax, eax
jne 0x43cbc2
push 0xbb
call fcn.00448b23
lea ecx, [ebp - 0xc]
push ecx
push edi
push ebx
push eax
push dword [ebp - 8]
call esi
test eax, eax
jne 0x43cbb9
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x102c]
push eax
lea eax, [ebp - 0x2c]
push eax
push ebx
push str.Value
push dword [ebp - 0xc]
mov dword [ebp - 0x10], 0x1000
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43cbb0
mov esi, dword [ebp + 8]
add esi, 0xc
mov eax, esi
call fcn.0044ca58
test eax, eax
je 0x43cbb0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x102c]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x18]
push eax
push 1
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x28], 0x40
mov dword [ebp - 0x24], 0x45d950
call fcn.0044caad
test eax, eax
je 0x43cbb0
mov ebx, dword [ebp - 0x18]
cmp ebx, 0x400
jae 0x43cba7
push 0x10
pop ecx
push ebx
push dword [ebp - 0x14]
lea eax, [ebp - 0xfec]
mov esi, 0x45d950
lea edi, [ebp - 0x102c]
push eax
rep movsd dword es:[edi], dword [esi]
call sub.msvcrt.dll_memcpy
add esp, 0xc
push dword [ebp - 8]
add ebx, 0x40
push ebx
lea eax, [ebp - 0x102c]
push eax
push dword [ebp + 8]
call fcn.0043c54e
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_LocalFree]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x43e845
Capabilities:
Open clipboard

Disassembly:
mov eax, dword [esi + 0x69c]
push 1
push 2
push 2
push 0x45252c
push esi
call fcn.0043e255
test eax, eax
je 0x43e88c
mov eax, dword [esi + 0x69c]
mov eax, dword [eax + 0x2dc]
push edi
call fcn.00444aa6
push dword [esi + 0x208]
mov edi, eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x43e88b
push edi
call fcn.00446217
pop ecx
pop edi
ret
Function at 0x43f67a
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2004
call fcn.004516d0
push ebx
push esi
mov esi, 0x1fff
xor ebx, ebx
push esi
lea eax, [ebp - 0x2003]
push ebx
push eax
mov byte [ebp - 0x2004], bl
call sub.msvcrt.dll_memset
add esp, 0xc
push ebx
push ebx
push esi
lea eax, [ebp - 0x2004]
push eax
push 0xffffffffffffffff
push dword [ebp + 0xc]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [ebp - 0x2004]
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x43f6c7
push ebx
lea ecx, [ebp - 4]
push ecx
sub eax, esi
push eax
lea eax, [ebp - 0x2004]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
pop ebx
leave
ret

Function at 0x43f6ea
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x8004
call fcn.004516d0
push ebx
push esi
mov esi, 0x7fff
xor ebx, ebx
push esi
lea eax, [ebp - 0x8003]
push ebx
push eax
mov byte [ebp - 0x8004], bl
call sub.msvcrt.dll_memset
add esp, 0xc
push ebx
push ebx
push esi
lea eax, [ebp - 0x8004]
push eax
push 0xffffffffffffffff
push dword [ebp + 0xc]
push ebx
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [ebp - 0x8004]
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x43f73b
push ebx
lea ecx, [ebp - 4]
push ecx
sub eax, esi
push eax
lea eax, [ebp - 0x8004]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
pop ebx
leave
ret
Function at 0x440350
Capabilities:
Get common file path
Get file system object information

Disassembly:
sub esp, 0x4c4
push ebx
mov ebx, dword [sym.imp.COMCTL32.dll_ImageList_SetImageCount]
push ebp
xor ebp, ebp
cmp dword [esi + 0x2cc], ebp
push edi
mov edi, dword [sym.imp.COMCTL32.dll_ImageList_Create]
je 0x440429
cmp dword [esi + 0x2d4], ebp
je 0x4403f7
push 0x2b0
lea eax, [esp + 0x224]
push ebp
push eax
mov dword [esp + 0x228], ebp
call sub.msvcrt.dll_memset
push 0x208
lea eax, [esp + 0x22]
push ebp
push eax
mov word [esp + 0x28], bp
call sub.msvcrt.dll_memset
add esp, 0x18
push 0x104
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push 0x4001
push 0x2b4
lea eax, [esp + 0x224]
push eax
push ebp
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
push eax
push 1
push 0x1003
push dword [esi + 0x2b8]
mov dword [esi + 0x2c0], eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x440429
push 1
push 1
push 0x19
push 0x10
push 0x10
call edi
push 1
lea ebp, [esi + 0x2c0]
push eax
mov dword [ebp], eax
call ebx
push dword [ebp]
push 1
push 0x1003
push dword [esi + 0x2b8]
call dword [sym.imp.USER32.dll_SendMessageW]
xor ebp, ebp
cmp dword [esi + 0x2d0], ebp
je 0x440461
push 1
push 1
push 0x19
push 0x20
push 0x20
call edi
push 1
lea ebp, [esi + 0x2c4]
push eax
mov dword [ebp], eax
call ebx
push dword [ebp]
push 0
push 0x1003
push dword [esi + 0x2b8]
call dword [sym.imp.USER32.dll_SendMessageW]
push 1
push 1
push 0x19
push 0x10
pop ebp
push ebp
push ebp
call edi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0
mov dword [esi + 0x2bc], eax
call edi
push 0x1000
push ebp
push ebp
mov ebp, dword [sym.imp.USER32.dll_LoadImageW]
push 0
push 0x85
push eax
call ebp
push 0
mov dword [esp + 0x10], eax
call edi
push 0x1000
push 0x10
push 0x10
push 0
push 0x86
push eax
call ebp
push 0
push dword [esi + 0x2bc]
mov ebp, eax
call ebx
push 0xf
call dword [sym.imp.USER32.dll_GetSysColor]
mov edi, dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
mov ebx, eax
push ebx
push dword [esp + 0x10]
push dword [esi + 0x2bc]
call edi
push ebx
push ebp
push dword [esi + 0x2bc]
call edi
push dword [esp + 0xc]
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
call edi
push ebp
call edi
push dword [esi + 0x2bc]
push dword [esi + 0x2b8]
call fcn.0044bf42
pop ecx
pop ecx
pop edi
pop ebp
pop ebx
add esp, 0x4c4
ret
Function at 0x4419b4
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov esi, eax
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x10], eax
mov eax, edi
call fcn.00440002
and dword [ebp - 4], 0
test eax, eax
mov dword [ebp - 8], eax
jle 0x441a41
cmp dword [ebp + 8], 0
je 0x4419ff
mov eax, dword [ebp - 4]
push 0x64
cdq
pop ecx
idiv ecx
test edx, edx
jne 0x4419ff
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x10]
cmp eax, 0x1f4
ja 0x441a41
mov ebx, dword [esi + 0xc]
add ebx, dword [ebp - 4]
cmp ebx, dword [ebp - 8]
jl 0x441a13
test byte [esi + 0x10], 0x20
je 0x441a41
sub ebx, dword [ebp - 8]
and dword [ebp - 0xc], 0
lea eax, [ebp - 0xc]
push eax
push edi
mov eax, ebx
call fcn.00440977
test eax, eax
je 0x441a36
push dword [ebp + 8]
push dword [ebp - 0xc]
call fcn.0043fc93
test eax, eax
jne 0x441a4b
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 8]
jl 0x4419dc
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret 4
mov eax, ebx
jmp 0x441a44

Function at 0x4421b5
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2004
call fcn.004516d0
and word [ebp - 0x2004], 0
push esi
push edi
push 0x2000
lea eax, [ebp - 0x2002]
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov edi, 0x461510
push edi
push 0x1000
lea eax, [ebp - 0x2004]
push eax
push 0x45252c
push dword [ebp + 8]
mov esi, 0x461720
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x2004], 0
je 0x44221c
cmp dword [ebp + 0x10], 0
jne 0x44221c
xor eax, eax
jmp 0x44222a
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
pop edi
pop esi
leave
ret

Function at 0x44222e
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2004
call fcn.004516d0
and word [ebp - 0x2004], 0
push 0x2000
lea eax, [ebp - 0x2002]
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
push 0x461510
push 0x1000
lea eax, [ebp - 0x2004]
push eax
push 0x45252c
push dword [ebp + 8]
push 0x461720
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x2004], 0
je 0x4422a7
mov edx, dword [ebp + 0xc]
lea eax, [ebp - 0x2004]
mov ecx, eax
sub edx, ecx
movzx ecx, word [eax]
mov word [edx + eax], cx
inc eax
inc eax
test cx, cx
jne 0x442294
xor eax, eax
inc eax
leave
ret
xor eax, eax
leave
ret

Function at 0x4422ab
Capabilities:
Read .ini file

Disassembly:
and word [esi], 0
push 0x461510
push dword [esp + 0xc]
push esi
push 0x45252c
push dword [esp + 0x14]
push 0x461720
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, esi
ret
Function at 0x443593
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x6410
call fcn.004516d0
push esi
push dword [ebp + 0xc]
call fcn.00443408
mov esi, eax
cmp esi, 0xffffffff
mov dword [ebp - 8], esi
je 0x4436b1
push esi
call fcn.00443522
cmp eax, 5
jb 0x4436a8
push ebx
xor ebx, ebx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 4], eax
mov eax, 0x5000
cmp dword [ebp - 4], eax
mov dword [ebp + 0xc], eax
jbe 0x4436a7
push edi
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 0xc]
lea edi, [ebp - 0x2210]
push dword [ebp - 8]
call fcn.004434a6
test eax, eax
je 0x443693
mov eax, dword [ebp - 0x21dc]
cmp eax, 0x100
jbe 0x443617
push 0x68
pop eax
lea eax, [ebp + eax - 0x2210]
push 0x40
push eax
call sub.msvcrt.dll_strchr
mov esi, eax
cmp esi, ebx
pop ecx
pop ecx
je 0x443688
inc esi
push 0x3f
push esi
call sub.msvcrt.dll_strchr
cmp eax, ebx
pop ecx
pop ecx
je 0x44363f
mov byte [eax], bl
push esi
call sub.msvcrt.dll__strlwr
mov dword [esp], 0x41fe
lea eax, [ebp - 0x640e]
push ebx
push eax
mov word [ebp - 0x6410], bx
call sub.msvcrt.dll_memset
push 0x2000
lea eax, [ebp - 0x6410]
push eax
push esi
call fcn.004456c9
add esp, 0x18
push ebx
lea eax, [ebp - 0x6410]
push eax
mov eax, dword [ebp + 8]
add eax, 8
call fcn.0044540b
mov eax, dword [ebp - 0xc]
shl eax, 7
add dword [ebp + 0xc], eax
jmp 0x44369a
add dword [ebp + 0xc], 0x80
mov eax, dword [ebp + 0xc]
cmp eax, dword [ebp - 4]
jb 0x4435e6
pop edi
pop ebx
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
leave
ret 8
Function at 0x4437ad
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
push ebx
mov ebx, dword [ebp + 8]
push esi
lea esi, [ebx + 0x28]
push edi
mov dword [ebp - 0x20], esi
call fcn.0044513b
push 0xe7
call fcn.00448b23
push 0x20019
lea ecx, [ebp - 0x10]
push ecx
push eax
push dword [ebx + 4]
call fcn.00439bef
add esp, 0x10
test eax, eax
jne 0x4438fd
add ebx, 0x68
mov esi, 0x2000
xor edi, edi
mov edx, esi
mov eax, ebx
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x1c], ebx
call fcn.00445041
push 0x1fe
lea eax, [ebp - 0x222]
push edi
push eax
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], 0xff
mov dword [ebp - 8], esi
mov word [ebp - 0x224], di
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 8]
push eax
mov eax, ebx
call fcn.00444aa6
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
push eax
lea eax, [ebp - 0x14]
push eax
push edi
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x224]
push eax
push edi
push dword [ebp - 0x10]
call ebx
test eax, eax
jne 0x4438f4
mov eax, dword [ebp + 8]
add eax, 0x48
mov dword [ebp + 8], eax
lea eax, [ebp - 0x224]
push eax
call sub.msvcrt.dll__wcsupr
pop ecx
push 0xffffffffffffffff
lea eax, [ebp - 0x224]
push eax
mov eax, dword [ebp - 0x20]
call fcn.00445086
push dword [ebp - 8]
mov eax, dword [ebp - 0x1c]
call fcn.00444aa6
push eax
mov eax, dword [ebp + 8]
call fcn.00445086
inc dword [ebp - 0xc]
push 0x1fe
lea eax, [ebp - 0x222]
push edi
push eax
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], 0xff
mov dword [ebp - 8], esi
mov word [ebp - 0x224], di
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x1c]
call fcn.00444aa6
push eax
lea eax, [ebp - 0x14]
push eax
push edi
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x224]
push eax
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call ebx
test eax, eax
je 0x443869
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x443a7b
Capabilities:
Enumerate internet cache

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
push ebx
push esi
push edi
xor esi, esi
push 0x208
mov edi, eax
lea eax, [ebp - 0x22e]
push esi
push eax
mov word [ebp - 0x230], si
call sub.msvcrt.dll_memset
add esp, 0xc
push 0x22
pop eax
lea ebx, [ebp - 0x230]
call fcn.0043968e
mov ebx, dword [edi + 0x24]
lea eax, [ebp - 0x230]
push eax
mov ecx, edi
call fcn.00443725
lea eax, [edi + 8]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x452d84
call fcn.00444535
cmp ebx, dword [edi + 0x24]
jne 0x443bc5
mov edi, 0xfa00
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], 0x1388
mov ebx, edi
call fcn.00444961
lea eax, [ebp - 4]
mov dword [ebp - 4], edi
mov edi, dword [ebp - 0x18]
push eax
push edi
push str.visited:
call dword [sym.imp.WININET.dll_FindFirstUrlCacheEntryW]
cmp eax, esi
mov dword [ebp - 8], eax
je 0x443bbd
mov eax, dword [edi + 4]
push 0x40
push eax
call sub.msvcrt.dll_wcschr
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x443b65
mov eax, dword [ebp - 0xc]
inc esi
push 0
inc esi
push esi
call fcn.0044540b
mov eax, dword [edi + 4]
push 0x3f
push eax
call sub.msvcrt.dll_wcschr
test eax, eax
pop ecx
pop ecx
je 0x443b65
and word [eax], 0
mov eax, dword [ebp - 0xc]
push 0
push esi
call fcn.0044540b
lea eax, [ebp - 4]
push eax
push edi
push dword [ebp - 8]
mov dword [ebp - 4], ebx
call dword [sym.imp.WININET.dll_FindNextUrlCacheEntryW]
test eax, eax
jne 0x443b25
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x443bb4
mov ebx, dword [ebp - 4]
add ebx, 0x2710
mov edi, ebx
lea eax, [ebp - 0x18]
call fcn.00444961
mov edi, dword [ebp - 0x18]
lea eax, [ebp - 4]
push eax
push edi
push dword [ebp - 8]
mov dword [ebp - 4], ebx
call dword [sym.imp.WININET.dll_FindNextUrlCacheEntryW]
test eax, eax
jne 0x443b25
push dword [ebp - 8]
call dword [sym.imp.WININET.dll_FindCloseUrlCache]
lea esi, [ebp - 0x18]
call fcn.004448e6
pop edi
pop esi
pop ebx
leave
ret