joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40bac0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push edi
cmp byte [esi + 0xc], 0
jne 0x40bada
push 3
call fcn.004e31a0
pop ecx
mov byte [esi + 0xc], 1
push 0x99
push 0x62a238
push str.__s__d___Init__:
call fcn.0040a649
lea eax, [esi + 8]
xor edi, edi
push eax
push edi
push esi
push 0x40bb2b
push edi
push edi
call fcn.005bb02f
mov dword [esi], eax
mov edx, str.Software360
lea eax, [ebp - 4]
mov dword [ebp - 4], edi
push eax
push str.use_fiddler
mov ecx, reloc.WS2_32.dll_accept
call fcn.00425cdd
add esp, 0x2c
call sym.360huabao.exe_public:_void___thiscall_ShellResourceRequestDetails::destructor_void_
pop edi
pop esi
leave
ret

Function at 0x40bd1b
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
xor ecx, ecx
lea eax, [ebp - 4]
push eax
push ecx
push dword [ebp + 8]
mov dword [ebp - 4], ecx
push 0x40bd41
push ecx
push ecx
call fcn.005bb02f
add esp, 0x18
xor eax, eax
leave
ret 4

Function at 0x40cf88
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x6c75ac]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0
push 4
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x40d013
push ebx
push 0x1c
pop ebx
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], ebx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Thread32First]
jmp 0x40d007
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x14], eax
jne 0x40cff9
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x18], eax
je 0x40cff9
push dword [ebp - 0x18]
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov dword [ebp - 0x24], eax
test eax, eax
je 0x40cff9
lea eax, [ebp - 0x24]
mov ecx, edi
push eax
call fcn.0040ddde
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], ebx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x40cfc1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.005926d8
leave
ret

Function at 0x40d021
Capabilities:
Parse pe header

Disassembly:
push 0x24
push 0x67b6b0
call fcn.00593f90
mov edi, edx
push 0x1c
lea eax, [ebp - 0x34]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
and dword [ebp - 4], 0
mov eax, 0x5a4d
mov ecx, dword [ebp - 0x30]
cmp word [ecx], ax
jne 0x40d097
mov edx, dword [ecx + 0x3c]
cmp dword [edx + ecx], 0x4550
jne 0x40d097
mov esi, dword [edx + ecx + 0xd8]
lea eax, [esi + ecx]
cmp edi, eax
jb 0x40d097
mov eax, dword [edx + ecx + 0xdc]
add eax, esi
add eax, ecx
cmp edi, eax
jae 0x40d097
mov dword [ebp - 4], 0xfffffffe
mov al, 1
jmp 0x40d0a0
mov dword [ebp - 4], 0xfffffffe
xor al, al
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40d38c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [0x6e4d98]
jmp 0x40d3b2
lea eax, [ebp - 4]
push eax
push 0x40
push 0x10000
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x40d3bb
mov esi, dword [esi + 4]
test esi, esi
jne 0x40d399
xor eax, eax
pop esi
leave
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x40d3b8

Function at 0x40d4ad
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [edx - 0x10000]
call fcn.0040d404
mov esi, eax
cmp esi, edi
jbe 0x40d539
mov ebx, 0x10000
lea eax, [esi - 0x70000000]
cmp eax, 0x10000000
ja 0x40d4e3
sub esi, 0x8000000
jmp 0x40d535
push 0x1c
lea eax, [ebp - 0x1c]
push 0
push eax
call fcn.005aa3d0
add esp, 0xc
lea eax, [ebp - 0x1c]
push 0x1c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x40d539
cmp dword [ebp - 0xc], ebx
jne 0x40d525
cmp dword [ebp - 0x10], ebx
jb 0x40d525
push 0x40
push 0x3000
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x40d53b
sub esi, ebx
jmp 0x40d535
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10000]
call fcn.0040d404
mov esi, eax
cmp esi, edi
ja 0x40d4ce
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40d540
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push esi
mov eax, edx
mov esi, ecx
mov edx, esi
mov ecx, eax
call fcn.0040d4ad
test eax, eax
jne 0x40d561
mov edx, dword [ebp + 8]
mov ecx, esi
pop esi
pop ebp
jmp fcn.0040d424
pop esi
pop ebp
ret

Function at 0x40d564
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 8]
mov esi, ecx
push eax
lea edx, [ebp - 4]
call fcn.0040d0d9
mov edx, dword [0x6e4d90]
mov eax, dword [0x6e4d98]
pop ecx
test edx, edx
jne 0x40d594
test eax, eax
je 0x40d5a5
mov edx, eax
mov dword [0x6e4d90], edx
mov ecx, dword [edx + 8]
test ecx, ecx
je 0x40d5a5
cmp ecx, dword [ebp - 4]
jb 0x40d5a5
cmp ecx, dword [ebp - 8]
jbe 0x40d621
mov edx, eax
test eax, eax
jmp 0x40d5c5
test edx, edx
je 0x40d5c0
mov eax, dword [edx + 8]
test eax, eax
je 0x40d5c0
cmp eax, dword [ebp - 4]
jb 0x40d5c0
cmp eax, dword [ebp - 8]
jbe 0x40d621
mov edx, dword [edx + 4]
test edx, edx
mov dword [0x6e4d90], edx
jne 0x40d5ab
push dword [ebp - 8]
mov edx, dword [ebp - 4]
and esi, 0xffff0000
mov ecx, esi
call fcn.0040d540
mov edx, eax
pop ecx
test edx, edx
je 0x40d648
xor ecx, ecx
mov dword [edx], 0x52727464
mov dword [edx + 8], ecx
mov esi, 0x38b
mov eax, dword [0x6e4d98]
mov dword [edx + 4], eax
lea eax, [edx + 0xffa8]
mov dword [0x6e4d90], edx
mov dword [0x6e4d98], edx
mov dword [eax + 0x40], ecx
mov ecx, eax
sub eax, 0x48
sub esi, 1
jne 0x40d611
mov dword [edx + 8], ecx
mov esi, dword [edx + 8]
cmp esi, dword [ebp - 4]
jb 0x40d648
cmp esi, dword [ebp - 8]
ja 0x40d648
mov ecx, dword [esi + 0x40]
push 0x48
push 0xcc
push esi
mov dword [edx + 8], ecx
call fcn.005aa3d0
add esp, 0xc
mov eax, esi
jmp 0x40d64a
xor eax, eax
pop esi
leave
ret
Function at 0x40d672
Capabilities:
Hook routines via microsoft detours

Disassembly:
cmp dword [ecx], 0x52727464
push esi
jne 0x40d6a6
lea esi, [ecx + 0x10000]
xor eax, eax
lea edx, [ecx + 0x88]
cmp dword [edx], 0
je 0x40d696
cmp dword [edx], ecx
jb 0x40d6a6
cmp dword [edx], esi
jae 0x40d6a6
inc eax
add edx, 0x48
cmp eax, 0x38d
jb 0x40d689
xor eax, eax
inc eax
pop esi
ret
xor eax, eax
pop esi
ret

Function at 0x40d796
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x6e4d8c], eax
je 0x40d7af
mov eax, 0x10dd
leave
ret
push ebx
push esi
push edi
mov edi, dword [0x6e4da0]
xor ebx, ebx
test edi, edi
je 0x40d7fc
lea eax, [ebp - 4]
push eax
mov eax, dword [edi + 0x10]
push dword [edi + 0x14]
movzx eax, byte [eax + 0x36]
push eax
push dword [edi + 0xc]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp dword [edi + 4], ebx
jne 0x40d7ea
mov ecx, dword [edi + 0x10]
test ecx, ecx
je 0x40d7ea
call fcn.0040d64d
mov dword [edi + 0x10], ebx
mov esi, dword [edi]
push 0x18
push edi
call fcn.005926e9
mov edi, esi
pop ecx
pop ecx
test esi, esi
jne 0x40d7be
mov dword [0x6e4da0], ebx
call fcn.0040d3c3
mov edi, dword [0x6e4d9c]
test edi, edi
je 0x40d835
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [edi]
push 8
push edi
call fcn.005926e9
mov edi, esi
pop ecx
pop ecx
test esi, esi
jne 0x40d811
pop edi
pop esi
mov dword [0x6e4d9c], ebx
xor eax, eax
mov dword [0x6e4d8c], ebx
pop ebx
leave
ret
Function at 0x40dab8
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x6dd27c]
sub esp, 0xc
test eax, eax
jne 0x40db39
push ebx
push esi
push edi
lea ecx, [ebp - 0xc]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
call fcn.0040cf88
mov edi, dword [ebp - 0xc]
mov esi, edi
jmp 0x40db18
push 0x6cec54
push 8
call fcn.00593001
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
je 0x40db4f
push dword [esi]
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
je 0x40db3b
mov ecx, dword [esi]
add esi, 4
mov eax, dword [0x6e4d9c]
mov dword [ebx + 4], ecx
mov dword [ebx], eax
mov dword [0x6e4d9c], ebx
cmp esi, dword [ebp - 8]
jne 0x40dae2
xor esi, esi
test edi, edi
je 0x40db34
mov ecx, dword [ebp - 4]
sub ecx, edi
and ecx, 0xfffffffc
push ecx
push edi
call fcn.004047e6
pop ecx
pop ecx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push 8
push ebx
call fcn.005926e9
pop ecx
pop ecx
jmp 0x40db52
push 8
pop esi
and dword [0x6e4d94], 0
mov dword [0x6dd27c], esi
jmp 0x40db1f
Function at 0x41040a
Capabilities:
Hash data with md5

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

Function at 0x4109af
Capabilities:
Check if file exists

Disassembly:
push 0x224
mov eax, 0x5d9a87
call fcn.00593b07
mov ebx, 0x61ee88
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
test esi, esi
je 0x4109eb
push 0x12
push str.base_util_helper::LoadBaseUtil
push str.__s__d___Load_kBaseUtilDll_is_exist
call fcn.0040a649
add esp, 0xc
mov eax, esi
jmp 0x410aba
push 0x208
xor edi, edi
lea eax, [ebp - 0x218]
push edi
push eax
call fcn.005aa3d0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push 0x62a720
push eax
call esi
lea ecx, [ebp - 0x230]
call fcn.004ccf79
mov dword [ebp - 4], edi
lea eax, [ebp - 0x230]
cmp dword [ebp - 0x21c], 8
cmovae eax, dword [ebp - 0x230]
push eax
lea eax, [ebp - 0x218]
push eax
call esi
push ebx
lea eax, [ebp - 0x218]
push eax
call esi
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
lea eax, [ebp - 0x218]
push eax
jne 0x410a8d
push 0x1c
push str.base_util_helper::LoadBaseUtil
push str.__s__d___Load_kBaseUtilDll_file_is_not_exist__path_:__s
call fcn.0040a649
add esp, 0x10
jmp 0x410aad
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
jne 0x410aad
push 0x22
push str.base_util_helper::LoadBaseUtil
push str.__s__d___Load_kBaseUtilDll_fail
call fcn.0040a649
add esp, 0xc
lea ecx, [ebp - 0x230]
call fcn.0040b67e
mov eax, edi
call fcn.00593ab1
ret

Function at 0x411339
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
xor ebx, ebx
mov dword [ebp - 8], edx
cmp dword [ecx + 0x14], 8
mov dword [ebp - 4], ebx
jb 0x41134f
mov ecx, dword [ecx]
push 0x62a9d0
push ecx
lea eax, [ebp - 4]
push eax
call fcn.005baad1
add esp, 0xc
cmp dword [ebp - 4], ebx
je 0x4113de
push esi
push 2
push ebx
push dword [ebp - 4]
call fcn.005bb97b
push dword [ebp - 4]
call fcn.005bbf74
push ebx
push ebx
push dword [ebp - 4]
mov esi, eax
call fcn.005bb97b
add esp, 0x1c
test esi, esi
je 0x4113d4
push edi
lea ebx, [esi + 1]
push ebx
call fcn.00592e78
mov edi, eax
pop ecx
test edi, edi
je 0x4113d3
push ebx
push 0
push edi
call fcn.005aa3d0
push dword [ebp - 4]
push 1
push esi
push edi
call fcn.005bc14b
add esp, 0x1c
test eax, eax
je 0x4113cc
cmp esi, dword [ebp + 8]
jg 0x4113cc
push esi
push edi
push dword [ebp - 8]
call fcn.005aa530
add esp, 0xc
push edi
call fcn.00592945
pop ecx
pop edi
push dword [ebp - 4]
call fcn.005babb0
pop ecx
pop esi
pop ebx
leave
ret
Function at 0x4113e1
Capabilities:
Get file size

Disassembly:
cmp dword [ecx + 0x14], 8
jb 0x4113e9
mov ecx, dword [ecx]
push esi
push edi
xor esi, esi
mov eax, accept
push esi
push eax
push 3
push esi
push 1
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
test edi, edi
je 0x41141a
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop edi
pop esi
ret

Function at 0x41141d
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x6c75ac]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
xor esi, esi
mov dword [ebp - 0x34], edx
cmp dword [ecx + 0x14], 8
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x2c], esi
jb 0x411444
mov ecx, dword [ecx]
push 0x62a9d0
push ecx
lea eax, [ebp - 0x2c]
push eax
call fcn.005baad1
add esp, 0xc
cmp dword [ebp - 0x2c], esi
je 0x4114e3
push ebx
push 2
push esi
push dword [ebp - 0x2c]
call fcn.005bb97b
push dword [ebp - 0x2c]
call fcn.005bbf74
push esi
push esi
push dword [ebp - 0x2c]
mov ebx, eax
call fcn.005bb97b
add esp, 0x1c
test ebx, ebx
je 0x4114d9
push edi
lea esi, [ebx + 1]
push esi
call fcn.00592e78
push esi
mov edi, eax
push 0
push edi
mov dword [ebp - 0x30], edi
call fcn.005aa3d0
push dword [ebp - 0x2c]
push 1
push ebx
push edi
call fcn.005bc14b
add esp, 0x20
lea edi, [ebp - 0x28]
mov esi, str.9cc194ba4e37c0d1484040e4f611c617
lea eax, [ebp - 0x28]
push 8
pop ecx
rep movsd dword es:[edi], dword [esi]
push ebx
movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 0x30]
push esi
push ecx
push eax
call fcn.00429fdf
mov eax, dword [ebp - 0x34]
pop edi
test eax, eax
je 0x4114d4
mov dword [eax], esi
mov eax, dword [ebp - 0x38]
mov dword [eax], ebx
push dword [ebp - 0x2c]
call fcn.005babb0
pop ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.005926d8
leave
ret
Function at 0x411771
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x6c75ac]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0x62aa20
push 0x28
pop edx
mov esi, ecx
call fcn.004116ad
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [esi + 0xb4]
mov edx, 0x500
call fcn.004116ad
pop ecx
mov ecx, esi
call fcn.00411a60
mov ecx, esi
call fcn.00411aa3
mov ecx, esi
call fcn.004119f0
mov ecx, esi
call fcn.00411976
mov ecx, esi
call fcn.00411b15
lea eax, [ebp - 0x118]
mov dword [ebp - 0x118], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x114], 0
je 0x411827
lea eax, [ebp - 0x104]
push eax
push dword [ebp - 0x10c]
lea eax, [esi + 0xab4]
push dword [ebp - 0x110]
push dword [ebp - 0x114]
push str._d._d._d__s
push 0x103
push eax
call fcn.00412a08
add esp, 0x1c
lea edi, [esi + 0x5d88]
mov edx, 0x104
mov ecx, edi
mov byte [edi], 0
call fcn.004228b2
cmp byte [edi], 0
lea eax, [esi + 0xd84]
jne 0x411858
push str.empty_na
push 0x23
pop edx
mov ecx, eax
call fcn.004116ad
jmp 0x411863
push 0x23
mov edx, eax
mov ecx, edi
call fcn.004116e0
pop ecx
push ebx
mov ecx, esi
call fcn.00411b95
push dword [ebp + 0xc]
mov ecx, esi
call fcn.00411cc6
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005926d8
leave
ret 8

Function at 0x4118e5
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
xor eax, eax
lea esi, [ecx + 0x1b80]
mov word [esi], ax
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
test eax, eax
je 0x41196f
cmp eax, 0x3fff
ja 0x41196f
push esi
push eax
push 0
push dword [ebp + 8]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x41196f
lea eax, [ebp - 8]
push eax
lea eax, [ebp + 8]
push eax
push 0x62aa1c
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x41196f
mov ecx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
movzx eax, word [ecx + 0xc]
push eax
movzx eax, word [ecx + 0xe]
push eax
movzx eax, word [ecx + 8]
push eax
movzx eax, word [ecx + 0xa]
push eax
push str._d._d._d._d
push edi
push esi
call fcn.00412a08
add esp, 0x1c
xor eax, eax
mov word [esi + edi*2 - 2], ax
inc eax
pop edi
jmp 0x411971
xor eax, eax
pop esi
leave
ret 0xc
Function at 0x4119f0
Capabilities:
Get common file path
Get program files directory
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
xor eax, eax
mov edi, ecx
push eax
push 0x26
lea esi, [edi + 0x5b80]
push esi
push eax
mov word [esi], ax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x62aa84
push esi
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x32
pop eax
push eax
lea ebx, [edi + 0xcbc]
mov dword [ebp - 4], eax
push ebx
push esi
mov ecx, edi
call fcn.004118e5
test eax, eax
jne 0x411a5b
lea eax, [ebp - 4]
mov dword [ebp - 8], 4
push eax
push ebx
lea eax, [ebp - 8]
push eax
push str.Version
push str.SoftwareMicrosoftInternet_Explorer
push reloc.WS2_32.dll_bind
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x411cc6
Capabilities:
Check if file exists
Create directory
Delete file

Disassembly:
push 0x34
mov eax, 0x5d9b65
call fcn.00593b07
mov ebx, ecx
push 0x62abf0
lea ecx, [ebp - 0x40]
call fcn.0040b0d5
and dword [ebp - 4], 0
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x28]
call fcn.004c240b
lea ecx, [ebp - 0x40]
call fcn.0040b67e
cmp dword [ebp - 0x18], 0
je 0x411dfb
xor eax, eax
lea esi, [ebx + 0xe7c]
cmp dword [ebp - 0x14], 8
mov word [esi], ax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push 0x103
push esi
call fcn.005bc370
add esp, 0xc
push esi
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str...User_Data
push esi
call edi
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x411d63
push 0x104
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push esi
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.User_Data
push esi
call edi
push str.tcdump
push esi
call edi
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x411d7e
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
call fcn.0041165c
push eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push esi
push str._scrashinfo__d__d.dat
mov edi, 0x104
lea eax, [ebx + 0x128c]
push edi
push eax
call fcn.0040ce75
push esi
push str._sStandaloneCrashInfo
lea eax, [ebx + 0x1494]
push edi
push eax
call fcn.0040ce75
add esp, 0x28
lea eax, [ebx + 0xe10]
cmp byte [ebp + 8], 0
lea edi, [ebx + 0x1084]
push eax
push esi
je 0x411dd6
push str._s_secrash__s.dmp
push 0xffffffffffffffff
jmp 0x411de0
push str._sMinorError__s.dmp
push 0x104
push edi
call fcn.0040ce75
add esp, 0x14
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x411dfb
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x28]
call fcn.0040b67e
call fcn.00593ab1
ret 4
Function at 0x4127d4
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push 0x498
mov eax, 0x5d9bd3
call fcn.00593b07
mov edi, ecx
test edi, edi
je 0x4127cc
push 0x62b0fc
lea ecx, [ebp - 0x450]
call fcn.0040b0d5
and dword [ebp - 4], 0
lea edx, [ebp - 0x450]
lea ecx, [ebp - 0x438]
call fcn.004c41a8
lea ecx, [ebp - 0x450]
mov byte [ebp - 4], 2
call fcn.0040b67e
push 8
pop ebx
cmp dword [ebp - 0x424], ebx
lea eax, [ebp - 0x438]
mov esi, str.se_breakpad::ReportThreadFunc
cmovae eax, dword [ebp - 0x438]
push eax
push 0x30b
push esi
push str.__s__d___seVerPath:_s
call fcn.0040a649
add esp, 0x10
cmp dword [ebp - 0x428], 0
je 0x4127c1
cmp dword [ebp - 0x424], ebx
lea eax, [ebp - 0x438]
cmovae eax, dword [ebp - 0x438]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4127ae
cmp dword [ebp - 0x424], ebx
lea eax, [ebp - 0x438]
cmovae eax, dword [ebp - 0x438]
push eax
call fcn.004302c7
pop ecx
test eax, eax
je 0x4127ae
push 0x410
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.005aa3d0
add esp, 0xc
lea esi, [ebp - 0x438]
cmp dword [ebp - 0x424], ebx
cmovae esi, dword [ebp - 0x438]
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push esi
push str.__s___crash:_d__crashcfg:__s_
lea eax, [ebp - 0x420]
push 0x207
push eax
call fcn.00412867
push 0x44
pop esi
push esi
xor ebx, ebx
lea eax, [ebp - 0x4a4]
push ebx
push eax
call fcn.005aa3d0
xor eax, eax
mov dword [ebp - 0x4a4], esi
add esp, 0x24
mov dword [ebp - 0x478], 0x80
lea edi, [ebp - 0x460]
stosd dword es:[edi], eax
push 5
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
pop eax
mov word [ebp - 0x474], ax
lea eax, [ebp - 0x460]
push eax
lea eax, [ebp - 0x4a4]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x420]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x4127c1
push dword [ebp - 0x45c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x460]
call esi
jmp 0x4127c1
push 0x325
push esi
push str.__s__d___PathFileExists_error
call fcn.0040a649
add esp, 0xc
lea ecx, [ebp - 0x438]
call fcn.0040b67e
xor eax, eax
call fcn.00593ab1
ret
push ebx
push esi
push edi
mov edi, ecx
push edi
call fcn.005baec0
mov ebx, eax
xor ecx, ecx
push 2
pop edx
lea eax, [ebx + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00592e78
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x412828
lea ecx, [ebx*2 + 2]
push ecx
push 0
push esi
call fcn.005aa3d0
push edi
lea eax, [ebx + 1]
push eax
push esi
call fcn.0040b616
add esp, 0x18
mov ecx, esi
pop edi
pop esi
pop ebx
jmp 0x41261f
pop edi
pop esi
pop ebx
ret
Function at 0x4143ba
Capabilities:
Check if file exists

Disassembly:
push 0x25c
mov eax, 0x5d9e05
call fcn.00593b07
mov esi, ecx
mov dword [ebp - 0x268], esi
mov eax, dword fs:[0x2c]
xor ebx, ebx
mov dword [ebp - 0x268], esi
mov edi, 0x62a4ac
mov ecx, dword [eax]
mov eax, dword [0x6e5718]
cmp eax, dword [ecx + 4]
jg 0x41459d
push edi
mov ecx, 0x6e571c
call fcn.0041084d
test al, al
jne 0x41441d
push 0x6e571c
mov ecx, esi
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
call fcn.0040b155
jmp 0x414595
push edi
lea ecx, [ebp - 0x234]
call fcn.0040b0d5
lea eax, [ebp - 0x234]
mov dword [ebp - 4], 1
push eax
push str.InstallPath
mov edx, 0x61f208
mov ecx, reloc.WS2_32.dll_accept
call fcn.00425d08
pop ecx
pop ecx
test eax, eax
jne 0x41445e
push edi
mov ecx, esi
call fcn.0040b0d5
jmp 0x41458a
push 0x208
lea eax, [ebp - 0x21c]
push ebx
push eax
call fcn.005aa3d0
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x234]
add esp, 0xc
cmp dword [ebp - 0x220], 8
cmovae eax, dword [ebp - 0x234]
push eax
lea eax, [ebp - 0x21c]
push eax
call edi
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4144ff
push 0x208
lea eax, [ebp - 0x21c]
push ebx
push eax
call fcn.005aa3d0
add esp, 0xc
lea ecx, [ebp - 0x24c]
call fcn.004251b3
cmp dword [ebp - 0x238], 8
lea eax, [ebp - 0x24c]
cmovae eax, dword [ebp - 0x24c]
push eax
lea eax, [ebp - 0x21c]
push eax
call edi
push str.360huabao_
lea eax, [ebp - 0x21c]
push eax
call edi
lea ecx, [ebp - 0x24c]
call fcn.0040b67e
push 0x62a4ac
lea ecx, [ebp - 0x264]
call fcn.0040b0d5
mov byte [ebp - 4], 2
cmp dword [ebp - 0x254], 0
je 0x414550
push 0x62aa1c
lea edx, [ebp - 0x264]
lea ecx, [ebp - 0x24c]
call fcn.0041154e
pop ecx
cmp dword [eax + 0x14], 8
jb 0x41453b
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x21c]
push eax
call edi
lea ecx, [ebp - 0x24c]
call fcn.0040b67e
lea eax, [ebp - 0x21c]
push eax
call fcn.005baec0
pop ecx
push eax
lea eax, [ebp - 0x21c]
mov edi, 0x6e571c
push eax
mov ecx, edi
call fcn.0040b566
push edi
mov ecx, esi
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
call fcn.0040b155
lea ecx, [ebp - 0x264]
call fcn.0040b67e
lea ecx, [ebp - 0x234]
call fcn.0040b67e
mov eax, esi
call fcn.00593ab1
ret
push 0x6e5718
call fcn.00592d84
cmp dword [0x6e5718], 0xffffffff
pop ecx
jne 0x4143f7
push edi
mov ecx, 0x6e571c
mov dword [ebp - 4], ebx
call fcn.0040b0d5
push 0x5f418c
call fcn.00592bcf
or dword [ebp - 4], 0xffffffff
mov dword [esp], 0x6e5718
call fcn.00592d3a
pop ecx
jmp 0x4143f7