joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46fe60
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4db910
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x52de08]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esi + 4]
push eax
push 0x509a20
push 1
push 0
push 0x509af0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x46feb6
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x10]
push ecx
call fcn.0046e330
add esp, 4
mov dword [ebp - 4], 0
mov eax, dword [eax]
push eax
mov ecx, esi
call fcn.0046fc00
test al, al
sete bl
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x46fefe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
sete al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x47ae30
Capabilities:
Create thread

Disassembly:
push esi
push 0
push 0
mov esi, ecx
push esi
push 0x4797b0
push 0
push 0
call fcn.004ac218
add esp, 0x18
test eax, eax
je 0x47ae50
mov dword [esi + 4], eax
pop esi
ret

Function at 0x47ae60
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dcbdc
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x52de08]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xor ebx, ebx
mov dword [esi], vtable.statistics.0
mov dword [esi + 4], ebx
mov dword [ebp - 4], ebx
mov dword [esi + 8], ebx
mov byte [ebp - 4], 1
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], 0xa
mov byte [ebp - 4], 2
lea eax, [esi + 0x24]
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
push ebx
mov dword [eax + 0x10], ecx
push eax
mov dword [eax + 0x14], ecx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
test eax, eax
jne 0x47aef9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x47aef1
and eax, 0xffff
or eax, 0x80070000
cmp eax, ebx
jge 0x47aef9
push eax
call fcn.00406170
mov byte [ebp - 4], 3
push ebx
push ebx
push esi
push 0x47abb0
push ebx
push ebx
mov byte [esi + 0x3c], bl
call fcn.004ac218
add esp, 0x18
cmp eax, ebx
je 0x47af19
mov dword [esi + 8], eax
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x47f240
Capabilities:
Check if file exists
Create directory
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ddba0
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x52de08]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, dword [esi]
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
mov edi, 0x104
sub eax, edi
or eax, ecx
jge 0x47f288
push edi
mov ecx, esi
call fcn.00406e80
mov eax, dword [esi]
cmp dword [eax - 8], edi
jge 0x47f299
push 0x80070057
call fcn.00406170
push 1
push 0x26
mov dword [eax - 0xc], edi
mov ecx, dword [esi]
xor edx, edx
push eax
push edx
mov word [ecx + 0x208], dx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov eax, dword [esi]
mov ecx, dword [eax - 8]
test eax, eax
je 0x47f2ca
push ecx
push eax
call fcn.004ab44b
add esp, 8
test eax, eax
js 0x47f28f
mov ecx, dword [esi]
cmp eax, dword [ecx - 8]
jg 0x47f28f
mov dword [ecx - 0xc], eax
mov ecx, dword [esi]
xor edx, edx
mov word [ecx + eax*2], dx
lea eax, [ebp + 8]
push eax
call fcn.0047edf0
add esp, 4
mov dword [ebp - 4], 0
mov eax, dword [eax]
push eax
mov ecx, esi
call fcn.00412570
or ebx, 0xffffffff
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47f31d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp + 8]
push ecx
mov ecx, dword [0x52f500]
call fcn.00412ce0
mov dword [ebp - 4], 2
mov eax, dword [eax]
push eax
mov ecx, esi
call fcn.00412570
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov ecx, ebx
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x47f35e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi]
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0
push eax
call edi
lea ecx, [ebp + 8]
push ecx
mov ecx, dword [0x52f500]
call fcn.00412d40
mov dword [ebp - 4], 4
mov eax, dword [eax]
push eax
mov ecx, esi
call fcn.00412570
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov ecx, ebx
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x47f3ac
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi]
push 0
push eax
call edi
lea ecx, [ebp + 8]
push ecx
call fcn.0047f070
add esp, 4
mov dword [ebp - 4], 6
mov eax, dword [eax]
push eax
mov ecx, esi
call fcn.00412570
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
lock xadd dword [edx], ebx
dec ebx
test ebx, ebx
jg 0x47f3ef
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push esi
mov ecx, 0x52f4b8
call fcn.00453740
mov esi, dword [esi]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setne al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x47fb60
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ddce8
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x52de08]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov ecx, 0x52ddd4
mov eax, dword [0x52ddd4]
mov edx, dword [eax + 0xc]
call edx
add eax, 0x10
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 2
mov byte [ebp - 4], 3
xor eax, eax
mov dword [ebp - 0x24], eax
cmp eax, 4
jge 0x47fcfa
test eax, eax
je 0x47fbcb
cmp eax, 1
mov dword [ebp - 0x1c], reloc.OLEAUT32.dll_SysReAllocString
jne 0x47fbd2
mov dword [ebp - 0x1c], SysReAllocString
test eax, eax
je 0x47fbdf
cmp eax, 2
mov byte [ebp - 0x18], 0
jne 0x47fbe3
mov byte [ebp - 0x18], 1
xor edi, edi
mov dword [ebp - 0x30], edi
mov esi, eax
add esi, esi
cmp edi, dword [ebx + esi*8 + 0x4c]
jae 0x47fcf4
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x47fc34
lea eax, [ebp - 0x14]
push eax
mov ecx, ebx
call fcn.0047f240
test al, al
jne 0x47fc34
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0040eaf0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x20]
call fcn.00408bd0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x18]
push eax
push edi
lea ecx, [ebx + esi*8 + 0x48]
call fcn.0040bd20
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov ecx, ebx
call fcn.0047f420
test al, al
je 0x47fcdc
mov edx, dword [ebp - 0x18]
push edx
lea eax, [ebp - 0x20]
push eax
push edi
lea ecx, [ebx + esi*8 + 0x48]
call fcn.0040bd20
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x40]
call fcn.0047e740
mov byte [ebp - 4], 5
xor esi, esi
mov dword [ebp - 0x2c], esi
mov edx, dword [ebx + 0xcc]
mov dword [ebp - 0x28], edx
cmp esi, dword [ebp - 0x28]
jge 0x47fcbd
lea eax, [ebp - 0x40]
push eax
push esi
lea ecx, [ebx + 0xc8]
call fcn.0047e510
mov ecx, eax
call fcn.0047e650
test al, al
jne 0x47fcd0
inc esi
mov dword [ebp - 0x2c], esi
jmp 0x47fc97
xor al, al
jne 0x47fcd0
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebx + 0xc8]
call fcn.0047ed10
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
call fcn.0047e6a0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x20]
call fcn.00406650
inc edi
mov dword [ebp - 0x30], edi
mov eax, dword [ebp - 0x24]
jmp 0x47fbe8
inc eax
jmp 0x47fbaf
mov dword [ebp - 4], 2
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47fd27
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x480420
Capabilities:
Check if file exists

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 4], 0
je 0x48043c
cmp byte [esi + 7], 0
je 0x48043c
call fcn.004803b0
mov ecx, esi
pop esi
jmp fcn.0047fb60
pop esi
ret
Function at 0x480dc0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4de1c9
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x52de08]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], ebx
lea esi, [edi + 0x20]
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x480f00
mov dword [ebp - 0x24], vtable.xml::document.0
lea eax, [ebp - 0x20]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], ebx
mov byte [ebp - 4], 1
mov byte [ebp - 4], 2
mov byte [ebp - 4], 3
push esi
lea ecx, [ebp - 0x24]
call fcn.004278a0
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x24]
call fcn.00427a50
mov byte [ebp - 4], 4
lea edx, [ebp - 0x2c]
push edx
mov ecx, eax
call fcn.00409c10
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1c]
call fcn.00408210
cmp dword [ebp - 0x28], ebx
je 0x480e85
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00409ad0
mov byte [ebp - 4], 7
mov dword [ebp - 0x14], 1
push str.urepository
mov ecx, eax
call fcn.00408280
test eax, eax
jne 0x480e85
xor bl, bl
jmp 0x480e87
mov bl, 1
mov dword [ebp - 4], 6
test byte [ebp - 0x14], 1
je 0x480ea0
and dword [ebp - 0x14], 0xfffffffe
lea ecx, [ebp - 0x18]
call fcn.00406650
test bl, bl
je 0x480edb
push str.REPOSITORY_node_not_found
lea ecx, [ebp - 0x18]
call fcn.004068c0
mov byte [ebp - 4], 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x80004005
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x3c]
call fcn.00408f80
push 0x511b94
lea edx, [ebp - 0x3c]
push edx
call fcn.004aa53e
lea ecx, [edi + 0x10]
mov eax, dword [ecx]
lea edx, [ebp - 0x2c]
push edx
mov eax, dword [eax]
call eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
call fcn.00408210
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.00421f20
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4813b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4de36f
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x52de08]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x18], edi
xor ebx, ebx
mov dword [edi], vtable.updates_repo.0
push ebx
mov dword [edi + 4], vtable.co_helper.0
mov byte [edi + 8], bl
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
js 0x4813fe
mov byte [edi + 8], 1
mov dword [ebp - 4], ebx
lea eax, [edi + 0xc]
mov dword [ebp - 0x14], eax
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [ebp - 4], 1
mov dword [eax], vtable.xml::serializer.0
mov byte [ebp - 4], 2
mov dword [eax + 4], vtable.xml::unserializer.0
mov byte [ebp - 4], 3
mov dword [eax], 0x4f2e78
mov dword [eax + 4], 0x4f2e6c
mov byte [ebp - 4], 4
mov eax, dword [0x52ddd4]
mov edx, dword [eax + 0xc]
lea esi, [edi + 0x20]
mov ecx, 0x52ddd4
mov dword [ebp - 0x14], esi
call edx
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 7
mov eax, dword [esi]
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, 0x104
or eax, ecx
jge 0x48147a
push 0x104
mov ecx, esi
call fcn.00406e80
mov eax, dword [esi]
mov ecx, 0x104
cmp dword [eax - 8], ecx
jge 0x481490
push 0x80070057
call fcn.00406170
push 1
push 0x23
mov dword [eax - 0xc], ecx
mov ecx, dword [esi]
push eax
xor edx, edx
push ebx
mov word [ecx + 0x208], dx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov dword [ebp - 0x14], eax
mov eax, dword [esi]
mov ecx, dword [eax - 8]
cmp eax, ebx
jne 0x4814ba
xor eax, eax
jmp 0x4814c8
push ecx
push eax
call fcn.004ab44b
add esp, 8
cmp eax, ebx
jl 0x481486
mov ecx, dword [esi]
cmp eax, dword [ecx - 8]
jg 0x481486
mov dword [ecx - 0xc], eax
mov ecx, dword [esi]
xor edx, edx
mov word [ecx + eax*2], dx
lea eax, [ebp - 0x10]
push eax
call fcn.0040dee0
mov ecx, eax
call fcn.00452490
mov byte [ebp - 4], 8
mov eax, dword [eax]
push eax
mov ecx, esi
call fcn.00412570
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48151b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [ebp - 0x14], ebx
je 0x48152c
push str.repository_up.xml
mov ecx, esi
call fcn.00412570
mov ecx, edi
call fcn.00480dc0
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4828e0
Capabilities:
Create thread

Disassembly:
mov eax, dword [0x52f610]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x48294c
push eax
push eax
push 1
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push eax
mov dword [0x52f618], eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push 0
push 0
push 0
push 0x482690
push 0
push 0
call fcn.004ac218
mov ecx, dword [0x52f618]
add esp, 0x18
push 0xffffffffffffffff
push ecx
mov dword [0x52f614], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [0x52f618]
test eax, eax
je 0x48294c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x52f618], 0
ret

Function at 0x482a30
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push 1
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop ebp
ret 4
Function at 0x487460
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4defc0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x52de08]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 4], 0
wait
cmp byte [esi + 0x8c], 0
je 0x4874e7
mov ecx, dword [0x52f504]
call fcn.00444720
cmp eax, 0x64
jne 0x4874c1
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_GetParent]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [0x52f504]
call fcn.00444200
test al, al
jne 0x48763b
wait
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x52f508]
cmp byte [eax + 0x30], 0
je 0x4875df
mov edi, 0x64
cmp dword [esi + 0x84], edi
jne 0x487530
call fcn.00467bd0
push 0
push 0
push 0xbda
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
mov al, 1
wait
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [eax + 0x34]
imul eax, eax, 0x3e8
cmp dword [esi + 0x88], edi
jne 0x4875a0
mov dword [ebp - 0x14], eax
fild dword [ebp - 0x14]
fdivr qword [0x4f46d0]
fadd qword [0x4ec380]
call fcn.004aceb0
add dword [esi + 0x84], eax
cmp dword [esi + 0x84], edi
jle 0x48756c
mov dword [esi + 0x84], edi
mov eax, dword [esi + 0x84]
push eax
push 2
push 0xbd8
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
wait
mov dword [ebp - 4], 0xffffffff
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x14], eax
fild dword [ebp - 0x14]
fdivr qword [0x4f46d0]
fadd qword [0x4ec380]
call fcn.004aceb0
add dword [esi + 0x88], eax
cmp dword [esi + 0x88], edi
jle 0x4875cb
mov dword [esi + 0x88], edi
mov eax, dword [esi + 0x88]
push eax
push 1
push 0xbd8
mov ecx, dword [esi + 4]
push ecx
jmp 0x48757e
mov ecx, dword [0x52f504]
call fcn.004444f0
call fcn.004aceb0
cmp eax, 0x64
jle 0x4875f9
mov eax, 0x64
push eax
push 1
push 0xbd8
mov edx, dword [esi + 4]
push edx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
call ebx
mov ecx, dword [0x52f504]
call fcn.00444720
mov edi, eax
cmp edi, 0x64
jle 0x487624
mov edi, 0x64
push edi
push 2
push 0xbd8
mov eax, dword [esi + 4]
push eax
call ebx
cmp edi, 0x64
jne 0x487584
push 0
push 0
push 0xbda
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
mov al, 1
wait
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x487970
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e1ab8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x52de08]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea esi, [edi + 0x5c]
mov ecx, esi
call fcn.0040e810
xor ebx, ebx
mov dword [edi + 0x88], ebx
mov dword [edi + 0x84], ebx
mov byte [edi + 0x8c], bl
lea edi, [esi + 0x10]
mov dword [ebp - 0x14], edi
push edi
mov byte [ebp - 0x10], bl
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 0x10], 1
mov dword [ebp - 4], ebx
mov eax, dword [esi + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push ebx
push ebx
push esi
push 0x40c0a0
push ebx
push ebx
call fcn.004ac218
mov edx, dword [esi + 0xc]
add esp, 0x18
push 0xffffffffffffffff
push edx
mov dword [esi + 8], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 4], 0xffffffff
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov byte [ebp - 0x10], bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x488ff0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp byte [esi + 0x470], 0
jne 0x48903f
cmp dword [ebp + 0x10], 0x201
jne 0x48903f
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x489029
mov ecx, dword [esi + 4]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
pop ebp
ret 0x10
mov edx, dword [esi + 4]
push 5
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_BringWindowToTop]
xor eax, eax
pop esi
pop ebp
ret 0x10

Function at 0x489360
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4df5f3
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x52de08]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [0x4f4b38]
mov dword [esi + 4], eax
mov ecx, dword [0x4f4b3c]
mov dword [esi + 8], ecx
mov edx, dword [0x4f4b40]
mov dword [esi + 0xc], edx
mov eax, dword [0x4f4b44]
mov dword [esi + 0x10], eax
mov ecx, dword [0x4f4b38]
mov dword [esi + 0x14], ecx
mov edx, dword [0x4f4b3c]
mov dword [esi + 0x18], edx
mov eax, dword [0x4f4b40]
mov dword [esi + 0x1c], eax
mov ecx, dword [0x4f4b44]
xor edx, edx
lea eax, [esi + 0x2c]
mov dword [esi + 0x20], ecx
mov dword [esi + 0x24], edx
mov dword [esi + 0x28], 0xfefefefe
mov dword [esi], vtable.CWebBrowser2Impl_class_CWizardWindow__0_.0
mov dword [ebp - 0x14], eax
mov dword [eax], edx
mov dword [ebp - 4], 1
push edx
push 2
push 5
mov dword [esi + 0x34], edx
mov dword [esi + 0x30], edx
call sub.urlmon.dll_CoInternetSetFeatureEnabled
push 1
push 2
push 0x14
call sub.urlmon.dll_CoInternetSetFeatureEnabled
push 0
push 2
push 1
call sub.urlmon.dll_CoInternetSetFeatureEnabled
push 1
push 2
push 0x15
call sub.urlmon.dll_CoInternetSetFeatureEnabled
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x48b320
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dfbd8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x52de08]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov byte [esi + 0x470], 0
mov eax, dword [0x52ddd4]
mov edx, dword [eax + 0xc]
mov ecx, 0x52ddd4
call edx
add eax, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 1
mov ecx, dword [0x52f500]
lea eax, [ebp - 0x18]
push eax
call fcn.00442d60
mov edi, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
push ecx
call fcn.00489b30
mov byte [ebp - 4], 3
mov edx, dword [edi]
mov eax, dword [eax]
push edx
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00407560
add esp, 0x10
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48b3c3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48b3e6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x10]
push ecx
mov ecx, esi
call fcn.0048a680
mov edx, dword [esi + 4]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48b423
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x491780
Capabilities:
Hash data with md5

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0x5c
push 0
push esi
call fcn.004aab30
add esp, 0xc
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
mov eax, 1
pop esi
ret

Function at 0x492650
Capabilities:
Access the windows event log

Disassembly:
mov eax, 0x108
call fcn.004ac400
mov eax, dword [0x52de08]
xor eax, esp
mov dword [esp + 0x104], eax
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
test eax, eax
je 0x4926b5
push eax
call dword [sym.imp.KERNEL32.dll_GetFileType]
test eax, eax
je 0x4926b5
mov ecx, dword [esp + 0x10c]
lea eax, [esp + 0x110]
push eax
push ecx
call fcn.004adbe9
add eax, 0x40
push eax
call fcn.004adbca
add esp, 0xc
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.004aaa9b
add esp, 0x108
ret
mov eax, dword [esp + 0x10c]
lea edx, [esp + 0x110]
push edx
push eax
lea ecx, [esp + 0xc]
push 0xff
push ecx
call fcn.004adaa2
add esp, 0x10
mov byte [esp + 0x103], 0
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x492744
call fcn.00492510
test eax, eax
jle 0x492744
push esi
push str.OPENSSL
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
push 0
mov esi, eax
lea eax, [esp + 8]
push eax
push 0
push 1
push 0
push 0
push 0
push 1
lea edx, [esp + 0x28]
push esi
mov dword [esp + 0x28], edx
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
pop esi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.004aaa9b
add esp, 0x108
ret
push 0x10
push str.OpenSSL:_FATAL
lea ecx, [esp + 0xc]
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.004aaa9b
add esp, 0x108
ret