joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10038130
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x102258ec]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor edi, edi
push edi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x100381a9
lea eax, [ebp - 0x230]
mov dword [ebp - 0x230], 0x22c
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x100381a2
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.10197424
add esp, 8
test eax, eax
je 0x1003819c
lea eax, [ebp - 0x230]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x10038175
jmp 0x100381a2
mov edi, dword [ebp - 0x228]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.101454ca
mov esp, ebp
pop ebp
ret

Function at 0x100382e0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101b6a8b
mov eax, dword fs:[0]
push eax
sub esp, 0xd4
mov eax, dword [0x102258ec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 8
jb 0x10038317
mov eax, dword [eax]
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x10038408
call fcn.100bfc20
push 1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x10038401
push 0x48
push str.d:jenkins.jenkinsworkspacemgamezipperzipper_tpi_3commonutils.cpp
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], al
call fcn.1001a260
push 3
push 0x101d0d58
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.1001a260
push 0x8be
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xe0]
call fcn.100174f0
mov esi, eax
push str.unable_to_open_file._er:
push esi
mov byte [ebp - 4], 2
call fcn.10016760
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, esi
call fcn.10020070
call fcn.100bfc20
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
lea ecx, [ebp - 0xe0]
call fcn.10018510
lea ecx, [ebp - 0x28]
call fcn.10017d90
lea ecx, [ebp - 0x40]
call fcn.10017d90
or eax, 0xffffffff
or edx, eax
jmp 0x10038420
lea eax, [ebp - 0x48]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x48]
mov edx, dword [ebp - 0x44]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101454ca
mov esp, ebp
pop ebp
ret
Function at 0x100396a0
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x102258ec]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push 0x208
push 0
push eax
mov dword [ebp - 0x210], esi
call fcn.10187ab0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push dword [ebp + 0xc]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10039716
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
xor eax, eax
mov dword [esi + 0x10], 0
lea ecx, [ebp - 0x20c]
mov dword [esi + 0x14], 7
mov word [esi], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10039732
sub ecx, edx
lea eax, [ebp - 0x20c]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.1001e830
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.101454ca
mov esp, ebp
pop ebp
ret
Function at 0x1003ad60
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x1020dbf8
push 0x10187ff0
mov eax, dword fs:[0]
push eax
sub esp, 0x2cc
mov eax, dword [0x102258ec]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, dword [ebp + 8]
mov dword [ebp - 4], 0
push 0x2b4
push 0
lea eax, [ebp - 0x2d0]
push eax
call fcn.10187ab0
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x1003adc1
mov esi, dword [esi]
push 0x4000
push 0x2b4
lea eax, [ebp - 0x2d0]
push eax
push 0x80
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov dword [ebp - 0x2d4], 0
lea eax, [ebp - 0x2d4]
push eax
push 0x101d6cd0
push 2
call dword [sym.imp.SHELL32.dll_SHGetImageList]
mov dword [ebp - 0x2dc], eax
xor ecx, ecx
mov dword [ebp - 0x2d8], ecx
test eax, eax
jne 0x1003ae52
mov edx, dword [ebp - 0x2cc]
test edx, edx
je 0x1003ae3a
mov ecx, dword [ebp - 0x2d4]
mov eax, dword [ecx]
lea esi, [ebp - 0x2d8]
push esi
push 0
push edx
push ecx
call dword [eax + 0x28]
mov dword [ebp - 0x2dc], eax
mov ecx, dword [ebp - 0x2d8]
test eax, eax
jne 0x1003ae52
mov dword [ebp - 4], 0xfffffffe
mov eax, ecx
jmp 0x1003ae5b
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.101454ca
mov esp, ebp
pop ebp
ret
Function at 0x1003b1e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101b7079
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x102258ec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ecx, ecx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], cx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x2c], ecx
lea ecx, [ebp - 0x2c]
push ecx
push 0
push dword [ebp + 0x10]
mov dword [ebp - 0x30], 1
push eax
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
js 0x1003b2c4
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1003b270
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.1001e830
lea eax, [ebp - 0x28]
cmp esi, eax
je 0x1003b2bc
mov ecx, esi
call fcn.10017de0
movups xmm0, xmmword [ebp - 0x28]
xor eax, eax
mov word [ebp - 0x28], ax
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
lea ecx, [ebp - 0x28]
call fcn.10017de0
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x1003b2d2
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101454ca
mov esp, ebp
pop ebp
ret
Function at 0x1003c910
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x102258ec]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push 0x208
push 0
push eax
call fcn.10187ab0
add esp, 0xc
cmp word [0x1022eb78], 0
jne 0x1003c967
push 0x104
push 0x1022eb78
push 0x10000000
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x1022eb78
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push esi
push 0x1022eb78
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x20c]
push eax
call fcn.100bff20
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.101454ca
mov esp, ebp
pop ebp
ret
Function at 0x1003cfa0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101b7260
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x102258ec]
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, dword [ebp + 8]
lea ecx, [ebp - 0x40]
xor eax, eax
mov dword [ebp - 0x60], esi
mov word [ebp - 0x40], ax
lea eax, [ebp - 0x28]
push 0xb
push eax
mov dword [ebp - 0x28], 0x360033
mov dword [ebp - 0x24], 0x730030
mov dword [ebp - 0x20], 0x660061
mov dword [ebp - 0x1c], 0x2e0065
mov dword [ebp - 0x18], 0x780065
mov dword [ebp - 0x14], 0x65
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
call fcn.1001e830
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x58]
lea edi, [ebp - 0x40]
mov dword [ebp - 4], 0
cmovae edi, dword [ebp - 0x40]
lea ecx, [ebp - 0x59]
push eax
call fcn.100340a0
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 1
jb 0x1003d047
mov eax, dword [eax]
push 0
push edi
push str.Path
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.100404b0
mov edx, dword [ebp - 0x44]
add esp, 0x14
mov byte [ebp - 4], 0
mov bl, al
cmp edx, 8
jb 0x1003d09d
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1003d093
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003d157
push edx
push ecx
call fcn.101454bc
add esp, 8
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov dword [ebp - 4], 0xffffffff
cmp edx, 8
jb 0x1003d0ee
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1003d0e4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003d15c
push edx
push ecx
call fcn.101454bc
add esp, 8
xor eax, eax
mov dword [esi + 0x10], 0
mov word [ebp - 0x40], ax
test bl, bl
mov edx, 0x101d2044
mov dword [esi + 0x14], 0xf
mov eax, 0x101d0a84
mov dword [ebp - 0x30], 0
cmove edx, eax
mov dword [ebp - 0x2c], 7
mov ecx, edx
mov byte [esi], 0
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003d127
sub ecx, edi
push ecx
push edx
mov ecx, esi
call fcn.1001a260
mov eax, esi
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.101454ca
mov esp, ebp
pop ebp
ret
call fcn.1018b109
call fcn.1018b109
int3
Function at 0x1003d880
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x330
mov eax, dword [0x102258ec]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x224]
mov byte [ebp - 0x20d], 0
push eax
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x224], 0
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
lea eax, [ebp - 0x214]
mov dword [ebp - 0x220], 0
push eax
push 0
push 0
push 0xa
push 0
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x21c], 0
call dword [sym.imp.SHELL32.dll_SHGetFolderLocation]
test eax, eax
jne 0x1003d925
mov ecx, dword [ebp - 0x224]
lea edx, [ebp - 0x218]
push edx
push 0x101d6c10
push 0
push dword [ebp - 0x214]
mov eax, dword [ecx]
push ecx
call dword [eax + 0x14]
test eax, eax
je 0x1003d938
push dword [ebp - 0x214]
call dword [sym.imp.SHELL32.dll_ILFree]
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101454ca
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x218]
lea edx, [ebp - 0x220]
push edx
push 0xe0
push 0
mov eax, dword [ecx]
push ecx
call dword [eax + 0x10]
test eax, eax
je 0x1003d981
push dword [ebp - 0x214]
call dword [sym.imp.SHELL32.dll_ILFree]
mov eax, dword [ebp - 0x218]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101454ca
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x220]
lea edx, [ebp - 0x228]
push edx
lea edx, [ebp - 0x21c]
push edx
mov eax, dword [ecx]
push 1
push ecx
call dword [eax + 0xc]
cmp eax, 1
je 0x1003da52
mov edi, dword [ebp + 8]
mov ebx, dword [sym.imp.ole32.dll_CoTaskMemFree]
nop
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x21c]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x1003da21
mov ecx, dword [ebp - 0x218]
lea edx, [ebp - 0x330]
push edx
push 0
push dword [ebp - 0x21c]
mov eax, dword [ecx]
push ecx
call dword [eax + 0x2c]
test eax, eax
jne 0x1003da21
mov esi, dword [ebp - 0x32c]
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1003d9f1
sub ecx, edx
mov eax, edi
sar ecx, 1
cmp dword [edi + 0x14], 8
jb 0x1003da0a
mov eax, dword [edi]
cmp dword [edi + 0x10], ecx
jb 0x1003da1e
push ecx
push esi
push eax
call fcn.1002d8a0
add esp, 0xc
test eax, eax
je 0x1003da48
push esi
call ebx
mov ecx, dword [ebp - 0x220]
lea edx, [ebp - 0x228]
push edx
lea edx, [ebp - 0x21c]
push edx
mov eax, dword [ecx]
push 1
push ecx
call dword [eax + 0xc]
cmp eax, 1
jne 0x1003d9b0
jmp 0x1003da52
push esi
call ebx
mov byte [ebp - 0x20d], 1
push dword [ebp - 0x214]
call dword [sym.imp.SHELL32.dll_ILFree]
mov ecx, dword [ebp - 0x220]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
mov ecx, dword [ebp - 0x218]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0x20d]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.101454ca
mov esp, ebp
pop ebp
ret
Function at 0x1003eee0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101b74a8
mov eax, dword fs:[0]
push eax
mov eax, 0x1008
call fcn.101459c0
mov eax, dword [0x102258ec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
mov dword [ebp - 4], 2
cmovae eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x1014]
push eax
call fcn.1003ae80
push 0x800
lea eax, [ebp - 0x810]
push 0
push eax
call fcn.10187ab0
push 0x800
lea eax, [ebp - 0x1010]
push 0
push eax
call fcn.10187ab0
cmp dword [ebp + 0x34], 8
lea eax, [ebp + 0x20]
cmovae eax, dword [ebp + 0x20]
push eax
push dword [ebp - 0x1014]
lea eax, [ebp - 0x810]
push 0x101d1ae8
push eax
call fcn.1002d900
cmp dword [ebp + 0x4c], 8
lea eax, [ebp + 0x38]
cmovae eax, dword [ebp + 0x38]
push eax
push dword [ebp - 0x1014]
lea eax, [ebp - 0x1010]
push 0x101d1ae8
push eax
call fcn.1002d900
add esp, 0x40
xor bl, bl
cmp dword [ebp + 0x30], 0
je 0x1003efd2
cmp dword [ebp + 0x48], 0
lea eax, [ebp - 0x810]
push eax
je 0x1003efc4
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1003eff2
lea eax, [ebp - 0x1010]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1003eff2
mov bl, 1
jmp 0x1003eff2
cmp dword [ebp + 0x48], 0
je 0x1003eff2
lea eax, [ebp - 0x1010]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
movzx ebx, bl
mov ecx, 1
cmovne ebx, ecx
mov edx, dword [ebp - 0x1014]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1003f010
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x1003f04a
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1003f040
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003f0fa
push edx
push ecx
call fcn.101454bc
add esp, 8
mov edx, dword [ebp + 0x34]
xor eax, eax
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 7
mov word [ebp + 8], ax
cmp edx, 8
jb 0x1003f094
mov ecx, dword [ebp + 0x20]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1003f08a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003f0ff
push edx
push ecx
call fcn.101454bc
add esp, 8
mov edx, dword [ebp + 0x4c]
xor eax, eax
mov dword [ebp + 0x30], 0
mov dword [ebp + 0x34], 7
mov word [ebp + 0x20], ax
cmp edx, 8
jb 0x1003f0de
mov ecx, dword [ebp + 0x38]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1003f0d4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003f104
push edx
push ecx
call fcn.101454bc
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101454ca
mov esp, ebp
pop ebp
ret
call fcn.1018b109
call fcn.1018b109
call fcn.1018b109
int3
Function at 0x1003f110
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101b74e6
mov eax, dword fs:[0]
push eax
sub esp, 0x83c
mov eax, dword [0x102258ec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x828]
push eax
lea ecx, [ebp - 0x841]
call fcn.10033650
cmp dword [eax + 0x14], 8
mov dword [ebp - 4], 0
jb 0x1003f15e
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x848]
push eax
call fcn.1003ae80
add esp, 8
mov edx, dword [ebp - 0x814]
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x1003f1b2
mov ecx, dword [ebp - 0x828]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1003f1a8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003f2a2
push edx
push ecx
call fcn.101454bc
add esp, 8
xor eax, eax
mov dword [ebp - 0x818], 0
push 0x800
push eax
mov word [ebp - 0x828], ax
lea eax, [ebp - 0x810]
push eax
mov dword [ebp - 0x814], 7
call fcn.10187ab0
add esp, 0xc
lea eax, [ebp - 0x840]
lea ecx, [ebp - 0x841]
push eax
call fcn.10033910
cmp dword [eax + 0x14], 8
jb 0x1003f1fe
mov eax, dword [eax]
push eax
push dword [ebp - 0x848]
lea eax, [ebp - 0x810]
push 0x101d1ae8
push eax
call fcn.1002d900
mov edx, dword [ebp - 0x82c]
add esp, 0x10
cmp edx, 8
jb 0x1003f255
mov ecx, dword [ebp - 0x840]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1003f24b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003f2a7
push edx
push ecx
call fcn.101454bc
add esp, 8
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov esi, dword [ebp - 0x848]
test eax, eax
setne bl
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1003f285
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov al, bl
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.101454ca
mov esp, ebp
pop ebp
ret
call fcn.1018b109
call fcn.1018b109
int3
Function at 0x1003fc90
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101b7673
mov eax, dword fs:[0]
push eax
sub esp, 0x100
mov eax, dword [0x102258ec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x71]
call fcn.10034ff0
cmp dword [eax + 0x14], 8
jb 0x1003fcd1
mov eax, dword [eax]
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov edx, dword [ebp - 0x14]
mov esi, eax
cmp edx, 8
jb 0x1003fd18
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1003fd0e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003fe50
push edx
push ecx
call fcn.101454bc
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x1003fd4c
cmp eax, 5
je 0x1003fd4c
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x1003fe35
call fcn.100bfc20
push 1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x1003fe2c
push 0x48
push str.d:jenkins.jenkinsworkspacemgamezipperzipper_tpi_3commonutils.cpp
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], al
call fcn.1001a260
push 3
push 0x101d0d58
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.1001a260
push 0xb95
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x10c]
call fcn.100174f0
mov edi, eax
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x71]
call fcn.10035090
mov ecx, eax
cmp dword [ecx + 0x14], 8
mov byte [ebp - 4], 3
jb 0x1003fde8
mov ecx, dword [ecx]
test ecx, ecx
mov eax, 0x101d0c4c
cmovne eax, ecx
push eax
push edi
call fcn.10016760
add esp, 8
call fcn.100bfc20
push edi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
lea ecx, [ebp - 0x70]
call fcn.10017de0
lea ecx, [ebp - 0x10c]
call fcn.10018510
lea ecx, [ebp - 0x40]
call fcn.10017d90
lea ecx, [ebp - 0x58]
call fcn.10017d90
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101454ca
mov esp, ebp
pop ebp
ret
call fcn.1018b109
int3
Function at 0x10040aa0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], 0
mov dword [ebp - 8], 4
cmp dword [eax + 0x14], 8
jb 0x10040abf
mov eax, dword [eax]
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x14], 8
jb 0x10040aca
mov ecx, dword [ecx]
lea edx, [ebp - 8]
push edx
lea edx, [ebp - 4]
push edx
push 0
push 0x10
push eax
push ecx
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
xor ecx, ecx
test eax, eax
cmove ecx, dword [ebp - 4]
mov eax, ecx
mov esp, ebp
pop ebp
ret