joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4070ab
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push dword [esp + 0x14]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
ret 8

Function at 0x4070c5
Capabilities:
Set registry value

Disassembly:
cmp dword [esp + 8], 0
push ebp
mov ebp, ecx
jne 0x4070d4
push 0xd
pop eax
jmp 0x407105
push ebx
mov ebx, dword [esp + 0x10]
push edi
xor edi, edi
push ebx
call fcn.00446b50
inc eax
add ebx, eax
add edi, eax
pop ecx
cmp eax, 1
jne 0x4070dc
push edi
push dword [esp + 0x18]
push 7
push 0
push dword [esp + 0x20]
push dword [ebp]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop ebx
pop ebp
ret 8

Function at 0x4080f1
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
inc ebp
mov dword [0xa445c624], eax
and al, dh
inc ebp
movsd dword es:[edi], dword [esi]
xor eax, 0x41a645c6
call fcn.00407d40
push eax
push esi
push dword [ebp + 8]
call fcn.00407cf5
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.00407d40
push eax
push esi
push dword [ebp + 8]
call fcn.00407cf5
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.00407d30
mov ebx, 0x8828fb17
popfd
jl 0x4081b5
invalid
invalid

Function at 0x408128
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc ebp
mov dword [0xa445c624], eax
and al, dh
inc ebp
movsd dword es:[edi], dword [esi]
xor eax, 0x41a645c6
Function at 0x4083be
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x4083e4
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
ror byte [ecx - 0x35c4f7b3], 1
jae 0x4083df
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x4083c9
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x4083d1
cmp edx, ebx
jne 0x40851f
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x4083a0
add eax, dword [eax + 4]
jmp 0x40838d
mov dword [ebp + 0xc], ebx
jmp 0x4083ef
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x408407
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x408425
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
test bh, al
clc
add byte [eax], al
invalid
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x408483
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x40846a
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x408473
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x40847d
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x40845f
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x4083e9
mov dword [ebp + 8], esi
xor edi, edi
Function at 0x408402
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x4083e4
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
ror byte [ecx - 0x35c4f7b3], 1
jae 0x4083df
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x4083c9
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x4083d1
cmp edx, ebx
jne 0x40851f
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x4083a0
add eax, dword [eax + 4]
jmp 0x40838d
mov dword [ebp + 0xc], ebx
jmp 0x4083ef
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x408407
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x408425
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
test bh, al
clc
add byte [eax], al
invalid
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x408483
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x40846a
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x408473
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x40847d
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x40845f
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x4083e9
mov dword [ebp + 8], esi
xor edi, edi

Function at 0x40841c
Capabilities:
Inspect section memory permissions

Disassembly:
test bh, al
clc
add byte [eax], al
add byte [ebx + 0x448d2478], cl
or bh, bh

Function at 0x40892d
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push dword [ebp + 0x14]
call fcn.00407cf5
add esp, 0xc
mov dword [ebp - 0x39c], eax
call fcn.00407d30
popfd
inc ebx
js 0x408985
and byte [ebp - 0x514], 0
and byte [ebp - 0x513], 0
add byte [eax - 0x5125b], al
inc dword [eax]
mov byte [ebp - 0x512], 0xe3
and byte [ebp - 0x511], 0
mov byte [ebp - 0x510], 0x5b
mov byte [ebp - 0x50f], 0x79
mov byte [ebp - 0x50e], 0x68
mov byte [ebp - 0x50d], 0x5a
jne 0x40894d
test ebp, esi
cli
invalid
Function at 0x4091c7
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x724], 0x48
mov byte [ebp - 0x723], 0x5c
mov byte [ebp - 0x722], 0x51
mov byte [ebp - 0x721], 0x6d
mov byte [ebp - 0x720], 0x4f
mov byte [ebp - 0x71f], 0x52
mov byte [ebp - 0x71e], 0x49
mov byte [ebp - 0x71d], 0x58
mov byte [ebp - 0x71c], 0x5e
mov byte [ebp - 0x71b], 0x49
mov byte [ebp - 0x71a], 0x3d
call fcn.00407d30
push cs
and cl, bl
mov cl, byte [ebp - 0x72b7b]
call dword [eax - 0x18]
pop ss
jmp 0x409227
invalid
Function at 0x40a351
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x494334]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventA]
xor ebx, ebx
push edi
mov edi, dword [ebp + 8]
push ebx
push ebx
push 1
mov dword [edi + 0xc], 0xbc2
mov eax, dword [0x496f50]
push ebx
mov dword [edi + 0x18], eax
call esi
push ebx
push ebx
push 1
push ebx
mov dword [edi + 0x20], eax
call esi
push ebx
push ebx
push 1
push ebx
mov dword [edi + 0x24], eax
call esi
mov dword [edi + 0x38], eax
call fcn.004127d5
mov dword [edi + 0x3c], eax
call fcn.0040ca0c
push dword [edi + 0x20]
mov esi, dword [sym.imp.KERNEL32.dll_ResetEvent]
mov dword [edi + 0x40], eax
call esi
push dword [edi + 0x24]
call esi
push dword [edi + 0x38]
call esi
lea eax, [ebp - 0x10c]
push eax
push ebx
push edi
push 0x40a193
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x40a3e5
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xffffffffffffffff
push dword [edi + 0x20]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [edi + 0x20]
call esi
mov esi, dword [sym.imp.USER32.dll_LoadStringA]
lea eax, [edi + 0x54]
mov ebx, 0x104
push ebx
push eax
push 0x7b
push dword [edi + 0x18]
call esi
push ebx
lea eax, [ebp - 0x108]
push eax
push 0x7c
push dword [edi + 0x18]
call esi
lea eax, [ebp - 0x108]
mov ecx, edi
push eax
call fcn.0040a477
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044119a
leave
ret 4

Function at 0x40b601
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov eax, dword [esp + 0x10]
push ebx
push ebp
mov ebp, dword [esp + 0x10]
lea ecx, [eax - 1]
push esi
mov ebx, ecx
push edi
mov edi, dword [esp + 0x1c]
mov esi, edi
sar ebx, 1
mov dword [esp + 0x10], edi
mov dword [esp + 0x1c], ecx
cmp edi, ebx
jge 0x40b65d
add esi, esi
lea eax, [esi + 2]
imul ecx, eax, 0x30
add ecx, ebp
lea eax, [ecx - 0x30]
push eax
call fcn.0040a013
movzx eax, al
xor eax, 1
imul ecx, edi, 0x30
inc eax
add esi, eax
imul eax, esi, 0x30
add ecx, ebp
add eax, ebp
push eax
call fcn.0040c37f
mov edi, esi
cmp esi, ebx
jl 0x40b627
mov eax, dword [esp + 0x20]
cmp esi, ebx
jne 0x40b67c
test al, 1
jne 0x40b67c
imul eax, eax, 0x30
imul ecx, edi, 0x30
add eax, 0xffffffd0
add eax, ebp
add ecx, ebp
push eax
call fcn.0040c37f
mov edi, dword [esp + 0x1c]
push dword [esp + 0x28]
push dword [esp + 0x28]
push dword [esp + 0x18]
push edi
push ebp
call fcn.0040b722
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x40c354
Capabilities:
Inspect section memory permissions

Disassembly:
push esi
mov esi, ecx
lea ecx, [esi + 0x78]
call fcn.00408398
lea ecx, [esi + 0x60]
call fcn.00408398
lea ecx, [esi + 0x48]
call fcn.00408398
lea ecx, [esi + 0x18]
call fcn.00408398
mov ecx, esi
pop esi
jmp fcn.00408398
Function at 0x416f31
Capabilities:
Decode data using base64 via winapi

Disassembly:
push 0x6c
mov eax, 0x46812d
call fcn.0044120d
mov ebx, dword [ebp + 0xc]
xor esi, esi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x74], edi
lea ecx, [ebx + 0x10]
mov dword [ebp - 0x74], ecx
cmp dword [ecx], esi
jne 0x416f5f
mov dword [edi], esi
mov dword [edi + 4], esi
mov dword [edi + 8], esi
jmp 0x41705d
cmp dword [ebx + 0x14], 0x10
mov eax, ebx
mov dword [ebp - 0x5c], esi
jb 0x416f6c
mov eax, dword [ebx]
push esi
push esi
lea edx, [ebp - 0x5c]
push edx
push esi
push 1
push dword [ecx]
push eax
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
je 0x417065
mov esi, dword [ebp - 0x5c]
xor eax, eax
and dword [ebp - 0x68], eax
and dword [ebp - 0x64], eax
mov dword [ebp - 0x6c], eax
test esi, esi
je 0x416fd4
cmp esi, 0x7fffffff
ja 0x4170a6
push esi
cmp esi, 0x1000
jb 0x416fb4
call fcn.00402a96
jmp 0x416fb9
call fcn.00440d00
pop ecx
add esi, eax
mov dword [ebp - 0x70], eax
push esi
push eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x64], esi
call fcn.004120ae
mov eax, dword [ebp - 0x70]
pop ecx
pop ecx
mov dword [ebp - 0x68], esi
cmp dword [ebx + 0x14], 0x10
mov dword [ebp - 4], 2
jb 0x416fe3
mov ebx, dword [ebx]
push 0
push 0
lea ecx, [ebp - 0x5c]
push ecx
push eax
mov eax, dword [ebp - 0x74]
push 1
push dword [eax]
push ebx
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
jne 0x41703d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.004170ac
push eax
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 3
push str.string2binary__phase2__failed__sysError
push eax
call fcn.0040297a
add esp, 0x18
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.00403346
push 0x48a854
lea eax, [ebp - 0x1c]
jmp 0x4170a0
lea eax, [ebp - 0x5d]
push eax
push dword [ebp - 0x5c]
lea ecx, [ebp - 0x6c]
call fcn.00416934
mov eax, dword [ebp - 0x6c]
mov dword [edi], eax
mov eax, dword [ebp - 0x68]
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x64]
mov dword [edi + 8], eax
mov eax, edi
call fcn.004411bc
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004170ac
push eax
lea eax, [ebp - 0x40]
mov dword [ebp - 4], esi
push str.string2binary__phase1__failed__sysError
push eax
call fcn.0040297a
add esp, 0x18
push eax
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 1
call fcn.00403346
push 0x48a854
lea eax, [ebp - 0x6c]
push eax
call fcn.00442f9e
call fcn.0040e8cb
int3

Function at 0x4186d6
Capabilities:
Inspect section memory permissions

Disassembly:
push esi
mov esi, ecx
lea ecx, [esi + 0x7c]
call fcn.00408398
lea ecx, [esi + 0x64]
call fcn.00408398
lea ecx, [esi + 0x48]
call fcn.00408398
lea ecx, [esi + 0x30]
call fcn.00408398
lea ecx, [esi + 0x18]
pop esi
jmp fcn.00408398
Function at 0x419f31
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x14
mov eax, 0x4687d7
call fcn.004411da
mov ebx, ecx
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0x10]
push eax
push 0
push edi
push 0
push dword [ebp + 8]
push dword [ebx + 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
test esi, esi
je 0x419fb4
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], eax
mov ecx, edi
lea eax, [ebp - 0x20]
push eax
call fcn.00419e6f
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x419fb0
mov eax, dword [ebp - 0x14]
sub eax, ecx
mov dword [ebp + 0xc], ecx
mov dword [ebp + 8], eax
cmp eax, 0x1000
jb 0x419fa7
lea eax, [ebp + 8]
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.00407e86
mov eax, dword [ebp + 8]
pop ecx
pop ecx
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call fcn.00440d30
pop ecx
pop ecx
mov eax, esi
jmp 0x419fd9
lea eax, [ebp + 0xf]
push eax
push dword [ebp - 0x10]
lea ecx, [edi + 4]
call fcn.00416934
lea eax, [ebp - 0x10]
push eax
push dword [edi + 4]
push edi
push 0
push dword [ebp + 8]
push dword [ebx + 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
call fcn.004411a8
ret 8

Function at 0x41d341
Capabilities:
Get common file path

Disassembly:
push 0x38
mov eax, 0x468d54
call fcn.0044120d
mov eax, dword [ebp + 8]
mov edi, 0x104
push edi
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x34], eax
call fcn.00440d00
mov ebx, eax
mov dword [ebp - 0x40], ebx
lea esi, [ebx + 0x104]
push esi
push ebx
mov dword [ebp - 0x38], esi
call fcn.004120ae
add esp, 0xc
mov dword [ebp - 0x3c], esi
and dword [ebp - 4], 0
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov edi, ebx
cmp eax, 0x104
jbe 0x41d3b3
lea ecx, [ebp - 0x2d]
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.00416934
mov eax, dword [ebp - 0x3c]
mov ebx, dword [ebp - 0x40]
sub eax, ebx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov esi, dword [ebp - 0x38]
mov edi, ebx
push ebx
lea ecx, [ebp - 0x28]
call fcn.00402f12
mov ebx, dword [ebp - 0x2c]
lea eax, [ebp - 0x28]
push eax
push ebx
mov byte [ebp - 4], 1
call fcn.0042d12b
pop ecx
pop ecx
lea ecx, [ebp - 0x28]
call fcn.00408398
test edi, edi
je 0x41d409
sub esi, edi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x34], esi
cmp esi, 0x1000
jb 0x41d400
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00407e86
mov esi, dword [ebp - 0x34]
mov edi, dword [ebp - 0x2c]
pop ecx
pop ecx
push esi
push edi
call fcn.00440d30
pop ecx
pop ecx
mov eax, ebx
call fcn.004411bc
ret

Function at 0x41dce4
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push 0x24
lea eax, [ebp - 0x24]
push 0
push eax
call fcn.00442b50
add esp, 0xc
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
cmp word [ebp - 0x24], 9
sete al
leave
ret
Function at 0x41e1e7
Capabilities:
Inspect section memory permissions

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0xc4]
test eax, eax
je 0x41e1fb
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 0xc8]
test eax, eax
je 0x41e20c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esi + 0x30]
call fcn.00408398
lea ecx, [esi + 0x18]
call fcn.00408398
mov ecx, esi
pop esi
jmp fcn.00408398

Function at 0x41f589
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x494334]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
push esi
lea ecx, [ebp - 0x34]
call fcn.0041f1fd
cmp dword [ebp - 0x24], 0
je 0x41f620
mov eax, dword [ebx + 8]
mov esi, 0x47b450
push 0
or eax, 0x2001f
push eax
lea eax, [ebp - 0x34]
push eax
push dword [ebx]
lea eax, [ebp - 0x6c]
push esi
push eax
call fcn.00420194
mov edi, dword [ebp - 0x64]
add esp, 0x18
test edi, edi
jne 0x41f613
push esi
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp - 0x6c]
push ecx
push ecx
mov ecx, esp
push ebx
mov dword [ecx], eax
mov al, byte [ebp - 0x68]
mov byte [ecx + 4], al
lea ecx, [ebp - 0x58]
mov byte [ebp - 0x68], 0
call fcn.0041f234
mov ecx, eax
call fcn.0041f589
lea ecx, [ebp - 0x58]
mov edi, eax
call fcn.0041f4b5
lea ecx, [ebp - 0x6c]
call fcn.0041f46b
jmp 0x41f6b8
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x41f62a
mov eax, dword [esi]
push eax
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov edi, eax
test edi, edi
jne 0x41f6b8
push eax
call fcn.00418a5b
mov ecx, eax
call fcn.00418cc4
test al, al
je 0x41f6b8
push 1
lea ecx, [ebp - 0x104]
call fcn.00402e2f
lea eax, [ebp - 0x104]
push str.Deleted__
push eax
call fcn.00402775
sub esp, 0x10
mov ecx, ebx
mov eax, esp
push esi
push eax
call fcn.0041f84e
lea ecx, [ebp - 0x104]
call fcn.0040adeb
mov esi, eax
push str.__value
push esi
call fcn.00402775
pop ecx
pop ecx
push esi
push str.Registry::deleteValue
push 0x1d2
push str.c:_jenkins_workspace_8_2_build_windows_x64_cygwin_sans_NAS_jdk8u401_683_install_src_windows_common_Registry.cpp
push edi
call fcn.00418a5b
mov ecx, eax
call fcn.0040f32d
lea ecx, [ebp - 0x104]
call fcn.00403921
lea ecx, [ebp - 0x1c]
call fcn.00408398
lea ecx, [ebp - 0x34]
call fcn.00408398
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044119a
leave
ret 8
Function at 0x428063
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x10c
mov eax, 0x46a949
call fcn.0044120d
mov esi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x68], eax
call fcn.00427fab
mov ebx, eax
test ebx, ebx
je 0x428150
mov edi, dword [sym.imp.KERNEL32.dll_LoadResource]
push ebx
push dword [esi + 0x38]
call edi
test eax, eax
jne 0x428106
push str.cannot_load_resource
lea ecx, [ebp - 0x28]
call fcn.00402f12
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 4
push eax
lea eax, [ebp - 0x64]
mov ecx, esi
push eax
call fcn.00427fca
push eax
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 5
call fcn.004198a2
push str.System_error
mov byte [ebp - 4], 6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x80]
call fcn.0042d244
mov esi, eax
push 0x46
push str.Resource::getPtr
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x74]
push str.c:_jenkins_workspace_8_2_build_windows_x64_cygwin_sans_NAS_jdk8u401_683_install_src_windows_common_Resources.cpp
jmp 0x4281ba
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp dword [esi + 0x34], 6
mov edi, eax
jne 0x428137
mov edx, dword [esi + 0x18]
mov ecx, edi
and edx, 0xf
jbe 0x42812d
movzx eax, word [ecx]
lea ecx, [ecx + eax*2]
add ecx, 2
sub edx, 1
jne 0x42811f
movzx eax, word [ecx]
lea edi, [ecx + 2]
add eax, eax
jmp 0x428141
push ebx
push dword [esi + 0x38]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 0x68]
mov dword [ecx], eax
mov eax, edi
call fcn.004411bc
ret 4
push str.cannot_find_resource
lea ecx, [ebp - 0x28]
call fcn.00402f12
and dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x64]
mov ecx, esi
push eax
call fcn.00427fca
push eax
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 1
call fcn.004198a2
push str.System_error
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [sym.imp.KERNEL32.dll_FindResourceA]
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x74]
call fcn.0042d244
mov esi, eax
push 0x41
push str.Resource::getPtr
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x80]
push str.c:_jenkins_workspace_8_2_build_windows_x64_cygwin_sans_NAS_jdk8u401_683_install_src_windows_common_Resources.cpp
call fcn.00403093
push eax
lea eax, [ebp - 0x4c]
push esi
push eax
call fcn.0041a69e
add esp, 0xc
lea eax, [ebp - 0x4c]
push 0x48bc40
push eax
call fcn.00442f9e
int3

Function at 0x428c88
Capabilities:
Inspect section memory permissions

Disassembly:
push esi
mov esi, ecx
lea ecx, [esi + 0x44]
call fcn.004130d8
lea ecx, [esi + 0x38]
call fcn.00410d27
lea ecx, [esi + 0x20]
call fcn.00408398
mov ecx, esi
pop esi
jmp fcn.00408398
Function at 0x429b8b
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x494334]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x58]
push edi
mov edi, dword [ebp + 8]
push 0x3c
pop ebx
push ebx
push 0
push eax
call fcn.00442b50
mov dword [ebp - 0x58], ebx
add esp, 0xc
xor ebx, ebx
inc ebx
cmp dword [edi + 0x14], 0x10
mov dword [ebp - 0x44], ebx
jb 0x429bc7
mov edi, dword [edi]
lea eax, [ebp - 0x58]
push eax
push 0
push 0
push edi
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
jne 0x429bde
xor al, al
jmp 0x429c1c
mov eax, dword [ebp - 0x4c]
push 3
pop ecx
sub eax, ecx
je 0x429bf5
sub eax, 1
je 0x429bf1
mov dword [esi], ebx
jmp 0x429bfb
mov dword [esi], ecx
jmp 0x429bfb
mov dword [esi], 2
push dword [ebp - 0x44]
lea ecx, [ebp - 0x1c]
push dword [ebp - 0x48]
call fcn.00402f3f
push eax
lea ecx, [esi + 4]
call fcn.0040c3e5
lea ecx, [ebp - 0x1c]
call fcn.00408398
mov al, bl
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044119a
leave
ret

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

Disassembly:
mov eax, dword [esp + 4]
cmp dword [eax + 0x14], 0x10
jb 0x42d0fb
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x42d10e
test al, 0x10
je 0x42d10e
mov al, 1
ret
xor al, al
ret

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

Disassembly:
mov eax, dword [esp + 4]
cmp dword [eax + 0x14], 0x10
jb 0x42d11d
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
setne al
ret