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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x525400
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x587978]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esi + 4]
push eax
push 0x562788
push 1
push 0
push 0x562858
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x46f6a6
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.0046d970
add esp, 4
mov dword [ebp - 4], 0
mov eax, dword [eax]
push eax
mov ecx, esi
call fcn.0046f3f0
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 0x46f6ee
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 0x478970
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x525eb9
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x587978]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, dword [ebp + 8]
mov dword [ebp - 0x48], ebx
mov eax, dword [0x587944]
mov edx, dword [eax + 0xc]
mov ecx, 0x587944
mov dword [ebp - 0x4c], edi
call edx
add eax, 0x10
mov dword [edi], eax
mov dword [ebp - 4], ebx
xor eax, eax
mov ecx, 0xf
mov dword [ebp - 0x30], ecx
lea edx, [ebx + 0xb]
mov byte [ebp - 0x44], bl
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x48], 1
mov dword [ebp - 0x28], 0x325b2663
mov dword [ebp - 0x24], 0x76482116
mov word [ebp - 0x20], 0x4d2d
mov byte [ebp - 0x1e], 0x62
mov dword [ebp - 0x1c], 0x5d0f0b3b
mov dword [ebp - 0x18], 0x4c26447d
mov word [ebp - 0x14], 0x680d
mov byte [ebp - 0x12], 0x11
mov dword [ebp - 0x40], eax
mov word [ebp - 0x3c], ax
mov byte [ebp - 0x3a], al
mov dword [ebp - 0x34], edx
cmp ecx, 0x10
jae 0x478a22
lea eax, [ebp - 0x44]
mov byte [eax + 0xb], bl
mov dword [ebp - 4], 2
xor eax, eax
cmp dword [ebp - 0x30], 0x10
mov esi, dword [ebp - 0x44]
jae 0x478a3a
lea esi, [ebp - 0x44]
mov cl, byte [ebp + eax - 0x1c]
xor cl, byte [ebp + eax - 0x28]
inc eax
mov byte [esi + eax - 1], cl
cmp eax, edx
jb 0x478a2e
cmp dword [ebp - 0x30], 0x10
jb 0x478a5c
mov edx, dword [ebp - 0x44]
cmp edx, ebx
jne 0x478a5f
xor eax, eax
jmp 0x478a6d
lea edx, [ebp - 0x44]
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x478a64
sub eax, esi
push eax
push edx
mov ecx, edi
call fcn.00406690
mov byte [ebp - 4], bl
cmp dword [ebp - 0x30], 0x10
jb 0x478a8b
mov edx, dword [ebp - 0x44]
push edx
call fcn.004ea9d3
add esp, 4
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], ebx
mov byte [ebp - 0x44], bl
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004eaf3b
mov esp, ebp
pop ebp
ret
Function at 0x47bb00
Capabilities:
Create thread

Disassembly:
push esi
push 0
push 0
mov esi, ecx
push esi
push 0x47a1f0
push 0
push 0
call fcn.004ec6b8
add esp, 0x18
test eax, eax
je 0x47bb20
mov dword [esi + 4], eax
pop esi
ret
Function at 0x4802c0
Capabilities:
Check if file exists
Create directory
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x527c40
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x587978]
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 0x480308
push edi
mov ecx, esi
call fcn.00406e00
mov eax, dword [esi]
cmp dword [eax - 8], edi
jge 0x480319
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 0x48034a
push ecx
push eax
call fcn.004eb8eb
add esp, 8
test eax, eax
js 0x48030f
mov ecx, dword [esi]
cmp eax, dword [ecx - 8]
jg 0x48030f
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.0047fe70
add esp, 4
mov dword [ebp - 4], 0
mov eax, dword [eax]
push eax
mov ecx, esi
call fcn.004113a0
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 0x48039d
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 [0x589078]
call fcn.0041ee80
mov dword [ebp - 4], 2
mov eax, dword [eax]
push eax
mov ecx, esi
call fcn.004113a0
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 0x4803de
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 [0x589078]
call fcn.0041eee0
mov dword [ebp - 4], 4
mov eax, dword [eax]
push eax
mov ecx, esi
call fcn.004113a0
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 0x48042c
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.004800f0
add esp, 4
mov dword [ebp - 4], 6
mov eax, dword [eax]
push eax
mov ecx, esi
call fcn.004113a0
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 0x48046f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push esi
mov ecx, 0x589030
call fcn.00452f30
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 0x480be0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x527d88
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x587978]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov ecx, 0x587944
mov eax, dword [0x587944]
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 0x480d7a
test eax, eax
je 0x480c4b
cmp eax, 1
mov dword [ebp - 0x1c], reloc.OLEAUT32.dll_SysReAllocString
jne 0x480c52
mov dword [ebp - 0x1c], SysReAllocStringLen
test eax, eax
je 0x480c5f
cmp eax, 2
mov byte [ebp - 0x18], 0
jne 0x480c63
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 0x480d74
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x480cb4
lea eax, [ebp - 0x14]
push eax
mov ecx, ebx
call fcn.004802c0
test al, al
jne 0x480cb4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004e95b0
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.00406f90
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.0046af20
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov ecx, ebx
call fcn.004804a0
test al, al
je 0x480d5c
mov edx, dword [ebp - 0x18]
push edx
lea eax, [ebp - 0x20]
push eax
push edi
lea ecx, [ebx + esi*8 + 0x48]
call fcn.0046af20
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x40]
call fcn.0047f7c0
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 0x480d3d
lea eax, [ebp - 0x40]
push eax
push esi
lea ecx, [ebx + 0xc8]
call fcn.0047f590
mov ecx, eax
call fcn.0047f6d0
test al, al
jne 0x480d50
inc esi
mov dword [ebp - 0x2c], esi
jmp 0x480d17
xor al, al
jne 0x480d50
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebx + 0xc8]
call fcn.0047fd90
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
call fcn.0047f720
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x20]
call fcn.004064c0
inc edi
mov dword [ebp - 0x30], edi
mov eax, dword [ebp - 0x24]
jmp 0x480c68
inc eax
jmp 0x480c2f
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 0x480da7
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 0x4814a0
Capabilities:
Check if file exists

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 4], 0
je 0x4814bc
cmp byte [esi + 7], 0
je 0x4814bc
call fcn.00481430
mov ecx, esi
pop esi
jmp fcn.00480be0
pop esi
ret
Function at 0x481dd0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x528299
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x587978]
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 0x481f10
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.00425c50
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x24]
call fcn.00425e00
mov byte [ebp - 4], 4
lea edx, [ebp - 0x2c]
push edx
mov ecx, eax
call fcn.004099e0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1c]
call fcn.004081b0
cmp dword [ebp - 0x28], ebx
je 0x481e95
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x2c]
call fcn.004098a0
mov byte [ebp - 4], 7
mov dword [ebp - 0x14], 1
push str.urepository
mov ecx, eax
call fcn.00408270
test eax, eax
jne 0x481e95
xor bl, bl
jmp 0x481e97
mov bl, 1
mov dword [ebp - 4], 6
test byte [ebp - 0x14], 1
je 0x481eb0
and dword [ebp - 0x14], 0xfffffffe
lea ecx, [ebp - 0x18]
call fcn.004064c0
test bl, bl
je 0x481eeb
push str.REPOSITORY_node_not_found
lea ecx, [ebp - 0x18]
call fcn.00406730
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.00408f00
push 0x56a8f0
lea edx, [ebp - 0x3c]
push edx
call fcn.004ea9de
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.004081b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.0041db00
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 0x4823c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52843f
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x587978]
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 0x48240e
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], 0x53ce60
mov dword [eax + 4], 0x53ce54
mov byte [ebp - 4], 4
mov eax, dword [0x587944]
mov edx, dword [eax + 0xc]
lea esi, [edi + 0x20]
mov ecx, 0x587944
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 0x48248a
push 0x104
mov ecx, esi
call fcn.00406e00
mov eax, dword [esi]
mov ecx, 0x104
cmp dword [eax - 8], ecx
jge 0x4824a0
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 0x4824ca
xor eax, eax
jmp 0x4824d8
push ecx
push eax
call fcn.004eb8eb
add esp, 8
cmp eax, ebx
jl 0x482496
mov ecx, dword [esi]
cmp eax, dword [ecx - 8]
jg 0x482496
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.0040d6e0
mov ecx, eax
call fcn.00451c80
mov byte [ebp - 4], 8
mov eax, dword [eax]
push eax
mov ecx, esi
call fcn.004113a0
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 0x48252b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [ebp - 0x14], ebx
je 0x48253c
push str.repository_up.xml
mov ecx, esi
call fcn.004113a0
mov ecx, edi
call fcn.00481dd0
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 0x4838f0
Capabilities:
Create thread

Disassembly:
mov eax, dword [0x589188]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x48395c
push eax
push eax
push 1
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push eax
mov dword [0x589190], eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push 0
push 0
push 0
push 0x4836a0
push 0
push 0
call fcn.004ec6b8
mov ecx, dword [0x589190]
add esp, 0x18
push 0xffffffffffffffff
push ecx
mov dword [0x58918c], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [0x589190]
test eax, eax
je 0x48395c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x589190], 0
ret

Function at 0x483a60
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 0x4863e0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x528e00
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x587978]
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 0x486467
mov ecx, dword [0x58907c]
call fcn.00443780
cmp eax, 0x64
jne 0x486441
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 [0x58907c]
call fcn.00443260
test al, al
jne 0x4865bb
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 [0x589080]
cmp byte [eax + 0x30], 0
je 0x48655f
mov edi, 0x64
cmp dword [esi + 0x84], edi
jne 0x4864b0
call fcn.004669d0
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 0x486520
mov dword [ebp - 0x14], eax
fild dword [ebp - 0x14]
fdivr qword [0x53e6b0]
fadd qword [0x536230]
call fcn.004ecff0
add dword [esi + 0x84], eax
cmp dword [esi + 0x84], edi
jle 0x4864ec
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 [0x53e6b0]
fadd qword [0x536230]
call fcn.004ecff0
add dword [esi + 0x88], eax
cmp dword [esi + 0x88], edi
jle 0x48654b
mov dword [esi + 0x88], edi
mov eax, dword [esi + 0x88]
push eax
push 1
push 0xbd8
mov ecx, dword [esi + 4]
push ecx
jmp 0x4864fe
mov ecx, dword [0x58907c]
call fcn.00443550
call fcn.004ecff0
cmp eax, 0x64
jle 0x486579
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 [0x58907c]
call fcn.00443780
mov edi, eax
cmp edi, 0x64
jle 0x4865a4
mov edi, 0x64
push edi
push 2
push 0xbd8
mov eax, dword [esi + 4]
push eax
call ebx
cmp edi, 0x64
jne 0x486504
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 0x4868f0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52b618
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x587978]
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.0040de60
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 0x40ba70
push ebx
push ebx
call fcn.004ec6b8
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 0x487c70
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp byte [esi + 0x470], 0
jne 0x487cbf
cmp dword [ebp + 0x10], 0x201
jne 0x487cbf
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x487ca9
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 0x487f80
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x529273
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x587978]
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 [0x53eaa0]
mov dword [esi + 4], eax
mov ecx, dword [0x53eaa4]
mov dword [esi + 8], ecx
mov edx, dword [0x53eaa8]
mov dword [esi + 0xc], edx
mov eax, dword [0x53eaac]
mov dword [esi + 0x10], eax
mov ecx, dword [0x53eaa0]
mov dword [esi + 0x14], ecx
mov edx, dword [0x53eaa4]
mov dword [esi + 0x18], edx
mov eax, dword [0x53eaa8]
mov dword [esi + 0x1c], eax
mov ecx, dword [0x53eaac]
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 0x489e10
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x529768
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x587978]
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 [0x587944]
mov edx, dword [eax + 0xc]
mov ecx, 0x587944
call edx
add eax, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 1
mov ecx, dword [0x589078]
lea eax, [ebp - 0x18]
push eax
call fcn.00441da0
mov edi, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
push ecx
call fcn.00488410
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.00407500
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 0x489eb3
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 0x489ed6
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.00489170
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 0x489f13
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