joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45606b
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 8]
mov eax, dword [eax + 0x30]
cmp dword [eax - 0xc], 0
jne 0x456089
mov al, 1
jmp 0x456246
call fcn.00444b50
test al, al
je 0x45617a
push 0x3c
lea eax, [ebp - 0x58]
push 0
push eax
call fcn.0048a3e0
add esp, 0xc
push str.kernel32.dll
mov dword [ebp - 0x5c], 0x40
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
push str.GlobalMemoryStatusEx
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [ebp - 0x5c]
push ecx
call eax
mov eax, dword [edi + 8]
mov ecx, dword [eax + 0x30]
call fcn.0044a6a0
mov ecx, dword [ebp - 0x54]
and dword [ebp - 0xc], 0
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 8], eax
and dword [ebp - 8], 0x80000000
and eax, 0x7fffffff
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
fild qword [ebp - 0x1c]
fild qword [ebp - 0xc]
fchs
faddp st(1)
fmul qword [0x4cbfb0]
fldz
fcom st(1)
fnstsw ax
fld st(1)
test ah, 5
jp 0x456136
call fcn.004a2080
mov dword [ebp - 8], eax
fild dword [ebp - 8]
fld st(2)
fsubrp st(1)
fcompp
fnstsw ax
test ah, 0x41
jne 0x45615b
fadd qword [0x4cbf58]
jmp 0x456154
call fcn.004a2080
mov dword [ebp - 8], eax
fild dword [ebp - 8]
fld st(2)
fsubrp st(1)
fcompp
fnstsw ax
test ah, 5
jp 0x45615b
fsub qword [0x4cbf58]
call fcn.004a2080
jmp 0x456160
mov eax, dword [ebp - 8]
fstp st(0)
cdq
mov dword [ebp - 0x1c], eax
mov edi, edx
test esi, esi
je 0x456219
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x456219
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x38]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x3c], 0x20
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov ecx, dword [eax + 0x30]
call fcn.0044a6a0
fild dword [ebp - 0x34]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x34]
test eax, eax
jge 0x4561b6
fadd qword [0x4cbf40]
fmul qword [0x4cbfb0]
fldz
fcom st(1)
fnstsw ax
fld st(1)
test ah, 5
jp 0x4561e9
call fcn.004a2080
mov dword [ebp - 8], eax
fild dword [ebp - 8]
fld st(2)
fsubrp st(1)
fcompp
fnstsw ax
test ah, 0x41
jne 0x45620e
fadd qword [0x4cbf58]
jmp 0x456207
call fcn.004a2080
mov dword [ebp - 8], eax
fild dword [ebp - 8]
fld st(2)
fsubrp st(1)
fcompp
fnstsw ax
test ah, 5
jp 0x45620e
fsub qword [0x4cbf58]
call fcn.004a2080
jmp 0x456213
mov eax, dword [ebp - 8]
fstp st(0)
cdq
mov dword [ebp - 0x1c], eax
mov edi, edx
mov eax, dword [ebp - 0x10]
cdq
cmp edi, edx
jb 0x456230
ja 0x456082
cmp dword [ebp - 0x1c], eax
jae 0x456082
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
add ecx, 0x30
push ecx
push 0xd4
call fcn.00456294
xor al, al
pop edi
pop esi
leave
ret 4
Function at 0x45624c
Capabilities:
Check internet connectivity via wininet

Disassembly:
mov eax, dword [edi + 8]
cmp byte [eax + 0x35], 0
jne 0x456258
mov al, 1
ret
push esi
xor esi, esi
mov eax, dword [esi + 0x4c745c]
push 0
push 1
push eax
call dword [sym.imp.WININET.dll_InternetCheckConnectionW]
cmp eax, 1
je 0x456290
add esi, 4
cmp esi, 0xc
jb 0x45625b
mov eax, dword [edi + 8]
add eax, 0x78
push eax
push 0xe2
mov eax, edi
call fcn.00456294
xor al, al
pop esi
ret
mov al, 1
pop esi
ret

Function at 0x456294
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, eax
mov eax, dword [esi + 4]
add eax, 0x50
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.00419e44
lea eax, [ebp - 0xc]
push eax
call fcn.00449fa0
pop ecx
lea eax, [ebp - 8]
push eax
call fcn.00403dfc
push dword [ebp + 8]
lea eax, [ebp - 8]
push eax
call fcn.00412a99
lea eax, [ebp - 4]
push eax
call fcn.00403dfc
mov eax, dword [ebp + 0xc]
push dword [eax]
lea eax, [ebp - 4]
push dword [ebp - 0xc]
push dword [ebp - 8]
push eax
call fcn.004399be
add esp, 0x10
cmp byte [esi + 0xc], 0
je 0x4562fd
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x456324
mov eax, dword [esi]
call fcn.004575f4
mov eax, dword [esi]
push 0
call fcn.00457532
mov esi, eax
call dword [sym.imp.USER32.dll_GetActiveWindow]
push 0x30
lea ecx, [ebp - 4]
push esi
push ecx
call fcn.0046197f
add esp, 0xc
lea ecx, [ebp - 4]
call fcn.00403d84
lea ecx, [ebp - 8]
call fcn.00403d84
lea ecx, [ebp - 0xc]
call fcn.00403d84
pop esi
leave
ret 8

Function at 0x457601
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
push edi
xor esi, esi
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push esi
lea eax, [ebp - 0x10]
push eax
push 0x4619d3
push esi
push esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
mov dword [ebp - 0x10], eax
mov ebx, 0x1ff
jmp 0x457665
push 1
push esi
push esi
push esi
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x457665
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push ebx
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x10]
push eax
push 1
call edi
cmp eax, 1
je 0x45763e
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4581fb
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
cmp byte [0x4e69e0], 0
je 0x458253
cmp byte [ebp + 8], 0
push esi
push 0x10
pop esi
je 0x458218
mov esi, 0x40010
push dword [eax]
lea eax, [ebp - 4]
push eax
call fcn.00412ade
push esi
lea eax, [ebp - 8]
push eax
call fcn.00403dfc
push eax
lea eax, [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_GetActiveWindow]
call fcn.0046197f
add esp, 0xc
lea ecx, [ebp - 8]
call fcn.00403d84
lea ecx, [ebp - 4]
call fcn.00403d84
pop esi
leave
ret
push dword [eax]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
leave
ret

Function at 0x458591
Capabilities:
Persist via run registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x130]
sub esp, 0x1b0
mov eax, dword [0x4e52f4]
xor eax, ebp
mov dword [ebp + 0x12c], eax
push ebx
push esi
push edi
xor ebx, ebx
push ebx
lea eax, [ebp - 0x70]
push eax
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionRun
mov esi, edx
push SysReAllocStringLen
mov edi, ecx
mov dword [ebp - 0x78], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x4585e1
xor al, al
jmp 0x4586ee
mov eax, dword [edi]
mov ecx, dword [eax - 0xc]
cmp ecx, 0x4f
mov dword [ebp - 0x6c], eax
jle 0x4585f8
lea eax, [eax + ecx*2 - 0x9e]
mov dword [ebp - 0x6c], eax
lea ecx, [ebp - 0x74]
push ecx
lea ecx, [ebp - 0x64]
push ecx
push ebx
push ebx
push eax
push dword [ebp - 0x70]
mov dword [ebp - 0x74], 0xc8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x7c], eax
cmp eax, ebx
jne 0x458627
cmp dword [ebp - 0x74], 0xc8
jbe 0x4586dd
lea eax, [ebp - 0x68]
push eax
call fcn.00403dfc
mov eax, dword [esi]
cmp dword [eax - 0xc], ebx
je 0x458686
mov eax, dword [edi]
cmp dword [eax - 0xc], ebx
jge 0x458648
push 0x80070057
call fcn.00403da7
cmp word [eax], 0x22
je 0x458686
push 0x20
xor ecx, ecx
mov esi, edi
call fcn.00434041
cmp eax, 0xffffffff
je 0x458683
push 0x22
lea edi, [ebp - 0x68]
call fcn.00444570
mov eax, esi
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
mov eax, edi
call fcn.00434240
push 0x22
call fcn.00444570
mov esi, dword [ebp - 0x78]
jmp 0x458690
mov esi, dword [ebp - 0x78]
mov eax, edi
lea edi, [ebp - 0x68]
call fcn.004085dd
mov eax, dword [esi]
mov ecx, dword [eax - 0xc]
cmp ecx, ebx
je 0x4586ab
jl 0x45863e
cmp word [eax], 0x20
je 0x4586ab
push 0x20
lea edi, [ebp - 0x68]
call fcn.00444570
mov eax, dword [esi]
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x68]
call fcn.00434240
mov ecx, dword [ebp - 0x68]
mov eax, dword [ecx - 0xc]
add eax, eax
push eax
push ecx
push 1
push ebx
push dword [ebp - 0x6c]
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x7c], eax
call fcn.00403d84
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
cmp dword [ebp - 0x7c], ebx
sete al
mov ecx, dword [ebp + 0x12c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00489b1b
add ebp, 0x130
leave
ret
Function at 0x458787
Capabilities:
Delete registry value
Persist via run registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4587b0
xor al, al
leave
ret
mov eax, dword [ebp + 8]
push esi
mov esi, dword [eax]
mov eax, dword [esi - 0xc]
cmp eax, 0x4f
push edi
jle 0x4587c6
lea esi, [esi + eax*2 - 0x9e]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0
push esi
push dword [ebp - 8]
mov dword [ebp - 0xc], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test edi, edi
je 0x4587f1
cmp edi, 0xea
jne 0x4587fd
push esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov edi, eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test edi, edi
pop edi
sete al
pop esi
leave
ret

Function at 0x459188
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [eax]
push ebx
push esi
push edi
xor edi, edi
cmp dword [eax - 0xc], edi
jne 0x4591a0
xor eax, eax
jmp 0x459247
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4591c1
push eax
jmp 0x45923e
mov eax, dword [ebp + 0xc]
sub dword [ebp + 0x10], 2
push edi
push edi
add eax, 2
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x459239
mov eax, dword [ebp + 0x10]
shr eax, 1
push eax
push 0x78
pop ecx
lea edx, [ebp - 4]
call fcn.0043905e
push edi
lea eax, [ebp - 8]
push eax
push dword [ebp + 0x10]
lea esi, [ebp - 4]
call fcn.0040808a
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x459231
cmp dword [ebp - 8], edi
je 0x459231
mov eax, esi
push eax
push dword [ebp + 8]
call fcn.00458d9a
lea ecx, [ebp - 4]
movzx esi, al
call fcn.00403d84
cmp ebx, edi
je 0x45922d
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
jmp 0x459247
lea ecx, [ebp - 4]
call fcn.00403d84
cmp ebx, edi
je 0x459244
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 2
pop eax
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x45b0a9
Capabilities:
Create process on windows
Delete file
Get common file path
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x430
mov eax, dword [0x4e52f4]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [ebp - 0x428], eax
lea eax, [ebp - 0x41c]
push eax
push 0x104
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
xor ebx, ebx
mov dword [ebp - 0x430], eax
cmp eax, ebx
je 0x45b245
lea eax, [ebp - 0x214]
push eax
push ebx
push 0x4c8390
lea eax, [ebp - 0x41c]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x45b245
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.00412ade
push str..url
lea eax, [ebp - 0x420]
push eax
call fcn.004341c7
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
push dword [ebp - 0x420]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x45b167
push eax
jmp 0x45b234
lea eax, [ebp - 0x424]
push eax
call fcn.00434dab
push dword [esi]
lea eax, [ebp - 0x42c]
push eax
call fcn.00434dda
push dword [ebp - 0x42c]
lea eax, [ebp - 0x424]
push str._InternetShortcut__r_nURL_s_r_n
call fcn.0043518a
mov eax, dword [ebp - 0x424]
pop ecx
pop ecx
mov ecx, dword [eax - 0xc]
push ebx
lea edx, [ebp - 0x430]
push edx
push ecx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov esi, eax
cmp edi, ebx
je 0x45b1c2
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor edi, edi
cmp esi, ebx
je 0x45b1dc
push 5
push ebx
push ebx
push dword [ebp - 0x420]
push 0x4bdc34
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [ebp - 0x428]
add eax, 0x18
push eax
push 0x5c
lea esi, [ebp - 0x420]
call fcn.0043406b
lea ecx, [ebp - 0x428]
push ecx
mov ecx, esi
push ecx
mov ecx, eax
call fcn.0042927c
push eax
call fcn.00445e70
pop ecx
pop ecx
lea ecx, [ebp - 0x428]
call fcn.00403d84
lea eax, [ebp - 0x42c]
push eax
call fcn.00434e24
lea eax, [ebp - 0x424]
push eax
call fcn.00434e24
cmp edi, ebx
je 0x45b23a
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x420]
call fcn.00403d84
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00489b1b
leave
ret 4
Function at 0x45becb
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
lea esi, [edi + 4]
push dword [esi]
call fcn.00461909
pop ecx
push esi
call fcn.0040a84e
mov eax, dword [edi + 0x28]
push dword [eax]
mov ebx, dword [sym.imp.USER32.dll_SetWindowTextW]
push dword [esi]
call ebx
lea eax, [ebp - 4]
push eax
call fcn.00403dfc
push 0xdc
lea eax, [ebp - 4]
push eax
call fcn.00412a99
push 0x40a
push dword [esi]
call dword [sym.imp.USER32.dll_GetDlgItem]
push dword [ebp - 4]
push eax
call ebx
lea eax, [edi + 0x40]
push eax
mov eax, dword [esi]
call fcn.00463600
lea eax, [ebp - 8]
push eax
xor eax, eax
push eax
lea ecx, [edi + 0x30]
push ecx
push 0x45bf50
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
lea ecx, [ebp - 4]
mov dword [edi + 0x38], eax
call fcn.00403d84
pop esi
xor eax, eax
pop ebx
leave
ret

Function at 0x45d545
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
lea edi, [esi + 0x24]
call fcn.004085dd
mov eax, dword [ebp + 8]
lea edi, [esi + 0x20]
call fcn.004085dd
mov eax, dword [esi + 0xc]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
mov dword [esi + 4], ebx
mov dword [esi], ebx
mov dword [esi + 8], ebx
cmp eax, ebx
je 0x45d578
push eax
call edi
mov al, byte [ebp + 0xc]
mov byte [esi + 0x41], al
lea eax, [ebp - 4]
push eax
push ebx
push esi
push 0x45d87e
push ebx
push ebx
mov dword [esi + 0xc], ebx
mov byte [esi + 0x40], 1
mov dword [esi + 0x44], ebx
mov byte [esi + 0x58], bl
mov dword [esi + 0x70], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0xc], eax
cmp eax, ebx
jne 0x45d5b0
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x45d5dd
cmp byte [ebp + 0xc], bl
je 0x45d5db
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp + 0xc]
push eax
push dword [esi + 0xc]
mov dword [ebp + 0xc], ebx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
push dword [esi + 0xc]
call edi
mov eax, dword [ebp + 0xc]
mov dword [esi + 0xc], ebx
jmp 0x45d5dd
xor eax, eax
pop edi
pop ebx
leave
ret 8
Function at 0x45de3a
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, eax
push edi
push dword [esi + 0x5c]
mov byte [esi + 0x38], 0
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push dword [ebp + 0x14]
mov byte [esi + 0x42], 0
push dword [ebp + 0x10]
mov dword [esi + 0x34], 3
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x45deca
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
mov ebx, 0x3e5
cmp eax, ebx
jne 0x45decc
jmp 0x45dea6
call edi
cmp eax, ebx
jne 0x45deac
push 1
call fcn.0045e8f1
mov eax, esi
call fcn.0045e8d5
test al, al
jne 0x45deb7
push 0xa
push dword [esi + 0x5c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp byte [esi + 0x38], 0
je 0x45de83
cmp dword [esi + 0x30], 0
jne 0x45debe
mov eax, dword [esi + 0x2c]
jmp 0x45decc
mov eax, 0xe0000008
jmp 0x45decc
mov esi, dword [esi + 0x2c]
test esi, esi
jle 0x45deca
mov eax, dword [ebp + 0x14]
mov dword [eax], esi
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 0x10

Function at 0x45ded3
Capabilities:
Query remote server for available data

Disassembly:
push ebx
push ebp
push esi
mov esi, eax
push edi
push dword [esi + 0x5c]
xor ebx, ebx
mov byte [esi + 0x38], bl
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push ebx
push ebx
push dword [esp + 0x20]
mov byte [esi + 0x42], bl
push dword [esp + 0x20]
mov dword [esi + 0x34], 8
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
test eax, eax
jne 0x45df5e
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
mov ebp, 0x3e5
cmp eax, ebp
jne 0x45df60
jmp 0x45df3b
call edi
cmp eax, ebp
jne 0x45df40
push 1
call fcn.0045e8f1
mov eax, esi
call fcn.0045e8d5
test al, al
jne 0x45df4a
push 0xa
push dword [esi + 0x5c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp byte [esi + 0x38], bl
je 0x45df18
cmp dword [esi + 0x30], ebx
jne 0x45df51
mov eax, dword [esi + 0x2c]
jmp 0x45df60
mov eax, 0xe0000008
jmp 0x45df60
mov esi, dword [esi + 0x2c]
cmp esi, ebx
jle 0x45df5e
mov eax, dword [esp + 0x18]
mov dword [eax], esi
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret 8
Function at 0x45ea53
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push 0x3c
lea eax, [ebp - 0x3c]
push 0
push eax
call fcn.0048a3e0
mov eax, dword [ebp + 8]
mov eax, dword [eax]
add esp, 0xc
lea ecx, [ebp - 0x3c]
push ecx
push 0
push 0
push eax
mov dword [ebp - 0x3c], 0x3c
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
jne 0x45ea90
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x45eab3
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
cmp eax, 3
je 0x45eab1
cmp eax, 4
je 0x45eab1
cmp eax, 1
je 0x45eab1
cmp eax, 2
je 0x45eab1
push 2
pop eax
jmp 0x45eab3
xor eax, eax
leave
ret 8

Function at 0x45fa77
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
test eax, eax
je 0x45fa84
lea esi, [eax - 0x20]
jmp 0x45fa86
xor esi, esi
cmp byte [eax + 0x1c], 0
je 0x45faba
push 0xe801
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp dword [ebp + 8], 2
jne 0x45faab
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x45fac0
cmp dword [ebp + 8], 0
jne 0x45faba
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [ebp + 8], 1
je 0x45fad4
mov eax, dword [ebp + 0xc]
shr eax, 0x10
cwde
push eax
movsx eax, word [ebp + 0xc]
push eax
mov eax, esi
call fcn.0045f0c0
xor eax, eax
pop esi
pop ebp
ret 8

Function at 0x45fe05
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, eax
xor ebx, ebx
cmp dword [esi], ebx
jne 0x45fe1d
xor al, al
pop esi
pop ebx
leave
ret 8
lea eax, [ebp - 0xc]
push eax
call fcn.00403dfc
mov eax, dword [ebp + 8]
push dword [eax]
lea eax, [ebp - 0xc]
push str.SELECT__Value__FROM__Property__WHERE__Property____s
push eax
call fcn.004399be
mov esi, dword [esi]
add esp, 0xc
lea eax, [ebp - 4]
push eax
push dword [ebp - 0xc]
mov dword [ebp - 4], ebx
push esi
call sub.msi.dll_MsiEnumClientsA
test eax, eax
je 0x45fe69
cmp dword [ebp - 4], ebx
je 0x45fe5f
push dword [ebp - 4]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
lea ecx, [ebp - 0xc]
call fcn.00403d84
jmp 0x45fe15
push ebx
push dword [ebp - 4]
call sub.msi.dll_MsiViewModify
test eax, eax
jne 0x45fe52
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
mov dword [ebp - 8], ebx
call sub.msi.dll_MsiDatabaseIsTablePersistentA
test eax, eax
je 0x45feb2
cmp dword [ebp - 8], ebx
je 0x45fe96
push dword [ebp - 8]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
cmp dword [ebp - 4], ebx
je 0x45fea3
push dword [ebp - 4]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
lea ecx, [ebp - 0xc]
call fcn.00403d84
mov al, bl
jmp 0x45fe17
push dword [ebp + 0xc]
push dword [ebp - 8]
call fcn.0045ffb3
mov byte [ebp + 0xb], al
cmp dword [ebp - 8], ebx
je 0x45fecd
push dword [ebp - 8]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
cmp dword [ebp - 4], ebx
je 0x45feda
push dword [ebp - 4]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
mov bl, byte [ebp + 0xb]
jmp 0x45fea3
Function at 0x460039
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x4e52f4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
test ecx, ecx
jne 0x46005a
xor al, al
jmp 0x46017a
push 2
lea esi, [ebp - 0x408]
pop edi
jmp 0x46006c
mov word [esi], ax
add ecx, edi
add esi, edi
movzx eax, word [ecx]
test ax, ax
jne 0x460065
xor eax, eax
mov word [esi], ax
push 0x5c
xor dl, dl
pop ebx
sub esi, edi
xor al, al
mov byte [ebp - 0x409], dl
cmp word [ebp - 0x408], bx
jne 0x4600aa
cmp word [ebp - 0x406], bx
jne 0x4600aa
mov byte [ebp - 0x409], 1
cmp word [esi], bx
je 0x4600b1
inc al
jmp 0x4600b1
cmp word [esi], bx
jne 0x4600b1
mov dl, 1
lea ecx, [ebp - 0x404]
mov dword [ebp - 0x410], ecx
cmp word [ebp - 0x404], bx
je 0x4600d3
add ecx, edi
cmp word [ecx], bx
jne 0x4600c6
mov dword [ebp - 0x410], ecx
test al, al
jne 0x4600dd
test dl, dl
je 0x4600ed
jmp 0x4600e6
add esi, edi
mov eax, ebx
mov word [esi], ax
add esi, edi
xor eax, eax
mov word [esi], ax
sub esi, edi
and dword [ebp - 0x418], 0
and dword [ebp - 0x414], 0
lea eax, [ebp - 0x420]
push eax
push eax
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x408]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
jne 0x46015b
cmp word [esi], bx
jne 0x460129
jmp 0x460127
cmp word [esi], bx
je 0x460133
sub esi, edi
lea eax, [ebp - 0x408]
cmp esi, eax
ja 0x460122
cmp esi, dword [ebp - 0x410]
jb 0x460053
cmp byte [ebp - 0x409], 0
jne 0x460150
cmp esi, dword [ebp - 0x410]
jne 0x460152
add esi, edi
xor eax, eax
mov word [esi], ax
sub esi, edi
jmp 0x4600fb
mov eax, dword [ebp + 0xc]
cmp eax, dword [ebp - 0x414]
ja 0x460178
jb 0x460173
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 0x418]
jae 0x460178
xor eax, eax
inc eax
jmp 0x46017a
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00489b1b
leave
ret