joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40ac7d
Capabilities:
Delete file

Disassembly:
push 0x40
mov eax, 0x5d7bb8
call fcn.00592017
mov esi, ecx
mov ebx, dword [ebp + 8]
test ebx, ebx
jne 0x40acb1
push 0xf1
push str.Libcurl::DownloadFile
push str.__s__d___pRequest_is_empty
call fcn.0040a649
add esp, 0xc
or eax, 0xffffffff
jmp 0x40ae5f
and dword [ebp - 0x48], 0
lea edi, [esi + 4]
push ebx
mov ecx, edi
call fcn.00404698
cmp dword [edi + 0x14], 0x10
jb 0x40acc8
mov edi, dword [edi]
push edi
push 0x2712
push dword [esi]
call fcn.004e4e70
add esp, 0xc
push 1
push 0x29
push dword [esi]
call fcn.004e4e70
add esp, 0xc
push 0
push 0x2b
push dword [esi]
call fcn.004e4e70
add esp, 0xc
push 0x40aef5
push 0x4e2b
push dword [esi]
call fcn.004e4e70
add esp, 0xc
push 0x40ae67
push 0x4e58
push dword [esi]
call fcn.004e4e70
add esp, 0xc
lea edi, [ebx + 0xa8]
push edi
push 0x2749
push dword [esi]
call fcn.004e4e70
add esp, 0xc
push dword [esi + 0x20]
push 0xd
push dword [esi]
call fcn.004e4e70
add esp, 0xc
push 1
push 0x63
push dword [esi]
call fcn.004e4e70
add esp, 0xc
push 0x6281d4
sub esp, 0x18
mov ecx, esp
push edi
and dword [ecx + 0x10], 0
and dword [ecx + 0x14], 0
call fcn.00404267
lea ecx, [ebp - 0x2c]
call fcn.00430aaf
add esp, 0x18
cmp dword [eax + 0x14], 8
jb 0x40ad7a
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.005b8fe1
add esp, 0xc
lea ecx, [ebp - 0x2c]
call fcn.0040b67b
cmp dword [ebp - 0x48], 0
jne 0x40adec
call dword [sym.imp.KERNEL32.dll_GetLastError]
sub esp, 0x18
xor ebx, ebx
mov ecx, esp
mov esi, eax
push edi
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], ebx
call fcn.00404267
lea ecx, [ebp - 0x2c]
call fcn.00430aaf
add esp, 0x18
mov dword [ebp - 4], ebx
cmp dword [eax + 0x14], 8
jb 0x40adc6
mov eax, dword [eax]
push eax
push esi
push 0x106
push str.Libcurl::DownloadFile
push str.__s__d___fp_is_empty__code_d__strFileName_s
call fcn.0040a649
add esp, 0x14
lea ecx, [ebp - 0x2c]
call fcn.0040b67b
jmp 0x40aca9
push dword [ebp - 0x48]
push 0x2711
push dword [esi]
call fcn.004e4e70
add esp, 0xc
push dword [esi]
call fcn.004e1570
cmp dword [ebp - 0x48], 0
mov esi, eax
pop ecx
je 0x40ae1b
push dword [ebp - 0x48]
call fcn.005b90c0
and dword [ebp - 0x48], 0
pop ecx
test esi, esi
jne 0x40ae28
mov byte [ebx + 0x118], 1
jmp 0x40ae5d
sub esp, 0x18
mov ecx, esp
push edi
and dword [ecx + 0x10], 0
and dword [ecx + 0x14], 0
call fcn.00404267
lea ecx, [ebp - 0x44]
call fcn.00430aaf
add esp, 0x18
cmp dword [eax + 0x14], 8
jb 0x40ae4e
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x44]
call fcn.0040b67b
mov eax, esi
call fcn.00591fc1
ret 4
Function at 0x40babd
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push edi
cmp byte [esi + 0xc], 0
jne 0x40bad7
push 3
call fcn.004e16b0
pop ecx
mov byte [esi + 0xc], 1
push 0x99
push 0x628240
push str.__s__d___Init__:
call fcn.0040a649
lea eax, [esi + 8]
xor edi, edi
push eax
push edi
push esi
push 0x40bb28
push edi
push edi
call fcn.005b953f
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.00425cda
add esp, 0x2c
call sym.360huabao.exe_public:_void___thiscall_ShellResourceRequestDetails::destructor_void_
pop edi
pop esi
leave
ret

Function at 0x40bd18
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 0x40bd3e
push ecx
push ecx
call fcn.005b953f
add esp, 0x18
xor eax, eax
leave
ret 4

Function at 0x40cf85
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x6c45ac]
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 0x40d010
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 0x40d004
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x14], eax
jne 0x40cff6
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x18], eax
je 0x40cff6
push dword [ebp - 0x18]
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov dword [ebp - 0x24], eax
test eax, eax
je 0x40cff6
lea eax, [ebp - 0x24]
mov ecx, edi
push eax
call fcn.0040dddb
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], ebx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x40cfbe
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.00590be8
leave
ret

Function at 0x40d01e
Capabilities:
Parse pe header

Disassembly:
push 0x24
push 0x678f70
call fcn.005924a0
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 0x40d094
mov edx, dword [ecx + 0x3c]
cmp dword [edx + ecx], 0x4550
jne 0x40d094
mov esi, dword [edx + ecx + 0xd8]
lea eax, [esi + ecx]
cmp edi, eax
jb 0x40d094
mov eax, dword [edx + ecx + 0xdc]
add eax, esi
add eax, ecx
cmp edi, eax
jae 0x40d094
mov dword [ebp - 4], 0xfffffffe
mov al, 1
jmp 0x40d09d
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 0x40d389
Capabilities:
Allocate or change rwx memory

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

Function at 0x40d4aa
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.0040d401
mov esi, eax
cmp esi, edi
jbe 0x40d536
mov ebx, 0x10000
lea eax, [esi - 0x70000000]
cmp eax, 0x10000000
ja 0x40d4e0
sub esi, 0x8000000
jmp 0x40d532
push 0x1c
lea eax, [ebp - 0x1c]
push 0
push eax
call fcn.005a88e0
add esp, 0xc
lea eax, [ebp - 0x1c]
push 0x1c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x40d536
cmp dword [ebp - 0xc], ebx
jne 0x40d522
cmp dword [ebp - 0x10], ebx
jb 0x40d522
push 0x40
push 0x3000
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x40d538
sub esi, ebx
jmp 0x40d532
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10000]
call fcn.0040d401
mov esi, eax
cmp esi, edi
ja 0x40d4cb
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40d53d
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.0040d4aa
test eax, eax
jne 0x40d55e
mov edx, dword [ebp + 8]
mov ecx, esi
pop esi
pop ebp
jmp fcn.0040d421
pop esi
pop ebp
ret

Function at 0x40d561
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.0040d0d6
mov edx, dword [0x6e1d40]
mov eax, dword [0x6e1d48]
pop ecx
test edx, edx
jne 0x40d591
test eax, eax
je 0x40d5a2
mov edx, eax
mov dword [0x6e1d40], edx
mov ecx, dword [edx + 8]
test ecx, ecx
je 0x40d5a2
cmp ecx, dword [ebp - 4]
jb 0x40d5a2
cmp ecx, dword [ebp - 8]
jbe 0x40d61e
mov edx, eax
test eax, eax
jmp 0x40d5c2
test edx, edx
je 0x40d5bd
mov eax, dword [edx + 8]
test eax, eax
je 0x40d5bd
cmp eax, dword [ebp - 4]
jb 0x40d5bd
cmp eax, dword [ebp - 8]
jbe 0x40d61e
mov edx, dword [edx + 4]
test edx, edx
mov dword [0x6e1d40], edx
jne 0x40d5a8
push dword [ebp - 8]
mov edx, dword [ebp - 4]
and esi, 0xffff0000
mov ecx, esi
call fcn.0040d53d
mov edx, eax
pop ecx
test edx, edx
je 0x40d645
xor ecx, ecx
mov dword [edx], 0x52727464
mov dword [edx + 8], ecx
mov esi, 0x38b
mov eax, dword [0x6e1d48]
mov dword [edx + 4], eax
lea eax, [edx + 0xffa8]
mov dword [0x6e1d40], edx
mov dword [0x6e1d48], edx
mov dword [eax + 0x40], ecx
mov ecx, eax
sub eax, 0x48
sub esi, 1
jne 0x40d60e
mov dword [edx + 8], ecx
mov esi, dword [edx + 8]
cmp esi, dword [ebp - 4]
jb 0x40d645
cmp esi, dword [ebp - 8]
ja 0x40d645
mov ecx, dword [esi + 0x40]
push 0x48
push 0xcc
push esi
mov dword [edx + 8], ecx
call fcn.005a88e0
add esp, 0xc
mov eax, esi
jmp 0x40d647
xor eax, eax
pop esi
leave
ret
Function at 0x40d66f
Capabilities:
Hook routines via microsoft detours

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

Function at 0x40d793
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x6e1d3c], eax
je 0x40d7ac
mov eax, 0x10dd
leave
ret
push ebx
push esi
push edi
mov edi, dword [0x6e1d50]
xor ebx, ebx
test edi, edi
je 0x40d7f9
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 0x40d7e7
mov ecx, dword [edi + 0x10]
test ecx, ecx
je 0x40d7e7
call fcn.0040d64a
mov dword [edi + 0x10], ebx
mov esi, dword [edi]
push 0x18
push edi
call fcn.00590bf9
mov edi, esi
pop ecx
pop ecx
test esi, esi
jne 0x40d7bb
mov dword [0x6e1d50], ebx
call fcn.0040d3c0
mov edi, dword [0x6e1d4c]
test edi, edi
je 0x40d832
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.00590bf9
mov edi, esi
pop ecx
pop ecx
test esi, esi
jne 0x40d80e
pop edi
pop esi
mov dword [0x6e1d4c], ebx
xor eax, eax
mov dword [0x6e1d3c], ebx
pop ebx
leave
ret
Function at 0x40dab5
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x6da22c]
sub esp, 0xc
test eax, eax
jne 0x40db36
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.0040cf85
mov edi, dword [ebp - 0xc]
mov esi, edi
jmp 0x40db15
push 0x6cbc04
push 8
call fcn.00591511
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
je 0x40db4c
push dword [esi]
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
je 0x40db38
mov ecx, dword [esi]
add esi, 4
mov eax, dword [0x6e1d4c]
mov dword [ebx + 4], ecx
mov dword [ebx], eax
mov dword [0x6e1d4c], ebx
cmp esi, dword [ebp - 8]
jne 0x40dadf
xor esi, esi
test edi, edi
je 0x40db31
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.00590bf9
pop ecx
pop ecx
jmp 0x40db4f
push 8
pop esi
and dword [0x6e1d44], 0
mov dword [0x6da22c], esi
jmp 0x40db1c
Function at 0x410407
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 0x4109ac
Capabilities:
Check if file exists

Disassembly:
push 0x224
mov eax, 0x5d7f97
call fcn.00592017
mov ebx, 0x61ce98
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
test esi, esi
je 0x4109e8
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 0x410ab7
push 0x208
xor edi, edi
lea eax, [ebp - 0x218]
push edi
push eax
call fcn.005a88e0
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 0x628728
push eax
call esi
lea ecx, [ebp - 0x230]
call fcn.004cb4b1
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 0x410a8a
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 0x410aaa
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
jne 0x410aaa
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.0040b67b
mov eax, edi
call fcn.00591fc1
ret

Function at 0x411336
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 0x41134c
mov ecx, dword [ecx]
push 0x6289d8
push ecx
lea eax, [ebp - 4]
push eax
call fcn.005b8fe1
add esp, 0xc
cmp dword [ebp - 4], ebx
je 0x4113db
push esi
push 2
push ebx
push dword [ebp - 4]
call fcn.005b9e8b
push dword [ebp - 4]
call fcn.005ba484
push ebx
push ebx
push dword [ebp - 4]
mov esi, eax
call fcn.005b9e8b
add esp, 0x1c
test esi, esi
je 0x4113d1
push edi
lea ebx, [esi + 1]
push ebx
call fcn.00591388
mov edi, eax
pop ecx
test edi, edi
je 0x4113d0
push ebx
push 0
push edi
call fcn.005a88e0
push dword [ebp - 4]
push 1
push esi
push edi
call fcn.005ba65b
add esp, 0x1c
test eax, eax
je 0x4113c9
cmp esi, dword [ebp + 8]
jg 0x4113c9
push esi
push edi
push dword [ebp - 8]
call fcn.005a8a40
add esp, 0xc
push edi
call fcn.00590e55
pop ecx
pop edi
push dword [ebp - 4]
call fcn.005b90c0
pop ecx
pop esi
pop ebx
leave
ret
Function at 0x4113de
Capabilities:
Get file size

Disassembly:
cmp dword [ecx + 0x14], 8
jb 0x4113e6
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 0x411417
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 0x41141a
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x6c45ac]
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 0x411441
mov ecx, dword [ecx]
push 0x6289d8
push ecx
lea eax, [ebp - 0x2c]
push eax
call fcn.005b8fe1
add esp, 0xc
cmp dword [ebp - 0x2c], esi
je 0x4114e0
push ebx
push 2
push esi
push dword [ebp - 0x2c]
call fcn.005b9e8b
push dword [ebp - 0x2c]
call fcn.005ba484
push esi
push esi
push dword [ebp - 0x2c]
mov ebx, eax
call fcn.005b9e8b
add esp, 0x1c
test ebx, ebx
je 0x4114d6
push edi
lea esi, [ebx + 1]
push esi
call fcn.00591388
push esi
mov edi, eax
push 0
push edi
mov dword [ebp - 0x30], edi
call fcn.005a88e0
push dword [ebp - 0x2c]
push 1
push ebx
push edi
call fcn.005ba65b
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.00429fdc
mov eax, dword [ebp - 0x34]
pop edi
test eax, eax
je 0x4114d1
mov dword [eax], esi
mov eax, dword [ebp - 0x38]
mov dword [eax], ebx
push dword [ebp - 0x2c]
call fcn.005b90c0
pop ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00590be8
leave
ret
Function at 0x41176e
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x6c45ac]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0x628a28
push 0x28
pop edx
mov esi, ecx
call fcn.004116aa
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [esi + 0xb4]
mov edx, 0x500
call fcn.004116aa
pop ecx
mov ecx, esi
call fcn.00411a5d
mov ecx, esi
call fcn.00411aa0
mov ecx, esi
call fcn.004119ed
mov ecx, esi
call fcn.00411973
mov ecx, esi
call fcn.00411b12
lea eax, [ebp - 0x118]
mov dword [ebp - 0x118], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x114], 0
je 0x411824
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.00412a05
add esp, 0x1c
lea edi, [esi + 0x5d88]
mov edx, 0x104
mov ecx, edi
mov byte [edi], 0
call fcn.004228af
cmp byte [edi], 0
lea eax, [esi + 0xd84]
jne 0x411855
push str.empty_na
push 0x23
pop edx
mov ecx, eax
call fcn.004116aa
jmp 0x411860
push 0x23
mov edx, eax
mov ecx, edi
call fcn.004116dd
pop ecx
push ebx
mov ecx, esi
call fcn.00411b92
push dword [ebp + 0xc]
mov ecx, esi
call fcn.00411cc3
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00590be8
leave
ret 8

Function at 0x4118e2
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 0x41196c
cmp eax, 0x3fff
ja 0x41196c
push esi
push eax
push 0
push dword [ebp + 8]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x41196c
lea eax, [ebp - 8]
push eax
lea eax, [ebp + 8]
push eax
push 0x628a24
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x41196c
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.00412a05
add esp, 0x1c
xor eax, eax
mov word [esi + edi*2 - 2], ax
inc eax
pop edi
jmp 0x41196e
xor eax, eax
pop esi
leave
ret 0xc
Function at 0x4119ed
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 0x628a8c
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.004118e2
test eax, eax
jne 0x411a58
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 0x411cc3
Capabilities:
Check if file exists
Create directory
Delete file

Disassembly:
push 0x34
mov eax, 0x5d8075
call fcn.00592017
mov ebx, ecx
push 0x628bf8
lea ecx, [ebp - 0x40]
call fcn.0040b0d5
and dword [ebp - 4], 0
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x28]
call fcn.004c0cd4
lea ecx, [ebp - 0x40]
call fcn.0040b67b
cmp dword [ebp - 0x18], 0
je 0x411df8
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.005ba880
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 0x411d60
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 0x411d7b
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
call fcn.00411659
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.0040ce72
push esi
push str._sStandaloneCrashInfo
lea eax, [ebx + 0x1494]
push edi
push eax
call fcn.0040ce72
add esp, 0x28
lea eax, [ebx + 0xe10]
cmp byte [ebp + 8], 0
lea edi, [ebx + 0x1084]
push eax
push esi
je 0x411dd3
push str._s_secrash__s.dmp
push 0xffffffffffffffff
jmp 0x411ddd
push str._sMinorError__s.dmp
push 0x104
push edi
call fcn.0040ce72
add esp, 0x14
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x411df8
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x28]
call fcn.0040b67b
call fcn.00591fc1
ret 4
Function at 0x4127d1
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push 0x498
mov eax, 0x5d80e3
call fcn.00592017
mov edi, ecx
test edi, edi
je 0x4127c9
push 0x629104
lea ecx, [ebp - 0x450]
call fcn.0040b0d5
and dword [ebp - 4], 0
lea edx, [ebp - 0x450]
lea ecx, [ebp - 0x438]
call fcn.004c2a71
lea ecx, [ebp - 0x450]
mov byte [ebp - 4], 2
call fcn.0040b67b
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 0x4127be
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 0x4127ab
cmp dword [ebp - 0x424], ebx
lea eax, [ebp - 0x438]
cmovae eax, dword [ebp - 0x438]
push eax
call fcn.004302c4
pop ecx
test eax, eax
je 0x4127ab
push 0x410
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.005a88e0
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.00412864
push 0x44
pop esi
push esi
xor ebx, ebx
lea eax, [ebp - 0x4a4]
push ebx
push eax
call fcn.005a88e0
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 0x4127be
push dword [ebp - 0x45c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x460]
call esi
jmp 0x4127be
push 0x325
push esi
push str.__s__d___PathFileExists_error
call fcn.0040a649
add esp, 0xc
lea ecx, [ebp - 0x438]
call fcn.0040b67b
xor eax, eax
call fcn.00591fc1
ret
push ebx
push esi
push edi
mov edi, ecx
push edi
call fcn.005b93d0
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.00591388
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x412825
lea ecx, [ebx*2 + 2]
push ecx
push 0
push esi
call fcn.005a88e0
push edi
lea eax, [ebx + 1]
push eax
push esi
call fcn.0040b613
add esp, 0x18
mov ecx, esi
pop edi
pop esi
pop ebx
jmp 0x41261c
pop edi
pop esi
pop ebx
ret