joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401ed0
Capabilities:
Check if file exists
Get disk size

Disassembly:
push 0xffffffffffffffff
push 0x44a750
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov eax, dword [0x45b030]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x3c]
mov eax, dword [0x45e5d0]
mov edx, dword [eax + 0xc]
mov ecx, 0x45e5d0
call edx
add eax, 0x10
mov dword [esp + 0x3c], eax
lea ebx, [ebp + 0x2ac]
lea esi, [esp + 0x3c]
mov dword [esp + 0x34], 0
call fcn.00402fd0
mov esi, dword [esp + 0x3c]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov eax, dword [ebp + 0x38c]
lea edx, [ebp + 0x388]
mov ecx, eax
mov ebx, 1
and ecx, ebx
je 0x401f64
mov ecx, dword [edx + 0x1c]
and eax, 0xfffffffe
mov dword [edx + 4], eax
test ecx, ecx
je 0x401f64
mov eax, dword [ecx]
push 0
push ebx
push 0
push edx
mov edx, dword [eax + 0x28]
call edx
mov eax, dword [ebp + 0x1d8]
lea edx, [ebp + 0x1d4]
mov ecx, eax
and ecx, ebx
je 0x401f90
mov ecx, dword [edx + 0x1c]
and eax, 0xfffffffe
mov dword [edx + 4], eax
test ecx, ecx
je 0x401f90
mov eax, dword [ecx]
push 0
push ebx
push 0
push edx
mov edx, dword [eax + 0x28]
call edx
cmp dword [esi - 0xc], 3
jl 0x402024
cmp dword [esi - 4], ebx
jle 0x401fb1
mov eax, dword [esi - 0xc]
push eax
lea ecx, [esp + 0x40]
push ecx
call fcn.00403780
mov esi, dword [esp + 0x3c]
xor edx, edx
push edx
push edx
lea eax, [esp + 0x24]
push eax
push esi
mov word [esi + 6], dx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x402024
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
push ecx
push edx
lea eax, [esp + 0x20]
push eax
call fcn.00422be0
add esp, 0xc
mov byte [esp + 0x34], bl
mov ecx, dword [eax]
push ecx
push 0x7e5
push 0x450140
lea edi, [esp + 0x48]
call fcn.004030d0
mov byte [esp + 0x40], 0
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
add esp, 0xc
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40203a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x40203a
push 0x7e5
push 0x4501cc
lea edi, [esp + 0x44]
call fcn.004030d0
add esp, 8
mov esi, dword [esp + 0x3c]
push esi
add ebp, 0x258
push ebp
call fcn.00403c10
lea eax, [esi - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov dword [esp + 0x34], edx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40206b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 4
Function at 0x402fd0
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword [ebx]
push edi
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
mov eax, dword [esi]
mov edx, dword [eax - 8]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
sub edx, edi
or ecx, edx
jge 0x402ffc
mov ecx, edi
mov eax, esi
call fcn.00403830
mov eax, dword [esi]
push edi
push eax
mov eax, dword [ebx]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x403023
mov eax, dword [esi]
mov ecx, dword [eax - 8]
test eax, eax
je 0x403027
push ecx
push eax
call fcn.00431b55
add esp, 8
test eax, eax
jl 0x40303d
mov ecx, dword [esi]
cmp eax, dword [ecx - 8]
jg 0x40303d
mov dword [ecx - 0xc], eax
mov ecx, dword [esi]
xor edx, edx
mov word [ecx + eax*2], dx
mov eax, edi
pop edi
ret
push 0x80070057
call fcn.004070e0
int3

Function at 0x4032e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push edi
push ebx
push ebp
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x4032f7
pop edi
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x403328
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, esi
and edi, 0xf
jbe 0x403324
cmp esi, eax
jae 0x403328
sub edi, 1
movzx ecx, word [esi]
lea esi, [esi + ecx*2 + 2]
jne 0x403314
cmp esi, eax
jb 0x40332e
pop esi
pop edi
xor eax, eax
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebp
ret
Function at 0x406190
Capabilities:
Create process on windows

Disassembly:
sub esp, 0xc
push esi
mov esi, ecx
mov eax, dword [esi + 0x50]
cmp eax, 0xffffffff
je 0x406256
mov dword [esi + 0x50], 0xffffffff
test eax, eax
jl 0x4062ea
cmp eax, dword [esi + 0x30]
jge 0x4062ea
mov ecx, dword [esi + 0x1c]
push edi
test ecx, ecx
je 0x4061db
mov edx, dword [ecx]
mov edx, dword [edx + 0x28]
lea edi, [eax + 1]
push edi
mov edi, dword [esi + 0x2c]
shl eax, 5
push 0
lea eax, [eax + edi + 4]
push eax
push esi
call edx
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x406255
test eax, eax
jl 0x4062d9
cmp eax, dword [esi + 0x30]
jge 0x4062d9
mov ecx, dword [esi + 0x2c]
shl eax, 5
mov edi, dword [eax + ecx + 0x1c]
push 7
push str.button:
push edi
call fcn.0043188a
add esp, 0xc
test eax, eax
jne 0x40625b
add edi, 0xe
cmp word [edi], 0x30
jne 0x406237
movzx eax, word [edi + 2]
cmp ax, 0x78
je 0x40622b
cmp ax, 0x58
jne 0x406237
push 0x10
lea edx, [esp + 0x14]
push edx
add edi, 4
jmp 0x40623e
push 0xa
lea eax, [esp + 0x14]
push eax
push edi
call fcn.00431b2a
mov ecx, dword [esi + 0x1c]
mov edx, dword [ecx]
add esp, 0xc
push eax
mov eax, dword [edx + 0x14]
push 0
push esi
call eax
pop edi
pop esi
add esp, 0xc
ret
push 4
push str.msg:
push edi
call fcn.0043188a
add esp, 0xc
test eax, eax
jne 0x4062bf
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
lea eax, [esp + 0x18]
push eax
push str._u__u__u
add edi, 8
push edi
call fcn.004316f7
add esp, 0x14
cmp eax, 3
jne 0x406255
mov eax, dword [esp + 8]
mov ecx, dword [esi + 0x1c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x10]
push eax
mov eax, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x18]
push eax
call edx
pop edi
pop esi
add esp, 0xc
ret
push 1
push 0
push 0
push edi
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop edi
pop esi
add esp, 0xc
ret
push 0
push 0
push 1
push 0xc000008c
call dword [sym.imp.KERNEL32.dll_RaiseException]
push 0
push 0
push 1
push 0xc000008c
call dword [sym.imp.KERNEL32.dll_RaiseException]
Function at 0x406900
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x449eab
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x45b030]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
xor edi, edi
xor eax, eax
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi], vtable.CSomTextWnd.0
mov eax, dword [0x45e5d0]
mov edx, dword [eax + 0xc]
mov ecx, 0x45e5d0
call edx
add eax, 0x10
mov dword [esi + 0x28], eax
mov dword [esp + 0x14], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov byte [esp + 0x14], 2
or eax, 0xffffffff
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], eax
mov eax, dword [0x45f224]
mov dword [esi + 0x40], 0x984e00
mov dword [esi + 0x44], 0xda7003
mov ecx, dword [eax + 8]
mov dword [esi + 0x38], ecx
mov edx, dword [esi]
mov eax, dword [edx + 0x60]
mov ecx, esi
call eax
cmp dword [esi + 0x3c], edi
je 0x4069bd
mov ecx, dword [esi + 0x1c]
mov dword [esi + 0x3c], edi
cmp ecx, edi
je 0x4069bd
mov edx, dword [ecx]
mov eax, dword [edx + 0x28]
push edi
push edi
push edi
push esi
call eax
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4
Function at 0x40ad80
Capabilities:
Hide graphical window

Disassembly:
cmp dword [esp + 4], 0
je 0x40ad96
mov eax, dword [ecx + 0x54]
push 1
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
ret 4
mov ecx, dword [ecx + 0x54]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
ret 4
Function at 0x40c9e0
Capabilities:
Hide graphical window

Disassembly:
push ecx
cmp dword [esp + 0x1c], 0
push ebx
push ebp
push esi
push edi
mov esi, ecx
jne 0x40cb2b
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
mov ebp, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
push edi
push eax
mov eax, dword [esp + 0x20]
lea ebx, [esi + 0x2c]
push ebx
mov ecx, ebp
call fcn.0040be70
test eax, eax
jne 0x40ca59
mov eax, dword [esp + 0x1c]
cmp eax, 0x201
jne 0x40ca66
mov ecx, dword [esi + 4]
push 0
push 0xf012
push 0x112
push ecx
mov dword [esp + 0x2c], 1
call dword [sym.imp.USER32.dll_SendMessageW]
lea edx, [esp + 0x1c]
push edx
mov eax, ebp
call fcn.0040c130
cmp dword [esp + 0x1c], 0
mov dword [edi], eax
je 0x40cb2b
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x18
cmp eax, 5
jne 0x40caa6
mov ebx, 1
mov dword [esp + 0x1c], ebx
cmp dword [esp + 0x20], ebx
je 0x40ca8e
lea eax, [esp + 0x1c]
push eax
mov eax, ebp
mov ecx, esi
call fcn.0040c2f0
mov ecx, dword [esp + 0x1c]
jmp 0x40ca92
xor ecx, ecx
mov eax, ebx
mov dword [edi], eax
test ecx, ecx
je 0x40cb2b
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x18
cmp eax, 0x110
jne 0x40cac1
push esi
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 1
call fcn.0040c860
jmp 0x40ca4c
cmp eax, 0x111
jne 0x40cb2b
mov eax, dword [esp + 0x20]
mov ecx, 0x403
cmp cx, ax
jne 0x40caf5
mov edx, dword [esi + 4]
push 2
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [edi], 0
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x18
mov ecx, eax
shr ecx, 0x10
xor edx, edx
cmp dx, cx
jne 0x40cb2b
lea ecx, [eax - 1]
cmp cx, 0xa
ja 0x40cb2b
movzx edx, ax
mov eax, dword [esi + 4]
push edx
push eax
call dword [sym.imp.USER32.dll_EndDialog]
mov dword [edi], 0
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x18
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret 0x18

Function at 0x40d470
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
mov eax, 4
mov dword [esp + 4], eax
mov dword [esp + 8], eax
lea eax, [esp + 4]
push eax
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0x10]
push edx
push str.gmmdsf
push str.SOFTWARE360Safe_netmon
push 0x80000002
mov dword [esp + 0x18], 0
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x40d4ba
mov eax, 1
cmp dword [esp], eax
je 0x40d4bc
xor eax, eax
add esp, 0xc
ret
Function at 0x40ee60
Capabilities:
Hide graphical window

Disassembly:
push ecx
push esi
mov esi, ecx
cmp eax, 0x168
jne 0x40ee80
cmp dword [esp + 0xc], eax
jne 0x40ef65
mov eax, dword [esi + 4]
push 0
push eax
jmp 0x40ef9a
cmp eax, 1
jne 0x40ef65
mov ecx, dword [esi + 4]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [0x45f238], 0
je 0x40ef0b
cmp dword [0x4604c0], 0
jbe 0x40eef0
push 3
call fcn.00411460
add esp, 4
cmp dword [0x45f23c], 0
je 0x40eed5
push 8
call fcn.00411460
add esp, 4
call fcn.0041a590
call fcn.0041a590
xor eax, eax
pop esi
pop ecx
ret 4
push 7
call fcn.00411460
add esp, 4
call fcn.0041a590
call fcn.0041a590
xor eax, eax
pop esi
pop ecx
ret 4
push 2
call fcn.00411460
add esp, 4
call fcn.0041a590
call fcn.0041a590
xor eax, eax
pop esi
pop ecx
ret 4
mov esi, dword [esi + 0x12bc]
cmp esi, 2
jne 0x40ef3b
push 1
call fcn.00411460
add esp, 4
push 5
call fcn.00411460
add esp, 4
call fcn.0041a590
call fcn.0041a590
xor eax, eax
pop esi
pop ecx
ret 4
cmp esi, 3
jne 0x40efa0
push 1
call fcn.00411460
add esp, 4
push 6
call fcn.00411460
add esp, 4
call fcn.0041a590
call fcn.0041a590
xor eax, eax
pop esi
pop ecx
ret 4
cmp dword [0x45f234], 0
push 0
je 0x40ef96
mov edx, dword [esi + 0xef8]
mov eax, dword [edx + 4]
push 0x3f1
push 0x111
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
call fcn.0041a590
xor eax, eax
pop esi
pop ecx
ret 4
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.0041a590
call fcn.0041a590
xor eax, eax
pop esi
pop ecx
ret 4

Function at 0x40f6f0
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x44b9bb
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
mov eax, dword [0x45b030]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
cmp dword [edi + 0x12b0], 0
mov esi, 1
je 0x40f72f
call fcn.0040d470
mov esi, eax
neg esi
sbb esi, esi
inc esi
call fcn.0040d4c0
test eax, eax
jne 0x40f814
test esi, esi
je 0x40f814
cmp dword [edi + 0xefc], eax
jne 0x40f7c3
push 0x378
call fcn.0043154a
add esp, 4
mov dword [esp + 0xc], eax
mov dword [esp + 0x28], 0
test eax, eax
je 0x40f771
push eax
call fcn.0040f830
jmp 0x40f773
xor eax, eax
mov dword [esp + 0x28], 0xffffffff
mov ebx, dword [sym.imp.USER32.dll_LockSetForegroundWindow]
push 1
mov dword [edi + 0xefc], eax
call ebx
mov ecx, dword [edi + 4]
mov esi, dword [edi + 0xefc]
lea eax, [esp + 0x10]
push eax
push ecx
mov dword [esp + 0x18], 6
mov dword [esp + 0x1c], 0x1b
mov dword [esp + 0x20], 0x2b8
mov dword [esp + 0x24], 0x1d4
call fcn.004150d0
push 2
call ebx
cmp dword [edi + 0x12ac], 0
lea eax, [edi + 0xf04]
je 0x40f7e5
push eax
push 2
mov dword [eax + 0x3a8], 0
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
mov edx, dword [edi + 4]
push 5
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [edi + 4]
push 0x3ea
push eax
mov dword [edi + 0x12b0], 0
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, dword [edi + 4]
push ecx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
xor eax, eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x20
ret
Function at 0x40fd60
Capabilities:
Hide graphical window

Disassembly:
push ecx
push esi
push edi
mov edi, eax
push 0
call fcn.00410b80
cmp dword [0x45f234], 0
je 0x40fd8e
cmp dword [0x45f230], 0
jne 0x40fd8e
lea esi, [edi + 0xf04]
mov eax, 0x4508f8
call fcn.0042ebf0
mov eax, dword [edi + 0x12b8]
lea esi, [edi + 0x12b8]
sub eax, 0x10
cmp dword [eax + 0xc], 1
jle 0x40fdad
mov eax, dword [eax + 4]
push eax
push esi
call fcn.00403780
mov eax, dword [esi]
lea esi, [edi + 0xf04]
mov dword [esi + 0xc], 4
test eax, eax
jne 0x40fdc5
mov eax, 0x4502f8
push eax
lea ecx, [esi + 0x18]
push 0x80
push ecx
call fcn.004328fc
add esp, 0xc
push esi
push 1
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
mov edx, dword [edi + 4]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
xor eax, eax
pop esi
pop ecx
ret
Function at 0x40fe70
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x44c00b
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
push edi
mov eax, dword [0x45b030]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 0xf00]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
je 0x40feac
push 0
push eax
call esi
mov eax, dword [esp + 0x34]
dec eax
mov dword [esp + 0x10], 6
mov dword [esp + 0x14], 0x1b
mov dword [esp + 0x18], 0x2b8
mov dword [esp + 0x1c], 0x1d4
cmp eax, 4
ja case.default.0x40feda
jmp dword [eax*4 + 0x410078]
mov eax, dword [edi + 4]
mov dword [edi + 0x12bc], 1
push eax
add edi, 0x290
call fcn.00402cd0
jmp case.default.0x40feda
mov ecx, dword [edi + 0x5bc]
push ecx
mov dword [edi + 0x12bc], 2
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x40ff3f
mov eax, dword [edi + 4]
lea edx, [esp + 0x10]
push edx
push eax
lea esi, [edi + 0x5b8]
call fcn.0041fe50
mov edx, dword [edi + 0x5bc]
mov dword [edi + 0xf00], edx
jmp case.default.0x40feda
mov ecx, dword [edi + 0x5bc]
push 5
push ecx
call esi
mov edx, dword [edi + 0x5bc]
mov dword [edi + 0xf00], edx
jmp case.default.0x40feda
mov eax, dword [edi + 0xa94]
push eax
mov dword [edi + 0x12bc], 3
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x40ff9b
mov edx, dword [edi + 4]
lea ecx, [esp + 0x10]
push ecx
push edx
lea esi, [edi + 0xa90]
call fcn.00422ea0
mov ecx, dword [edi + 0xa94]
mov dword [edi + 0xf00], ecx
jmp case.default.0x40feda
mov eax, dword [edi + 0xa94]
push 5
push eax
call esi
mov ecx, dword [edi + 0xa94]
mov dword [edi + 0xf00], ecx
jmp case.default.0x40feda
mov eax, dword [edi + 0xef8]
mov dword [edi + 0x12bc], 4
test eax, eax
jne 0x410021
push 0x5c0
call fcn.0043154a
add esp, 4
mov dword [esp + 0x34], eax
mov dword [esp + 0x2c], 0
test eax, eax
je 0x40fff0
push eax
call fcn.00410090
jmp 0x40fff2
xor eax, eax
mov dword [esp + 0x2c], 0xffffffff
mov ecx, dword [edi + 4]
lea edx, [esp + 0x10]
push edx
push ecx
mov esi, eax
mov dword [edi + 0xef8], eax
call fcn.0041a6c0
mov eax, dword [edi + 0xef8]
mov ecx, dword [eax + 4]
mov dword [edi + 0xf00], ecx
jmp case.default.0x40feda
mov edx, dword [eax + 4]
push 5
push edx
call esi
mov eax, dword [edi + 0xef8]
mov ecx, dword [eax + 4]
mov dword [edi + 0xf00], ecx
jmp case.default.0x40feda
mov edx, dword [edi + 4]
push 0
push 0x3e8
push 0x3ea
push edx
mov dword [edi + 0x12bc], 5
call dword [sym.imp.USER32.dll_SetTimer]
call fcn.0040f6f0
xor eax, eax
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x24
ret 4
Function at 0x410b10
Capabilities:
Hide graphical window

Disassembly:
push ecx
movzx eax, ax
sub eax, 0x7d5
je 0x410b39
sub eax, 1
jne 0x410b7b
push eax
mov eax, dword [esi + 4]
push 0x7d3
push 0x111
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
xor eax, eax
pop ecx
ret
cmp dword [esi + 0x12ac], 0
lea eax, [esi + 0xf04]
je 0x410b5b
push eax
push 2
mov dword [eax + 0x3a8], 0
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
mov ecx, dword [esi + 4]
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi + 4]
push edx
mov dword [esi + 0x12b0], 0
call dword [sym.imp.USER32.dll_SetForegroundWindow]
xor eax, eax
pop ecx
ret

Function at 0x410b80
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x449488
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
mov eax, dword [0x45b030]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
cmp dword [esp + 0x34], 0
je 0x410bf6
cmp dword [edi + 0x12ac], 0
lea eax, [edi + 0xf04]
je 0x410bcd
push eax
push 2
mov dword [eax + 0x3a8], 0
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
mov eax, dword [edi + 4]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [edi + 0x12b0], 0
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x28
ret 4
cmp dword [0x4604c8], 0
je 0x410c3c
cmp dword [0x45f234], 0
je 0x410c3c
lea esi, [esp + 0xc]
call fcn.00411bc0
mov dword [esp + 0x2c], 0
mov eax, dword [eax]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x14]
push 8
push str.http:__softm.360safe.com_stat__typeonekeyactiononekey_clicksub_d
push eax
call edx
add esp, 0xc
mov ecx, esi
mov dword [esp + 0x2c], 0xffffffff
call fcn.00411b90
cmp dword [edi + 0x12ac], 0
mov eax, dword [edi + 0x28c]
mov ecx, dword [edi + 4]
lea esi, [edi + 0xf04]
jne 0x410c84
push esi
push 0
mov dword [esi], 0x3a8
mov dword [esi + 4], ecx
mov dword [esi + 8], 0x7d4
mov dword [esi + 0xc], 3
mov dword [esi + 0x10], 0x8005
mov dword [esi + 0x14], eax
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
mov dword [esi + 0x3a8], eax
mov dword [edi + 0x12b0], 1
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x28
ret 4

Function at 0x411d80
Capabilities:
Hide graphical window

Disassembly:
cmp dword [esp + 4], 0
je 0x411d96
mov eax, dword [ecx + 8]
push 1
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
ret 4
mov ecx, dword [ecx + 8]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
ret 4
Function at 0x413b90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x44b538
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x45b030]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
xor ebp, ebp
mov dword [esp + 0x30], ebp
mov edi, dword [esi + 0x10]
mov ebx, dword [esi + 0xc]
mov ecx, edi
sub ecx, ebx
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
jae 0x413c18
cmp ebx, edi
jbe 0x413be8
call fcn.00431380
mov eax, dword [esi]
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
push edi
push eax
lea eax, [esp + 0x40]
push eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, 1
sub edx, ecx
push edx
push esi
call fcn.00413500
jmp 0x413c83
jbe 0x413c83
cmp ebx, edi
jbe 0x413c23
call fcn.00431380
mov ebp, dword [esi + 0xc]
mov eax, dword [esi]
mov dword [esp + 0x20], eax
cmp ebp, dword [esi + 0x10]
jbe 0x413c36
call fcn.00431380
mov ebx, dword [esi]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebp
test ebx, ebx
jne 0x413c5b
call fcn.00431380
xor eax, eax
add ebp, 0x18
cmp ebp, dword [eax + 0x10]
ja 0x413c66
test ebx, ebx
je 0x413c5f
mov ebx, dword [ebx]
jmp 0x413c61
mov eax, dword [ebx]
jmp 0x413c4b
xor ebx, ebx
cmp ebp, dword [ebx + 0xc]
jae 0x413c6b
call fcn.00431380
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
push edi
push ecx
push ebp
push edx
lea eax, [esp + 0x30]
push eax
call fcn.00413b00
xor ebp, ebp
mov eax, dword [esp + 0x44]
cmp eax, ebp
je 0x413c94
push eax
call fcn.004307d4
add esp, 4
mov ecx, dword [esp + 0x38]
push ecx
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x50], ebp
call fcn.004307d4
add esp, 4
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 0x18
Function at 0x415860
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4499c8
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push esi
push edi
mov eax, dword [0x45b030]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
xor edi, edi
cmp dword [0x4604c8], edi
je 0x4158bf
lea esi, [esp + 0x14]
call fcn.00411bc0
mov dword [esp + 0x40], edi
mov eax, dword [eax]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x14]
push 9
push str.http:__softm.360safe.com_stat__typeonekeyactiononekey_clicksub_d
push eax
call edx
add esp, 0xc
mov ecx, esi
mov dword [esp + 0x40], 0xffffffff
call fcn.00411b90
mov dword [esp + 0x10], edi
lea esi, [esp + 0x24]
mov dword [esp + 0x40], 1
call fcn.004030f0
mov byte [esp + 0x40], 2
mov esi, dword [eax]
mov eax, dword [esp + 0x10]
cmp eax, edi
je 0x4158ef
mov dword [esp + 0x10], edi
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + 0x14], edi
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
push str.OneKeyInstall_setupdir
push esi
call edx
lea ecx, [esp + 0x24]
mov esi, eax
mov byte [esp + 0x40], 1
call fcn.00411b90
cmp esi, edi
je 0x415941
mov eax, dword [esp + 0x10]
cmp eax, edi
je 0x41592b
mov ecx, dword [eax]
mov edx, dword [ecx + 0x28]
push eax
call edx
jmp 0x415930
mov eax, 0x4502f8
push 1
push edi
push edi
push eax
push str.open
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [esp + 0x40], 0xffffffff
mov eax, dword [esp + 0x10]
cmp eax, edi
je 0x415959
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
xor eax, eax
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x38
ret
Function at 0x417cd0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
mov eax, dword [0x45e5d0]
mov edx, dword [eax + 0xc]
push edi
mov ecx, 0x45e5d0
call edx
mov edi, eax
lea eax, [esp + 4]
push eax
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x14]
push edx
push str.InstallDate
push str.SOFTWAREMicrosoftWindows_NTCurrentVersion
push 0x80000002
add edi, 0x10
mov dword [esp + 0x1c], 4
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x417d6c
push esi
push eax
call fcn.004323fe
mov ecx, eax
sub ecx, dword [esp + 0x10]
mov eax, 0x88888889
mul ecx
shr edx, 5
mov eax, 0x88888889
mul edx
shr edx, 5
mov eax, 0xaaaaaaab
mul edx
mov esi, edx
lea eax, [edi - 0x10]
add esp, 4
shr esi, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417d64
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
pop esi
pop edi
add esp, 0xc
ret
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417d88
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
pop edi
add esp, 0xc
ret