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

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [eax + 4]
sub eax, 0xd7b2
cmp eax, 1
ja 0x404b27
push 0
mov eax, esp
push 0
push eax
push dword [ebx + 8]
push edx
push dword [ebx]
call sub.kernel32.dll_WriteFile
pop edx
dec eax
jne 0x404b1b
cmp edx, dword [ebx + 8]
jne 0x404b2e
mov eax, ebx
pop ebx
ret
call sub.kernel32.dll_GetLastError
call fcn.0040263c
jmp 0x404b17
mov eax, 5
jmp 0x404b20
mov eax, 0x65
jmp 0x404b20

Function at 0x406e88
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x406ec1
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403328
jmp 0x406eca
mov eax, ebx
mov edx, esi
call fcn.004032dc
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x406ed4
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x406ef5
mov al, byte [esp]
jmp 0x406ef7
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40c4d0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40c561
push dword fs:[eax]
mov dword fs:[eax], esp
mov al, byte [ebp + 8]
call fcn.0040c13c
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.00403600
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x40c54b
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
lea edx, [ebp - 0x10]
mov eax, dword [0x40e3ac]
call fcn.0040457c
mov ecx, dword [ebp - 0x10]
mov dl, 1
mov eax, dword [0x40bff4]
call fcn.004075d4
call fcn.00402cd0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c568
lea eax, [ebp - 0x10]
call fcn.00403244
ret
Function at 0x40c574
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40c60f
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00403600
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x40c5e9
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
lea edx, [ebp - 0x10]
mov eax, dword [0x40e474]
call fcn.0040457c
mov ecx, dword [ebp - 0x10]
mov dl, 1
mov eax, dword [0x40bff4]
call fcn.004075d4
call fcn.00402cd0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0040c16c
mov edx, dword [ebp + 8]
mov byte [edx], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c616
lea eax, [ebp - 0x10]
call fcn.00403244
ret

Function at 0x40ce04
Capabilities:
Log keystrokes via application hook

Disassembly:
xor eax, eax
cmp dword [0x40f7ac], 0
jne 0x40ce38
push 0
mov eax, dword [0x40e3b4]
mov eax, dword [eax]
push eax
push 0x40c69c
push 2
call sub.user32.dll_SetWindowsHookExA
mov dword [0x40f7ac], eax
cmp dword [0x40f7ac], 0
setne al
neg al
sbb eax, eax
ret

Function at 0x40cf6c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeac
xor eax, eax
mov dword [ebp - 0x150], eax
mov dword [ebp - 0x154], eax
mov eax, 0x40cef4
call fcn.004054f8
xor eax, eax
push ebp
push 0x40d187
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x40e2dc]
xor edx, edx
mov dword [eax], edx
xor eax, eax
push ebp
push 0x40d0db
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x40c054]
call fcn.0040c194
mov dword [0x40f7b8], eax
mov edx, 0x80000001
mov eax, dword [0x40f7b8]
call fcn.0040c22c
mov cl, 1
mov edx, 0x40d19c
mov eax, dword [0x40f7b8]
call fcn.0040c290
mov edx, 0x40d1bc
mov eax, dword [0x40f7b8]
call fcn.0040c624
test al, al
je 0x40d046
lea ecx, [ebp - 0x154]
mov edx, 0x40d1bc
mov eax, dword [0x40f7b8]
call fcn.0040c458
mov eax, dword [ebp - 0x154]
lea edx, [ebp - 0x150]
call fcn.004064cc
mov edx, dword [ebp - 0x150]
lea eax, [ebp - 0x14c]
mov ecx, 0xff
call fcn.0040349c
lea edx, [ebp - 0x14c]
mov eax, dword [0x40e3fc]
mov cl, 0x1e
call fcn.004026cc
jmp 0x40d0c3
push 0x90
push 0x40f7bc
call sub.kernel32.dll_GetSystemDirectoryA
lea edx, [ebp - 0x150]
mov eax, 0x40f7bc
call fcn.00406868
lea eax, [ebp - 0x150]
mov edx, 0x40d1d0
call fcn.004034c8
mov edx, dword [ebp - 0x150]
lea eax, [ebp - 0x14c]
mov ecx, 0xff
call fcn.0040349c
lea edx, [ebp - 0x14c]
mov eax, dword [0x40e3fc]
mov cl, 0x1e
call fcn.004026cc
lea eax, [ebp - 0x150]
mov edx, dword [0x40e3fc]
call fcn.00403464
mov ecx, dword [ebp - 0x150]
mov edx, 0x40d1e4
mov eax, dword [0x40f7b8]
call fcn.0040c42c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d0e2
mov eax, dword [0x40f7b8]
call fcn.00402970
ret
Function at 0x401ded
Capabilities:
Get common file path

Disassembly:
mov eax, 0x40ab2a
call fcn.00408f80
sub esp, 0x434
push ebx
push esi
push edi
xor ebx, ebx
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x43e]
mov word [ebp - 0x440], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x410b20
push str._sSandBox360SEBox_
lea eax, [ebp - 0x440]
push 0x103
push eax
call dword [0x40b218]
lea eax, [ebp - 0x440]
push ebx
push eax
call fcn.004084f1
mov al, byte [ebp - 0xd]
add esp, 0x18
lea ecx, [ebp - 0x20]
mov byte [ebp - 0x20], al
push ebx
call dword [0x40b194]
mov esi, dword [0x40b23c]
mov edi, 0x410918
push edi
call esi
pop ecx
push eax
push edi
lea ecx, [ebp - 0x20]
call dword [0x40b190]
push 2
lea eax, [ebp - 0x30]
push ebx
push eax
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], ebx
call dword [0x40b18c]
mov ecx, dword [0x40b188]
mov byte [ebp - 4], 1
push dword [ecx]
lea ecx, [ebp - 0x20]
push ebx
push eax
call dword [0x40b184]
push 1
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], bl
call dword [0x40b194]
mov edi, str.360SANDBOXSHADOW
push edi
call esi
pop ecx
push eax
push edi
lea ecx, [ebp - 0x20]
call dword [0x40b180]
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x236]
mov word [ebp - 0x238], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 1
lea eax, [ebp - 0x238]
push 0x1a
push eax
push ebx
call dword [0x40b2a4]
lea eax, [ebp - 0x238]
push str.360SE_
push eax
call dword [0x40b21c]
lea eax, [ebp - 0x234]
push eax
call esi
add esp, 0xc
lea ecx, [ebp - 0x20]
push eax
lea eax, [ebp - 0x234]
push eax
call dword [0x40b180]
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
jne 0x401f21
mov eax, dword [0x40b17c]
push ebx
push eax
call fcn.004084f1
or dword [ebp - 4], 0xffffffff
pop ecx
pop ecx
push 1
lea ecx, [ebp - 0x20]
call dword [0x40b194]
mov ecx, dword [ebp - 0xc]
push 1
pop eax
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x403470
Capabilities:
Get common file path

Disassembly:
mov eax, 0x40ab7e
call fcn.00408f80
sub esp, 0x22c
push ebx
push esi
push edi
xor ebx, ebx
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x236]
mov word [ebp - 0x238], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 1
lea eax, [ebp - 0x238]
push 0x1a
push eax
push ebx
call dword [0x40b2a4]
mov al, byte [ebp - 0xd]
push ebx
lea ecx, [ebp - 0x20]
mov byte [ebp - 0x20], al
call dword [0x40b194]
mov esi, dword [0x40b23c]
lea eax, [ebp - 0x238]
push eax
call esi
pop ecx
push eax
lea eax, [ebp - 0x238]
push eax
lea ecx, [ebp - 0x20]
call dword [0x40b190]
mov edi, str.360se360se.ini
mov dword [ebp - 4], ebx
push edi
call esi
pop ecx
push eax
push edi
lea ecx, [ebp - 0x20]
call dword [0x40b180]
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
jne 0x403503
mov eax, dword [0x40b17c]
mov edi, dword [0x40b040]
push eax
push ebx
mov ebx, str.option
push str.IE6Mode
push ebx
call edi
cmp eax, 1
jne 0x40358e
mov al, byte [ebp - 0xd]
push 0
lea ecx, [ebp - 0x30]
mov byte [ebp - 0x30], al
call dword [0x40b194]
lea eax, [ebp - 0x238]
push eax
call esi
pop ecx
push eax
lea eax, [ebp - 0x238]
push eax
lea ecx, [ebp - 0x30]
call dword [0x40b190]
push str.360se360seie6.ini
mov byte [ebp - 4], 1
call esi
pop ecx
push eax
push str.360se360seie6.ini
lea ecx, [ebp - 0x30]
call dword [0x40b180]
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x403570
mov eax, dword [0x40b17c]
push eax
push 0
push str.NotJoinPrivate
push ebx
call edi
and byte [ebp - 4], 0
push 1
lea ecx, [ebp - 0x30]
mov esi, eax
call dword [0x40b194]
jmp 0x4035a7
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x40359a
mov eax, dword [0x40b17c]
push eax
push 0
push str.NotJoinPrivate
push ebx
call edi
mov esi, eax
xor eax, eax
cmp esi, 1
setne al
or dword [ebp - 4], 0xffffffff
push 1
lea ecx, [ebp - 0x20]
mov esi, eax
call dword [0x40b194]
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x4037ca
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
push dword [esi + 0x10]
call dword [0x40b074]
test eax, eax
je 0x40380f
lea eax, [esi + 8]
push eax
push 4
push esi
push 0x403d5d
push 0
push 0
call dword [0x40b20c]
add esp, 0x18
mov dword [esi + 4], eax
test eax, eax
je 0x40380f
push eax
call dword [0x40b070]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
test eax, eax
jne 0x403813
xor eax, eax
pop esi
ret
push 1
pop eax
pop esi
ret
Function at 0x40496a
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4008
call fcn.00408f40
and word [ebp - 0x4008], 0
push edi
mov ecx, 0xfff
xor eax, eax
lea edi, [ebp - 0x4006]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call fcn.004091b2
test eax, eax
je 0x404a19
cmp eax, 0x3fff
ja 0x404a19
lea ecx, [ebp - 0x4008]
push ecx
push eax
push 0
push dword [ebp + 8]
call fcn.004091ac
test eax, eax
je 0x404a19
lea eax, [ebp - 4]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x4008]
push 0x40e7ec
push eax
call fcn.004091a6
test eax, eax
je 0x404a19
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
movzx ecx, word [eax + 0xc]
push ecx
mov ecx, dword [eax + 0xc]
shr ecx, 0x10
push ecx
movzx ecx, word [eax + 8]
mov eax, dword [eax + 8]
push ecx
shr eax, 0x10
push eax
push 0x40eb40
push esi
push edi
call dword [0x40b218]
add esp, 0x1c
and word [edi + esi*2 - 2], 0
push 1
pop eax
pop esi
jmp 0x404a1b
xor eax, eax
pop edi
leave
ret

Function at 0x404d16
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
cmp esi, ebx
je 0x404d35
push ebx
push esi
call dword [0x40b1c4]
pop ecx
test eax, eax
pop ecx
je 0x404d39
xor eax, eax
jmp 0x404d94
push edi
xor eax, eax
lea edi, [ebp - 0xf]
mov byte [ebp - 0x10], bl
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x40eb5c
push esi
stosb byte es:[edi], al
call dword [0x40b1b4]
mov edi, eax
pop ecx
cmp edi, ebx
pop ecx
je 0x404d75
push edi
push 2
lea eax, [ebp - 0x10]
push 1
push eax
call dword [0x40b1c0]
push edi
call dword [0x40b1b0]
add esp, 0x14
lea eax, [ebp - 0x10]
push 0x40eb68
push eax
call dword [0x40b0b4]
test eax, eax
pop edi
jne 0x404d92
push esi
call fcn.004091dc
pop ecx
mov ebx, eax
mov eax, ebx
pop esi
pop ebx
leave
ret

Function at 0x406269
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push esi
push 0x3c
lea eax, [ebp - 0x3c]
push 0
push eax
call fcn.00408f36
mov esi, dword [ebp + 0xc]
push 0x2448
push 0
push esi
call fcn.00408f36
lea eax, [esi + 4]
lea ecx, [esi + 0x1246]
mov dword [ebp - 0x38], eax
lea eax, [esi + 0x44]
mov dword [ebp - 0x2c], eax
lea eax, [esi + 0x246]
mov dword [ebp - 0x10], eax
mov eax, 0x800
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], eax
lea eax, [esi + 0x2346]
add esp, 0x18
mov dword [ebp - 8], ecx
mov dword [ebp - 0x20], eax
mov eax, 0x80
lea ecx, [esi + 0x2246]
push 0
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x34], 0x20
mov dword [ebp - 0x28], 0x100
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], eax
call dword [0x40b0b0]
lea eax, [ebp - 0x3c]
push eax
push dword [ebp + 0x10]
push dword [ebp + 8]
call dword [0x40b23c]
pop ecx
push eax
push dword [ebp + 8]
call dword [0x40b388]
test eax, eax
je 0x406327
mov ax, word [ebp - 0x24]
push 1
mov word [esi + 0x244], ax
mov eax, dword [ebp - 0x30]
mov dword [esi], eax
pop eax
jmp 0x40632f
call dword [0x40b104]
xor eax, eax
pop esi
leave
ret
Function at 0x4072e6
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4f0
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
je 0x40743e
cmp dword [ebp + 0xc], ebx
je 0x40743e
push esi
push 0x64
lea eax, [ebp - 0x7c]
push ebx
push eax
call fcn.00408f36
mov esi, dword [section..rdata]
add esp, 0xc
lea eax, [ebp - 4]
push eax
push 8
push ebx
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionNetworkCards
push 0x80000002
call esi
test eax, eax
jne 0x40741e
mov dword [ebp - 8], ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x14]
push ebx
push eax
lea eax, [ebp - 0x2e8]
mov dword [ebp - 0x14], 0x104
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call dword [0x40b004]
test eax, eax
jne 0x407415
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 0x2e8]
push ebx
push eax
push dword [ebp - 4]
call esi
test eax, eax
jne 0x40740d
lea eax, [ebp - 0x10]
mov dword [ebp - 0x18], 1
push eax
lea eax, [ebp - 0x4f0]
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
push str.ServiceName
mov dword [ebp - 0x10], 0x208
push dword [ebp - 0xc]
call dword [0x40b008]
test eax, eax
jne 0x407404
push 0x64
lea eax, [ebp - 0xe0]
push ebx
push eax
call fcn.00408f36
lea eax, [ebp - 0xe0]
push 0x64
push eax
lea eax, [ebp - 0x4f0]
push eax
call fcn.00407443
add esp, 0x18
test eax, eax
je 0x407404
cmp byte [ebp - 0x7c], bl
je 0x4073f2
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0xe0]
push eax
call dword [0x40b0b4]
test eax, eax
jge 0x407404
lea eax, [ebp - 0xe0]
push eax
lea eax, [ebp - 0x7c]
push 0x64
push eax
call fcn.00406df4
push dword [ebp - 0xc]
call dword [0x40b00c]
inc dword [ebp - 8]
jmp 0x407338
push dword [ebp - 4]
call dword [0x40b00c]
cmp byte [ebp - 0x7c], bl
pop esi
je 0x40743e
lea eax, [ebp - 0x7c]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00406df4
xor ecx, ecx
test eax, eax
setge cl
mov eax, ecx
jmp 0x407440
xor eax, eax
pop ebx
leave
ret
Function at 0x407aa6
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x508
cmp dword [ebp + 8], 0
push esi
je 0x407baf
cmp dword [ebp + 0xc], 0x20
jb 0x407baf
mov esi, 0x400
lea eax, [ebp - 0x508]
push esi
push 0
push eax
mov dword [ebp - 8], 1
mov dword [ebp - 4], esi
call fcn.00408f36
add esp, 0xc
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x508]
push eax
lea eax, [ebp - 8]
push eax
push 0x40ee2c
push str.Software360SafeLiveup
push 0x80000002
call dword [0x40b2b8]
test eax, eax
jne 0x407baf
lea eax, [ebp - 0x508]
push eax
call fcn.00408fa6
cmp eax, 0x40
pop ecx
jne 0x407baf
push edi
lea eax, [ebp - 0x508]
push 0x20
push eax
mov edi, 0x80
lea eax, [ebp - 0x88]
push edi
push eax
call fcn.00407bb4
lea eax, [ebp - 0x4e8]
push eax
lea eax, [ebp - 0x108]
push edi
push eax
call fcn.00406df4
push esi
lea eax, [ebp - 0x508]
push 0
push eax
call fcn.00408f36
lea eax, [ebp - 0x508]
push esi
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.00407910
add esp, 0x18
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x508]
push eax
call dword [0x40b0c8]
test eax, eax
pop edi
jne 0x407baf
lea eax, [ebp - 0x88]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00406df4
neg eax
sbb eax, eax
inc eax
jmp 0x407bb1
xor eax, eax
pop esi
leave
ret

Function at 0x407bfc
Capabilities:
Check if file exists
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push edi
push dword [ebp + 8]
call dword [0x40b2ac]
test eax, eax
je 0x407c90
lea eax, [ebp - 8]
xor ebx, ebx
push eax
mov dword [ebp - 8], ebx
push dword [ebp + 8]
call fcn.004091b2
mov edi, eax
cmp edi, ebx
je 0x407c90
push esi
push edi
mov byte [ebp - 1], bl
call dword [0x40b1d8]
mov esi, eax
pop ecx
cmp esi, ebx
je 0x407c82
push esi
push edi
push ebx
push dword [ebp + 8]
call fcn.004091ac
test eax, eax
je 0x407c82
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], ebx
push eax
lea eax, [ebp + 8]
push eax
push 0x40e7ec
push esi
mov dword [ebp + 8], ebx
call fcn.004091a6
test eax, eax
je 0x407c82
push 0x34
lea eax, [ebp - 0x40]
push dword [ebp + 8]
push eax
call fcn.00408fa0
add esp, 0xc
cmp dword [ebp - 0x40], 0xfeef04bd
sete byte [ebp - 1]
push esi
call dword [0x40b1d4]
cmp byte [ebp - 1], bl
pop ecx
pop esi
jne 0x407c94
xor al, al
jmp 0x407cbe
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp + 0xc]
shr eax, 0x10
mov dword [ecx], eax
mov ecx, dword [ebp + 0x10]
movzx eax, word [ebp - 0x38]
mov dword [ecx], eax
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp + 0x14]
shr eax, 0x10
mov dword [ecx], eax
mov ecx, dword [ebp + 0x18]
movzx eax, word [ebp - 0x34]
mov dword [ecx], eax
mov al, 1
pop edi
pop ebx
leave
ret
Function at 0x407e95
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
and word [ebp - 0x214], 0
push ebx
push esi
push edi
mov ecx, 0x82
xor eax, eax
lea edi, [ebp - 0x212]
mov esi, dword [0x40b2b0]
rep stosd dword es:[edi], eax
lea eax, [ebp - 8]
mov ebx, str.Path
push eax
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 4]
push eax
mov edi, 0x40e028
push ebx
push edi
push 0x80000002
mov dword [ebp - 8], 0x20a
mov dword [ebp - 4], 1
call esi
cmp word [ebp - 0x214], 0
jne 0x407f28
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x20a
push eax
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 4]
push eax
push ebx
push edi
push 0x80000001
mov dword [ebp - 4], 1
call esi
cmp word [ebp - 0x214], 0
je 0x407f79
cmp dword [ebp + 8], 0
je 0x407f4d
lea eax, [ebp - 0x214]
push eax
call dword [0x40b23c]
pop ecx
mov ecx, dword [ebp + 8]
push eax
lea eax, [ebp - 0x214]
push eax
call dword [0x40b190]
push str.360Safe.exe
lea eax, [ebp - 0x214]
push 0x104
push eax
call fcn.00407f80
lea eax, [ebp - 0x214]
push eax
call fcn.00404d98
test eax, eax
pop ecx
je 0x407f79
push 1
pop eax
jmp 0x407f7b
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40811d
Capabilities:
Enumerate process modules

Disassembly:
mov eax, 0x40ae69
call fcn.00408f80
mov eax, 0x1228
call fcn.00408f40
mov al, byte [ebp - 0xd]
push ebx
push esi
xor ebx, ebx
push edi
push ebx
lea ecx, [ebp - 0x28]
mov byte [ebp - 0x28], al
call dword [0x40b194]
lea eax, [ebp - 0x28]
mov dword [ebp - 4], ebx
push eax
call fcn.00407e95
test eax, eax
pop ecx
je 0x408217
mov esi, str._safemon360tray.exe
push esi
call dword [0x40b23c]
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call dword [0x40b180]
mov ecx, 0x3ff
xor eax, eax
lea edi, [ebp - 0x1230]
mov dword [ebp - 0x1234], ebx
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], ebx
push eax
lea eax, [ebp - 0x1234]
push 0x1000
push eax
call fcn.004091a0
test eax, eax
je 0x408217
mov esi, dword [ebp - 0x18]
mov dword [ebp - 0x14], ebx
shr esi, 2
je 0x408217
lea ebx, [ebp - 0x1234]
mov edx, dword [ebx]
test edx, edx
je 0x40820c
and word [ebp - 0x234], 0
mov ecx, 0x82
xor eax, eax
lea edi, [ebp - 0x232]
rep stosd dword es:[edi], eax
push eax
lea eax, [ebp - 0x234]
push 0x104
push eax
push edx
call fcn.00407d5e
add esp, 0x10
test al, al
je 0x40820c
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x4081f8
mov eax, dword [0x40b17c]
lea ecx, [ebp - 0x234]
push ecx
push eax
call dword [0x40b238]
pop ecx
test eax, eax
pop ecx
je 0x408237
inc dword [ebp - 0x14]
add ebx, 4
cmp dword [ebp - 0x14], esi
jb 0x4081b5
or dword [ebp - 4], 0xffffffff
push 1
lea ecx, [ebp - 0x28]
call dword [0x40b194]
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
or dword [ebp - 4], 0xffffffff
push 1
lea ecx, [ebp - 0x28]
call dword [0x40b194]
push 1
pop eax
jmp 0x408228
Function at 0x40824b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 4]
push edi
xor edi, edi
push eax
push 0x20019
push edi
push str.SOFTWARE360Safe_safemon
push 0x80000002
mov dword [ebp - 8], 1
mov dword [ebp - 4], edi
call dword [section..rdata]
test eax, eax
jne 0x4082b6
push 4
pop eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push edi
push str.AppMonAccess
push dword [ebp - 4]
call dword [0x40b008]
test eax, eax
jne 0x4082ad
cmp dword [ebp - 8], 1
sete al
mov edi, eax
push dword [ebp - 4]
call dword [0x40b00c]
mov eax, edi
pop edi
leave
ret

Function at 0x4082bb
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 4]
push esi
xor esi, esi
push eax
push 0x20019
push esi
push str.SOFTWARE360Safe_safemon
push 0x80000002
mov dword [ebp - 8], 1
mov dword [ebp - 4], esi
call dword [section..rdata]
test eax, eax
jne 0x408326
push 4
pop eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
push str.SB_State
push dword [ebp - 4]
call dword [0x40b008]
test eax, eax
jne 0x40831d
cmp dword [ebp - 8], 1
sete al
mov esi, eax
push dword [ebp - 4]
call dword [0x40b00c]
mov eax, esi
pop esi
leave
ret

Function at 0x408685
Capabilities:
Get common file path
Get program files directory

Disassembly:
xor eax, eax
push esi
mov esi, dword [esp + 8]
push eax
push 0x26
push esi
push eax
mov word [esi], ax
call dword [0x40b2a4]
push str.internet_exploreriexplore.exe
push esi
call dword [0x40b21c]
pop ecx
pop ecx
pop esi
ret

Function at 0x4088d5
Capabilities:
Copy file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
xor eax, eax
mov dword [ebp - 0xe], 1
mov dword [ebp - 0xa], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 6], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0xc]
push eax
mov word [ebp - 0x10], 0x214
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], 2
call fcn.00404a47
pop ecx
lea eax, [ebp - 0x20]
push eax
call dword [0x40b29c]
neg eax
sbb eax, eax
inc eax
leave
ret
Function at 0x409524
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
movzx eax, word [ecx + 0x14]
push edi
lea esi, [eax + ecx + 0x18]
cmp ebx, dword [esi + 0xc]
lea edx, [esi + 0xc]
jae 0x409545
mov eax, ebx
jmp 0x409584
movzx edi, word [ecx + 6]
xor eax, eax
test edi, edi
jbe 0x409581
mov dword [ebp + 0xc], edx
lea edx, [eax + 1]
cmp edx, edi
mov dword [ebp - 4], edx
jne 0x409561
mov edx, dword [ecx + 0x50]
jmp 0x409567
mov edx, dword [ebp + 0xc]
mov edx, dword [edx + 0x28]
mov dword [ebp + 0x10], edx
mov edx, dword [ebp + 0xc]
cmp ebx, dword [edx]
jb 0x409576
cmp ebx, dword [ebp + 0x10]
jb 0x409589
mov eax, dword [ebp - 4]
add dword [ebp + 0xc], 0x28
cmp eax, edi
jb 0x409552
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
lea eax, [eax + eax*4]
lea ecx, [esi + eax*8]
mov eax, dword [esi + eax*8 + 0x14]
sub eax, dword [ecx + 0xc]
add eax, ebx
jmp 0x409584

Function at 0x409823
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
and dword [eax + 0x14], 0
and dword [eax + 0x10], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret