joyce8/EMBER2024-capa huggingface dataset:
Function at 0xcb25d1
Capabilities:
Access pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x10]
xor ebx, ebx
push edi
xor edi, edi
inc ebx
cmp eax, edi
jne 0xcb2d32
mov eax, dword [esi + 0x30]
cmp eax, edi
jne 0xcb303e
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push dword [eax + 8]
call dword [sym.imp.ntdll.dll_RtlImageNtHeader]
cmp eax, edi
je 0xcb2616
push dword [eax + 0x64]
call dword [sym.imp.RPCRT4.dll_RpcMgmtSetServerStackSize]
cmp dword [esi + 0x34], edi
jne 0xcb32d7
push edi
push edi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_HeapSetInformation]
mov eax, ebx
pop edi
pop esi
pop ebx
pop ebp
ret 4
test byte [esi + 0x38], bl
jne 0xcb32c4
push ebx
lea ecx, [esi + 0x20]
push ecx
push dword [esi + 0x1c]
push dword [esi + 0x18]
push dword [esi + 0x14]
push eax
call fcn.00cb2d61
test eax, eax
jne 0xcb25ec
jmp 0xcb32bd
shl eax, 0xa
push eax
jmp 0xcb2610
xor eax, eax
jmp 0xcb262b
push 4
push edi
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jge 0xcb25ec
jmp 0xcb32bd
push ebx
push edi
push ebx
call dword [sym.imp.ntdll.dll_RtlSetProcessIsCritical]
add esp, 0xc
jmp 0xcb261f
Function at 0x4013a0
Capabilities:
Initialize winhttp library
Prepare http request
Receive http response

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
xor esi, esi
xor ebx, ebx
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov ebp, eax
test ebp, ebp
je 0x4014e6
push edi
push esi
push esi
push str.master.bf1942.org
push ebp
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov dword [esp + 0x18], eax
test eax, eax
je 0x4014c1
push esi
push esi
push esi
push esi
push str._json__full
push 0x4224d8
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov ebx, eax
test ebx, ebx
je 0x4014c1
push esi
push esi
push esi
push esi
push esi
push esi
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
setne cl
mov byte [esp + 0x13], cl
test eax, eax
je 0x40149c
push esi
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
setne cl
mov byte [esp + 0x13], cl
test eax, eax
je 0x40149c
lea eax, [esp + 0x14]
xor edi, edi
push eax
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
je 0x4014c1
mov eax, dword [esp + 0x14]
test eax, eax
je 0x40148e
add eax, edi
cmp eax, 0x4000000
ja 0x4014a3
inc eax
push eax
push esi
call fcn.0040cbe0
mov esi, eax
add esp, 8
test esi, esi
je 0x4014b2
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x18]
lea ecx, [edi + esi]
push ecx
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
add edi, dword [esp + 0x1c]
lea eax, [esp + 0x14]
push eax
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
jne 0x401442
jmp 0x4014a7
mov eax, dword [esp + 0x24]
mov byte [edi + esi], 0
test eax, eax
je 0x40149c
mov dword [eax], edi
cmp byte [esp + 0x13], 0
jne 0x4014c1
test esi, esi
je 0x4014c1
push esi
call fcn.0040cbc5
add esp, 4
xor esi, esi
mov edi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push ebp
call edi
mov eax, dword [esp + 0x18]
jmp 0x4014d2
mov edi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push ebp
call edi
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4014d5
push eax
call edi
test ebx, ebx
je 0x4014dc
push ebx
call edi
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x401a90
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb4
mov eax, dword [0x42b034]
xor eax, esp
mov dword [esp + 0xb0], eax
push ebx
push esi
push edi
xor esi, esi
push esi
call fcn.00403150
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
add esp, 4
test eax, eax
je 0x401adc
mov eax, dword [eax]
inc esi
test eax, eax
jne 0x401ac2
test esi, esi
jle 0x401adc
push eax
push esi
push 0x102f
push dword [0x42b8e4]
call edi
xor ebx, ebx
push ebx
call fcn.00403150
mov esi, eax
add esp, 4
test esi, esi
je 0x401cfc
movzx ecx, byte [esi + 0x107]
lea eax, [esp + 0x78]
push ecx
movzx ecx, byte [esi + 0x106]
push ecx
push str._d____d
push 0x20
push eax
call fcn.00402ec0
movzx eax, word [esi + 0x108]
add esp, 0x14
cmp ax, 0xffff
je 0x401b3a
cwde
push eax
push 0x422418
lea eax, [esp + 0x50]
push 8
push eax
call fcn.00402ec0
add esp, 0x10
jmp 0x401b42
mov dword [esp + 0x48], 0x3f
xor eax, eax
mov word [esp + 0x58], ax
cmp byte [esi + 0x118], al
je 0x401b7b
lea ecx, [esp + 0x58]
add ecx, 0xfffffffe
nop dword [eax + eax]
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x401b60
mov eax, dword [0x422600]
mov dword [ecx], eax
mov eax, dword [0x422604]
mov dword [ecx + 4], eax
cmp byte [esi + 0x119], 0
je 0x401baf
lea eax, [esp + 0x58]
add eax, 0xfffffffe
nop dword [eax + eax]
mov cx, word [eax + 2]
lea eax, [eax + 2]
test cx, cx
jne 0x401b90
mov ecx, dword [0x422608]
mov dword [eax], ecx
mov cx, word [0x42260c]
mov word [eax + 4], cx
lea eax, [esp + 0x58]
mov dword [esp + 0xc], 5
mov dword [esp + 0x20], eax
xorps xmm0, xmm0
lea eax, [esp + 0xc]
movlpd qword [esp + 0x18], xmm0
push eax
push 0
push 0x104d
push dword [0x42b8e4]
movlpd qword [esp + 0x34], xmm0
movlpd qword [esp + 0x40], xmm0
movlpd qword [esp + 0x48], xmm0
movlpd qword [esp + 0x50], xmm0
mov dword [esp + 0x20], ebx
mov dword [esp + 0x3c], esi
mov dword [esp + 0x24], 0
call edi
lea eax, [esi + 4]
mov dword [esp + 0xc], 1
mov dword [esp + 0x20], eax
lea eax, [esp + 0xc]
push eax
push 0
push 0x104c
push dword [0x42b8e4]
mov dword [esp + 0x3c], 0
mov dword [esp + 0x24], 1
call edi
lea eax, [esp + 0x78]
mov dword [esp + 0x14], 2
mov dword [esp + 0x20], eax
lea eax, [esp + 0xc]
push eax
push 0
push 0x104c
push dword [0x42b8e4]
call edi
lea eax, [esp + 0x48]
mov dword [esp + 0x14], 3
mov dword [esp + 0x20], eax
lea eax, [esp + 0xc]
push eax
push 0
push 0x104c
push dword [0x42b8e4]
call edi
lea eax, [esi + 0x84]
mov dword [esp + 0x14], 4
mov dword [esp + 0x20], eax
lea eax, [esp + 0xc]
push eax
push 0
push 0x104c
push dword [0x42b8e4]
call edi
lea eax, [esi + 0xc4]
mov dword [esp + 0x14], 5
mov dword [esp + 0x20], eax
lea eax, [esp + 0xc]
push eax
push 0
push 0x104c
push dword [0x42b8e4]
call edi
lea eax, [esi + 0xe4]
mov dword [esp + 0x14], 6
mov dword [esp + 0x20], eax
lea eax, [esp + 0xc]
push eax
push 0
push 0x104c
push dword [0x42b8e4]
call edi
mov esi, dword [esi]
inc ebx
test esi, esi
jne 0x401af1
mov ecx, dword [esp + 0xbc]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00408284
mov esp, ebp
pop ebp
ret
Function at 0x403e50
Capabilities:
Create tcp socket
Create thread
Create udp socket
Initialize winsock library
Set socket configuration
Terminate process

Disassembly:
sub esp, 0x1a8
mov eax, dword [0x42b034]
xor eax, esp
mov dword [esp + 0x1a4], eax
cmp dword [0x42c460], 0
jne 0x403f65
push 0x42c440
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
push 0x42c438
call fcn.0040e180
add esp, 4
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
push 0
push 1
push 1
push 0
mov dword [0x42c460], eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [0x42c464], eax
lea eax, [esp + 0x14]
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
push 0x11
push 2
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [0x42c46c], eax
cmp eax, 0xffffffff
je 0x403f29
lea ecx, [esp]
mov dword [esp], 1
push ecx
push 0x8004667e
push eax
call dword [sym.imp.WS2_32.dll_ioctlsocket]
xorps xmm0, xmm0
mov eax, 2
movups xmmword [esp + 4], xmm0
mov word [esp + 4], ax
lea eax, [esp + 4]
push 0x10
push eax
push dword [0x42c46c]
call dword [sym.imp.WS2_32.dll_bind]
test eax, eax
je 0x403f31
push dword [0x42c46c]
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [0x42c46c], 0xffffffff
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
jmp 0x403f4b
push 0
push 0
push 0
push 0x403f90
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x42c468], eax
mov ecx, dword [esp + 0x1a4]
mov eax, 0x42c460
xor ecx, esp
call fcn.00408284
add esp, 0x1a8
ret
push 0x10
push str.Error
push str.QueryInit_called_twice
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push 1
call fcn.0040d4b9
int3

Function at 0x404430
Capabilities:
Send data
Send data on socket

Disassembly:
sub esp, 0x14
mov eax, dword [0x42b034]
xor eax, esp
mov dword [esp + 0x10], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x24]
push edi
mov edi, dword [esp + 0x2c]
mov eax, edi
sub eax, 1
je 0x4044f7
sub eax, 1
je 0x4044e4
sub eax, 1
jne 0x404541
movzx eax, word [esi + 0x104]
test ax, ax
je 0x404541
movups xmm0, xmmword [esi + 0x11c]
push eax
movups xmmword [esp + 0x14], xmm0
call dword [sym.imp.WS2_32.dll_htons]
push 0x10
mov word [esp + 0x16], ax
lea eax, [esp + 0x14]
push eax
push 0
push 8
push 0x4228cc
push dword [0x42c46c]
call dword [sym.imp.WS2_32.dll_sendto]
call fcn.00404660
push dword [esp + 0x14]
mov dword [esi + 0x12c], eax
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push dword [esp + 0x12]
call dword [sym.imp.WS2_32.dll_ntohs]
pop edi
mov byte [esi + 0x141], 0
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.00408284
add esp, 0x14
ret
mov ebx, str.players_
mov byte [esi + 0x140], 0
mov ebp, 9
jmp 0x404508
mov ebx, str.info_
mov byte [esi + 0x13f], 0
mov ebp, 6
push dword [esi + 0x120]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
movzx eax, word [esi + 0x11e]
push eax
call dword [sym.imp.WS2_32.dll_ntohs]
push 0x10
lea eax, [esi + 0x11c]
push eax
push 0
push ebp
push ebx
push dword [0x42c46c]
call dword [sym.imp.WS2_32.dll_sendto]
mov dword [esi + 0x138], edi
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00408284
add esp, 0x14
ret
Function at 0x41adc6
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041aa77

Function at 0x41add1
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041ac01
Function at 0x405ab0
Capabilities:
Terminate process

Disassembly:
call fcn.004060c5
jmp 0x405aba
push 0x58
push 0x406318
call fcn.00405d50
xor ebx, ebx
mov dword [ebp - 0x20], ebx
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov edi, ebx
mov edx, 0x407e28
mov ecx, esi
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
je 0x405b0c
cmp eax, esi
jne 0x405aff
xor esi, esi
inc esi
mov edi, esi
jmp 0x405b0f
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x405ae3
xor esi, esi
inc esi
cmp dword [0x407e2c], esi
jne 0x405b21
push 0x1f
call fcn.00579000
pop ecx
jmp 0x405b5b
cmp dword [0x407e2c], ebx
jne 0x405b55
mov dword [0x407e2c], esi
push 0x401018
push 0x40100c
call fcn.00405c99
pop ecx
pop ecx
test eax, eax
je 0x405b5b
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x405c89
mov dword [0x407a84], esi
cmp dword [0x407e2c], esi
jne 0x405b7e
push 0x401008
push section..text
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x407e2c], 2
test edi, edi
jne 0x405b8b
xor eax, eax
mov ecx, 0x407e28
xchg dword [ecx], eax
cmp dword [0x407e30], 0
je 0x405bb7
push 0x407e30
call fcn.00405fd0
pop ecx
test eax, eax
je 0x405bb7
push ebx
push 2
push ebx
mov esi, dword [0x407e30]
mov ecx, esi
call dword [0x4081c4]
call esi
mov eax, dword [sym.imp.msvcrt.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x1c], esi
mov edi, dword [ebp - 0x20]
mov cl, byte [esi]
cmp cl, 0x20
ja 0x405c15
test cl, cl
je 0x405be4
test edi, edi
jne 0x405c15
test cl, cl
je 0x405be4
cmp cl, 0x20
ja 0x405be4
inc esi
mov dword [ebp - 0x1c], esi
mov cl, byte [esi]
jmp 0x405bd3
test byte [ebp - 0x3c], 1
je 0x405bf0
movzx eax, word [ebp - 0x38]
jmp 0x405bf3
push 0xa
pop eax
push eax
push esi
push ebx
push 0x400000
call main
mov dword [0x407a80], eax
cmp dword [0x407a98], 0
jne 0x405c6e
push eax
call dword [sym.imp.msvcrt.dll_exit]
cmp cl, 0x22
jne 0x405c26
xor eax, eax
test edi, edi
sete al
mov edi, eax
mov dword [ebp - 0x20], edi
movzx eax, cl
push eax
call dword [sym.imp.msvcrt.dll__ismbblead]
pop ecx
test eax, eax
je 0x405c39
inc esi
mov dword [ebp - 0x1c], esi
inc esi
mov dword [ebp - 0x1c], esi
jmp 0x405bc4
cmp dword [0x407a84], 0
jne 0x405c82
call dword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x407a80]
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x405eb4
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x406338
call fcn.00405d50
xor ecx, ecx
mov eax, dword [ebp + 8]
test eax, eax
je 0x405f14
cmp eax, 0xffffffff
je 0x405f14
mov dword [ebp - 4], ecx
mov edx, 0x5a4d
cmp word [eax], dx
jne 0x405f0d
mov edx, dword [eax + 0x3c]
test edx, edx
js 0x405f0d
cmp edx, 0x10000000
jae 0x405f0d
add eax, edx
mov dword [ebp - 0x1c], eax
mov ecx, dword [eax]
sub ecx, 0x4550
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
jmp 0x405f0a
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, ecx
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x405f80
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x405fbe
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x405fb6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x405fc0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x405fa6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x406090
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x4060c1
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x4060c1
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x4060c1
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x401640
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42aa40
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x43800c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
cmp dword [0x43991c], 0xb7
je 0x4017f4
push 0x208
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.00417e70
add esp, 0xc
mov dword [ebp - 0x220], 0x104
lea ecx, [ebp - 0x238]
call fcn.0040ebf0
lea eax, [ebp - 0x23c]
mov byte [ebp - 4], 1
push eax
push 1
xor esi, esi
push esi
push str.SoftwareMicrosoftBingWallpaperApp
push 0x80000001
mov dword [ebp - 0x23c], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4016e4
mov esi, 0x80004005
jmp 0x401711
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x21c]
push eax
push 0
push 0
push str.BWCUVersion
push dword [ebp - 0x23c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
mov ecx, 0x80004005
cmovne esi, ecx
mov eax, dword [ebp - 0x23c]
test eax, eax
je 0x401722
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, 0x80004005
jne 0x40172e
mov al, 1
jmp 0x401752
cmp dword [ebp - 0x224], 8
lea edx, [ebp - 0x238]
lea ecx, [ebp - 0x21c]
cmovae edx, dword [ebp - 0x238]
call fcn.0040e7a0
test eax, eax
setne al
cmp dword [ebp - 0x228], 0
je 0x4017b3
test al, al
je 0x4017b3
mov edx, dword [ebp - 0x224]
lea ecx, [ebp - 0x238]
mov esi, dword [ebp - 0x238]
cmp edx, 8
cmovae ecx, esi
lea edi, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x401780
sub ecx, edi
lea eax, [ebp - 0x238]
sar ecx, 1
add ecx, ecx
cmp edx, 8
push ecx
push ecx
cmovae eax, esi
mov dword [ebp - 0x220], ecx
push eax
push str.BWCUVersion
call fcn.0040c060
add esp, 0x10
call fcn.00401820
mov edx, dword [ebp - 0x224]
cmp edx, 8
jb 0x4017f4
mov ecx, dword [ebp - 0x238]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4017ea
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40181a
push edx
push ecx
call fcn.004165af
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004165a1
mov esp, ebp
pop ebp
ret 0x10
call fcn.00419a7c
int3
Function at 0x4032b0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x43800c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, 1
mov dword [ebp - 8], eax
test cl, cl
jne 0x4032d6
xor ecx, ecx
test dl, dl
cmove eax, ecx
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0
push eax
push 0xf003f
push 0
push str.SoftwareMicrosoftBingWallpaperApp
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x403323
push 0
lea eax, [ebp - 0xc]
push eax
push 0
push 0xf003f
push 1
push 0
push 0
push str.SoftwareMicrosoftBingWallpaperApp
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x40333b
push 4
lea eax, [ebp - 8]
push eax
push 4
push 0
push str.LaunchStartApp
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x403349
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004165a1
mov esp, ebp
pop ebp
ret
Function at 0x405c50
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x43800c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0x64], 8
lea eax, [ebp - 0x10]
push ebx
push esi
push edi
push eax
lea edi, [ebp + 0x50]
mov dword [ebp - 8], 0
cmovae edi, dword [ebp + 0x50]
xor esi, esi
push 1
push esi
push str.SoftwareMicrosoftBingWallpaperApp
push 0x80000001
mov dword [ebp - 0xc], 4
mov dword [ebp - 0x10], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x405ca3
mov esi, 0x80004005
jmp 0x405cc3
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push edi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
mov ecx, 0x80004005
cmovne esi, ecx
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x405cd1
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x405cdf
cmp dword [ebp - 8], 1
jne 0x405cdf
mov bl, 1
jmp 0x405ce1
xor bl, bl
lea ecx, [ebp + 0x20]
call fcn.00402dd0
mov edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x405d1f
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x405d15
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405d32
push edx
push ecx
call fcn.004165af
add esp, 8
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004165a1
mov esp, ebp
pop ebp
ret
call fcn.00419a7c
int3
Function at 0x4071a0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42b2cd
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x43800c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov bl, 1
mov dword [ebp - 0x20], 0x433a3c
mov dword [ebp - 0x1c], 0
mov byte [ebp - 4], bl
lea eax, [ebp + 8]
cmp dword [ebp + 0x1c], 8
push ecx
cmovae eax, dword [ebp + 8]
lea ecx, [ebp - 0x20]
push eax
call fcn.004122a0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x407202
jmp 0x407273
push eax
push 0
push 0x100001
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x40723a
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 0x18], 0x433a3c
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 2
lea eax, [ebp + 8]
cmp dword [ebp + 0x1c], 8
push ecx
cmovae eax, dword [ebp + 8]
lea ecx, [ebp - 0x18]
push eax
call fcn.004122a0
xor eax, eax
movzx ebx, bl
cmp dword [ebp - 0x14], eax
mov dword [ebp - 0x18], vtable.CProcessHelper.0
cmovne ebx, eax
mov edx, dword [ebp + 0x1c]
mov dword [ebp - 0x20], vtable.CProcessHelper.0
cmp edx, 8
jb 0x4072b0
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4072a6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4072cd
push edx
push ecx
call fcn.004165af
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004165a1
mov esp, ebp
pop ebp
ret
call fcn.00419a7c
int3
Function at 0x40c060
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x43800c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 8]
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
push eax
push 0xf003f
push esi
push str.SoftwareMicrosoftBingWallpaperApp
push 0x80000001
mov dword [ebp - 8], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x40c0c6
push esi
lea eax, [ebp - 8]
push eax
push esi
push 0xf003f
push 1
push esi
push esi
push str.SoftwareMicrosoftBingWallpaperApp
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x40c0c6
mov esi, 0x80004005
jmp 0x40c0e2
push dword [ebp + 0x10]
push ebx
push 1
push 0
push edi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
mov ecx, 0x80004005
cmovne esi, ecx
mov eax, dword [ebp - 8]
test eax, eax
je 0x40c0f0
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004165a1
mov esp, ebp
pop ebp
ret