joyce8/EMBER2024-capa huggingface dataset:
Function at 0x443920
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b80ae
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x50dc94]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [ebp - 4], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
lea ecx, [esi + 0x40]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 0x14]
mov edx, dword [ebp + 0x20]
mov dword [esi + 0x50], eax
mov eax, dword [ebp + 8]
mov dword [esi + 0x54], eax
mov eax, dword [ebp + 0x1c]
mov dword [esi + 0x5c], eax
mov eax, dword [ebp + 0x18]
mov dword [esi + 0x58], edi
mov dword [esi + 0x60], edx
mov byte [esi + 0x64], 0
mov dword [esi + 0x68], eax
test byte [edi + 8], 8
mov byte [ebp - 4], 2
je 0x443a05
test dl, 0x10
jne 0x443a05
mov al, 1
jmp 0x443a07
xor al, al
mov byte [esi + 0x6c], al
mov eax, dword [ebp + 0x10]
push ecx
mov dword [esi + 0x70], eax
push dword [edi + 0x18]
call fcn.00442db0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x1c

Function at 0x443ef0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b8174
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x50dc94]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov esi, dword [ebp + 8]
push esi
call fcn.00410760
lea eax, [esi + 0x18]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebx + 0x18]
call fcn.00410760
mov eax, dword [esi + 0x30]
lea edi, [esi + 0x38]
mov dword [ebx + 0x30], eax
mov eax, dword [esi + 0x34]
lea esi, [ebx + 0x38]
push edi
mov ecx, esi
mov byte [ebp - 4], 1
mov dword [ebx + 0x34], eax
mov dword [ebp - 0x14], esi
call dword [0x4c5d98]
lea eax, [edi + 4]
mov byte [ebp - 4], 2
push eax
lea ecx, [esi + 4]
call dword [0x4c5d98]
lea eax, [edi + 8]
mov byte [ebp - 4], 3
push eax
lea ecx, [esi + 8]
call dword [0x4c5d98]
lea eax, [edi + 0xc]
mov byte [ebp - 4], 4
push eax
lea ecx, [esi + 0xc]
call dword [0x4c5d98]
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x443fb0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b81c4
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x50dc94]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov esi, dword [ebp + 8]
push esi
call fcn.00410760
lea eax, [esi + 0x18]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebx + 0x18]
call fcn.00410760
mov eax, dword [esi + 0x30]
lea edi, [esi + 0x38]
mov dword [ebx + 0x30], eax
mov eax, dword [esi + 0x34]
lea esi, [ebx + 0x38]
push edi
mov ecx, esi
mov byte [ebp - 4], 1
mov dword [ebx + 0x34], eax
mov dword [ebp - 0x14], esi
call dword [0x4c5d98]
lea eax, [edi + 4]
mov byte [ebp - 4], 2
push eax
lea ecx, [esi + 4]
call dword [0x4c5d98]
lea eax, [edi + 8]
mov byte [ebp - 4], 3
push eax
lea ecx, [esi + 8]
call dword [0x4c5d98]
lea eax, [edi + 0xc]
mov byte [ebp - 4], 4
push eax
lea ecx, [esi + 0xc]
call dword [0x4c5d98]
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x451280
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov ecx, 0
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x811c9dc5
sub edx, edi
sar edx, 1
add edx, edx
je 0x4512b1
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x4512a0
pop edi
mov eax, esi
pop esi
pop ebp
ret 8

Function at 0x4586e0
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x50dc94]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
cmp esi, edi
je 0x45889c
cmp dword [esi + 0x24], 8
lea ebx, [esi + 0x10]
mov eax, dword [ebx + 0x10]
mov ecx, SHChangeNotifyRegister
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x214], eax
jb 0x458731
mov ebx, dword [ebx]
cmp eax, 8
jae 0x458747
movups xmm0, xmmword [ebx]
mov ebx, 7
movups xmmword [ebp - 0x22c], xmm0
jmp 0x45878f
or eax, 7
cmp eax, 0x7ffffffe
cmova eax, ecx
lea ecx, [ebp - 0x22c]
mov dword [ebp - 0x230], eax
inc eax
push eax
call fcn.004140b0
mov ecx, dword [ebp - 0x214]
mov dword [ebp - 0x22c], eax
lea ecx, [ecx*2 + 2]
push ecx
push ebx
push eax
call fcn.004b4938
mov eax, dword [ebp - 0x214]
add esp, 0xc
mov ebx, dword [ebp - 0x230]
push 0x20a
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x210]
push 0
push eax
mov dword [ebp - 0x218], ebx
call fcn.004b493e
cmp ebx, 8
lea eax, [ebp - 0x22c]
cmovae eax, dword [ebp - 0x22c]
push eax
push str.softwareFortinetFortiClientIPSecTunnels
push str._s_s
push 0xffffffffffffffff
lea eax, [ebp - 0x210]
push 0x105
push eax
call fcn.0042da70
add esp, 0x24
lea eax, [ebp - 0x210]
push eax
push SHChangeNotifyRegister
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
cmp dword [ebp - 0x218], 8
lea eax, [ebp - 0x22c]
cmovae eax, dword [ebp - 0x22c]
push eax
call fcn.0045f740
mov edx, dword [ebp - 0x218]
add esp, 4
cmp edx, 8
jb 0x45884a
mov ecx, dword [ebp - 0x22c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x458840
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x458896
push edx
push ecx
call fcn.004aebf7
add esp, 8
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x458877
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x458870
nop dword [eax]
cmp esi, dword [eax + 8]
jne 0x458870
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x458860
mov esi, eax
jmp 0x4586fc
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x4586fc
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x458885
jmp 0x4586fc
call dword [0x4c59b0]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp + 8]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.004ae9c0
mov esp, ebp
pop ebp
ret
Function at 0x4588b0
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x50dc94]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
cmp esi, edi
je 0x458a6c
cmp dword [esi + 0x24], 8
lea ebx, [esi + 0x10]
mov eax, dword [ebx + 0x10]
mov ecx, SHChangeNotifyRegister
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x214], eax
jb 0x458901
mov ebx, dword [ebx]
cmp eax, 8
jae 0x458917
movups xmm0, xmmword [ebx]
mov ebx, 7
movups xmmword [ebp - 0x22c], xmm0
jmp 0x45895f
or eax, 7
cmp eax, 0x7ffffffe
cmova eax, ecx
lea ecx, [ebp - 0x22c]
mov dword [ebp - 0x230], eax
inc eax
push eax
call fcn.004140b0
mov ecx, dword [ebp - 0x214]
mov dword [ebp - 0x22c], eax
lea ecx, [ecx*2 + 2]
push ecx
push ebx
push eax
call fcn.004b4938
mov eax, dword [ebp - 0x214]
add esp, 0xc
mov ebx, dword [ebp - 0x230]
push 0x20a
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x210]
push 0
push eax
mov dword [ebp - 0x218], ebx
call fcn.004b493e
cmp ebx, 8
lea eax, [ebp - 0x22c]
cmovae eax, dword [ebp - 0x22c]
push eax
push str.softwareFortinetFortiClientSslvpnTunnels
push str._s_s
push 0xffffffffffffffff
lea eax, [ebp - 0x210]
push 0x105
push eax
call fcn.0042da70
add esp, 0x24
lea eax, [ebp - 0x210]
push eax
push SHChangeNotifyRegister
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
cmp dword [ebp - 0x218], 8
lea eax, [ebp - 0x22c]
cmovae eax, dword [ebp - 0x22c]
push eax
call fcn.0045f850
mov edx, dword [ebp - 0x218]
add esp, 4
cmp edx, 8
jb 0x458a1a
mov ecx, dword [ebp - 0x22c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x458a10
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x458a66
push edx
push ecx
call fcn.004aebf7
add esp, 8
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x458a47
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x458a40
nop dword [eax]
cmp esi, dword [eax + 8]
jne 0x458a40
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x458a30
mov esi, eax
jmp 0x4588cc
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x4588cc
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x458a55
jmp 0x4588cc
call dword [0x4c59b0]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp + 8]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.004ae9c0
mov esp, ebp
pop ebp
ret
Function at 0x459a20
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b9b14
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push esi
mov eax, dword [0x50dc94]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.softwareFortinetFortiClientFA_ESNAC
push reloc.SHELL32.dll_SHChangeNotifyRegister
mov dword [ebp - 0x18], 0
call fcn.004a7eca
mov esi, eax
add esp, 8
test esi, esi
je 0x459a7d
lea eax, [ebp - 0x18]
push eax
push 0x4ddb90
push esi
call fcn.004a7ed6
push esi
call fcn.004a7ed0
add esp, 0x10
cmp dword [ebp - 0x18], 5
jne 0x459c05
call fcn.004a7f78
push eax
lea ecx, [ebp - 0x14]
call dword [0x4c5f74]
push 0x4ddba0
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0
call dword [0x4c5f84]
push 0x44
lea eax, [ebp - 0x70]
push 0
push eax
call fcn.004b493e
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x2c]
add esp, 0xc
mov dword [ebp - 0x70], 0x44
xorps xmm0, xmm0
movups xmmword [ebp - 0x2c], xmm0
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.004a7f78
push eax
push 0
push 8
push 0
push 0
push 0
push esi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x459b57
push str.softwareFortinetFortiClientFA_ESNAC
push SHChangeNotifyRegister
call fcn.004a7eca
mov esi, eax
add esp, 8
test esi, esi
jne 0x459b1d
push str.softwareFortinetFortiClientFA_ESNAC
push SHChangeNotifyRegister
call fcn.004a7f54
add esp, 8
jmp 0x459b33
push 1
push str.tray_opened
push esi
call fcn.004a7f5a
push esi
call fcn.004a7ed0
add esp, 0x10
push str.FortiClient_FGT_REG_GUI_started_
call fcn.0045c450
add esp, 4
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x459bfc
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x10]
mov dword [0x50dad0], 0
mov esi, eax
call dword [0x4c5d94]
push 2
mov byte [ebp - 4], 1
call fcn.004ae6ec
add esp, 4
lea ecx, [ebp - 0x1c]
push eax
call dword [0x4c5f74]
cmp esi, 0x522
jne 0x459b9d
push dword [ebp - 0x1c]
mov byte [ebp - 4], 2
push 0x6c
jmp 0x459ba6
push dword [ebp - 0x1c]
mov byte [ebp - 4], 3
push 0x6b
lea eax, [ebp - 0x10]
push eax
call dword [0x4c5da4]
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call dword [0x4c5d9c]
mov eax, dword [ebp - 0x10]
lock inc dword [0x541a48]
push 0
push 0
push eax
call fcn.004b31ec
lock dec dword [0x541a48]
push esi
push str.Failed_to_start_FortiClient_FGT_REG_GUI__GetLastError_d
call fcn.0045c450
add esp, 8
mov dword [0x50dad0], 1
lea ecx, [ebp - 0x10]
call dword [0x4c5d9c]
lea ecx, [ebp - 0x14]
call dword [0x4c5d9c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4628f0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ba693
mov eax, dword fs:[0]
push eax
sub esp, 0xd4
mov eax, dword [0x50dc94]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [ebp - 0xe0]
call fcn.004618c0
mov eax, dword [esi]
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 8
jb 0x46293b
mov eax, dword [eax]
push dword [ebp + 8]
lea ecx, [ebp - 0xe0]
push ecx
push eax
call fcn.00480450
add esp, 0xc
test eax, eax
jne 0x46297f
test byte [0x50f810], 8
je 0x462a1c
push str.Cannot_get_connection_info
push str.__error
push 0x1c37
push eax
push eax
call fcn.00421090
add esp, 0x14
xor esi, esi
jmp 0x462a52
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
lea eax, [ebp - 0xc8]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00408730
push eax
mov byte [ebp - 4], 1
call fcn.00449950
mov edx, dword [ebp - 0x14]
add esp, 0xc
test eax, eax
sete bl
cmp edx, 0x10
jb 0x4629df
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4629d5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4629d5
call dword [0x4c59b0]
push edx
push ecx
call fcn.004aebf7
add esp, 8
test bl, bl
je 0x462a20
test byte [0x50f810], 4
je 0x462a1c
cmp dword [ebp - 0xb4], 8
lea eax, [ebp - 0xc8]
cmovae eax, dword [ebp - 0xc8]
push eax
push str.Tunnel_server__ws_is_not_reachable.
push str.warning
push 0x1c3e
push 0
push 0
call fcn.00421090
add esp, 0x18
xor esi, esi
jmp 0x462a52
call dword [sym.imp.KERNEL32.dll_GetTickCount]
test byte [0x50f810], 2
je 0x462a4d
sub eax, esi
push eax
push str.IsTunnelServerReachable_costed__d_ms
push str.__debug
push 0x1c42
push 0
push 0
call fcn.00421090
add esp, 0x18
mov esi, 1
lea ecx, [ebp - 0x68]
call fcn.00413170
lea ecx, [ebp - 0x80]
call fcn.00413170
lea ecx, [ebp - 0x98]
call fcn.00413170
lea ecx, [ebp - 0xb0]
call fcn.00413170
lea ecx, [ebp - 0xc8]
call fcn.00413170
lea ecx, [ebp - 0xe0]
call fcn.00413170
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ae9c0
mov esp, ebp
pop ebp
ret 4
Function at 0x466c80
Capabilities:
Create thread
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x50dc94]
xor eax, ebp
mov dword [ebp - 4], eax
test byte [0x50f810], 1
push esi
mov esi, ecx
je 0x466cb7
push str.called.
push str.___info
push 0x61a
push 0
push 0
call fcn.00421090
add esp, 0x14
mov eax, dword [esi + 0xac]
test eax, eax
je 0x466d6c
test byte [0x50f810], 4
je 0x466cea
push eax
push str.m_hThreadAutoConnectVPN0x_p._Will_terminate_it.
push str.warning
push 0x61c
push 0
push 0
call fcn.00421090
add esp, 0x18
push 0x21
xor eax, eax
mov dword [ebp - 0xc], 0
push str.CFortiTrayDlg::InitVPNAutoConnect
lea ecx, [ebp - 0x1c]
mov dword [ebp - 8], 7
mov word [ebp - 0x1c], ax
call fcn.00410410
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
call fcn.00479440
mov edx, dword [ebp - 8]
cmp edx, 8
jb 0x466d54
mov ecx, dword [ebp - 0x1c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x466d4a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x466d4a
call dword [0x4c59b0]
push edx
push ecx
call fcn.004aebf7
add esp, 8
push 0
push dword [esi + 0xac]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [esi + 0xac], 0
cmp dword [0x541a34], 0
je 0x466e1f
push edi
lea edi, [esi + 0xb0]
push edi
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
lea eax, [ebp - 0x58]
push eax
call fcn.00480030
add esp, 4
cmp dword [ebp - 0x54], 0
je 0x466da6
push 0x540d68
call fcn.0047fe40
add esp, 4
cmp dword [ebp - 0x24], 0
je 0x466db9
push 0x540c64
call fcn.0047ff20
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov ecx, esi
call fcn.00479930
mov ecx, esi
call fcn.00464620
cmp dword [esi + 0x614], 0
pop edi
je 0x466e05
push 0xffffffffffffffff
push dword [esi + 0x604]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esi + 0x614]
cmp dword [eax + 0x18], 1
jne 0x466df9
mov dword [eax + 0x18], 0
push dword [esi + 0x604]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push 0
push 0
push esi
push 0x479690
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0xac], eax
test byte [0x50f810], 1
pop esi
je 0x466e44
push str.exit.
push str.___info
push 0x636
push 0
push 0
call fcn.00421090
add esp, 0x14
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ae9c0
mov esp, ebp
pop ebp
ret
Function at 0x46c550
Capabilities:
Create process on windows

Disassembly:
push 5
push 0
push 0
push str.http:__docs.fortinet.com_fclient_forticlient_lite_quickstart_40_mr3.pdf
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
ret
Function at 0x471380
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bb420
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x50dc94]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edx, dword [ebp + 8]
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
mov ecx, edx
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea edi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4713e0
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00410410
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00466710
mov edx, dword [ebp - 0x14]
add esp, 8
mov edi, eax
cmp edx, 8
jb 0x47144b
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x471441
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x471441
call dword [0x4c59b0]
push edx
push ecx
call fcn.004aebf7
add esp, 8
test edi, edi
je 0x4714f5
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
push 0
cmovae eax, dword [ebp - 0x44]
xorps xmm0, xmm0
push 0
movlpd qword [ebp - 0x4c], xmm0
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push eax
push 0x465950
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
push 0xa
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x4714e8
nop
push 1
push 0
push 0
push dword [esi + 0x20]
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x4714db
nop word [eax + eax]
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 1
push 0
push 0
push dword [esi + 0x20]
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x4714b0
push 0xa
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x471490
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x48], 1
jne 0x4714fa
mov ebx, 1
mov edx, dword [ebp - 0x30]
cmp edx, 8
jb 0x471536
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47152c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x47152c
call dword [0x4c59b0]
push edx
push ecx
call fcn.004aebf7
add esp, 8
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ae9c0
mov esp, ebp
pop ebp
ret 4
Function at 0x472180
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, ecx
cmp dword [ebx + 0xe0], 0
jne 0x472199
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
push esi
mov esi, dword [ebp + 8]
cmp word [esi], 0
jne 0x4721c6
lea eax, [ebp - 4]
push eax
call fcn.0045b1f0
push 0x105
push dword [eax]
push esi
call dword [0x4c5ac4]
add esp, 0x10
lea ecx, [ebp - 4]
call dword [0x4c5d9c]
cmp dword [ebx + 0x160], 0
push edi
je 0x4721e8
lea edi, [ebx + 0x164]
mov ecx, 0x108
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebx + 0x15c]
cmp eax, 0x1f4
ja 0x472235
push 0
push 0x1f4
push 0x96
push dword [ebx + 0x20]
lea edi, [ebx + 0x164]
mov ecx, 0x108
rep movsd dword es:[edi], dword [esi]
mov dword [ebx + 0x160], 1
call dword [sym.imp.USER32.dll_SetTimer]
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp dword [ebx + 0xd0], 0
mov edi, 1
je 0x472281
mov ecx, dword [ebx + 0xe0]
push 0
push 0
push 0
push 0
push 0
call fcn.0049df50
movzx eax, byte [esi + 0x41c]
mov ecx, dword [ebx + 0xe0]
push eax
push dword [esi + 0x418]
lea eax, [esi + 0x20a]
push dword [esi + 0x414]
push eax
push esi
call fcn.0049df50
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebx + 0x15c], eax
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x483de0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x50dc94]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
lea edx, [ebp - 0x210]
mov ecx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
push edx
push 1
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor ecx, ecx
mov word [edi], cx
test eax, eax
jne 0x483e62
push esi
lea eax, [ebp - 0x214]
mov dword [ebp - 0x214], 0x104
push eax
lea eax, [ebp - 0x20c]
push eax
push ecx
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
mov esi, eax
test esi, esi
jne 0x483e61
lea eax, [ebp - 0x20c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.004ae9c0
mov esp, ebp
pop ebp
ret 0xc

Function at 0x483ed0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x624
mov eax, dword [0x50dc94]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push eax
push 0
push 0
push ebx
push str.open
push 0
mov edi, ecx
mov dword [ebp - 0x624], eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov esi, eax
cmp esi, 0x20
ja 0x48402b
lea eax, [ebp - 0x414]
mov ecx, edi
push eax
push str..htm
push SHChangeNotifyRegister
call fcn.00483de0
test eax, eax
jne 0x484029
push str._shellopencommand
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x414]
mov ecx, edi
push eax
push eax
push SHChangeNotifyRegister
call fcn.00483de0
test eax, eax
jne 0x484029
lea eax, [ebp - 0x414]
push str.__1_
push eax
call fcn.004b4972
mov esi, eax
add esp, 8
test esi, esi
jne 0x483faa
lea eax, [ebp - 0x414]
push 0x4e4c58
push eax
call fcn.004b4972
mov esi, eax
add esp, 8
test esi, esi
jne 0x483faa
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea esi, [ebp + eax*2 - 0x416]
jmp 0x483faf
xor eax, eax
mov word [esi], ax
push 0x4d29bc
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x209
lea eax, [ebp - 0x620]
push 0
push eax
call fcn.004b493e
add esp, 0xc
lea eax, [ebp - 0x620]
push 0
push 0
push 0x208
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x414]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push dword [ebp - 0x624]
lea eax, [ebp - 0x620]
mov byte [ebp - 0x419], 0
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ae9c0
mov esp, ebp
pop ebp
ret 8
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004ae9c0
mov esp, ebp
pop ebp
ret 8