joyce8/EMBER2024-capa huggingface dataset:
Function at 0x56007c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x40
push ebx
push ebp
mov ebp, dword [esp + 0x5c]
xor eax, eax
push esi
mov esi, dword [esp + 0x50]
push edi
mov edi, dword [esp + 0x68]
mov dword [esp + 0x14], edi
mov ebx, dword [esi]
mov dword [esp + 0x10], eax
cmp word [esi + 0xd8], ax
jle 0x5600b6
push str.parameters_are_not_allowed_in_views
push esi
call fcn.00561f37
pop ecx
pop ecx
jmp 0x5601e4
push dword [esp + 0x70]
push eax
push 1
push dword [esp + 0x78]
push dword [esp + 0x70]
push dword [esp + 0x70]
push esi
call fcn.00577adc
mov eax, dword [esi + 0xf8]
add esp, 0x1c
mov dword [esp + 0x54], eax
test eax, eax
je 0x5601e4
cmp dword [esi + 0x24], 0
jne 0x5601e4
or dword [eax + 0x1c], 0x200
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x64]
push dword [esp + 0x64]
push esi
call fcn.0057936e
mov eax, dword [esp + 0x64]
push dword [eax + 0x3c]
push ebx
call fcn.0057526e
push dword [esp + 0x28]
push str.view
push eax
lea eax, [esp + 0x40]
push esi
push eax
call fcn.00566a39
lea eax, [esp + 0x4c]
push edi
push eax
call fcn.005867cf
add esp, 0x34
test eax, eax
jne 0x5601e4
or dword [edi + 4], 0x200000
cmp byte [esi + 0xdc], 2
jb 0x560154
xor edi, edi
jmp 0x560164
push 1
push edi
push ebx
call fcn.00576e1f
add esp, 0xc
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x14]
push 1
push ebp
push ebx
mov dword [eax + 0x2c], ecx
call fcn.0056565a
mov ecx, dword [esp + 0x60]
add esp, 0xc
mov dword [ecx + 0x10], eax
mov byte [ecx + 0x2b], 2
cmp byte [ebx + 0x57], 0
jne 0x5601e4
mov ecx, dword [esi + 0xd0]
cmp byte [ecx], 0x3b
je 0x56019d
add ecx, dword [esi + 0xd4]
mov eax, dword [esp + 0x58]
mov eax, dword [eax]
sub ecx, eax
mov dword [esp + 0x54], eax
lea edx, [eax - 1]
add edx, ecx
jmp 0x5601b2
dec ecx
dec edx
movzx eax, byte [edx]
test byte [eax + 0x657150], 1
jne 0x5601b0
mov eax, dword [esp + 0x54]
dec eax
mov dword [esp + 0x18], 1
add eax, ecx
xor ecx, ecx
push ecx
push ecx
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
push eax
push ecx
push esi
call fcn.005617fc
add esp, 0x14
push edi
push ebx
call fcn.00576de5
cmp byte [esi + 0xdc], 2
pop ecx
pop ecx
jb 0x5601ff
push ebp
push esi
call fcn.00573e7c
pop ecx
pop ecx
test ebp, ebp
je 0x56020c
push ebp
push ebx
call fcn.005408da
pop ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret

Function at 0x56223e
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
mov edx, dword [eax + 4]
test edx, edx
je 0x56226c
push esi
mov esi, dword [esp + 0xc]
mov eax, dword [edx + 0x98]
lea ecx, [esi + 1]
xor ecx, eax
and ecx, 3
xor ecx, eax
mov dword [edx + 0x98], ecx
mov edx, dword [edx + 8]
test edx, edx
jne 0x56224e
pop esi
ret
Function at 0x57879f
Capabilities:
Create thread

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
xor ebx, ebx
push esi
push ebx
push 0x14
mov dword [ebp], ebx
call fcn.0056cc94
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x5787c3
push 7
pop eax
jmp 0x57884b
push edi
cmp byte [0x6631ac], bl
je 0x57881a
mov eax, dword [0x6632a8]
test eax, eax
je 0x5787e1
push 0xc8
call eax
pop ecx
test eax, eax
jne 0x57881a
mov eax, dword [esp + 0x18]
lea edi, [esi + 8]
mov dword [edi], eax
lea ebx, [esi + 4]
mov eax, dword [esp + 0x1c]
push ebx
mov dword [esi + 0xc], eax
xor eax, eax
push eax
push esi
push 0x5788a4
push eax
push eax
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x18
mov dword [esi], eax
test eax, eax
jne 0x57882c
push 0x14
push eax
push esi
call sub.VCRUNTIME140.dll_memset
jmp 0x578829
push 0x14
push ebx
push esi
call sub.VCRUNTIME140.dll_memset
lea edi, [esi + 8]
lea ebx, [esi + 4]
add esp, 0xc
cmp dword [edi], 0
pop edi
jne 0x578846
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
push dword [esp + 0x18]
mov dword [ebx], eax
call dword [esp + 0x18]
pop ecx
mov dword [esi + 0x10], eax
mov dword [ebp], esi
xor eax, eax
pop esi
pop ebp
pop ebx
ret

Function at 0x5793d8
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x18
push ebx
mov ebx, dword [esp + 0x20]
xor edx, edx
push ebp
push esi
mov esi, dword [esp + 0x30]
mov eax, dword [ebx]
push edi
mov ebp, dword [esi + 0xc]
mov ecx, dword [eax + 0x78]
mov dword [esp + 0x10], eax
xor eax, eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
mov word [esp + 0x24], ax
cmp dword [esi + 0x28], eax
je 0x579427
push dword [esi]
lea eax, [esp + 0x14]
push str.index__q
push eax
call fcn.0052648b
add esp, 0xc
jmp 0x579498
mov edi, eax
xor eax, eax
cmp ax, word [esi + 0x32]
jae 0x5794c9
mov eax, dword [esi + 4]
movsx ecx, word [eax + edi*2]
mov eax, dword [ebp + 4]
add ecx, ecx
mov eax, dword [eax + ecx*8]
mov dword [esp + 0x34], eax
test edi, edi
je 0x579460
push 2
lea eax, [esp + 0x14]
push 0x65d554
push eax
call fcn.005276d9
add esp, 0xc
push dword [ebp]
lea eax, [esp + 0x14]
push eax
call fcn.00527717
push 1
lea eax, [esp + 0x1c]
push 0x65a800
push eax
call fcn.005276d9
push dword [esp + 0x48]
lea eax, [esp + 0x28]
push eax
call fcn.00527717
movzx eax, word [esi + 0x32]
add esp, 0x1c
inc edi
cmp edi, eax
jl 0x579435
mov edx, dword [esp + 0x14]
test edx, edx
je 0x5794c9
mov eax, dword [esp + 0x20]
mov byte [eax + edx], 0
cmp dword [esp + 0x1c], 0
jbe 0x5794c5
test byte [esp + 0x25], 4
jne 0x5794c5
lea eax, [esp + 0x10]
push eax
call fcn.0058c416
pop ecx
mov edx, eax
jmp 0x5794c9
mov edx, dword [esp + 0x14]
mov eax, dword [esi + 0x38]
mov ecx, 0x813
push 2
push 0xfffffffffffffffa
push edx
push dword [esp + 0x3c]
and al, 3
mov edx, 0x613
cmp al, 2
cmove ecx, edx
push ecx
push ebx
call fcn.0056a03a
add esp, 0x18
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
Function at 0x582b8e
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x50
push esi
mov esi, dword [esp + 0x5c]
push esi
call fcn.005443db
and dword [esp + 0x20], 0
xor eax, eax
mov word [esp + 0x18], ax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x1c], eax
lea eax, [esp + 8]
push eax
push dword [esi + 0x2c]
push esi
call fcn.005834c3
add esp, 0x10
test eax, eax
jne 0x582c94
push ebx
mov ebx, dword [esp + 0x10]
push ebp
mov ebp, 0x80
movzx esi, byte [ebx]
mov dword [esp + 0x64], esi
cmp esi, ebp
jb 0x582bf0
lea eax, [esp + 0x64]
push eax
push ebx
call fcn.00569f9c
mov esi, dword [esp + 0x6c]
pop ecx
pop ecx
push edi
cmp esi, 3
jb 0x582c74
mov edi, dword [esp + 0x1c]
cmp esi, edi
ja 0x582c74
lea eax, [ebx - 1]
add eax, esi
movzx ecx, byte [eax]
mov dword [esp + 0x68], ecx
cmp ecx, ebp
jb 0x582c1f
lea ecx, [esp + 0x68]
push ecx
push eax
call fcn.00569f9c
pop ecx
pop ecx
mov ecx, dword [esp + 0x68]
lea eax, [ecx - 1]
cmp eax, 8
ja 0x582c74
cmp ecx, 7
je 0x582c74
movzx edx, byte [ecx + 0x656e58]
lea eax, [edx + esi]
cmp edi, eax
jb 0x582c74
lea eax, [esp + 0x38]
sub edi, edx
push eax
push ecx
add edi, ebx
push edi
call fcn.005849fb
mov eax, dword [esp + 0x78]
add esp, 0xc
cmp dword [esp + 0x28], 0
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov dword [eax], ecx
mov dword [eax + 4], edx
je 0x582c70
lea eax, [esp + 0x10]
push eax
call fcn.0058efa2
pop ecx
xor eax, eax
jmp 0x582c91
cmp dword [esp + 0x28], 0
je 0x582c86
lea eax, [esp + 0x10]
push eax
call fcn.0058efa2
pop ecx
push 0x15d98
call fcn.0055ed8e
pop ecx
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x50
ret
Function at 0x59a984
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x10]
xor ebx, ebx
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0x1c]
mov edx, dword [esi + 8]
test edi, edi
jle 0x59a9b5
mov ecx, dword [esi]
mov al, byte [ebx + ebp]
xor byte [ecx + edx], al
lea eax, [edx + 1]
xor edx, edx
cmp eax, dword [esi + 4]
cmovl edx, eax
inc ebx
cmp ebx, edi
jl 0x59a99d
add dword [esi + 0xc], edi
pop edi
mov dword [esi + 8], edx
pop esi
pop ebp
pop ebx
ret
Function at 0x59e236
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
test eax, eax
je 0x59e275
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x59e275
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x59e275
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x59e275
cmp dword [ecx + 0x74], 0xe
jbe 0x59e275
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x5a4800
Capabilities:
Allocate thread local storage

Disassembly:
push ebx
push edi
push esi
sub esp, 0x20
cmp dword [ecx + 4], 0
mov esi, ecx
je 0x5a4881
lea ebx, [esi + 0xc]
mov dword [esp + 4], 0
lea eax, [esp + 4]
push 0
push eax
push 0
push ebx
call dword [sym.imp.kernel32.dll_InitOnceBeginInitialize]
cmp eax, 1
mov dword [esp], eax
jne 0x5a48bc
cmp dword [esp + 4], 0
je 0x5a48a3
call dword [sym.imp.kernel32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x5a48da
mov edi, eax
inc eax
mov dword [esi], eax
mov eax, dword [0x6663c8]
nop word cs:[eax + eax]
nop
mov dword [esi + 8], eax
lock cmpxchg dword [0x6663c8], esi
jne 0x5a4860
mov byte [0x6663c4], 1
push 0
push 0
push ebx
call dword [sym.imp.kernel32.dll_InitOnceComplete]
jmp 0x5a48b3
call dword [sym.imp.kernel32.dll_TlsAlloc]
cmp eax, 0xffffffff
mov dword [esp], eax
je 0x5a491b
mov ecx, eax
xor eax, eax
inc ecx
lock cmpxchg dword [esi], ecx
jne 0x5a48a7
mov edi, dword [esp]
jmp 0x5a48b3
mov edi, dword [esi]
jmp 0x5a48b2
mov edi, eax
push dword [esp]
call dword [sym.imp.kernel32.dll_TlsFree]
dec edi
mov eax, edi
add esp, 0x20
pop esi
pop edi
pop ebx
ret
mov dword [esp + 8], 0
lea eax, [esp + 8]
mov ecx, esp
mov edx, 0x629ec8
push 0x629f28
push eax
call fcn.005a4950
push 0
push 4
push ebx
call dword [sym.imp.kernel32.dll_InitOnceComplete]
lea ecx, [esp + 8]
mov edx, 0x629f18
mov dword [esp + 8], 0x629ee0
mov dword [esp + 0xc], 1
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], str._rustc_07dca489ac2d933c78d3c5158e3f43beefeb02celibrarycore_src_sync_atomic.rsthere_is_no_such_thing_as_an_acquire_store
mov dword [esp + 0x14], 0
call fcn.0059ede0
mov ecx, esp
lea edx, [esp + 8]
mov dword [esp + 8], 0x629ee0
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], str._rustc_07dca489ac2d933c78d3c5158e3f43beefeb02celibrarycore_src_sync_atomic.rsthere_is_no_such_thing_as_an_acquire_store
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call fcn.005a4980
int3

Function at 0x5a4d40
Capabilities:
Resolve dns

Disassembly:
push ebx
push edi
push esi
sub esp, 0x34
mov esi, ecx
lea ecx, [esp + 4]
push dword [esp + 0x44]
call fcn.00415ed0
add esp, 4
mov eax, dword [esp + 4]
cmp eax, 0x80000000
jne 0x5a4db3
mov edi, dword [esp + 8]
mov ebx, dword [esp + 0xc]
xorps xmm0, xmm0
mov eax, esp
mov dword [esp], 0
lea ecx, [esp + 0x14]
movups xmmword [esp + 0x14], xmm0
movups xmmword [esp + 0x24], xmm0
mov dword [esp + 0x1c], 1
push eax
push ecx
push 0
push edi
call dword [sym.imp.ws2_32.dll_getaddrinfo]
test eax, eax
je 0x5a4dd5
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
mov dword [esi + 8], eax
mov dword [esi + 4], 0
mov eax, 1
jmp 0x5a4de9
mov ecx, dword [0x629108]
mov edx, dword [0x62910c]
test eax, eax
mov dword [esi + 8], edx
mov dword [esi + 4], ecx
mov dword [esi], 1
je 0x5a4dfe
mov ecx, dword [esp + 8]
jmp 0x5a4df4
mov ecx, dword [esp]
movzx eax, word [esp + 0x48]
mov dword [esi + 4], ecx
mov dword [esi + 8], ecx
mov word [esi + 0xc], ax
xor eax, eax
test ebx, ebx
mov dword [esi], eax
mov byte [edi], 0
je 0x5a4dfe
mov ecx, edi
mov edx, 1
call fcn.00407480
add esp, 0x34
pop esi
pop edi
pop ebx
ret
Function at 0x10006300
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100dd16a
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x10124b64]
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 ebx, dword [ebp + 8]
mov eax, dword [ebp + 0x54]
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], 0
cmp dword [esi + 0x200b4], 0
mov dword [ebp - 4], 2
jne 0x1000636c
push 0
push 0
push esi
push 0x10009e50
push 0
push 0
call fcn.100bbe83
add esp, 0x18
mov dword [esi + 0x200b4], eax
push 0x14
call fcn.100922e0
mov edi, eax
add esp, 4
mov dword [ebp - 0x3c], edi
mov byte [ebp - 4], 3
test edi, edi
je 0x100063a1
push dword [ebp - 0x40]
lea eax, [ebp + 0x3c]
sub esp, 0x18
mov ecx, esp
push eax
call fcn.10007f10
push edi
mov ecx, esi
call fcn.10007060
mov dword [ebp - 0x40], eax
jmp 0x100063a8
mov dword [ebp - 0x40], 0
push 0xc
mov byte [ebp - 4], 2
call fcn.100922e0
add esp, 4
mov dword [ebp - 0x3c], eax
mov byte [ebp - 4], 4
test eax, eax
je 0x100063cc
mov ecx, eax
call fcn.10008080
mov edi, eax
jmp 0x100063ce
xor edi, edi
push ebx
mov ecx, edi
mov byte [ebp - 4], 2
call fcn.1000c310
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x78]
mov dword [ebp - 0x44], 1
mov dword [ebp - 0x88], 0x10005c60
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x54], 0
mov ecx, dword [ebp + 0x38]
mov byte [ebp - 4], 5
test ecx, ecx
je 0x10006417
mov eax, dword [ecx]
lea edx, [ebp - 0x78]
push edx
call dword [eax]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x44], 3
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 7
push eax
call fcn.100076d0
mov ecx, dword [ebp - 0x54]
add esp, 4
mov dword [ebp - 0x14], eax
test ecx, ecx
je 0x1000645d
mov edx, dword [ecx]
lea eax, [ebp - 0x78]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebp - 0x54], 0
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 8
push eax
lea ecx, [esi + 0x2008c]
call fcn.1000ca50
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x10006488
mov edx, dword [ecx]
lea eax, [ebp - 0x38]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov ecx, dword [ebp + 0x38]
test ecx, ecx
je 0x100064a7
mov edx, dword [ecx]
lea eax, [ebp + 0x14]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebp + 0x38], 0
mov edx, dword [ebp + 0x50]
cmp edx, 0x10
jb 0x100064d7
mov ecx, dword [ebp + 0x3c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100064cd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100064f7
push edx
push ecx
call fcn.1009b0ef
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.1009b46e
mov esp, ebp
pop ebp
ret 0x50
call fcn.100b9349
int3
Function at 0x10015010
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100deb12
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x10124b64]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x430], esi
mov dword [ebp - 0x424], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
push 0x208
push eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x218]
push eax
mov dword [ebp - 0x424], 1
mov dword [ebp - 0x428], 0x104
call fcn.100b5e10
add esp, 0xc
mov dword [ebp - 0x42c], 1
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x42c]
push eax
push str.local_m2
push 0x100ef1c8
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x100150ee
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100150d0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.1000bb00
cmp dword [esi + 0x10], 0
jne 0x1001516a
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.100b5e10
add esp, 0xc
lea eax, [ebp - 0x420]
push 0x104
push eax
call fcn.10088150
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10015124
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.1000bb00
cmp dword [esi + 0x14], 8
mov eax, esi
mov ecx, dword [esi + 0x10]
jb 0x1001514f
mov eax, dword [esi]
add ecx, ecx
push ecx
push eax
push 1
push str.local_m2
push 0x100ef1c8
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1009b46e
mov esp, ebp
pop ebp
ret
Function at 0x1001bfa0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100df62b
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
mov eax, dword [0x10124b64]
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
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
mov dword [ebp - 4], 0
cmovae eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1001c0b6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call fcn.1006e7e0
push 1
mov ecx, eax
mov edx, dword [eax]
mov edx, dword [edx + 8]
call edx
movzx ecx, al
sub ecx, 1
jne 0x1001c0b6
push 0x74
mov dword [ebp - 0x30], ecx
mov byte [ebp - 0x40], cl
lea ecx, [ebp - 0x40]
push str.d:jenkins.jenkinsworkspacelib_commonjs_basic_branchjs_basicjs_basicjs_basicjsexternalcpp_interface_misc.cc
mov dword [ebp - 0x2c], 0xf
call fcn.1000ba10
push 3
push 0x100eef08
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.1000ba10
mov byte [ebp - 4], 2
call fcn.1006e7e0
mov edi, eax
lea ecx, [ebp - 0xd8]
push 0x250
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.100082f0
mov esi, eax
push str.WebDeleteFileImp_Failed___error_code_:
push esi
mov byte [ebp - 4], 3
call fcn.100059b0
add esp, 8
mov ecx, esi
push ebx
call fcn.100142d0
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0xd8]
call fcn.100096f0
lea ecx, [ebp - 0x28]
call fcn.10008e90
lea ecx, [ebp - 0x40]
call fcn.10008e90
mov edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x1001c0ec
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1001c0e2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001c10a
push edx
push ecx
call fcn.1009b0ef
add esp, 8
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.1009b46e
mov esp, ebp
pop ebp
ret 0x18
call fcn.100b9349
int3
Function at 0x10044140
Capabilities:
Check if file exists
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e430b
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x10124b64]
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 edi, ecx
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.100b5e10
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0x10000000
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x218]
push eax
call ebx
mov esi, dword [ebp + 8]
test esi, esi
je 0x100441c1
lea eax, [ebp - 0x218]
push eax
call ebx
sub esi, 1
jne 0x100441b3
push str.NetBridge.dll
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x21c]
call fcn.10007e60
push dword [ebp - 0x21c]
mov dword [ebp - 4], 0
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10044200
mov bl, 1
jmp 0x10044213
push dword [ebp - 0x21c]
call fcn.1008f530
add esp, 4
test eax, eax
sete bl
mov edx, dword [ebp - 0x21c]
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10044238
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test bl, bl
jne 0x100442ba
cmp dword [edi], 0
jne 0x100442a1
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [edi], eax
test eax, eax
je 0x100442ba
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.HttpInit
push eax
call esi
push str.HttpUninit
push dword [edi]
mov dword [edi + 4], eax
call esi
push str.zlib_uncompress
push dword [edi]
mov dword [edi + 8], eax
call esi
push str.zlib_compress
push dword [edi]
mov dword [edi + 0x10], eax
call esi
push str.zlib_compressBound
push dword [edi]
mov dword [edi + 0x14], eax
call esi
mov dword [edi + 0x18], eax
mov eax, dword [edi + 4]
test eax, eax
je 0x100442a1
call eax
mov dword [edi + 0xc], eax
cmp dword [edi + 8], 0
je 0x100442ba
cmp dword [edi + 4], 0
je 0x100442ba
cmp dword [edi + 0xc], 0
je 0x100442ba
mov eax, 1
jmp 0x100442bc
xor eax, eax
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.1009b46e
mov esp, ebp
pop ebp
ret 4
Function at 0x10047e70
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x10124b64]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x208
lea eax, [ebp - 0x20c]
mov esi, ecx
push 0
push eax
call fcn.100b5e10
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push dword [0x1012a084]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x20c]
push eax
call edi
lea eax, [ebp - 0x20c]
push eax
call edi
push str.PluginBasic.tpi
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
je 0x10047f28
lea eax, [ebp - 0x20c]
push eax
call fcn.1008f530
add esp, 4
test eax, eax
je 0x10047f28
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x10047f28
push str.GetLuaExplain
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10047f28
call eax
mov dword [esi], eax
mov ecx, dword [esi]
test ecx, ecx
jne 0x10047fa1
lea eax, [ebp - 0x20c]
push eax
call edi
lea eax, [ebp - 0x20c]
push eax
call edi
push str.UtilsLDSBasic.dll
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
je 0x10047f9b
lea eax, [ebp - 0x20c]
push eax
call fcn.1008f530
add esp, 4
test eax, eax
je 0x10047f9b
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x10047f9b
push str.GetLuaExplain
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10047f9b
call eax
mov dword [esi], eax
mov ecx, dword [esi]
test ecx, ecx
je 0x10047fa5
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1009b46e
mov esp, ebp
pop ebp
ret