joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405280
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x2004]
mov eax, 0x2004
call fcn.0043a2b0
push 0xffffffffffffffff
push 0x45060e
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x468850]
xor eax, ebp
mov dword [ebp + 0x2000], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor esi, esi
push esi
push esi
push esi
push esi
push esi
push str.session
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 1
call fcn.0041adaf
push esi
push esi
push 0x600002
mov byte [ebp - 4], 3
mov eax, dword [ebp + 0x200c]
push esi
push eax
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
call fcn.0041b72b
mov ecx, dword [ebp + 0x2010]
push esi
push 0x80
push 2
push esi
push 2
push 0xc0000000
mov ebx, eax
push ecx
mov dword [ebp - 0x18], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov dword [ebp - 0x14], edi
cmp edi, 0xffffffff
jne 0x40538b
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.0041b469
mov byte [ebp - 4], 0
mov eax, dword [ebp + 0x200c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x405359
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0x2010]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4054c1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4054c1
push 0x1ffe
lea edx, [ebp + 2]
xor ecx, ecx
push esi
push edx
mov word [ebp], cx
call fcn.0043a5b0
add esp, 0xc
mov dword [ebp - 0x1c], esi
mov eax, dword [ebx]
mov edx, dword [eax + 0x34]
push 0x1000
lea ecx, [ebp]
push ecx
mov ecx, ebx
call edx
push 0
mov esi, eax
lea eax, [ebp - 0x1c]
push eax
push esi
lea ecx, [ebp]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test esi, esi
jg 0x4053a6
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 1
call fcn.0041b469
mov byte [ebp - 4], 0
mov eax, dword [ebp + 0x200c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40540c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0x2010]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4054c1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4054c1
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 + 0x2000]
xor ecx, ebp
call fcn.00437d66
add ebp, 0x2004
mov esp, ebp
pop ebp
ret
Function at 0x408710
Capabilities:
Hide graphical window

Disassembly:
push ebx
push ebp
push edi
push 0
push 0
push 0
push 0xc8
push esi
lea eax, [esi + 0x148]
push eax
push 0x50000000
push 0
lea edi, [esi + 0x188]
push 0x4599d0
mov ecx, edi
call fcn.00428fad
push 0
push 0
push 0
push 0xc9
push esi
lea ecx, [esi + 0x158]
push ecx
push 0x50000000
push 0
lea ebx, [esi + 0x1fc]
push 0x4599d0
mov ecx, ebx
call fcn.00428fad
push 0
push 0
push 0
push 0xca
push esi
lea edx, [esi + 0x168]
push edx
push 0x50000000
push 0
lea ebp, [esi + 0x270]
push 0x4599d0
mov ecx, ebp
call fcn.00428fad
push 0xffffffffffffffff
push 0x469d50
push 0
push 0
push 4
push 0x227
push edi
call fcn.00427676
push 0xffffffffffffffff
push 0x469d50
push 0
push 0
push 4
push 0x227
push ebx
call fcn.00427676
push 0xffffffffffffffff
push 0x469d50
push 0
push 0
push 4
push 0x227
push ebp
call fcn.00427676
add esp, 0x54
cmp dword [esi + 0x338], 0
je 0x408856
mov eax, dword [0x46cd40]
push 0
push 0
push 0
push 0
push eax
push str._bLLLL
push 0
push 0
push 1
push 0x68
push edi
call fcn.00427676
mov ecx, dword [0x46cd3c]
push 0
push 0
push 0
push 0
push ecx
push str._bLLLL
push 0
push 0
push 1
push 0x68
push ebx
call fcn.00427676
mov edx, dword [0x46cd38]
add esp, 0x58
push 0
push 0
push 0
push 0
push edx
push str._bLLLL
push 0
push 0
push 1
push 0x68
push ebp
call fcn.00427676
add esp, 0x2c
mov eax, dword [esi + 0x1a8]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push eax
call edi
mov ecx, dword [esi + 0x21c]
push 0
push ecx
call edi
mov edx, dword [esi + 0x290]
push 0
push edx
call edi
pop edi
pop ebp
pop ebx
ret

Function at 0x408e60
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4508a8
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x468850]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
push str.http:__api.yxdown.com_qdq_redirect.aspx_softid
lea ecx, [esp + 8]
call fcn.004017f0
mov eax, dword [esp + 0x18]
mov dword [esp + 0x10], 0
mov eax, dword [eax + 0x348]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0xc]
call fcn.004021f0
push 0xa
push str.typegame
lea ecx, [esp + 0xc]
call fcn.004021f0
mov ecx, dword [esp + 4]
push 1
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [esp + 0x10], 0xffffffff
mov eax, dword [esp + 4]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x408eff
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
add esp, 0x10
ret 4
Function at 0x408f20
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4508a8
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x468850]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
push str.http:__api.yxdown.com_qdq_redirect.aspx_softid
lea ecx, [esp + 8]
call fcn.004017f0
mov eax, dword [esp + 0x18]
mov dword [esp + 0x10], 0
mov eax, dword [eax + 0x348]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0xc]
call fcn.004021f0
push 0xd
push str.typegonglue
lea ecx, [esp + 0xc]
call fcn.004021f0
mov ecx, dword [esp + 4]
push 1
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [esp + 0x10], 0xffffffff
mov eax, dword [esp + 4]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x408fbf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
add esp, 0x10
ret 4

Function at 0x408fe0
Capabilities:
Create process on windows

Disassembly:
push ecx
mov eax, dword [edi + 0x350]
push ebx
push esi
push ecx
lea esi, [edi + 0x350]
sub eax, 0x10
mov dword [esp + 0xc], esp
mov ebx, esp
push eax
call fcn.00402180
add eax, 0x10
add esp, 4
mov dword [ebx], eax
call fcn.00410390
add esp, 4
test eax, eax
jne 0x409030
push 0x10
push 0x45a114
push 0x45a120
mov ecx, edi
call fcn.004234c9
push edi
call fcn.0040b8e0
pop esi
pop ebx
pop ecx
ret
push ecx
mov eax, esp
mov dword [esp + 0xc], esp
push str.gameyxdown.dat
lea ecx, [edi + 0x2e4]
push ecx
push eax
call fcn.0040bf20
add esp, 0xc
call fcn.00410390
add esp, 4
test eax, eax
je 0x4090ca
mov edx, dword [edi + 0x344]
cmp dword [edx - 0xc], 0
je 0x4090ca
mov eax, dword [esi]
push 0x5c
push eax
call fcn.0043849c
add esp, 8
test eax, eax
jne 0x40907a
or eax, 0xffffffff
jmp 0x40907e
sub eax, dword [esi]
sar eax, 1
inc eax
push eax
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call fcn.00401990
mov ebx, dword [esp + 8]
mov ecx, dword [edi + 0x34c]
mov edx, dword [esi]
push 1
push ebx
push ecx
push edx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea eax, [ebx - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4090e3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop esi
pop ebx
pop ecx
ret
push 0x10
push 0x45a114
push 0x45a154
mov ecx, edi
call fcn.004234c9
push edi
call fcn.0040b8e0
pop esi
pop ebx
pop ecx
ret
Function at 0x4090f0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4508a8
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x468850]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
push str.http:__api.yxdown.com_qdq_redirect.aspx_softid
lea ecx, [esp + 8]
call fcn.004017f0
mov eax, dword [esp + 0x18]
mov dword [esp + 0x10], 0
mov eax, dword [eax + 0x348]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0xc]
call fcn.004021f0
push 0xb
push str.typeerror
lea ecx, [esp + 0xc]
call fcn.004021f0
mov ecx, dword [esp + 4]
push 1
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [esp + 0x10], 0xffffffff
mov eax, dword [esp + 4]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40918f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
add esp, 0x10
ret 4

Function at 0x4091b0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4508a8
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x468850]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
push str.http:__api.yxdown.com_qdq_redirect.aspx_softid
lea ecx, [esp + 8]
call fcn.004017f0
mov eax, dword [esp + 0x18]
mov dword [esp + 0x10], 0
mov eax, dword [eax + 0x348]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0xc]
call fcn.004021f0
push 0xa
push str.typemore
lea ecx, [esp + 0xc]
call fcn.004021f0
mov ecx, dword [esp + 4]
push 1
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [esp + 0x10], 0xffffffff
mov eax, dword [esp + 4]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40924f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
add esp, 0x10
ret 4
Function at 0x40a2a0
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x451378
mov eax, dword fs:[0]
push eax
push ecx
push edi
mov eax, dword [0x468850]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov dword [esp + 0x14], 1
mov edi, dword [esp + 0x20]
call fcn.00420a7c
mov eax, dword [eax + 4]
push 0x45a078
push edi
push 0x45a064
mov ecx, eax
call fcn.0041d4eb
lea eax, [esp + 0x1c]
lea ecx, [esi + 0x358]
push eax
call fcn.00401dd0
lea ecx, [esp + 0x20]
push ecx
lea edx, [esi + 0x2e4]
push edx
lea eax, [esp + 0x10]
push eax
call fcn.0040be60
add esp, 0xc
lea ecx, [esi + 0x354]
push eax
mov byte [esp + 0x18], 2
call fcn.00401dd0
mov byte [esp + 0x14], 1
mov eax, dword [esp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a347
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0
push 0
push esi
push 0x40a490
push 0
push 0
mov dword [esi + 0x33c], 1
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [esp + 0x14], 0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a391
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x14], 0xffffffff
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a3b9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x10
ret 8

Function at 0x40a3d0
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x451338
mov eax, dword fs:[0]
push eax
mov eax, dword [0x468850]
xor eax, esp
push eax
lea eax, [esp + 4]
mov dword fs:[0], eax
mov eax, dword [esp + 0x18]
push 0
mov dword [esp + 0x10], 0
lea ecx, [esi + 0x358]
push 0x4592dc
mov dword [0x46cb14], 1
mov dword [esi + 0x33c], eax
call fcn.00402080
lea edx, [esp + 0x14]
lea ecx, [esi + 0x354]
push edx
call fcn.00401dd0
push 0
push 0
push esi
push 0x40a490
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0xc], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a471
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
pop ecx
add esp, 0xc
ret 8
Function at 0x40a790
Capabilities:
Create shortcut via ishelllink

Disassembly:
push 0xffffffffffffffff
push 0x450778
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x468850]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
push 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [esp + 8]
push eax
push 0x458a48
push 1
push 0
push 0x458a58
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jge 0x40a804
call dword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret 0xc
mov eax, dword [esp + 8]
mov edx, dword [esp + 0x24]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x50]
call eax
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 0x2e4]
sub eax, 0x10
push eax
call fcn.00402180
add eax, 0x10
add esp, 4
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], 0
mov eax, dword [eax - 0xc]
push 0
dec eax
push eax
lea ecx, [esp + 0x2c]
call fcn.0040c120
mov eax, dword [esp + 8]
mov esi, dword [esp + 0x24]
mov edx, dword [eax]
push esi
push eax
mov eax, dword [edx + 0x24]
call eax
test edi, edi
je 0x40a86e
mov eax, dword [esp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x44]
push 0
push edi
push eax
call edx
mov eax, dword [esp + 8]
mov ecx, dword [eax]
lea edx, [esp + 0xc]
push edx
push 0x458b08
push eax
mov eax, dword [ecx]
call eax
test eax, eax
jge 0x40a8c6
call dword [sym.imp.ole32.dll_CoUninitialize]
lea eax, [esi - 0x10]
mov dword [esp + 0x18], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a8b1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret 0xc
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x28]
mov ecx, dword [eax]
push 1
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
test eax, eax
jl 0x40a887
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
lea eax, [esi - 0x10]
mov dword [esp + 0x18], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a91f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret 0xc
Function at 0x40b8e0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4512d0
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebp
push esi
push edi
mov eax, dword [0x468850]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov eax, dword [esp + 0x30]
cmp dword [eax + 0x338], 0
je 0x40bae3
call fcn.00419d0b
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40b931
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x14], esi
mov dword [esp + 0x28], 0
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x100
or eax, ecx
jge 0x40b96f
push 0x100
lea ecx, [esp + 0x18]
call fcn.00402130
mov esi, dword [esp + 0x14]
push 0x100
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov eax, dword [esi - 8]
push eax
push esi
call fcn.00438073
add esp, 8
test eax, eax
jl 0x40bad9
cmp eax, dword [esi - 8]
jg 0x40bad9
xor ecx, ecx
push ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x459ba4
call fcn.004017f0
push ecx
lea ebp, [esi - 0x10]
mov dword [esp + 0x24], esp
mov edi, esp
push ebp
mov byte [esp + 0x34], 1
call fcn.00402180
add eax, 0x10
lea edx, [esp + 0x1c]
add esp, 4
mov dword [edi], eax
push edx
mov byte [esp + 0x34], 0
call fcn.0040b6a0
add esp, 0xc
lea eax, [esp + 0x10]
push eax
mov byte [esp + 0x2c], 2
call fcn.0040bb30
call fcn.00419d0b
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40ba0d
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x30]
mov byte [esp + 0x28], 3
mov edx, dword [ecx + 0x348]
mov eax, dword [esp + 0x10]
push edx
push eax
lea ecx, [esp + 0x20]
push str.http:__www.yxdown.com_AboutUs_wtfk.html_typeqdqversion_s._s
push ecx
call fcn.00402390
mov esi, dword [esp + 0x28]
add esp, 0x10
push 1
push 0
push 0
push esi
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea eax, [esi - 0x10]
mov byte [esp + 0x28], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40ba7d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x28], 0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40baa2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x28], 0xffffffff
lea ecx, [ebp + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40bb00
mov ecx, dword [ebp]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebp
call edx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x1c
ret 4
push 0x80070057
call fcn.00401090
mov eax, dword [eax + 0x2e4]
push 1
push 0
push eax
push str.explorer.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x1c
ret 4
Function at 0x40db20
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, dword [esp + 0x10]
test ebp, ebp
jne 0x40db30
lea eax, [ebp + 0xd]
pop ebp
ret 0xc
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
push edi
xor edi, edi
mov esi, ebp
lea ecx, [ecx]
push esi
call ebx
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x40db40
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
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
ret 0xc

Function at 0x40db70
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x228
mov eax, dword [0x468850]
xor eax, esp
mov dword [esp + 0x224], eax
mov eax, dword [ecx]
push ebx
mov ebx, dword [ecx + 4]
push ebp
push esi
push edi
mov edi, dword [esp + 0x23c]
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x20]
push ecx
xor ebp, ebp
or ebx, 0x2001f
push ebx
push ebp
push edi
push eax
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x34], ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, dword [esp + 0x14]
mov esi, eax
cmp esi, ebp
jne 0x40dbea
xor eax, eax
cmp ecx, ebp
je 0x40dbd2
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x20]
and ebx, 0x300
mov esi, eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ebx
cmp eax, ebp
je 0x40dbf8
cmp ecx, ebp
je 0x40dc8b
push ecx
jmp 0x40dc85
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea edx, [esp + 0x28]
push edx
push ebp
push ebp
push ebp
lea eax, [esp + 0x2c]
push eax
lea edx, [esp + 0x44]
push edx
push ebp
push ecx
mov dword [esp + 0x3c], 0x100
call esi
test eax, eax
jne 0x40dc5a
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x18]
call fcn.0040db70
mov ebx, eax
cmp ebx, ebp
jne 0x40dca8
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x18]
push ebp
push ebp
push ebp
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x44]
push eax
push ebp
push ecx
mov dword [esp + 0x3c], 0x100
call esi
test eax, eax
je 0x40dc20
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x40dc6d
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], ebp
mov esi, dword [esp + 0x24]
mov dword [esp + 0x18], ebp
call fcn.0040dac0
mov esi, eax
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x40dc8b
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [esp + 0x234]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00437d66
add esp, 0x228
ret 4
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x40dcb7
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x40dc8d
Function at 0x40e240
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
lea ebp, [esp - 0x408]
sub esp, 0x408
push 0xffffffffffffffff
push 0x450df0
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x468850]
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 eax, dword [ebp + 0x410]
mov esi, dword [ebp + 0x414]
xor ebx, ebx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], ebx
mov dword [ebp], ebx
push 2
push ebx
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x20], edi
cmp edi, ebx
jne 0x40e2bf
call fcn.0040d880
mov esi, eax
jmp 0x40e3a9
mov eax, dword [ebp - 0x14]
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
cmp esi, ebx
jne 0x40e2db
call fcn.0040d880
jmp 0x40e3a0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x18], eax
cmp eax, ebx
jne 0x40e2f4
call fcn.0040d880
jmp 0x40e3a0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea ecx, [eax + 1]
mov dword [ebp - 0x14], eax
cmp ecx, eax
jae 0x40e328
lea ecx, [ebp + 4]
cmp dword [ebp], ecx
je 0x40e316
lea eax, [ebp]
call fcn.004100f0
lea ecx, [ebp - 0x1c]
call fcn.0040ff10
mov eax, 0x8007000e
jmp 0x40e3c2
mov eax, ecx
lea esi, [ebp]
mov byte [ebp - 4], 2
call fcn.00410030
mov dword [ebp - 4], 1
jmp 0x40e359
mov ecx, dword [ebp]
cmp ecx, ebx
jne 0x40e367
mov esi, 0x8007000e
jmp 0x40e3a2
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
push eax
push ecx
push eax
push edx
push ebx
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, ebx
jne 0x40e385
call fcn.0040d880
jmp 0x40e3a0
mov edx, dword [ebp]
xor ecx, ecx
mov word [edx + eax*2], cx
mov eax, dword [ebp + 0x418]
mov ecx, dword [ebp]
push eax
lea edx, [ebp - 0x28]
call fcn.0040f0d0
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [ebp + 4]
cmp dword [ebp], ecx
je 0x40e3c0
lea eax, [ebp]
call fcn.004100f0
lea esp, [esp]
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.00437d66
add ebp, 0x408
mov esp, ebp
pop ebp
ret 0xc