joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4099a4
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x409a77
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x409a90
push ebx
push 0x409a9c
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.004033b4
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.0040277c
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00403414
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x409a24
mov al, 0x69
call fcn.00409648
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle_1
call fcn.00409978
push 0xff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
dec eax
je 0x409a2d
call fcn.00409978
push edi
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409a7e
lea eax, [ebp - 4]
call fcn.00403198
ret

Function at 0x409b30
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffbc
mov edi, eax
lea esi, [esp + 0x28]
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemInfo
mov ebx, edi
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409be4
jmp 0x409bd9
cmp dword [esi + 0x10], 0x1000
jne 0x409bc5
test byte [esi + 0x15], 1
jne 0x409bc5
xor ebx, ebx
mov eax, dword [esi + 0x14]
cmp eax, 1
je 0x409b84
cmp eax, 2
je 0x409b84
cmp eax, 0x10
je 0x409b84
cmp eax, 0x20
jne 0x409b99
push esp
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x409b99
mov bl, 1
xor ebp, ebp
jmp 0x409baa
mov eax, dword [esi]
add eax, ebp
call fcn.00409b28
add ebp, dword [esp + 8]
cmp ebp, dword [esi + 0xc]
jb 0x409b9d
test bl, bl
je 0x409bc5
push esp
mov eax, dword [esp + 4]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov ebx, eax
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409be4
mov eax, dword [esi + 4]
cmp eax, edi
je 0x409b5c
add esp, 0x44
pop ebp
pop edi
pop esi
pop ebx
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
nop
nop
nop
pop eax
add eax, 0x403ac5
nop
nop
sub eax, 0x403a6b
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x42e030
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x42e01e
nop
popal
nop
nop
nop
nop
jmp loc.00401219
Function at 0x401006
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x433004]
jne 0x401010
repz ret
jmp fcn.00401501

Function at 0x404a15
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00402bcf
and dword [ebp - 4], 0
cmp dword [0x43608c], 0
mov ebx, eax
jne 0x404ac6
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x404b77
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x404b77
push eax
call fcn.00402b5d
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x43608c], eax
call esi
push eax
call fcn.00402b5d
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x436090], eax
call esi
push eax
call fcn.00402b5d
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x436094], eax
call esi
push eax
call fcn.00402b5d
pop ecx
mov dword [0x43609c], eax
test eax, eax
je 0x404ac6
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00402b5d
pop ecx
mov dword [0x436098], eax
mov eax, dword [0x436098]
cmp eax, ebx
je 0x404b1e
cmp dword [0x43609c], ebx
je 0x404b1e
push eax
call fcn.00402bd8
push dword [0x43609c]
mov esi, eax
call fcn.00402bd8
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x404b1e
test edi, edi
je 0x404b1e
call esi
test eax, eax
je 0x404b15
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x404b15
test byte [ebp - 0xc], 1
jne 0x404b1e
or dword [ebp + 0x10], 0x200000
jmp 0x404b57
mov eax, dword [0x436090]
cmp eax, ebx
je 0x404b57
push eax
call fcn.00402bd8
pop ecx
test eax, eax
je 0x404b57
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x404b57
mov eax, dword [0x436094]
cmp eax, ebx
je 0x404b57
push eax
call fcn.00402bd8
pop ecx
test eax, eax
je 0x404b57
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x43608c]
call fcn.00402bd8
pop ecx
test eax, eax
je 0x404b77
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x404b79
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x42cbc0
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x804
mov eax, dword [0x433004]
xor eax, esp
mov dword [esp + 0x800], eax
cmp dword [0x808e2c], 0x114e
mov eax, dword [esp + 0x808]
mov dword [0x808c70], eax
jne 0x42cc01
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push 0
lea ecx, [esp + 4]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ecx, dword [esp + 0x800]
xor ecx, esp
call fcn.00401006
add esp, 0x804
ret
Function at 0x42cc30
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0xc]
push edi
cmp ebp, 0x182
jne 0x42cc57
push 0
push 0
push 0
push str.Fal_yusujucecimirijimamawi
push str.nalamediw_tevufefizibulecojivagojitimajive_cililarerakurehofehel
push 0
call dword [sym.imp.KERNEL32.dll_UpdateResourceA]
xor edi, edi
test ebp, ebp
jle 0x42cc97
push esi
mov edi, edi
lea esi, [esp + 0xc]
mov dword [esp + 0x14], 5
mov dword [esp + 0xc], 0
call fcn.0042cc20
mov eax, dword [esp + 0xc]
add eax, 0x46
mov dword [esp + 0x14], eax
nop
sub dword [esp + 0x14], 0x46
mov al, byte [esp + 0x14]
xor byte [edi + ebx], al
inc edi
cmp edi, ebp
jl 0x42cc60
pop esi
pop edi
cmp ebp, 0x2d
pop ebp
jne 0x42ccb2
mov dword [0x808f60], 0xa62e7790
mov dword [0x808f64], 0xffffffff
pop ecx
ret

Function at 0x42ccc0
Capabilities:
Query environment variable

Disassembly:
mov eax, dword [0x433c60]
push ebx
mov ebx, dword [0x808c74]
push esi
mov esi, dword [0x808e2c]
push eax
call fcn.0042cbc0
add esp, 4
cmp dword [0x808e2c], 0x2f
jne 0x42cceb
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
push esi
call fcn.0042cc30
add esp, 4
cmp dword [0x808e2c], 0x568
pop esi
pop ebx
jne 0x42cd0a
push 0
call dword [sym.imp.KERNEL32.dll_DeleteVolumeMountPointA]
ret
Function at 0x406672
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x4956a0]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [ebp + 8]
mov eax, dword [edi + 4]
push ecx
push dword [edi]
xor esi, esi
or eax, 0x2001f
lea ebx, [ebp - 0x118]
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x118], esi
mov dword [ebp - 0x114], esi
mov dword [ebp - 0x110], esi
call fcn.004065ee
mov ebx, eax
cmp ebx, esi
je 0x4066de
cmp dword [ebp - 0x118], esi
je 0x4066d7
push dword [ebp - 0x118]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x406776
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
jmp 0x406706
lea eax, [ebp - 0x10c]
push eax
lea ecx, [ebp - 0x118]
call fcn.00406672
mov dword [ebp - 0x124], eax
cmp eax, esi
jne 0x406787
lea eax, [ebp - 0x12c]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x10c]
push eax
push esi
push dword [ebp - 0x118]
mov dword [ebp - 0x11c], pe_nt_image_headers32
call ebx
test eax, eax
je 0x4066e6
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x118], esi
je 0x406751
push dword [ebp - 0x118]
call ebx
mov dword [ebp - 0x118], esi
push dword [ebp - 0x120]
mov dword [ebp - 0x114], esi
call fcn.00406513
mov edi, eax
cmp dword [ebp - 0x118], esi
je 0x406774
push dword [ebp - 0x118]
call ebx
mov eax, edi
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00449589
leave
ret 4
cmp dword [ebp - 0x118], esi
je 0x40679b
push dword [ebp - 0x118]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x124]
jmp 0x406776
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.00410a51
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.00409bd5
mov dword [esp + 0xc], eax
cmp eax, ebx
jl 0x4090f2
mov esi, str.Download_Status:_Download_Complete
call fcn.00410b95
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.0040e30c
pop ecx
call fcn.004108ea
mov esi, str.Download_Status:_Verification_of_Downloaded_File_Version_Failed
jmp 0x4090ff
push 0xffffffffffffffc3
call fcn.0040e30c
pop ecx
mov esi, str.Download_Status:_Download_Failed
call fcn.00410b95
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 0x40a8dd
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push edi
xor edi, edi
push 0x3c
lea eax, [ebp - 0x40]
push edi
push eax
mov dword [ebp - 4], edi
call fcn.0044b630
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0xc]
add esp, 0xc
cmp dword [0x49a098], 2
mov dword [ebp - 0x40], 0x3c
mov dword [ebp - 0x3c], 0x140
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x34], str.runas
jge 0x40a92c
mov dword [ebp - 0x34], str.open
push 6
push edi
mov dword [ebp - 0x24], 1
call dword [sym.imp.ole32.dll_CoInitializeEx]
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
je 0x40a97e
cmp dword [ebp + 0x10], edi
je 0x40a970
push 0xffffffffffffffff
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 4]
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [ebp - 4], 0x669
jne 0x40a973
mov dword [ebp - 4], edi
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40a987
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop edi
leave
ret 0xc
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.00410b35
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.00410be4
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.0040bb23
lea eax, [ebp - 0x10]
push edi
push eax
mov dword [ebp - 4], edi
call fcn.00410187
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 0x40e30c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x4956a0]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push edi
push 0x479ac8
lea eax, [ebp - 0x214]
push eax
mov dword [ebp - 0x210], 3
call esi
lea eax, [ebp - 0x210]
push eax
xor ebx, ebx
mov edi, str.Country
push ebx
lea edx, [ebp - 0x214]
mov ecx, edi
call fcn.004102c8
push ebx
push edi
push ebx
call fcn.00410602
add esp, 0x14
test eax, eax
je 0x40e376
push str.Country_Code_deleted
call fcn.004295a9
pop ecx
push str.country_code_is_deleted_after_checker_fail_to_download
call fcn.004295a9
lea eax, [ebp - 0x20c]
mov dword [esp], 0x475e44
push eax
mov dword [ebp - 0x210], pe_nt_image_headers32
call esi
lea eax, [ebp - 0x210]
push eax
push ebx
lea edx, [ebp - 0x20c]
mov ecx, str.PostStatusUrl
call fcn.004102c8
pop ecx
pop ecx
mov edi, 0x479cbc
push edi
lea eax, [ebp - 0x10c]
push eax
call esi
lea eax, [ebp - 0x210]
push eax
push ebx
lea edx, [ebp - 0x10c]
mov ecx, str.InstalledJREVersion
mov dword [ebp - 0x210], 0x80
call fcn.004102c8
pop ecx
pop ecx
push edi
lea eax, [ebp - 0x8c]
push eax
call esi
lea eax, [ebp - 0x210]
push eax
push ebx
lea edx, [ebp - 0x8c]
mov ecx, str.NewJREVersion
mov dword [ebp - 0x210], 0x80
call fcn.004102c8
push dword [ebp + 8]
lea eax, [ebp - 0x8c]
push ebx
push eax
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x214]
push eax
push 0x479d60
lea ecx, [ebp - 0x20c]
call fcn.00410eb6
mov ecx, dword [ebp - 8]
add esp, 0x24
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00449589
leave
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.004101d6
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.00433c79
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.00449b10
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.00410214
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.00410a51
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.0044d36a
lea eax, [ebp + 0x4c4]
push 0x47a408
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