joyce8/EMBER2024-capa huggingface dataset:
Function at 0x453fb0
Capabilities:
Query or enumerate registry value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x14]
mov eax, dword [edi]
add eax, eax
lea edx, [esp + 0x14]
push edx
mov edx, dword [esp + 0x10]
push esi
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x18]
push eax
push 0
mov dword [edi], 0
mov eax, dword [ecx]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x454026
mov eax, dword [esp + 0x10]
cmp eax, 1
je 0x453ff5
cmp eax, 2
jne 0x454011
test esi, esi
mov eax, dword [esp + 0x14]
je 0x454020
test eax, eax
je 0x45401b
test al, 1
jne 0x454011
mov ecx, eax
shr ecx, 1
cmp word [esi + ecx*2 - 2], 0
je 0x454020
pop edi
mov eax, 0xd
pop esi
ret 0xc
mov word [esi], 0
shr eax, 1
mov dword [edi], eax
xor eax, eax
pop edi
pop esi
ret 0xc

Function at 0x454030
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
push edi
mov edi, ecx
jne 0x454046
push 0x80004005
call fcn.00401170
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
lea eax, [eax + eax + 2]
push eax
mov eax, dword [edi]
push esi
push ecx
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
ret 0xc

Function at 0x454070
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ecx
push esi
xor esi, esi
push esi
mov dword [esp + 8], esi
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [esp + 4]
push eax
push 0x4b9ef4
push 1
push esi
push 0x4ba1d4
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x454109
mov eax, dword [esp + 4]
cmp eax, esi
je 0x454109
mov edx, dword [esp + 0x10]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x50]
call eax
test eax, eax
jl 0x454109
mov eax, dword [esp + 4]
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0x14], esi
mov ecx, dword [eax]
push 0x4bb194
push eax
mov eax, dword [ecx]
call eax
test eax, eax
jl 0x4540fd
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x4540fd
mov edx, dword [esp + 0xc]
mov ecx, dword [eax]
push 2
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
xor ecx, ecx
test eax, eax
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
setge cl
push eax
mov eax, dword [edx + 8]
mov esi, ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, esi
pop esi
pop ecx
ret 8

Function at 0x454140
Capabilities:
Check os version

Disassembly:
sub esp, 0x120
mov eax, dword [0x4d0968]
xor eax, esp
mov dword [esp + 0x11c], eax
push 0x11c
lea eax, [esp + 4]
push 0
push eax
call fcn.00480820
add esp, 0xc
lea ecx, [esp]
push ecx
mov dword [esp + 4], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x454198
mov eax, 1
mov ecx, dword [esp + 0x11c]
xor ecx, esp
call fcn.00480bcf
add esp, 0x120
ret
cmp dword [esp + 4], 6
jne 0x4541a6
cmp dword [esp + 8], 2
je 0x45417e
mov ecx, dword [esp + 0x11c]
xor ecx, esp
xor eax, eax
call fcn.00480bcf
add esp, 0x120
ret
Function at 0x456740
Capabilities:
Send data
Send data on socket

Disassembly:
sub esp, 0x14
mov eax, dword [0x4d0968]
xor eax, esp
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x1c]
push 0x10
mov dword [esp + 8], ecx
lea ecx, [esp + 4]
push ecx
push 0
mov word [esp + 0xe], dx
mov edx, dword [esp + 0x2c]
push edx
push eax
mov eax, dword [esp + 0x2c]
push eax
mov word [esp + 0x18], 2
call dword [sym.imp.WS2_32.dll_sendto]
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.00480bcf
add esp, 0x14
ret

Function at 0x456f60
Capabilities:
Resolve dns

Disassembly:
sub esp, 0x14
mov eax, dword [0x4d0968]
xor eax, esp
mov dword [esp + 0x10], eax
cmp dword [esp + 0x30], 0x10
mov eax, dword [esp + 0x1c]
jae 0x456f7d
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x456fc7
movsx ecx, word [eax + 0xa]
mov edx, dword [eax + 0xc]
mov eax, dword [edx]
push ecx
push eax
lea ecx, [esp + 0xc]
push ecx
call fcn.00483120
add esp, 0xc
cmp dword [esp + 0x30], 0x10
jb 0x456fb4
mov edx, dword [esp + 0x1c]
push edx
call fcn.004803bd
add esp, 4
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.00480bcf
add esp, 0x14
ret
cmp dword [esp + 0x30], 0x10
jb 0x456fdb
mov eax, dword [esp + 0x1c]
push eax
call fcn.004803bd
add esp, 4
mov ecx, dword [esp + 0x10]
xor ecx, esp
xor eax, eax
call fcn.00480bcf
add esp, 0x14
ret

Function at 0x4570d0
Capabilities:
Create udp socket

Disassembly:
push 0xffffffffffffffff
push 0x4b0678
mov eax, dword fs:[0]
push eax
push ecx
push ebp
push esi
push edi
mov eax, dword [0x4d0968]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x44]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x48]
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], 0
push eax
mov dword [esp + 0x44], 0
mov byte [ecx + 4], 0
call fcn.0040bc90
call fcn.00456f60
mov edi, eax
add esp, 0x1c
test edi, edi
jne 0x457160
cmp dword [esp + 0x3c], 0x10
jb 0x45714b
mov ecx, dword [esp + 0x28]
push ecx
call fcn.004803bd
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x10
ret
push 0
push 2
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
jne 0x45719c
cmp dword [esp + 0x3c], 0x10
jb 0x45714b
mov edx, dword [esp + 0x28]
push edx
call fcn.004803bd
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x10
ret
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x40]
push eax
push ebp
push ecx
call dword [sym.imp.WS2_32.dll_htons]
push esi
mov ecx, edi
mov edx, eax
call fcn.00456740
add esp, 0xc
push esi
mov edi, eax
call dword [sym.imp.WS2_32.dll_closesocket]
cmp dword [esp + 0x3c], 0x10
jb 0x4571d7
mov edx, dword [esp + 0x28]
push edx
call fcn.004803bd
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x10
ret
Function at 0x4585b0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x4d0968]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x20]
push eax
call fcn.004580c0
cmp dword [eax + 0x18], 0x10
jb 0x4585d7
mov ebx, dword [eax + 4]
jmp 0x4585da
lea ebx, [eax + 4]
test ebx, ebx
jne 0x4585e2
xor esi, esi
jmp 0x458627
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
add edi, 1
cmp edi, 0x3fffffff
jg 0x458623
lea eax, [edi + edi]
call fcn.00480be0
mov esi, esp
test esi, esi
je 0x458623
push edi
push esi
push 0xffffffffffffffff
push ebx
push 0
push 0x3a8
mov word [esi], 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
neg eax
sbb eax, eax
and eax, esi
jmp 0x458625
xor eax, eax
mov esi, eax
cmp dword [ebp - 8], 0x10
jb 0x458639
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.004803bd
add esp, 4
push esi
mov dword [ebp - 8], 0xf
mov dword [ebp - 0xc], 0
mov byte [ebp - 0x1c], 0
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor edx, edx
test eax, eax
setg dl
mov al, dl
lea esp, [ebp - 0x2c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00480bcf
mov esp, ebp
pop ebp
ret

Function at 0x45c8b0
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x230
mov eax, dword [0x4d0968]
xor eax, esp
mov dword [esp + 0x22c], eax
push ebx
push ebp
push esi
push edi
push 0
push 2
mov esi, ecx
mov edi, edx
xor bl, bl
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebp, eax
cmp ebp, 0xffffffff
je 0x45c924
lea eax, [esp + 0x10]
push eax
push ebp
mov dword [esp + 0x18], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x45c91d
cmp esi, dword [esp + 0x18]
je 0x45c90c
lea ecx, [esp + 0x10]
push ecx
push ebp
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x45c8f5
jmp 0x45c91d
test edi, edi
je 0x45c91b
mov ecx, 0x8b
lea esi, [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
mov bl, 1
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x23c]
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
xor ecx, esp
call fcn.00480bcf
add esp, 0x230
ret
Function at 0x45dd30
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x4b1628
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
push edi
mov eax, dword [0x4d0968]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x40]
xor edi, edi
push 0xffffffffffffffff
push edi
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], edi
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], edi
mov word [esp + 0x20], di
call fcn.0040be70
mov edx, dword [esp + 0x44]
mov eax, edx
mov dword [esp + 0x34], edi
lea esi, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x45dd90
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x18]
call fcn.0045cbd0
mov esi, dword [esp + 0x3c]
push 0xffffffffffffffff
push edi
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
push eax
mov ecx, esi
mov word [esi + 4], di
call fcn.0040be70
cmp dword [esp + 0x28], 8
jb 0x45dddb
mov ecx, dword [esp + 0x14]
push ecx
call fcn.004803bd
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x2c
ret
Function at 0x461120
Capabilities:
Get process image filename

Disassembly:
sub esp, 0x418
mov eax, dword [0x4d0968]
xor eax, esp
mov dword [esp + 0x414], eax
mov eax, dword [esp + 0x41c]
push ebx
push edi
lea ecx, [esp + 8]
push ecx
xor ebx, ebx
push eax
mov dword [esp + 0x10], ebx
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov edx, dword [esp + 8]
push edx
push ebx
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
cmp edi, ebx
je 0x4611d7
push 0x104
lea eax, [esp + 0x218]
push eax
push edi
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
je 0x4611d0
push 0x104
lea ecx, [esp + 0x10]
push ecx
push esi
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
je 0x4611d0
lea edx, [esp + 0xc]
lea ecx, [esp + 0x214]
lea esp, [esp]
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x4611c6
cmp ax, bx
je 0x4611c2
mov ax, word [ecx + 2]
cmp ax, word [edx + 2]
jne 0x4611c6
add ecx, 4
add edx, 4
cmp ax, bx
jne 0x4611a0
xor eax, eax
jmp 0x4611cb
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
sete bl
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x41c]
pop edi
mov al, bl
pop ebx
xor ecx, esp
call fcn.00480bcf
add esp, 0x418
ret

Function at 0x461200
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x4d0968]
xor eax, ebp
mov dword [ebp - 4], eax
test ebx, ebx
push esi
push edi
je 0x461255
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
add edi, 1
cmp edi, 0x3fffffff
jg 0x461255
lea eax, [edi + edi]
call fcn.00480be0
mov esi, esp
test esi, esi
je 0x461255
push edi
push esi
push 0xffffffffffffffff
push ebx
push 0
push 0x3a8
mov word [esi], 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
neg eax
sbb eax, eax
and eax, esi
jmp 0x461257
xor eax, eax
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
sub eax, 1
neg eax
sbb eax, eax
add eax, 1
lea esp, [ebp - 0xc]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00480bcf
mov esp, ebp
pop ebp
ret

Function at 0x461280
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x4d0968]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov ebx, ecx
call fcn.00461200
test al, al
jne 0x4612b0
mov al, 1
lea esp, [ebp - 0xc]
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00480bcf
mov esp, ebp
pop ebp
ret
test ebx, ebx
je 0x4612c8
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
add esi, 1
cmp esi, 0x3fffffff
jle 0x4612cc
xor eax, eax
jmp 0x4612e3
lea eax, [esi + esi]
call fcn.00480be0
mov eax, esp
push 0x3a8
push esi
push ebx
push eax
call fcn.004010f0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
setne al
lea esp, [ebp - 0xc]
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00480bcf
mov esp, ebp
pop ebp
ret
Function at 0x462c30
Capabilities:
Set registry value

Disassembly:
mov edx, dword [esp + 4]
push 4
lea eax, [esp + 0xc]
push eax
mov eax, dword [ecx]
push 4
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
ret 8

Function at 0x462c50
Capabilities:
Set registry value

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0x10]
test ebp, ebp
mov dword [esp + 4], ecx
jne 0x462c68
push 0x80004005
call fcn.00401170
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
push edi
xor edi, edi
mov esi, ebp
push esi
call ebx
add eax, 1
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x462c75
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
push edi
push ebp
push 7
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
pop ebp
pop ecx
ret 8

Function at 0x4635f0
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x21c
mov eax, dword [0x4d0968]
xor eax, esp
mov dword [esp + 0x218], eax
push ebp
push esi
push edi
mov edi, dword [esp + 0x22c]
mov ebp, ecx
mov eax, dword [ebp]
lea ecx, [esp + 0x14]
push ecx
push 0x2001f
push 0
push edi
push eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, dword [esp + 0xc]
mov esi, eax
test esi, esi
jne 0x46365e
test ecx, ecx
je 0x463650
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
mov ecx, dword [esp + 0x14]
mov esi, eax
mov dword [esp + 0xc], ecx
je 0x46366c
test ecx, ecx
je 0x463711
push ecx
jmp 0x46370b
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea edx, [esp + 0x1c]
push edx
push 0
push 0
push 0
lea eax, [esp + 0x20]
push eax
lea edx, [esp + 0x38]
push edx
push 0
push ecx
mov dword [esp + 0x30], 0x100
call esi
test eax, eax
jne 0x4636de
jmp 0x4636a0
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x10]
call fcn.004635f0
mov edi, eax
test edi, edi
jne 0x46372d
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x10]
push eax
push eax
push eax
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x38]
push eax
push edi
push ecx
mov dword [esp + 0x30], 0x100
call esi
test eax, eax
je 0x4636a0
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4636f5
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0xc], 0
mov edx, dword [ebp]
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov esi, eax
mov eax, dword [esp + 0xc]
test eax, eax
je 0x463711
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [esp + 0x224]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.00480bcf
add esp, 0x21c
ret 4
mov eax, dword [esp + 0xc]
test eax, eax
je 0x46373c
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x463713
Function at 0x465bd0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x4d0968]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x1c]
push ebx
push esi
push edi
add eax, 1
mov ebx, edx
push 0x4d27a0
push eax
mov si, cx
mov dword [ebp - 0xc], ebx
call fcn.0048311b
mov edi, eax
add esp, 8
test edi, edi
je 0x465d0b
push 0x40
lea ecx, [ebp - 0x5c]
push 0
push ecx
call fcn.00480820
mov eax, dword [ebp + 0xc]
add esp, 0xc
cmp dword [ebp + 0x20], 0x10
mov dword [ebp - 0x60], 0x44
mov dword [ebp - 0x34], 1
mov word [ebp - 0x30], si
jae 0x465c37
lea eax, [ebp + 0xc]
mov edx, dword [ebp + 0x1c]
push edx
push eax
push edi
call fcn.00483120
mov eax, dword [ebp + 0x1c]
add esp, 0xc
test ebx, ebx
mov byte [eax + edi], 0
je 0x465c55
mov dword [ebp - 8], ebx
jmp 0x465c5b
lea ecx, [ebp - 0x1c]
mov dword [ebp - 8], ecx
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebx, eax
add ebx, 1
cmp ebx, 0x3fffffff
jle 0x465c73
xor eax, eax
jmp 0x465c8a
lea eax, [ebx + ebx]
call fcn.00480be0
mov eax, esp
push 0x3a8
push ebx
push edi
push eax
call fcn.004010f0
mov edx, dword [ebp - 8]
push edx
neg si
lea ecx, [ebp - 0x60]
push ecx
push 0
push 0
sbb esi, esi
and esi, 0xf8000000
add esi, 0x8000000
push esi
push 0
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push edi
mov esi, eax
call fcn.00480bca
add esp, 4
test esi, esi
je 0x465ce0
cmp dword [ebp - 0xc], 0
jne 0x465cde
mov edx, dword [ebp - 0x18]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call edi
mov eax, dword [ebp - 0x1c]
push eax
call edi
test esi, esi
setne bl
cmp dword [ebp + 0x20], 0x10
jb 0x465cf5
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004803bd
add esp, 4
mov al, bl
lea esp, [ebp - 0x6c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00480bcf
mov esp, ebp
pop ebp
ret
cmp dword [ebp + 0x20], 0x10
jb 0x465d1d
mov edx, dword [ebp + 0xc]
push edx
call fcn.004803bd
add esp, 4
xor al, al
lea esp, [ebp - 0x6c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00480bcf
mov esp, ebp
pop ebp
ret
Function at 0x4661f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
lea ebp, [esp - 0x408]
sub esp, 0x408
push 0xffffffffffffffff
push 0x4b1f80
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x4d0968]
xor eax, ebp
mov dword [ebp + 0x404], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov eax, dword [ebp + 0x418]
mov edi, dword [ebp + 0x410]
mov ebx, dword [ebp + 0x414]
mov dword [ebp - 0x14], eax
call dword [0x4d07b0]
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], eax
mov dword [ebp], eax
push 2
push eax
push edi
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
mov dword [ebp - 0x18], edi
jne 0x46627d
call fcn.0040c410
mov esi, eax
jmp 0x466365
mov ecx, dword [ebp - 0x14]
push ecx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x466299
call fcn.0040c410
jmp 0x46635c
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 0x20], eax
jne 0x4662b2
call fcn.0040c410
jmp 0x46635c
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
lea eax, [esi + 1]
cmp eax, esi
mov dword [ebp - 0x14], esi
jae 0x4662e8
lea edx, [ebp + 4]
cmp dword [ebp], edx
je 0x4662d6
lea ecx, [ebp]
call fcn.00463500
lea ecx, [ebp - 0x1c]
call fcn.00402f00
mov eax, 0x8007000e
jmp 0x466382
push eax
lea ecx, [ebp]
mov byte [ebp - 4], 2
call fcn.004641f0
mov dword [ebp - 4], 1
jmp 0x466311
mov ebx, dword [ebp]
test ebx, ebx
jne 0x46631f
mov esi, 0x8007000e
jmp 0x46635e
call dword [0x4d07b0]
mov ecx, dword [ebp - 0x20]
push esi
push ebx
push esi
push ecx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x466340
call fcn.0040c410
jmp 0x46635c
mov edx, dword [ebp]
mov word [edx + eax*2], 0
mov eax, dword [ebp + 0x41c]
mov ecx, dword [ebp]
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.004658a0
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea edx, [ebp + 4]
cmp dword [ebp], edx
je 0x466380
lea ecx, [ebp]
call fcn.00463500
jmp 0x466380
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x404]
xor ecx, ebp
call fcn.00480bcf
add ebp, 0x408
mov esp, ebp
pop ebp
ret 0x10
Function at 0x466fa0
Capabilities:
Access peb ldr_data
Enumerate gui resources

Disassembly:
push 0xffffffffffffffff
push 0x4b2118
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4d0968]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
push edi
mov eax, dword [0x4d0968]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
xor esi, esi
push 0xffffffffffffffff
push esi
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x44], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], esi
mov word [esp + 0x20], si
call fcn.0040be70
lea ecx, [esp + 0xc]
push ecx
push 0x463ed0
call dword [sym.imp.USER32.dll_EnumWindows]
cmp dword [esp + 0x28], 8
mov edi, dword [esp + 0xc]
jb 0x467024
mov edx, dword [esp + 0x14]
push edx
call fcn.004803bd
add esp, 4
cmp dword [esp + 0x58], 8
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], esi
mov word [esp + 0x14], si
jb 0x467049
mov eax, dword [esp + 0x44]
push eax
call fcn.004803bd
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00480bcf
add esp, 0x30
ret
Function at 0x467e80
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b2368
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x4d0968]
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
lea eax, [ebp - 0x2c]
push eax
call fcn.00467990
push str._toolbar.dll
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x48]
push edx
mov dword [ebp - 4], 0
call fcn.00415930
add esp, 0x10
cmp dword [eax + 0x18], 0x10
jb 0x467edb
mov edi, dword [eax + 4]
jmp 0x467ede
lea edi, [eax + 4]
test edi, edi
je 0x467f23
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
add esi, 1
cmp esi, 0x3fffffff
jg 0x467f23
lea eax, [esi + esi]
call fcn.00480be0
mov ebx, esp
test ebx, ebx
je 0x467f23
push esi
push ebx
push 0xffffffffffffffff
push edi
push 0
push 0x3a8
mov word [ebx], 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
neg eax
sbb eax, eax
and eax, ebx
jmp 0x467f25
xor eax, eax
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp dword [ebp - 0x30], 0x10
mov esi, eax
jb 0x467f40
mov eax, dword [ebp - 0x44]
push eax
call fcn.004803bd
add esp, 4
test esi, esi
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
je 0x46803a
mov ebx, dword [sym.imp.KERNEL32.dll_FreeLibrary]
push esi
call ebx
push str.update.dll
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x48]
push edx
call fcn.00415930
add esp, 0xc
cmp dword [eax + 0x18], 0x10
jb 0x467f83
mov edi, dword [eax + 4]
jmp 0x467f86
lea edi, [eax + 4]
test edi, edi
jne 0x467f8e
xor esi, esi
jmp 0x467fbf
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
add esi, 1
cmp esi, 0x3fffffff
jle 0x467fa6
xor esi, esi
jmp 0x467fbf
lea eax, [esi + esi]
call fcn.00480be0
mov eax, esp
push 0x3a8
push esi
push edi
push eax
call fcn.004010f0
mov esi, eax
cmp dword [ebp - 0x30], 0x10
jb 0x467fd1
mov eax, dword [ebp - 0x44]
push eax
call fcn.004803bd
add esp, 4
push esi
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x46803a
push eax
call ebx
push str.update.exe
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x48]
push edx
call fcn.00415930
add esp, 0xc
cmp dword [eax + 0x18], 0x10
jb 0x468011
mov eax, dword [eax + 4]
jmp 0x468014
add eax, 4
mov ebx, eax
call fcn.00461200
test al, al
mov esi, 0x10
sete bl
cmp dword [ebp - 0x30], esi
jb 0x468036
mov eax, dword [ebp - 0x44]
push eax
call fcn.004803bd
add esp, 4
test bl, bl
je 0x468056
push 0x10
push 0x4b8f58
push str._N1Y
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
cmp dword [ebp - 0x14], esi
jb 0x468067
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.004803bd
add esp, 4
mov al, 1
lea esp, [ebp - 0x58]
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.00480bcf
mov esp, ebp
pop ebp
ret