joyce8/EMBER2024-capa huggingface dataset:
Function at 0x411cc5
Capabilities:
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
xor edi, edi
push edi
push 0x4000000
push edi
push 0x437482
mov esi, ecx
push 0x43781c
lea eax, [esi + 0x960]
push eax
push dword [ebp + 8]
push dword [esi + 0x808]
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov dword [esi + 0x80c], eax
cmp eax, edi
jne 0x411d42
mov ecx, dword [esi + 0x810]
push 3
call fcn.00412382
test eax, eax
je 0x411d2f
push str.Unable_to_perform_HttpOpenRequest
push 0x43784c
push 0x58
push 0x437874
push dword [esi + 0x810]
call fcn.00416e93
add esp, 0x14
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, esi
call fcn.00411c60
jmp 0x411df0
push 0x437898
push dword [ebp + 8]
call fcn.0041d840
pop ecx
pop ecx
test eax, eax
je 0x411da6
push edi
push edi
push edi
push edi
push dword [esi + 0x80c]
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x411dee
mov ecx, dword [esi + 0x810]
push 3
call fcn.00412382
test eax, eax
je 0x411d2f
push 0x60
push 0x4378a0
push str.Unable_to_perform_HttpGet_HeadRequest__s_line__d
push 0x4378f8
push 0x60
push 0x437920
push dword [esi + 0x810]
call fcn.00416e93
add esp, 0x1c
jmp 0x411d2f
push dword [esi + 0x800]
push esi
push edi
push edi
push dword [esi + 0x80c]
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x411dee
mov ecx, dword [esi + 0x810]
push 3
call fcn.00412382
test eax, eax
je 0x411d2f
push 0x68
push 0x437944
push str.Unable_to_perform_HttpPostRequest__s_line__d
push str._SendRequest_HTMLwrappers__QAEHPBD_Z
push 0x68
push 0x4379c0
jmp 0x411d96
xor eax, eax
pop edi
pop esi
pop ebp
ret 4
Function at 0x411df6
Capabilities:
Check http status code
Query remote server for available data
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
xor ebx, ebx
push ebx
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
mov esi, ecx
push 0x20000013
push dword [esi + 0x80c]
mov dword [ebp - 8], ebx
mov dword [ebp - 0x10], 4
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
jne 0x411e5a
mov ecx, dword [esi + 0x810]
push 3
call fcn.00412382
test eax, eax
je 0x411ee6
push 0x79
push 0x4379e4
push str.Unable_to_get_header_information__s_line__d
push 0x437a34
push 0x79
push 0x437a58
jmp 0x411ed8
cmp dword [ebp - 8], 0xc8
mov dword [ebp - 4], ebx
jne 0x411eac
mov edi, dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
jmp 0x411e8f
mov eax, dword [ebp - 0xc]
add dword [ebp - 4], eax
lea ecx, [ebp - 0x14]
push ecx
push eax
push esi
push dword [esi + 0x80c]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x411ee6
cmp dword [ebp - 0x14], ebx
je 0x411ea3
push ebx
push ebx
lea eax, [ebp - 0xc]
push eax
push dword [esi + 0x80c]
call edi
test eax, eax
jne 0x411e6e
jmp 0x411ee6
mov eax, dword [ebp - 4]
mov byte [eax + esi], bl
push ebx
jmp 0x411eed
mov ecx, dword [esi + 0x810]
push 3
call fcn.00412382
test eax, eax
je 0x411ee6
mov eax, 0x9f
push eax
push 0x437a7c
push str.Error_getting_response__s_line__d
push str._GetResponse_HTMLwrappers__QAEHXZ
push eax
push 0x437ae8
push dword [esi + 0x810]
call fcn.00416e93
add esp, 0x1c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, esi
call fcn.00411c60
pop edi
pop esi
pop ebx
leave
ret
Function at 0x411ef9
Capabilities:
Connect to http server
Create http request
Parse url

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push 0
mov esi, ecx
call fcn.00411c60
mov edi, dword [ebp + 8]
cmp dword [edi + 0x10], 0
jne 0x411f48
mov ecx, dword [esi + 0x810]
push 3
call fcn.00412382
test eax, eax
je 0x411f40
push str.URL_specified_is_empty
push 0x4375b0
push 0x29
push 0x43758c
push dword [esi + 0x810]
call fcn.00416e93
add esp, 0x14
xor eax, eax
inc eax
jmp 0x41209d
push ebx
push 0x3c
lea ebx, [esi + 0x814]
push 0
push ebx
call fcn.0041b5c0
lea eax, [esi + 0x850]
mov dword [esi + 0x818], eax
add esp, 0xc
lea eax, [esi + 0x860]
mov dword [esi + 0x824], eax
push 0x10
mov eax, 0x100
pop ecx
lea edx, [esi + 0x960]
mov dword [ebx], 0x3c
mov dword [esi + 0x81c], ecx
mov dword [esi + 0x828], eax
mov dword [esi + 0x840], edx
mov dword [esi + 0x844], eax
mov eax, dword [edi + 0x10]
cmp dword [edi + 0x14], ecx
jb 0x411faa
mov edi, dword [edi]
push ebx
xor ebx, ebx
push ebx
push eax
push edi
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
jne 0x411ff9
mov ecx, dword [esi + 0x810]
push 3
call fcn.00412382
test eax, eax
je 0x411ff1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error_Cracking_the_URL__d
push 0x437658
push 0x38
push 0x437634
push dword [esi + 0x810]
call fcn.00416e93
add esp, 0x18
xor eax, eax
inc eax
jmp 0x41209c
push ebx
push ebx
push ebx
push ebx
push dword [ebp + 0xc]
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi + 0x804], eax
cmp eax, ebx
jne 0x412034
mov ecx, dword [esi + 0x810]
push 3
call fcn.00412382
test eax, eax
je 0x41208a
push str.Unable_to_perform_InternetOpen
push 0x4376e0
push 0x41
push 0x437748
jmp 0x41207c
movzx ecx, word [esi + 0x82c]
push ebx
push ebx
push 3
push ebx
push ebx
push ecx
lea ecx, [esi + 0x860]
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetConnectA]
mov dword [esi + 0x808], eax
cmp eax, ebx
jne 0x41209a
mov ecx, dword [esi + 0x810]
push 3
call fcn.00412382
test eax, eax
je 0x41208a
push str.Unable_to_perform_InternetConnect
push str._InitConnection_HTMLwrappers__QAEHABV__basic_string_DU__char_traits_D_std__V__allocator_D_2__std__PBD_Z
push 0x4a
push 0x4377f8
push dword [esi + 0x810]
call fcn.00416e93
add esp, 0x14
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, esi
call fcn.00411c60
jmp 0x41209c
xor eax, eax
pop ebx
pop edi
pop esi
pop ebp
ret 8
Function at 0x415341
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x4337e2
call fcn.0041bbcc
sub esp, 0x20
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x44], ebx
je 0x415436
cmp byte [esi + 0x49], bl
je 0x415436
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x415379
xor al, al
jmp 0x415438
push ebx
push 8
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.004145dd
mov dword [ebp - 4], ebx
push edi
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x4153d9
lea eax, [ebp - 0x2c]
mov edx, eax
mov ecx, dword [esi + 0x44]
mov edi, dword [ecx]
lea ebx, [ebp - 0x10]
push ebx
mov ebx, dword [ebp - 0x1c]
add ebx, eax
push ebx
push edx
lea eax, [esi + 0x4c]
push eax
call dword [edi + 0x18]
sub eax, 0
je 0x4153de
dec eax
je 0x4153e2
dec eax
dec eax
je 0x415432
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.0040e180
mov al, bl
pop edi
jmp 0x415438
mov edx, dword [ebp - 0x2c]
jmp 0x4153a3
mov byte [esi + 0x49], 0
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x4153ee
lea eax, [ebp - 0x2c]
mov edi, dword [ebp - 0x10]
sub edi, eax
je 0x415414
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x415401
lea eax, [ebp - 0x2c]
push dword [esi + 0x54]
push edi
push 1
push eax
call fcn.0041e490
add esp, 0x10
cmp edi, eax
jne 0x4153c6
cmp byte [esi + 0x49], 0
je 0x415432
test edi, edi
jne 0x415395
push edi
push 8
lea ecx, [ebp - 0x2c]
call fcn.0041406a
jmp 0x415395
mov bl, 1
jmp 0x4153c8
mov al, 1
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x415b58
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x4337aa
call fcn.0041bbcc
sub esp, 0x28
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x415b64
xor eax, eax
jmp 0x415b8c
mov eax, dword [esi + 0x24]
mov ecx, dword [eax]
push edi
xor edi, edi
cmp ecx, edi
je 0x415b9c
mov eax, dword [esi + 0x34]
mov edx, dword [eax]
add edx, ecx
cmp ecx, edx
jae 0x415b9c
dec dword [eax]
mov esi, dword [esi + 0x24]
mov eax, dword [esi]
lea ecx, [eax + 1]
mov dword [esi], ecx
mov byte [eax], bl
mov eax, ebx
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
cmp dword [esi + 0x54], edi
je 0x415bbc
mov ecx, esi
call fcn.00412442
cmp dword [esi + 0x44], edi
jne 0x415bc1
push dword [esi + 0x54]
push ebx
call fcn.004137c7
pop ecx
pop ecx
test al, al
jne 0x415b89
or eax, 0xffffffff
jmp 0x415b8b
push edi
push 8
lea ecx, [ebp - 0x34]
mov byte [ebp - 0x10], bl
mov dword [ebp - 0x20], 0xf
mov dword [ebp - 0x24], edi
mov byte [ebp - 0x34], 0
call fcn.004145dd
mov dword [ebp - 4], edi
cmp dword [ebp - 0x20], 0x10
mov eax, dword [ebp - 0x34]
jae 0x415c74
lea eax, [ebp - 0x34]
mov edx, eax
add eax, dword [ebp - 0x24]
mov ecx, dword [esi + 0x44]
mov edi, dword [ecx]
lea ebx, [ebp - 0x14]
push ebx
push eax
push edx
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0xf]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x4c]
push eax
call dword [edi + 0x14]
test eax, eax
js 0x415c92
cmp eax, 1
jg 0x415c7c
cmp dword [ebp - 0x20], 0x10
mov eax, dword [ebp - 0x34]
jae 0x415c28
lea eax, [ebp - 0x34]
mov edi, dword [ebp - 0x14]
sub edi, eax
je 0x415c4e
cmp dword [ebp - 0x20], 0x10
mov eax, dword [ebp - 0x34]
jae 0x415c3b
lea eax, [ebp - 0x34]
push dword [esi + 0x54]
push edi
push 1
push eax
call fcn.0041e490
add esp, 0x10
cmp edi, eax
jne 0x415c92
lea eax, [ebp - 0x10]
mov byte [esi + 0x49], 1
cmp dword [ebp - 0x18], eax
jne 0x415ca8
test edi, edi
jne 0x415be0
cmp dword [ebp - 0x24], 0x20
jae 0x415c92
push edi
push 8
lea ecx, [ebp - 0x34]
call fcn.0041406a
jmp 0x415be0
mov edx, dword [ebp - 0x34]
jmp 0x415bf2
cmp eax, 3
jne 0x415c92
push dword [esi + 0x54]
push dword [ebp - 0x10]
call fcn.004137c7
pop ecx
pop ecx
test al, al
jne 0x415ca8
or esi, 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x34]
call fcn.0040e180
mov eax, esi
jmp 0x415b8b
mov esi, dword [ebp + 8]
jmp 0x415c95
Function at 0x417597
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
xor edi, edi
xor esi, esi
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
cmp eax, edi
jne 0x4175eb
lea eax, [ebp - 4]
cmp ebx, edi
jne 0x4175d3
push eax
push 0x2001f
push edi
push 0x438fb0
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
jmp 0x4175dd
push 1
push eax
call fcn.0041753e
pop ecx
pop ecx
cmp dword [ebp - 4], edi
je 0x417632
mov dword [ebp - 8], 1
jmp 0x4175ee
mov dword [ebp - 4], eax
cmp dword [ebp - 4], edi
je 0x417624
cmp ebx, edi
jne 0x417605
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
jmp 0x41761d
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push ebx
push 1
push edi
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
neg esi
sbb esi, esi
inc esi
cmp dword [ebp - 8], edi
je 0x417632
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret

Function at 0x41769d
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
lea eax, [ebp - 8]
push eax
xor ebx, ebx
lea eax, [ebp - 4]
push eax
push ebx
push 0x2001f
push ebx
push ebx
push ebx
push dword [ebp + 0x10]
mov dword [ebp - 4], ebx
push dword [ebp + 8]
mov dword [ebp - 8], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x4176d1
xor eax, eax
jmp 0x417734
push edi
push 7
pop ecx
xor eax, eax
mov byte [ebp - 0x38], bl
lea edi, [ebp - 0x37]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
push 0x1e
lea eax, [ebp - 0x38]
push eax
push ebx
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.WININET.dll_InternetTimeFromSystemTime]
pop edi
test eax, eax
jne 0x417704
mov byte [ebp - 0x38], bl
push esi
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [ebp - 0x38]
push eax
push 1
push ebx
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
neg eax
sbb esi, esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esi + 1]
pop esi
pop ebx
leave
ret

Function at 0x417737
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
push 0x94
lea eax, [ebp - 0x94]
push 0
push eax
call fcn.0041b5c0
add esp, 0xc
lea eax, [ebp - 0x94]
push eax
mov dword [ebp - 0x94], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x84], 2
jne 0x417798
cmp dword [ebp - 0x90], 6
jne 0x417784
xor eax, eax
inc eax
leave
ret
cmp dword [ebp - 0x90], 5
jne 0x417798
xor eax, eax
inc eax
cmp dword [ebp - 0x8c], eax
je 0x41779a
xor eax, eax
leave
ret
Function at 0x4177e8
Capabilities:
Delete registry value
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0x2001f
push 0
push 0x439204
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x41780f
xor eax, eax
leave
ret
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push 0x43922c
push dword [ebp - 4]
call esi
push str.InstallOptions
push dword [ebp - 4]
call esi
push str.UpdateDescription
push dword [ebp - 4]
call esi
push str.UpdateTitle1
push dword [ebp - 4]
call esi
push str.UpdateTitle2
push dword [ebp - 4]
call esi
push str.UpdateMoreInfoUrl
push dword [ebp - 4]
call esi
push str.BalloonTitle
push dword [ebp - 4]
call esi
push str.BalloonTip
push dword [ebp - 4]
call esi
push str.DlgCaption
push dword [ebp - 4]
call esi
push str.MoreInfoTxt
push dword [ebp - 4]
call esi
push str.PreDownld
push dword [ebp - 4]
call esi
push str.UrlInfo
push dword [ebp - 4]
call esi
push str.NumTries
push dword [ebp - 4]
call esi
push str.LastUDCheckTime
push dword [ebp - 4]
call esi
push str.VersionXmlChecksum
push dword [ebp - 4]
call esi
push 0x43930c
push dword [ebp - 4]
call esi
call fcn.00417737
test eax, eax
je 0x4178c9
push str.TransferJobID
push dword [ebp - 4]
call esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
pop esi
leave
ret

Function at 0x417938
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push 0x4393c0
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4179bc
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push str.NewJREVersion
push dword [ebp - 4]
call esi
push 0x4393f8
push dword [ebp - 4]
call esi
push str.UpdateDetected
push dword [ebp - 4]
call esi
push str.UpdAvailNotifyCnt
push dword [ebp - 4]
call esi
push str.UpdAvailNotifyTime
push dword [ebp - 4]
call esi
push str.UpdAvailElapsed
push dword [ebp - 4]
call esi
push str.SendUDPing
push dword [ebp - 4]
call esi
push str.SendUAPing
push dword [ebp - 4]
call esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
leave
ret
Function at 0x417d91
Capabilities:
Get common file path
Query environment variable
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push ebx
push esi
lea eax, [ebp - 0xc]
push edi
push eax
call fcn.0041b10f
lea eax, [ebp - 0xc]
push eax
call fcn.0041b0e8
xor edi, edi
pop ecx
pop ecx
mov byte [ebp - 0x210], 0
cmp eax, edi
je 0x417dde
push eax
call fcn.0041b3db
pop ecx
cmp eax, edi
je 0x417dde
push eax
lea eax, [ebp - 0x210]
push str._n_s::
push eax
call fcn.0041b63a
add esp, 0xc
mov ebx, 0x104
push ebx
lea eax, [ebp - 0x110]
push eax
push str.TMPDIR
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
test eax, eax
lea eax, [ebp - 0x110]
jne 0x417e10
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
jmp 0x417e18
push 0x439cbc
push eax
call esi
push str.jusched.log
lea eax, [ebp - 0x110]
push eax
call esi
push edi
push 0x80
push 4
push edi
push 2
push 0x40000000
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x417e93
push 2
push edi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push edi
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x210]
push eax
call esi
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
push eax
lea eax, [ebp - 0x210]
push eax
push ebx
call edi
push 0
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
call esi
push eax
push dword [ebp + 8]
push ebx
call edi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41801b
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push edi
push 7
pop ecx
xor ebx, ebx
xor eax, eax
mov byte [ebp - 0x28], bl
lea edi, [ebp - 0x27]
rep stosd dword es:[edi], eax
push 7
stosb byte es:[edi], al
pop ecx
xor eax, eax
mov byte [ebp - 0x48], bl
lea edi, [ebp - 0x47]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
lea eax, [ebp - 8]
push eax
push 0x20019
push ebx
push 0x439d5c
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x418068
xor eax, eax
pop edi
pop ebx
leave
ret
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 4]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x418062
push esi
xor esi, esi
cmp dword [ebp - 4], ebx
jbe 0x4180c7
push 0x1e
lea eax, [ebp - 0x48]
push eax
push esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x4180de
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00417f8a
pop ecx
pop ecx
test eax, eax
jns 0x4180c1
xor eax, eax
mov cl, byte [ebp + eax - 0x48]
mov byte [ebp + eax - 0x28], cl
inc eax
cmp cl, bl
jne 0x4180b4
inc esi
cmp esi, dword [ebp - 4]
jb 0x41808b
mov edx, dword [ebp + 8]
lea eax, [ebp - 0x28]
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x4180d1
xor ebx, ebx
inc ebx
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
pop esi
jmp 0x418064

Function at 0x4180ef
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
push ebx
push esi
xor ebx, ebx
push 0x3ff
lea eax, [ebp - 0x407]
push ebx
push eax
mov byte [ebp - 0x408], bl
call fcn.0041b5c0
add esp, 0xc
lea eax, [ebp - 4]
push eax
push 1
push ebx
push str.SoftwareMicroSoftWindowsCurrentVersionRunOnce
push SysReAllocString
mov dword [ebp - 8], 0x400
xor esi, esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x41817b
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x408]
push eax
push ebx
push ebx
push str.JavaInstallRetry
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x418172
lea eax, [ebp - 0x408]
push str.JRERunOnce.exe
push eax
call fcn.0041bde0
pop ecx
pop ecx
test eax, eax
jne 0x418172
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x418336
Capabilities:
Get common file path
Parse url

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x640
push ebx
push esi
push 0x3c
pop esi
xor ebx, ebx
push esi
lea eax, [ebp - 0x3c]
push ebx
push eax
mov byte [ebp - 0x240], bl
call fcn.0041b5c0
lea eax, [ebp - 0x640]
add esp, 0xc
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x3c]
push eax
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0xc], 0x400
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
cmp eax, ebx
je 0x4183bd
lea eax, [ebp - 0x240]
push eax
lea eax, [ebp - 0x140]
push eax
push ebx
lea eax, [ebp - 0x640]
push ebx
push eax
call fcn.0041f3c9
lea eax, [ebp - 0x140]
push 0x43a018
push eax
call fcn.0041bde0
add esp, 0x1c
test eax, eax
je 0x4183dd
push 1
push dword [ebp + 8]
call fcn.004182fd
push eax
lea eax, [ebp - 0x140]
push str.jupdate__x
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
push dword [ebp + 0xc]
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x140]
push eax
push dword [ebp + 0xc]
call esi
lea eax, [ebp - 0x240]
push eax
push dword [ebp + 0xc]
call esi
pop esi
pop ebx
leave
ret

Function at 0x418655
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [ebp + 8]
push ebx
push edi
xor ebx, ebx
xor edi, edi
inc edi
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
cmp eax, ebx
jne 0x4186a0
lea eax, [ebp - 4]
push eax
push 0x20019
push ebx
push 0x438ab8
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp dword [ebp - 4], ebx
je 0x418699
mov dword [ebp - 8], edi
jmp 0x4186a3
xor eax, eax
jmp 0x418723
mov dword [ebp - 4], eax
push esi
push dword [ebp + 0x14]
lea eax, [ebp + 8]
push dword [ebp + 0x10]
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
cmp esi, ebx
jne 0x4186c6
mov dword [ebp - 0xc], edi
jmp 0x418711
cmp esi, 2
je 0x418711
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x3ff
mov edi, eax
lea eax, [ebp - 0x40b]
push ebx
push eax
mov byte [ebp - 0x40c], bl
call fcn.0041b5c0
push edi
push esi
push dword [ebp + 0xc]
lea eax, [ebp - 0x40c]
push str.RegQueryValueEx__s_:_Error:_d__ErrorCode:_d_n
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0x40c]
push eax
call fcn.00417d91
add esp, 0x24
pop esi
cmp dword [ebp - 8], ebx
je 0x418720
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0xc]
pop edi
pop ebx
leave
ret
Function at 0x418727
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80c
push ebx
push esi
push edi
xor edi, edi
mov esi, 0x3ff
push esi
lea eax, [ebp - 0x40b]
push edi
push eax
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], edi
mov byte [ebp - 0x40c], 0
call fcn.0041b5c0
mov eax, dword [ebp + 8]
mov ebx, dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
cmp eax, edi
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
jne 0x4187c1
lea eax, [ebp - 8]
push eax
push 0x20019
push 0
push 0x438b10
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 4], eax
test eax, eax
jne 0x418799
mov dword [ebp - 0xc], 1
jmp 0x4187ca
call edi
push eax
push dword [ebp - 4]
lea eax, [ebp - 0x40c]
push dword [ebp + 0xc]
push str.GetJreMetrics_____RegOpenKeyEx__s_:_Error:_d__ErrorCode:_d_n
push eax
call ebx
lea eax, [ebp - 0x40c]
push eax
call fcn.00417d91
add esp, 0x18
jmp 0x4187c4
mov dword [ebp - 8], eax
cmp dword [ebp - 4], 0
jne 0x41883b
push dword [ebp + 0x14]
lea eax, [ebp + 8]
push dword [ebp + 0x10]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 4], eax
test eax, eax
je 0x41882c
cmp eax, 2
je 0x41882c
call edi
push esi
mov edi, eax
lea eax, [ebp - 0x80b]
push 0
push eax
mov byte [ebp - 0x80c], 0
call fcn.0041b5c0
push edi
push dword [ebp - 4]
lea eax, [ebp - 0x80c]
push dword [ebp + 0xc]
push str.GetJreMetrics_____RegQueryValueEx__s_:_Error:_d__ErrorCode:_d_n
push eax
call ebx
lea eax, [ebp - 0x80c]
push eax
call fcn.00417d91
add esp, 0x24
cmp dword [ebp - 0xc], 0
je 0x41883b
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret