joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47cc20
Capabilities:
Log keystrokes via polling

Disassembly:
push ecx
mov eax, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x24]
mov ecx, dword [eax + 0x7c]
push esi
cmp ebp, 0xffffffff
push edi
mov dword [esp + 0x10], ecx
jne 0x47ccd5
mov edx, dword [esp + 0x1c]
mov ebp, dword [edx]
test ebp, ebp
je 0x47ccac
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0x11
call esi
push 0x10
mov edi, eax
call esi
push 0x12
mov ebx, eax
call esi
xor ecx, ecx
test edi, 0x8000
je 0x47cc6c
mov ecx, 2
test bh, 0x80
je 0x47cc74
or ecx, 1
test ah, 0x80
je 0x47cc7c
or ecx, 4
mov esi, dword [esp + 0x28]
push ecx
mov ecx, esi
mov eax, dword [esp + 0x14]
shr ecx, 0x10
movsx edx, cx
mov eax, dword [eax + 8]
push edx
mov edx, dword [esp + 0x24]
movsx ecx, si
push ecx
mov ecx, dword [edx + 4]
push ecx
push eax
call ebp
test eax, eax
jne 0x47ccb2
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
mov esi, dword [esp + 0x28]
jmp 0x47ccb6
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push esi
push edx
mov edx, dword [eax + 0x14]
mov eax, dword [eax + 4]
push ecx
push edx
push eax
call dword [sym.imp.USER32.dll_CallWindowProcW]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0x11
call esi
push 0x10
mov edi, eax
call esi
push 0x12
mov ebx, eax
call esi
xor ecx, ecx
test edi, 0x8000
je 0x47ccfa
mov ecx, 2
test bh, 0x80
je 0x47cd02
or ecx, 1
test ah, 0x80
je 0x47cd0a
or ecx, 4
mov esi, dword [esp + 0x28]
push ecx
mov ecx, esi
mov edi, dword [esp + 0x1c]
shr ecx, 0x10
movsx edx, cx
movsx eax, si
push edx
push eax
push 3
push ebp
push edi
call fcn.0047cb40
add esp, 0x18
test eax, eax
je 0x47cca4
cmp ebp, 0x18
je 0x47cd3d
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov edx, dword [edi + 0x14]
push esi
push eax
mov eax, dword [edi + 4]
push ecx
push edx
push eax
call dword [sym.imp.USER32.dll_CallWindowProcW]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x47d550
Capabilities:
Allocate or change rwx memory

Disassembly:
mov eax, dword [0x5c2b60]
test eax, eax
je 0x47d566
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x47d5b3
mov eax, dword [eax]
test eax, eax
jne 0x47d559
push 0x40
push 0x3000
push 0x1000
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
je 0x47d5b3
lea ecx, [eax + 0x20]
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov edx, dword [eax + 4]
mov dword [ecx], edx
mov dword [eax + 4], ecx
add ecx, 0x20
mov edx, ecx
sub edx, eax
cmp edx, 0xfe0
jbe 0x47d58f
mov ecx, dword [0x5c2b60]
mov dword [eax], ecx
mov dword [0x5c2b60], eax
ret

Function at 0x47d9f0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
mov cl, byte [esi]
test cl, cl
je 0x47da09
cmp cl, 0x90
je 0x47da09
cmp cl, 0xcc
je 0x47da09
pop esi
xor eax, eax
ret
mov edx, dword [esp + 0xc]
mov eax, 1
cmp edx, eax
jbe 0x47da20
cmp byte [eax + esi], cl
jne 0x47da05
inc eax
cmp eax, edx
jb 0x47da16
pop esi
mov eax, 1
ret
Function at 0x485020
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
test esi, esi
push edi
jne 0x485030
mov esi, 1
push esi
call fcn.0049b737
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x485082
call fcn.0049c24d
mov edi, eax
call fcn.00487b80
mov ecx, dword [edi]
mov dword [eax], ecx
mov eax, dword [esp + 0x14]
mov edi, eax
and edi, 8
je 0x485066
mov edx, dword [0x4ec478]
mov dword [0x4ec474], edx
test al, 0x18
je 0x485077
push esi
push 0x24
push 5
call fcn.004883d0
add esp, 0xc
test edi, edi
je 0x48509d
push 1
call fcn.0049cf79
test byte [esp + 0x14], 0x20
je 0x48509d
mov ecx, esi
mov edx, ecx
shr ecx, 2
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
pop edi
pop esi
mov eax, ebx
pop ebx
ret

Function at 0x4861a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov edx, dword [ebp + 0x10]
test edx, edx
push ebx
push esi
push edi
je 0x486294
cmp byte [edx], 0
je 0x486287
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
add eax, 8
or ecx, 0xffffffff
mov dword [esp + 0xc], eax
xor eax, eax
mov edi, edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esp + 0x20]
push ecx
mov esi, ebx
call fcn.00486120
mov edi, dword [ebp + 0xc]
push 8
lea edx, [esp + 0x20]
push edi
push edx
call fcn.00486120
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
xor eax, edx
push eax
xor ecx, dword [esp + 0x34]
push ecx
lea edx, [esp + 0x40]
push edx
call fcn.00486090
mov eax, dword [esp + 0x30]
add esp, 0x24
cmp edi, eax
jae 0x486251
sub eax, edi
mov edi, eax
lea eax, [esp + 0x20]
push eax
call fcn.004860d0
fmul qword [0x4ca5e8]
push ecx
fstp qword [esp]
call fcn.0049a0a8
fadd qword [0x4ca5e0]
add esp, 8
call fcn.0049a178
mov byte [ebx], al
inc ebx
dec edi
jne 0x486224
lea ecx, [esp + 0x20]
push ecx
call fcn.004860d0
fmul qword [0x4ca5e8]
push ecx
fstp qword [esp]
call fcn.0049a0a8
add esp, 8
call fcn.0049a178
cmp esi, ebx
je 0x48627d
xor byte [esi], al
inc esi
cmp esi, ebx
jne 0x486276
mov byte [ebx], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 8]
mov byte [edx], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
pop edi
pop esi
mov byte [eax], 0
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x486660
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
push esi
lea eax, [ebx + 0x134]
push edi
lea esi, [ebx + 0x34]
mov dword [esp + 0x14], eax
xor edi, edi
mov ecx, dword [ebx + 0x1c]
mov ebp, edi
and ebp, 0xff
mov al, byte [ecx + ebp + 1]
test al, 3
je 0x486690
mov byte [edi + esi], 2
jmp 0x4866c7
test al, 4
je 0x48669a
mov byte [edi + esi], 0xd
jmp 0x4866c7
mov edx, dword [ebx + 0x240]
push edi
push ebx
call dword [edx + 4]
add esp, 8
cmp eax, 1
jle 0x4866b3
mov byte [edi + esi], 2
jmp 0x4866c7
mov eax, dword [ebx + 0x1c]
test byte [eax + ebp + 1], 0x17
jne 0x4866c3
mov byte [edi + esi], 0x19
jmp 0x4866c7
mov byte [edi + esi], 1
inc edi
cmp edi, 0x100
jb 0x486677
mov ecx, dword [esp + 0x14]
mov al, 7
mov byte [esi + 0x21], al
mov byte [esi + 0x3d], al
mov byte [esi + 0x3e], al
mov al, 0x10
mov byte [esi + 0x7c], al
mov byte [esi + 0x26], al
mov byte [esi + 0x24], 2
mov byte [esi + 0x5f], 2
mov byte [esi + 0x27], 9
mov byte [esi + 0x2e], 0xf
mov byte [esi + 0x3c], 8
mov byte [esi + 0x23], 0xa
mov byte [esi + 0x3b], 0x15
mov byte [esi + 0x3a], 0x16
mov byte [esi], 0x11
mov byte [esi + 0x5c], 0x12
mov byte [esi + 0x2f], 0x13
mov byte [esi + 0x2a], 0x14
mov byte [esi + 0x40], 0x17
mov byte [esi + 0x60], 0x1a
mov byte [esi + 0x22], 0x20
mov eax, esi
sub ecx, esi
mov edi, 0x100
mov dl, byte [eax]
cmp dl, 2
je 0x48673b
cmp dl, 0xd
je 0x48673b
xor edx, edx
jmp 0x486740
mov edx, 1
mov byte [ecx + eax], dl
inc eax
dec edi
jne 0x48672b
mov al, 0x1d
mov byte [esi + 0x58], al
mov byte [esi + 0x78], al
mov al, 0x1f
pop edi
mov byte [esi + 0x62], 0x1e
mov byte [esi + 0x4e], al
mov byte [esi + 0x6e], al
pop esi
pop ebp
pop ebx
ret

Function at 0x486760
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
push ebx
push 0x4000
call fcn.00485020
mov esi, eax
add esp, 8
test esi, esi
jne 0x486781
pop edi
pop esi
xor al, al
pop ebx
ret
mov eax, dword [esp + 0x10]
push ebx
push 0
push eax
call fcn.00487dc0
mov edi, eax
add esp, 0xc
test edi, edi
jge 0x4867a6
push esi
call fcn.004850b0
add esp, 4
pop edi
pop esi
mov al, 1
pop ebx
ret
push ebp
push 0x4000
push esi
push edi
call fcn.0049e961
push ebx
push edi
mov ebp, eax
call fcn.00487e30
push 0x4867e0
push ebp
push esi
call fcn.00489160
push esi
call fcn.004850b0
add esp, 0x24
pop ebp
pop edi
pop esi
xor al, al
pop ebx
ret
Function at 0x487af0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebx
push esi
push 0x5c2c60
xor bl, bl
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x5c2b84]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x487b6b
push 0x4c
push 1
call fcn.0049c675
mov esi, eax
add esp, 8
test esi, esi
jne 0x487b33
push 0x5c2c60
mov bl, 1
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
mov al, bl
pop ebx
ret
mov ecx, dword [0x5c2b84]
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, dword [0x5b801c]
inc eax
lea edx, [esi + 0xc]
mov dword [0x5b801c], eax
push edx
mov dword [esi + 0x30], eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea eax, [esi + 4]
push 0
push eax
call fcn.0048b6a0
add esp, 8
mov byte [esi + 0x3c], 1
push 0x5c2c60
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
mov al, bl
pop ebx
ret

Function at 0x487ff0
Capabilities:
Read file on windows

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x1c], edi
call fcn.0049c24d
mov ebx, dword [esp + 0x14]
mov dword [eax], 0
mov eax, dword [esp + 0x18]
push edi
push eax
push ebx
call fcn.0049e961
mov esi, eax
add esp, 0xc
cmp esi, edi
je 0x4880ea
call fcn.0049c24d
cmp dword [eax], 0
je 0x488037
call fcn.0049c24d
mov ebp, dword [eax]
jmp 0x48803a
or ebp, 0xffffffff
call fcn.00487b80
test esi, esi
mov dword [eax], ebp
jne 0x48804f
call fcn.0049c24d
cmp dword [eax], 4
je 0x48809f
mov eax, dword [esp + 0x20]
test al, 0x1a
je 0x488082
cmp esi, 0xffffffff
je 0x4880c4
test al, 6
je 0x488082
call fcn.00487b80
mov ecx, dword [eax]
push ecx
push ebx
call fcn.0048b6d0
add esp, 4
push eax
push 0x24
push 9
call fcn.004883d0
mov eax, dword [esp + 0x30]
add esp, 0x10
cmp esi, 0xffffffff
je 0x4880e2
test al, 6
je 0x488090
test ah, 2
je 0x4880e2
test esi, esi
jbe 0x4880ee
test ah, 2
je 0x4880ee
add dword [esp + 0x18], esi
sub edi, esi
call fcn.0049c24d
mov edx, dword [esp + 0x18]
push edi
push edx
push ebx
mov dword [eax], 0
call fcn.0049e961
mov esi, eax
add esp, 0xc
cmp esi, edi
je 0x4880ea
jmp 0x488024
call fcn.00487b80
mov eax, dword [eax]
push eax
push ebx
call fcn.0048b6d0
add esp, 4
push eax
push 0x24
push 2
call fcn.004883d0
add esp, 0x10
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
ret
mov eax, dword [esp + 0x20]
test al, 6
je 0x4880fb
xor esi, esi
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
ret
test ah, 2
je 0x488104
mov esi, dword [esp + 0x1c]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
ret

Function at 0x49e404
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x49e424
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0049c1da
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x49e447
test byte [esp + 8], 2
je 0x49e447
call fcn.0049c24d
mov dword [eax], 0xd
call fcn.0049c256
mov dword [eax], 5
jmp 0x49e420
xor eax, eax
ret
Function at 0x4b0d04
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4b0d3c
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004aed8e
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004aed66
jmp 0x4b0d48
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4b23f6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4b2438
call fcn.004b7ea6
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4b2438
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4b242f
xor eax, eax
jmp 0x4b2440
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004b2446
pop edi
pop esi
pop ebx
ret 4

Function at 0x4b83d6
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4b8404
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4b8422
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004b833c
jmp 0x4b8422
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4b8422
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004b833c
test edi, edi
mov eax, edi
jne 0x4b840c
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x1000a340
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x1000a399
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x1000a399
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x1000a38a
cmp esi, edx
jae 0x1000a399
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x1000a378
cmp esi, edx
jae 0x1000a399
cmp word [esi], 0
je 0x1000a399
mov eax, esi
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret
Function at 0x10011700
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e16b1
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x10129fb4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], 0
mov edi, dword [ebp + 8]
mov dword [edi + 0x18], 0xf
lea ecx, [edi + 4]
mov byte [edi + 4], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0xf
mov byte [edi + 0x1c], 0
mov dword [edi], 0
cmp dword [edi + 0x18], 0x10
mov dword [edi + 0x14], 0
jb 0x1001176a
mov ecx, dword [edi + 4]
mov byte [ecx], 0
mov ebx, dword [ebp + 0xc]
mov ecx, esi
push ebx
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 1
call fcn.10088ba0
mov eax, dword [esi + 0xc]
test eax, eax
je 0x100117fa
cmp eax, 8
je 0x1001179b
cmp eax, 7
jne 0x100118ca
sub esp, 0x18
lea eax, [esi + 0x20058]
mov ecx, esp
push eax
call fcn.10007b00
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 4]
call eax
test al, al
je 0x100118ca
push ebx
mov ecx, esi
call fcn.10088ba0
mov eax, dword [esi + 0xc]
test eax, eax
je 0x100117fa
sub esp, 0x18
mov ecx, esp
push 0x14
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
push str.rpc_client_send_fail
mov byte [ecx], 0
call fcn.1000b040
mov ecx, esi
call fcn.10089130
jmp 0x100118ca
xorps xmm0, xmm0
mov dword [ebp - 0x24], 1
movups xmmword [ebp - 0x20], xmm0
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 1
push eax
mov ecx, esi
call fcn.100889e0
cmp dword [esi + 0xc], 0
je 0x1001182d
lea ecx, [ebp - 0x24]
call fcn.10008e40
jmp 0x100118ca
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
sub eax, ecx
test eax, eax
jle 0x1001189d
push 4
call fcn.1009e4ad
mov ecx, dword [ebp - 0x1c]
mov ebx, eax
mov eax, dword [ebp - 0x20]
add esp, 4
mov edx, dword [ebp - 0x14]
sub ecx, eax
cmp edx, ecx
jae 0x10011874
mov ecx, dword [edx + eax]
mov dword [ebx], ecx
add dword [ebp - 0x14], 4
cmp dword [ebp - 0x24], 0
jne 0x10011870
lea eax, [ebx + 4]
push eax
push ebx
call fcn.10066ac9
add esp, 8
mov eax, dword [ebx]
mov dword [edi], eax
push ebx
call fcn.1009e4b6
add esp, 4
lea eax, [edi + 4]
lea ecx, [ebp - 0x24]
push eax
call fcn.100058e0
cmp dword [edi], 0
jne 0x1001189a
lea eax, [edi + 0x1c]
push eax
lea ecx, [ebp - 0x24]
call fcn.100058e0
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x100118ca
mov edx, dword [ebp - 0x18]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x100118c0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100118e5
push edx
push ecx
call fcn.1009e49f
add esp, 8
mov ecx, dword [esi + 0xc]
mov eax, edi
mov dword [edi], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
call fcn.100bc709
int3
Function at 0x100153c0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e1ea2
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x10129fb4]
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.100b91d0
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 0x100f31b0
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x1001549e
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10015480
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.1000b130
cmp dword [esi + 0x10], 0
jne 0x1001551a
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.100b91d0
add esp, 0xc
lea eax, [ebp - 0x420]
push 0x104
push eax
call fcn.1008b580
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100154d4
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.1000b130
cmp dword [esi + 0x14], 8
mov eax, esi
mov ecx, dword [esi + 0x10]
jb 0x100154ff
mov eax, dword [esi]
add ecx, ecx
push ecx
push eax
push 1
push str.local_m2
push 0x100f31b0
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.1009e81e
mov esp, ebp
pop ebp
ret
Function at 0x1001c770
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e2a1b
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
mov eax, dword [0x10129fb4]
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 0x1001c886
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call fcn.1006cd40
push 1
mov ecx, eax
mov edx, dword [eax]
mov edx, dword [edx + 8]
call edx
movzx ecx, al
sub ecx, 1
jne 0x1001c886
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.1000b040
push 3
push 0x100f2f40
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.1000b040
mov byte [ebp - 4], 2
call fcn.1006cd40
mov edi, eax
lea ecx, [ebp - 0xd8]
push 0x24e
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.10007ce0
mov esi, eax
push str.WebDeleteFileImp_Failed___error_code_:
push esi
mov byte [ebp - 4], 3
call fcn.10005ac0
add esp, 8
mov ecx, esi
push ebx
call fcn.10014510
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0xd8]
call fcn.100090e0
lea ecx, [ebp - 0x28]
call fcn.10008880
lea ecx, [ebp - 0x40]
call fcn.10008880
mov edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x1001c8bc
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1001c8b2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001c8da
push edx
push ecx
call fcn.1009e49f
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.1009e81e
mov esp, ebp
pop ebp
ret 0x18
call fcn.100bc709
int3
Function at 0x10044fc0
Capabilities:
Check if file exists
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e76eb
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x10129fb4]
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.100b91d0
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 0x10045041
lea eax, [ebp - 0x218]
push eax
call ebx
sub esi, 1
jne 0x10045033
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.100079c0
push dword [ebp - 0x21c]
mov dword [ebp - 4], 0
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10045080
mov bl, 1
jmp 0x10045093
push dword [ebp - 0x21c]
call fcn.100928d0
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 0x100450b8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test bl, bl
jne 0x1004513a
cmp dword [edi], 0
jne 0x10045121
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [edi], eax
test eax, eax
je 0x1004513a
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 0x10045121
call eax
mov dword [edi + 0xc], eax
cmp dword [edi + 8], 0
je 0x1004513a
cmp dword [edi + 4], 0
je 0x1004513a
cmp dword [edi + 0xc], 0
je 0x1004513a
mov eax, 1
jmp 0x1004513c
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.1009e81e
mov esp, ebp
pop ebp
ret 4