joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

Function at 0x805dc4
Capabilities:
Encode data using xor

Disassembly:
pushal
call 0x805dca
pop ebp
sub ebp, 6
sub ebp, 0x405dc4
jmp 0x805e28
sahf
push ecx
mov esi, 0x22de486e
mov ebp, 0x77e2a302
mov byte [esi - 0x10], bh
shl dword [edi - 0x17], 1
add al, 0
add byte [eax], al
nop
js 0x805e5f
jmp 0x805e31
sbb edi, dword [eax + 0x405dc4]
mov eax, 0x405dc4
add eax, ebp
add eax, 0x93
add byte [eax], al
mov ecx, 0x630
mov edx, 0xbfb6f22e
xor byte [eax], dl
inc eax
dec ecx
jne 0x805e48
jmp 0x805e5b
inc esp
outsb dx, byte [esi]
inc esi
inc esi
inc esi
loop 0x805e68
sbb eax, 0xbbd17eee
call cs:[eax]
jle 0x805e17
out dx, al
jle 0x805e3c
mov ebx, 0x2e18ff2e
jle 0x805e17
jecxz 0x805e19
cmpsd dword [esi], dword es:[edi]
adc ch, byte [esi]
scasd eax, dword es:[edi]
out dx, eax
salc
sub eax, 0x2e2896e3
xchg esp, eax
push es
fxch st(4)
sub eax, 0x22afa5e6
sub eax, 0x22467eeb
sbb byte [edi], ah
inc esi
cwde
or dword [ecx], ebx
das
add cl, byte [edx]
inc esi
invalid
Function at 0x40895f
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x4085d8
add eax, 0xb8e6f5
call fcn.00408986
inc eax
xor dword [edi], edx
sub eax, 0x31db7f25
inc edi
sub eax, 0x94648aa3
cmp edi, esi
jne fcn.0040895f
and eax, ebx
ret
Function at 0x401106
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x436004]
jne 0x401110
repz ret
jmp fcn.004014b0

Function at 0x4041ab
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x436004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004029d8
and dword [ebp - 0x14], 0
cmp dword [0x4389d0], 0
mov dword [ebp - 0x18], eax
jne 0x40425e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x404306
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x404306
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4389d0], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4389d4], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4389d8], eax
call edi
push eax
call esi
mov dword [0x4389e0], eax
test eax, eax
je 0x40425e
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4389dc], eax
mov eax, dword [0x4389dc]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4042b7
cmp dword [0x4389e0], ecx
je 0x4042b7
push eax
call esi
push dword [0x4389e0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4042b7
test ebx, ebx
je 0x4042b7
call edi
test eax, eax
je 0x4042ae
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4042ae
test byte [ebp - 8], 1
jne 0x4042b7
or dword [ebp + 0x10], 0x200000
jmp 0x4042ea
mov eax, dword [0x4389d4]
cmp eax, dword [ebp - 0x18]
je 0x4042ea
push eax
call esi
test eax, eax
je 0x4042ea
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4042ea
mov eax, dword [0x4389d8]
cmp eax, dword [ebp - 0x18]
je 0x4042ea
push eax
call esi
test eax, eax
je 0x4042ea
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4389d0]
call esi
test eax, eax
je 0x404306
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x404308
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401106
leave
ret
Function at 0x424a50
Capabilities:
Create pipe

Disassembly:
mov eax, dword [0x436b20]
sub esp, 0x14
push ebx
mov ebx, dword [0x2bdbf9c]
push edi
mov edi, dword [0x2bde41c]
call fcn.004249d0
cmp dword [0x2bde41c], 0x2f
jne 0x424ab2
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
call fcn.00424a00
pop edi
pop ebx
add esp, 0x14
ret
Function at 0x424da0
Capabilities:
Get disk information
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x820
mov eax, dword [0x436004]
xor eax, ebp
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0
jmp 0x424dc5
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x1519a5
jge 0x424e0e
mov dword [0x2bde084], 0x8e46a6f0
cmp dword [0x2bde41c], 0x3dc
jne 0x424e0c
xor ecx, ecx
mov word [ebp - 8], cx
xor edx, edx
mov word [ebp - 6], dx
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleOutputCharacterA]
push 0
call dword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
jmp 0x424dbc
mov dword [ebp - 0x10], 0
jmp 0x424e20
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0x12cad2a
jge 0x424eb3
cmp dword [0x2bde41c], 0xa5f
jne 0x424e6a
push 0
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push 0
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x14]
push eax
push 0
lea ecx, [ebp - 0x820]
push ecx
push str.dojiyizemukejuwoxovadanol
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
cmp dword [ebp - 0x10], 0x84620b
jne 0x424e8e
mov edx, dword [0x437940]
mov dword [0x2bde41c], edx
mov eax, dword [0x2bde41c]
add eax, 0xa231
mov dword [0x2bde41c], eax
cmp dword [0x2bde41c], 0x141
jne 0x424eae
mov dword [0x438f08], 0xec58acac
mov dword [0x438f0c], 0xffffffff
jmp 0x424e17
call fcn.00424ac0
jmp dword [0x2bdbf9c]

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x41be88
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x41be8e
ret

Function at 0x451f7c
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x451faa
mov eax, ebx
call fcn.00452a30
cmp dword [ebx + 0x40], 0
je 0x451fa3
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x45201b
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x45200d
cmp dword [ebx + 8], 0
je 0x451fcc
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x451fde
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x45200d
cmp dword [ebx + 8], 0
je 0x451fbf
cmp eax, 3
je 0x451ff1
dec eax
jne 0x451fbf
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x451fbf
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x451fbf
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x452039
cmp dword [ebx + 0x14], 0xcc
je 0x452039
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00452044
pop ebx
ret
Function at 0x408f61
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x25c
mov eax, dword [0x4956a0]
xor eax, esp
mov dword [esp + 0x258], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
cmp dword [edi + 0x247c], ebx
jne 0x408f94
cmp dword [edi + 0x58], ebx
je 0x408f94
xor ecx, ecx
jmp 0x408f97
xor ecx, ecx
inc ecx
cmp dword [ebp + 0xc], ebx
jne 0x408fda
mov eax, dword [edi + 0x2478]
cmp eax, ebx
je 0x408faa
cmp ecx, ebx
je 0x408fda
mov edx, dword [edi]
push eax
push ecx
push edi
call dword [edx + 0x10]
mov esi, eax
cmp esi, ebx
jne 0x408fce
push 1
call fcn.0040e455
pop ecx
test eax, eax
je 0x408fda
mov eax, 0x80070204
jmp 0x409108
call fcn.00461382
mov eax, esi
jmp 0x409108
cmp dword [edi + 0x247c], ebx
je 0x40900d
push 0x104
lea eax, [esp + 0x15c]
push eax
push 0x80
push dword [edi + 0x20]
call dword [sym.imp.user32.dll_LoadStringA]
mov esi, dword [edi + 0x24]
lea eax, [esp + 0x158]
push eax
call fcn.0040b82d
lea edx, [esp + 0x50]
mov ecx, edi
call fcn.00461382
mov dword [esp + 0xc], eax
cmp eax, ebx
jl 0x4090f2
mov esi, str.Download_Status:_Download_Complete
call fcn.00461382
mov eax, dword [edi]
lea ecx, [esp + 0x50]
push ecx
push edi
call dword [eax + 0x1c]
mov dword [esp + 0xc], eax
cmp eax, ebx
jl 0x409067
push dword [ebp + 0xc]
mov eax, dword [edi]
push 1
lea ecx, [esp + 0x58]
push ecx
push edi
call dword [eax + 0x18]
mov dword [esp + 0xc], eax
cmp eax, ebx
jge 0x409104
mov esi, str.Download_Status:_Verification_of_Downloaded_File_Signature_Failed
jmp 0x4090ff
lea eax, [esp + 0x50]
push eax
call dword [sym.imp.kernel32.dll_DeleteFileA]
mov esi, dword [sym.imp.kernel32.dll_GetModuleHandleA]
push 0xf
pop eax
push ebx
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ebx
mov byte [esp + 0x14], bl
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], 0x10
call esi
push 0x74
push ecx
push ebx
mov edi, eax
call esi
push 0x72
mov ecx, eax
lea edx, [esp + 0x1c]
call fcn.0042c409
pop ecx
mov ecx, edi
mov edx, eax
call fcn.0042c495
call fcn.0042c52b
push ebx
push 1
lea ecx, [esp + 0x34]
call fcn.00403353
push ebx
push 1
lea ecx, [esp + 0x18]
call fcn.00403353
push 0xfffffffffffffffb
call fcn.00461382
pop ecx
call fcn.00461382
mov esi, str.Download_Status:_Verification_of_Downloaded_File_Version_Failed
jmp 0x4090ff
push 0xffffffffffffffc3
call fcn.00461382
pop ecx
mov esi, str.Download_Status:_Download_Failed
call fcn.00461382
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x264]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00449589
mov esp, ebp
pop ebp
ret 8
Function at 0x40af30
Capabilities:
Create thread

Disassembly:
push ebp
lea ebp, [esp - 0xac]
sub esp, 0x12c
mov eax, dword [0x4956a0]
xor eax, ebp
mov dword [ebp + 0xa8], eax
push ebx
push esi
mov esi, dword [ebp + 0xb4]
push edi
mov edi, dword [sym.imp.kernel32.dll_CreateEventA]
xor ebx, ebx
push ebx
push ebx
mov dword [esi + 0xc], 0xbc2
mov eax, dword [0x498ee4]
push 1
push ebx
mov dword [esi + 0x18], eax
call edi
push ebx
push ebx
push 1
push ebx
mov dword [esi + 0x20], eax
call edi
push ebx
push ebx
push 1
push ebx
mov dword [esi + 0x24], eax
call edi
mov dword [esi + 0x38], eax
call fcn.00461382
mov dword [esi + 0x3c], eax
xor eax, eax
mov byte [ebp - 0x7c], bl
lea edi, [ebp - 0x7b]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
mov dword [ebp - 0x68], ebx
lea edi, [ebp - 0x64]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 1
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push ebx
push ebx
push 1
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
push str.SunJavaUpdateRecheckUpdateEvent
lea eax, [ebp - 0x7c]
push ebx
mov dword [ebp - 0x64], eax
push ebx
lea eax, [ebp - 0x68]
push eax
mov dword [ebp - 0x68], 0xc
call dword [sym.imp.kernel32.dll_CreateEventA]
push dword [esi + 0x20]
mov edi, dword [sym.imp.kernel32.dll_ResetEvent]
mov dword [esi + 0x40], eax
call edi
push dword [esi + 0x24]
call edi
push dword [esi + 0x38]
call edi
lea eax, [ebp - 0x80]
push eax
push ebx
push esi
push 0x40b51a
push ebx
push ebx
call dword [sym.imp.kernel32.dll_CreateThread]
cmp eax, ebx
je 0x40b018
push eax
call dword [sym.imp.kernel32.dll_CloseHandle]
push 0xffffffffffffffff
push dword [esi + 0x20]
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
push dword [esi + 0x20]
call edi
mov edi, dword [sym.imp.user32.dll_LoadStringA]
mov ebx, 0x104
push ebx
lea eax, [esi + 0x58]
push eax
push 0x7b
push dword [esi + 0x18]
call edi
push ebx
lea eax, [ebp - 0x5c]
push eax
push 0x7c
push dword [esi + 0x18]
call edi
lea eax, [ebp - 0x5c]
push eax
push esi
call fcn.0040b1fe
mov ecx, dword [ebp + 0xa8]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.00449589
add ebp, 0xac
leave
ret 4
Function at 0x40ddd4
Capabilities:
Create thread
Delete registry value

Disassembly:
push 0x38
mov eax, 0x469a55
call fcn.00451654
call fcn.00461382
test eax, eax
je 0x40df16
xor edi, edi
push edi
lea esi, [ebp - 0x24]
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x28], edi
mov byte [ebp - 0x2c], 0
call fcn.00461382
lea eax, [ebp - 0x10]
push edi
push eax
mov dword [ebp - 4], edi
call fcn.00461382
pop ecx
pop ecx
test eax, eax
jne 0x40de28
lea esi, [ebp - 0x20]
call fcn.0040aac1
xor eax, eax
inc eax
jmp 0x40df16
mov ebx, dword [ebp - 0x10]
push str.UpdateDetected
lea eax, [ebp - 0x40]
push eax
lea edi, [ebp - 0x24]
mov dword [ebp - 0x3c], ebx
call fcn.00432cac
neg eax
sbb eax, eax
inc eax
jne 0x40de65
push str.UpdAvailElapsed
lea eax, [ebp - 0x40]
push eax
call fcn.00432cac
neg eax
sbb eax, eax
inc eax
jne 0x40de65
lea esi, [ebp - 0x40]
call fcn.00432c60
jmp 0x40de18
push str.SendUDPing
lea eax, [ebp - 0x40]
push eax
lea edi, [ebp - 0x24]
call fcn.00432cac
neg eax
sbb esi, esi
push str.SendUAPing
lea eax, [ebp - 0x40]
push eax
inc esi
call fcn.00432cac
neg eax
sbb eax, eax
xor edi, edi
inc eax
mov dword [ebp - 0x3c], ebx
cmp esi, edi
jne 0x40dec3
cmp eax, edi
jne 0x40dec3
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push str.UpdateDetected
push ebx
call esi
push str.UpdAvailNotifyCnt
push ebx
call esi
push str.UpdAvailNotifyTime
push ebx
call esi
push str.UpdAvailElapsed
push ebx
call esi
jmp 0x40de5b
lea esi, [ebp - 0x40]
call fcn.00432c60
cmp dword [0x499f70], edi
jne 0x40de18
xor ebx, ebx
inc ebx
cmp dword [ebp + 8], edi
jne 0x40df00
push 0x499f70
push edi
push edi
push fcn.0040da89
push edi
push edi
call dword [sym.imp.kernel32.dll_CreateThread]
cmp eax, edi
je 0x40df0c
push eax
call dword [sym.imp.kernel32.dll_CloseHandle]
jmp 0x40df0c
push edi
mov dword [0x499f70], ebx
call fcn.0040da89
lea esi, [ebp - 0x20]
call fcn.0040aac1
mov eax, ebx
call fcn.0045172c
ret
Function at 0x410602
Capabilities:
Delete registry key

Disassembly:
push 0x38
mov eax, 0x469a55
call fcn.00451654
mov eax, dword [ebp + 8]
xor ebx, ebx
xor edi, edi
mov dword [ebp + 8], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x40], reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x28], ebx
mov byte [ebp - 0x2c], bl
cmp eax, ebx
jne 0x41066e
cmp dword [ebp + 0x10], ebx
jne 0x41064b
push 0x2001f
push str.SOFTWAREJavaSoftJava_UpdatePolicyjucheck
lea eax, [ebp - 0x40]
call fcn.00432c29
mov eax, dword [ebp - 0x38]
mov dword [ebp + 8], eax
jmp 0x410660
push str.SetJavaUpdateStringKey_was_called_with_a_NULL_value_for_the_key__so_defaulting_to_trying_jucheck_key
call fcn.004295a9
pop ecx
lea eax, [ebp + 8]
push eax
call fcn.00461382
pop ecx
cmp dword [ebp + 8], ebx
je 0x410671
mov dword [ebp - 0x10], 1
jmp 0x410671
mov dword [ebp + 8], eax
xor esi, esi
lea eax, [ebp - 0x20]
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
call fcn.004128e4
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x3c], eax
cmp dword [ebp + 0x10], ebx
je 0x4106a2
push dword [ebp + 0x10]
lea ebx, [ebp - 0x24]
call fcn.00461382
xor ebx, ebx
cmp dword [ebp + 8], ebx
je 0x4106ef
cmp dword [ebp + 0x10], ebx
jne 0x4106ba
push dword [ebp + 0xc]
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
jmp 0x4106e8
push dword [ebp + 0x10]
mov dword [ebp - 0x24], 1
call dword [sym.imp.kernel32.dll_lstrlenA]
push eax
push dword [ebp + 0x10]
push dword [ebp - 0x20]
call fcn.00461382
add esp, 0xc
push dword [ebp + 0xc]
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x24]
call fcn.00432d36
mov edi, eax
neg edi
sbb edi, edi
inc edi
cmp dword [ebp - 0x10], ebx
je 0x4106fc
lea esi, [ebp - 0x40]
call fcn.00432c60
lea esi, [ebp - 0x20]
call fcn.0040aac1
mov eax, edi
call fcn.0045172c
ret
Function at 0x4108ea
Capabilities:
Delete file
Delete registry value
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x444
mov eax, dword [0x4956a0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x40c]
xor ebx, ebx
push eax
mov esi, SysStringLen
push ebx
lea edx, [ebp - 0x408]
mov ecx, str.LocalFileName
mov dword [ebp - 0x428], esi
mov dword [ebp - 0x410], ebx
mov byte [ebp - 0x414], bl
mov dword [ebp - 0x40c], 0x400
call fcn.004102c8
pop ecx
pop ecx
test eax, eax
je 0x410956
cmp dword [ebp - 0x40c], ebx
je 0x410956
lea eax, [ebp - 0x408]
push eax
call dword [sym.imp.kernel32.dll_DeleteFileA]
lea edi, [ebp - 0x408]
call fcn.00461382
test eax, eax
je 0x410979
mov eax, edi
push eax
mov ecx, edi
call fcn.004117f9
pop ecx
mov eax, edi
push eax
call dword [sym.imp.kernel32.dll_DeleteFileA]
call fcn.00461382
push ebx
push str.PreDownldStatus
push ebx
call fcn.00410602
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
add esp, 0xc
push 0x80
lea eax, [ebp - 0x408]
push eax
push ebx
push esi
mov dword [ebp - 0x40c], ebx
mov dword [ebp - 0x424], esi
call edi
test eax, eax
jne 0x410a42
mov esi, 0x20019
inc dword [ebp - 0x40c]
push esi
lea eax, [ebp - 0x408]
push eax
lea eax, [ebp - 0x428]
call fcn.00432c29
cmp eax, ebx
jne 0x410a20
mov eax, dword [ebp - 0x420]
mov dword [ebp - 0x444], eax
push esi
lea eax, [ebp - 0x408]
push eax
lea eax, [ebp - 0x444]
mov dword [ebp - 0x42c], ebx
mov byte [ebp - 0x430], bl
call fcn.00432c29
mov ecx, dword [ebp - 0x43c]
mov dword [ebp - 0x440], ecx
cmp eax, ebx
jne 0x410a20
push str.VersionXmlURL
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push 0x80
lea eax, [ebp - 0x408]
push eax
push dword [ebp - 0x40c]
push dword [ebp - 0x424]
call edi
test eax, eax
je 0x4109bc
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00449589
leave
ret
Function at 0x4117f9
Capabilities:
Get common file path
Parse url

Disassembly:
push ebp
lea ebp, [esp - 0x5cc]
sub esp, 0x64c
mov eax, dword [0x4956a0]
xor eax, ebp
mov dword [ebp + 0x5c8], eax
mov eax, dword [ebp + 0x5d4]
push ebx
push esi
push edi
push 0x3c
pop edi
xor ebx, ebx
push edi
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x80]
push ebx
push eax
mov esi, ecx
mov byte [ebp + 0x3c4], bl
call fcn.0044b630
lea eax, [ebp - 0x3c]
add esp, 0xc
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x80]
push eax
push ebx
push esi
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x50], 0x400
call dword [sym.imp.kernel32.dll_lstrlenA]
push eax
push esi
call dword [sym.imp.wininet.dll_InternetCrackUrlA]
mov edi, 0x104
cmp eax, ebx
je 0x4118a1
push pe_nt_image_headers32
lea eax, [ebp + 0x3c4]
push eax
push edi
lea eax, [ebp + 0x4c4]
push eax
push ebx
push ebx
push ebx
lea eax, [ebp - 0x3c]
push ebx
push eax
call fcn.00461382
lea eax, [ebp + 0x4c4]
push 0x47a3ec
push eax
call fcn.0044b9c0
add esp, 0x2c
test eax, eax
je 0x4118ea
mov eax, esi
mov dword [ebp - 0x40], ebx
cmp byte [esi], bl
je 0x4118d2
mov cl, byte [eax]
cmp cl, 0x20
je 0x4118b6
cmp cl, 9
jne 0x4118bf
push eax
call dword [sym.imp.user32.dll_CharNextA]
jmp 0x4118aa
mov ecx, dword [ebp - 0x40]
movsx edx, byte [eax]
imul ecx, ecx, 0x1f
add ecx, edx
inc eax
mov dword [ebp - 0x40], ecx
cmp byte [eax], bl
jne 0x4118aa
push dword [ebp - 0x40]
lea eax, [ebp + 0x4c4]
push str.jupdate__x
push eax
call dword [sym.imp.user32.dll_wsprintfA]
add esp, 0xc
push dword [ebp - 0x44]
push edi
call dword [sym.imp.kernel32.dll_GetTempPathA]
mov esi, dword [sym.imp.kernel32.dll_lstrcatA]
lea eax, [ebp + 0x4c4]
push eax
push dword [ebp - 0x44]
call esi
lea eax, [ebp + 0x3c4]
push eax
push dword [ebp - 0x44]
call esi
mov ecx, dword [ebp + 0x5c8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00449589
add ebp, 0x5cc
leave
ret