joyce8/EMBER2024-capa huggingface dataset:
Function at 0x102db6da
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [esp + 0x18], eax
push 0xacb64b84
lea esp, [esp + 0xc]
je 0x102c7f88
lea eax, [ebx - 0x2ed44c79]
movzx ax, bl
push 0x206
jmp 0x102db8ab
lahf
lea eax, [esp + 0x9a2]
call fcn.102cb0cf

Function at 0x4282a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x17000]
push edi
jmp 0x4282ba
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4282c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4282b0
mov eax, 1
add ebx, ebx
jne 0x4282d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4282c8
jne 0x4282e4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4282c8
xor ecx, ecx
sub eax, 3
jb 0x4282f8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x42836a
mov ebp, eax
add ebx, ebx
jne 0x428303
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x428310
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x428334
inc ecx
add ebx, ebx
jne 0x428320
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x428315
jne 0x428331
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x428315
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x428354
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x428345
jmp 0x4282b6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x428354
add edi, ecx
jmp 0x4282b6
pop esi
mov edi, esi
mov ecx, 0x115
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x428372
cmp byte [edi], 3
jne 0x428372
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x428377
lea edi, [esi + 0x26000]
mov eax, dword [edi]
or eax, eax
je 0x4283e6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x28000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x280c4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4283a4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x280cc]
or eax, eax
je 0x4283e0
mov dword [ebx], eax
add ebx, 4
jmp 0x4283c1
call dword [esi + 0x280c8]
mov ebp, dword [esi + 0x280d0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ef]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x42841a
sub esp, 0xffffff80
jmp 0x409ac0
Function at 0x100019e6
Capabilities:
Create thread
Resume thread
Terminate thread

Disassembly:
push esi
xor esi, esi
push esi
push 4
push esi
push 0x100018d3
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xfffffffffffffff1
push eax
mov dword [0x10003298], eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
test eax, eax
je 0x10001a1d
push dword [0x10003298]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
jne 0x10001a30
push esi
push dword [0x10003298]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [0x10003298], esi
pop esi
ret

Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x407ef8
mov ecx, 0x11fb42cd
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x42e04e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x42e024
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42cd70
mov ecx, 0xe570b6c
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x42e084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x42e06c
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x402410
Capabilities:
Acquire debug privileges
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x418bd0
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x422040]
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 ebx, ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x244], 0
mov dword [ebp - 0x240], 0
push 0x228
push 0
lea eax, [ebp - 0x23c]
push eax
call fcn.0040a9e0
add esp, 0xc
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x4024c9
mov dword [ebp - 0x240], 0x22c
lea eax, [ebp - 0x240]
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x4024c9
mov edi, dword [ebp + 8]
lea esp, [esp]
cmp dword [ebp - 0x238], edi
je 0x402526
lea eax, [ebp - 0x240]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x4024b0
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x244]
test eax, eax
je 0x4024fa
push 0
push 0x41944c
push eax
mov ecx, ebx
call fcn.004039b0
push dword [ebp - 0x244]
call edi
mov dword [ebp - 0x244], 0
test esi, esi
je 0x402501
push esi
call edi
mov dword [ebp - 4], 0xffffffff
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.0040a5e0
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x244]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
push 1
push 0x41944c
push dword [ebp - 0x244]
mov ecx, ebx
call fcn.004039b0
push dword [ebp - 0x238]
push 0
push 0x100401
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
mov dword [ebp - 0x248], edi
test edi, edi
je 0x4024c9
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
mov dword [ebp - 0x248], 0
jmp 0x4024cf
Function at 0x4027c0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x422040]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x238], 0
call fcn.00402700
mov ecx, eax
test ecx, ecx
je 0x4029da
mov eax, dword [ecx]
push ebx
push esi
push edi
call dword [eax + 0xc]
push 0x228
push 0
mov dword [ebp - 0x230], 0
lea esi, [eax + 0x10]
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x234], esi
push eax
call fcn.0040a9e0
add esp, 0xc
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
mov dword [ebp - 0x230], 0x22c
lea eax, [ebp - 0x230]
push eax
push ebx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x402976
jmp 0x402850
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x402860
sub ecx, edx
lea eax, [ebp - 0x20c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x234]
call fcn.00403af0
mov esi, dword [ebp - 0x234]
mov edi, dword [esi - 0xc]
test edi, edi
js 0x4029e4
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or ecx, eax
jge 0x4028b6
push edi
lea ecx, [ebp - 0x234]
call fcn.00403270
mov esi, dword [ebp - 0x234]
lea eax, [edi + 1]
push eax
push esi
call fcn.0040a2e8
add esp, 8
cmp edi, dword [esi - 8]
jg 0x4029e4
xor eax, eax
mov dword [esi - 0xc], edi
mov word [esi + edi*2], ax
mov eax, dword [ebp + 8]
mov edi, dword [eax - 0xc]
test edi, edi
js 0x4029e4
mov ecx, dword [eax - 8]
mov edx, 1
sub edx, dword [eax - 4]
sub ecx, edi
or edx, ecx
jge 0x402900
push edi
lea ecx, [ebp + 8]
call fcn.00403270
mov eax, dword [ebp + 8]
lea ecx, [edi + 1]
push ecx
push eax
call fcn.0040a2e8
mov eax, dword [ebp + 8]
add esp, 8
cmp edi, dword [eax - 8]
jg 0x4029e4
mov dword [eax - 0xc], edi
xor ecx, ecx
mov eax, dword [ebp + 8]
mov word [eax + edi*2], cx
mov eax, dword [ebp + 8]
test eax, eax
je 0x4029da
mov ecx, esi
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x402958
test dx, dx
je 0x402954
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x402958
add ecx, 4
add eax, 4
test dx, dx
jne 0x402932
xor eax, eax
jmp 0x40295d
sbb eax, eax
or eax, 1
test eax, eax
je 0x4029cc
lea eax, [ebp - 0x230]
push eax
push ebx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x402850
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [esi - 0x10]
or esi, 0xffffffff
lea ecx, [edx + 0xc]
mov eax, esi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x402999
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp + 8]
add edi, 0xfffffff0
lea eax, [edi + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x4029b3
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x238]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0040a5e0
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 0x228]
mov dword [ebp - 0x238], eax
jmp 0x402976
push 0x80004005
call fcn.004017a0
push 0x80070057
call fcn.004017a0
int3
Function at 0x402fa0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edi
cmp dword [edi + 0x30], 0
je 0x402fe6
call fcn.00401e10
call fcn.00408cc0
mov eax, dword [edi + 0x38]
test eax, eax
je 0x402fca
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
push 1
call dword [sym.imp.USER32.dll_PostQuitMessage]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push 0x419380
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [edi + 0x38], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x40301c
mov eax, dword [edi + 0x38]
test eax, eax
je 0x403013
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov dword [edi + 0x38], 0
jmp 0x402fca
push 0x419380
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ebx, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0xc
call ebx
push 0xb
mov esi, eax
call ebx
mov ebx, dword [sym.imp.USER32.dll_LoadImageW]
push 0
push esi
push eax
push 1
push 0x80
push dword [0x4237b0]
call ebx
push eax
push 1
push 0x80
push dword [edi + 4]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
call edi
push 0x32
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x31
mov esi, eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
push esi
push eax
push 1
push 0x80
push dword [0x4237b0]
call ebx
mov esi, dword [ebp - 4]
push eax
push 0
push 0x80
push dword [esi + 4]
call edi
push 1
push 0
push 0
push 0
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_MoveWindow]
mov ecx, esi
call fcn.00403830
push 0
push dword [esi + 0x34]
push 1
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
push 0x13
push 0
push 0
push 0
push 0
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4030f0
Capabilities:
Query service status
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x422040]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
jne 0x403125
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040a5e0
mov esp, ebp
pop ebp
ret
push esi
push 0xf01ff
push str.RAON_K
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
jne 0x403157
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop esi
or eax, 0xffffffff
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040a5e0
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
lea eax, [ebp - 0x20]
push eax
push esi
call ebx
cmp dword [ebp - 0x1c], 1
je 0x4031a6
lea eax, [ebp - 0x20]
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x4031a6
lea eax, [ebp - 0x20]
push eax
push esi
call ebx
cmp dword [ebp - 0x1c], 1
je 0x4031a6
lea esp, [esp]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x20]
push eax
push esi
call ebx
cmp dword [ebp - 0x1c], 1
jne 0x403190
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push edi
call esi
mov ecx, dword [ebp - 4]
mov eax, 1
pop ebx
pop esi
xor ecx, ebp
pop edi
call fcn.0040a5e0
mov esp, ebp
pop ebp
ret
Function at 0x403830
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push ebx
push esi
push edi
push ecx
mov esi, ecx
mov ecx, esp
push str.raonk.exe
call fcn.00401160
mov ecx, esi
call fcn.00402d90
call fcn.00402700
mov ecx, eax
test ecx, ecx
je 0x403993
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push 0
push eax
call fcn.00408100
push str.raonk.exe
push dword [eax]
lea eax, [ebp - 4]
push str.__s_s_
push eax
call fcn.00402620
mov edx, dword [ebp - 8]
or edi, 0xffffffff
add edx, 0xfffffff0
add esp, 0x18
mov eax, edi
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x4038ab
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x44
lea eax, [ebp - 0x5c]
push 0
push eax
call fcn.0040a9e0
mov esi, dword [ebp - 4]
xorps xmm0, xmm0
movdqu xmmword [ebp - 0x18], xmm0
mov dword [ebp - 0x5c], 0x44
add esp, 0xc
mov edx, dword [esi - 0xc]
test edx, edx
js 0x40399d
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edx
or ecx, eax
jge 0x4038f5
push edx
lea ecx, [ebp - 4]
call fcn.00403270
mov esi, dword [ebp - 4]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x5c]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push esi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x403975
push 0x7d0
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ebx, dword [sym.imp.USER32.dll_FindWindowW]
push str.RAON_K_Hybrid_Agent
push 0
call ebx
test eax, eax
jne 0x403975
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
push str.RAON_K_Hybrid_Agent
push 0
mov edi, 1
call ebx
test eax, eax
jne 0x403972
cmp edi, 9
jge 0x403972
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
push str.RAON_K_Hybrid_Agent
push 0
inc edi
call ebx
test eax, eax
je 0x403954
or edi, 0xffffffff
add esi, 0xfffffff0
lea eax, [esi + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x40398c
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004017a0
push 0x80070057
call fcn.004017a0
int3

Function at 0x403cf0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x403d05
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x403d44
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x403d40
lea ebx, [ebx]
cmp esi, edx
jae 0x403d44
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
dec ecx
jne 0x403d30
cmp esi, edx
jb 0x403d49
xor eax, eax
pop esi
pop ebp
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop ebp
ret
Function at 0x4058b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x422040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push esi
mov esi, dword [ebp + 8]
push edi
push 0x60
push 0
mov dword [ebp - 0x40c], eax
mov eax, dword [ebp + 0x10]
push esi
mov dword [ebp - 0x410], eax
mov dword [ebp - 0x414], ecx
mov dword [ebp - 0x418], 0
mov dword [ebp - 0x408], 0
call ebx
mov edi, eax
test edi, edi
jne 0x405920
push 2
push eax
push esi
call ebx
mov edi, eax
test edi, edi
jne 0x405920
call fcn.004047f0
mov esi, eax
jmp 0x4059d9
push dword [ebp - 0x410]
push dword [ebp - 0x40c]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x405943
call fcn.004047f0
jmp 0x4059cc
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
jne 0x405958
call fcn.004047f0
jmp 0x4059cc
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
lea eax, [esi + 1]
cmp eax, esi
jae 0x405970
mov esi, 0x8007000e
jmp 0x4059ce
push eax
lea ecx, [ebp - 0x408]
call fcn.00404670
cmp dword [ebp - 0x408], 0
jne 0x40598c
mov esi, 0x8007000e
jmp 0x4059ce
push esi
push dword [ebp - 0x408]
push esi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x4059ac
call fcn.004047f0
jmp 0x4059cc
mov eax, dword [ebp - 0x408]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x418]
push dword [ebp - 0x408]
call fcn.00405750
mov esi, eax
test edi, edi
je 0x4059d9
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x404]
cmp dword [ebp - 0x408], eax
je 0x4059f2
lea ecx, [ebp - 0x408]
call fcn.00404dc0
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040a5e0
mov esp, ebp
pop ebp
ret 0x10
Function at 0x406380
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
test ebx, ebx
jne 0x406399
lea eax, [ebx + 0xd]
pop ebx
mov esp, ebp
pop ebp
ret 8
push esi
push edi
xor esi, esi
mov edx, ebx
nop
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4063a5
sub eax, edi
sar eax, 1
lea ecx, [eax + 1]
lea edx, [edx + ecx*2]
lea esi, [esi + ecx*2]
cmp ecx, 1
jne 0x4063a0
mov eax, dword [ebp - 4]
push esi
push ebx
push 7
push 0
push dword [ebp + 8]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4063e0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push esi
mov esi, ecx
test edx, edx
jne 0x4063f5
lea eax, [edx + 0xd]
pop esi
pop ebp
ret 0xc
mov eax, edx
push edi
lea edi, [eax + 2]
jmp 0x406400
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x406400
sub eax, edi
sar eax, 1
lea eax, [eax*2 + 2]
push eax
push edx
push dword [ebp + 0x10]
push 0
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x406ef0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_DefWindowProcW]
lea eax, [ebp - 8]
mov dword [ebp - 8], 8
push eax
mov dword [ebp - 4], 4
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
push 0
push dword [ebp + 8]
mov ecx, 0x42372c
push 0
call fcn.00404e80
push 0
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 1
push eax
lea eax, [ebp - 0xc]
mov dword [ebp - 0x18], 0
push eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
call sub.gdiplus.dll_GdiplusStartup
test eax, eax
je 0x406f83
push 0
push 0x419e34
push str.GDI____.
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10
push esi
mov esi, dword [0x4236b8]
lea eax, [ebp - 0x54]
push edi
xorps xmm0, xmm0
mov dword [ebp - 0x54], 0x419df4
add esi, 0x10
mov dword [ebp - 0x40], 0
push esi
movdqu xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x3c], 0
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [0x423760]
mov dword [ebp - 4], eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 4]
push eax
call fcn.00404000
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push dword [ebp + 0x10]
lea ecx, [ebp + 8]
call fcn.00401160
lea ecx, [ebp + 8]
call fcn.00402f10
lea ecx, [ebp - 0x94]
call fcn.00401200
mov esi, dword [ebp + 8]
cmp dword [esi - 0xc], 0
jl 0x407045
push 0x419e70
push esi
call fcn.00409e33
add esp, 8
test eax, eax
je 0x40701d
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
jg 0x40703e
cmp dword [esi - 0xc], 0
jl 0x407045
push 0x419e78
push esi
call fcn.00409e33
add esp, 8
test eax, eax
je 0x407045
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
jle 0x407045
mov dword [ebp - 0x64], 1
push 0
push 0
lea ecx, [ebp - 0x94]
call fcn.00404ae0
push dword [ebp + 0x14]
push dword [ebp - 0x90]
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [ebp - 0x54]
call fcn.004062b0
push dword [ebp - 0xc]
mov edi, eax
call sub.gdiplus.dll_GdiplusShutdown
mov ecx, 0x42372c
call fcn.004061e0
mov ecx, 0x42372c
call fcn.004065d0
call dword [sym.imp.ole32.dll_CoUninitialize]
lea ecx, [ebp - 0x94]
call fcn.00401290
add esi, 0xfffffff0
or ecx, 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4070b4
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x4070cb
push eax
call fcn.0040ad97
add esp, 4
mov dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
test eax, eax
je 0x4070e9
push eax
call fcn.0040ad97
add esp, 4
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4076b0
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x4076e3
cmp word [esi], 0
je 0x4076e3
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4076e3
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret

Function at 0x4076f0
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
push edi
cmp dword [eax - 0xc], 0
je 0x407725
cmp dword [ebp + 0xc], 0
mov edx, 0x80000002
mov ecx, 0x80000001
cmovne ecx, edx
push eax
push ecx
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
test eax, eax
mov eax, dword [ebp + 8]
jne 0x407725
mov esi, 1
jmp 0x407727
xor esi, esi
lea edi, [eax - 0x10]
or ecx, 0xffffffff
lea eax, [edi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x407741
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
pop edi
mov eax, esi
pop esi
pop ebp
ret

Function at 0x407750
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
cmp dword [eax - 0xc], 0
je 0x4077ae
cmp dword [ebp + 0x10], 0
mov edx, 0x80000002
mov ecx, 0x80000001
cmovne ecx, edx
lea edx, [ebp - 4]
push edx
push 0xf003f
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4077ab
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
jne 0x4077ab
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 8]
mov esi, 1
jmp 0x4077b0
mov eax, dword [ebp + 8]
xor esi, esi
lea edx, [eax - 0x10]
or edi, 0xffffffff
lea ecx, [edx + 0xc]
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x4077cc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [ebp + 0xc]
add ebx, 0xfffffff0
lea eax, [ebx + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x4077e6
mov ecx, dword [ebx]
push ebx
mov edx, dword [ecx]
call dword [edx + 4]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret