joyce8/EMBER2024-capa huggingface dataset:
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.00422b83
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.00422b83
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.00422b83
lea eax, [ebp - 0x10]
push edi
push eax
mov dword [ebp - 4], edi
call fcn.00422b83
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.00422b83
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.00422b83
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.00422b83
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.00422b83
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.00422b83
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.00422b83
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
Function at 0x4150a2
Capabilities:
Delete file

Disassembly:
push 0x48
mov eax, 0x46916e
call fcn.004516bd
cmp dword [0x49a024], 1
mov eax, dword [ebp + 8]
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], eax
mov ebx, str.CheckFileIntegrity
mov edi, str.c:_workspace_8_2_build_windows_i586_cygwin_jdk8u181_11358_install_src_windows_wrappers_common_UpdateUtils.cpp
mov esi, 0x49a024
jg 0x41511c
test eax, eax
jne 0x4150d8
mov eax, 0x4791b8
test ecx, ecx
jne 0x4150e1
mov ecx, 0x4791b8
push eax
push ecx
push str.Verify_integrity_of___s__file_from___s_...
lea ecx, [ebp - 0x48]
call fcn.00422b83
add esp, 0xc
and dword [ebp - 4], 0
push ebx
push 0x94
push edi
push 1
mov edx, eax
mov ecx, esi
call fcn.0042432e
or dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x48]
call fcn.00403353
mov eax, dword [ebp - 0x4c]
test eax, eax
jne 0x415129
mov dword [ebp - 0x54], 1
jmp 0x415133
push eax
call fcn.004295d7
pop ecx
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x50]
push 0xffffffffffffffff
call fcn.00422b83
cmp dword [ebp - 0x54], 0
pop ecx
mov dword [ebp - 0x4c], eax
je 0x41514b
test eax, eax
je 0x4151b0
mov ecx, dword [ebp - 0x50]
push 0
call fcn.00422b83
pop ecx
mov dword [ebp - 0x4c], eax
test eax, eax
je 0x4151b0
push dword [ebp - 0x50]
call dword [sym.imp.kernel32.dll_DeleteFileA]
cmp dword [0x49a024], 3
jg 0x4151b0
mov eax, dword [ebp - 0x50]
test eax, eax
jne 0x41517b
mov eax, 0x4791b8
push eax
push str.Integrity_verification_failed_for___s_
lea ecx, [ebp - 0x2c]
call fcn.00422b83
pop ecx
pop ecx
push ebx
push 0xab
push edi
push 3
mov edx, eax
mov ecx, esi
mov dword [ebp - 4], 1
call fcn.0042432e
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.00403353
mov eax, dword [ebp - 0x4c]
call fcn.00451740
ret

Function at 0x419557
Capabilities:
Encrypt data using dpapi

Disassembly:
push 0x60
mov eax, 0x467c4a
call fcn.004516bd
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x5c], eax
xor eax, eax
dec ecx
push 4
neg ecx
sbb ecx, ecx
mov esi, edx
pop edx
and ecx, 0xfffffffc
mov dword [ebp - 0x54], ebx
lea edi, [ebp - 0x50]
stosd dword es:[edi], eax
add ecx, edx
lea eax, [ebp - 0x54]
push eax
or ecx, 1
push ecx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x60]
push eax
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x60], edx
call dword [sym.imp.CRYPT32.dll_CryptProtectData]
test eax, eax
jne 0x4195e4
call dword [sym.imp.kernel32.dll_GetLastError]
push ebx
push eax
lea esi, [ebp - 0x30]
call fcn.00422b83
push eax
lea eax, [ebp - 0x4c]
push str.encryption_failed__sysError
push eax
mov dword [ebp - 4], ebx
call fcn.00422b83
add esp, 0x14
lea esi, [ebp - 0x6c]
mov byte [ebp - 4], 1
call fcn.00422b83
push 0x48627c
mov eax, esi
push eax
call fcn.00422b83
mov edi, dword [ebp - 0x58]
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov esi, dword [ebp - 0x54]
mov eax, edi
call fcn.004128e4
push dword [ebp - 0x54]
mov eax, dword [edi]
push dword [ebp - 0x50]
push eax
call fcn.00422b83
add esp, 0xc
push dword [ebp - 0x50]
call dword [sym.imp.kernel32.dll_LocalFree]
mov eax, edi
call fcn.00451740
ret
Function at 0x41961b
Capabilities:
Encrypt data using dpapi

Disassembly:
push 0x60
mov eax, 0x467c4a
call fcn.004516bd
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x5c], eax
xor eax, eax
mov dword [ebp - 0x54], ebx
lea edi, [ebp - 0x50]
stosd dword es:[edi], eax
lea eax, [ebp - 0x54]
push eax
push 1
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x60]
mov esi, edx
push eax
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x60], ecx
call dword [sym.imp.CRYPT32.dll_CryptUnprotectData]
test eax, eax
jne 0x419699
call dword [sym.imp.kernel32.dll_GetLastError]
push ebx
push eax
lea esi, [ebp - 0x30]
call fcn.00422b83
push eax
lea eax, [ebp - 0x4c]
push str.decryption_failed__sysError
push eax
mov dword [ebp - 4], ebx
call fcn.00422b83
add esp, 0x14
lea esi, [ebp - 0x6c]
mov byte [ebp - 4], 1
call fcn.00422b83
push 0x48627c
mov eax, esi
push eax
call fcn.00422b83
mov edi, dword [ebp - 0x58]
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov esi, dword [ebp - 0x54]
mov eax, edi
call fcn.004128e4
push dword [ebp - 0x54]
mov eax, dword [edi]
push dword [ebp - 0x50]
push eax
call fcn.00422b83
add esp, 0xc
push dword [ebp - 0x50]
call dword [sym.imp.kernel32.dll_LocalFree]
mov eax, edi
call fcn.00451740
ret

Function at 0x419742
Capabilities:
Encode data using base64 via winapi

Disassembly:
push 0x6c
mov eax, 0x467c15
call fcn.004516bd
mov eax, dword [ebp + 8]
mov edi, ecx
xor ecx, ecx
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], ecx
cmp dword [ebp + 0xc], ecx
jne 0x419771
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], ecx
mov byte [edi], cl
jmp 0x41986a
mov esi, dword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
lea edx, [ebp - 0x68]
push edx
push ecx
mov ebx, 0x40000001
push ebx
push dword [ebp + 0xc]
mov dword [ebp - 0x68], ecx
push eax
call esi
test eax, eax
jne 0x4197cf
call dword [sym.imp.kernel32.dll_GetLastError]
push 0
push eax
lea esi, [ebp - 0x64]
call fcn.00422b83
and dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x48]
push str.binary2string__phase1__failed__sysError
push eax
call fcn.00422b83
add esp, 0x14
mov byte [ebp - 4], 1
lea esi, [ebp - 0x78]
call fcn.00422b83
push 0x48627c
mov eax, esi
push eax
call fcn.00422b83
and dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0x68]
lea ecx, [ebp - 0x2c]
call fcn.00419aed
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x4197fc
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x68]
push ecx
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp - 0x6c]
call esi
test eax, eax
jne 0x41983e
call dword [sym.imp.kernel32.dll_GetLastError]
push 0
push eax
lea esi, [ebp - 0x48]
call fcn.00422b83
push eax
lea eax, [ebp - 0x64]
push str.binary2string__phase2__failed__sysError
push eax
mov byte [ebp - 4], 3
call fcn.00422b83
add esp, 0x14
mov byte [ebp - 4], 4
jmp 0x4197ba
mov eax, dword [ebp - 0x68]
lea ecx, [ebp - 0x2c]
call fcn.00419aed
and dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
lea esi, [ebp - 0x2c]
mov byte [edi], 0
call fcn.0040319c
push 0
push 1
mov ecx, esi
call fcn.00403353
mov eax, edi
call fcn.00451740
ret
Function at 0x419872
Capabilities:
Decode data using base64 via winapi

Disassembly:
push 0x98
mov eax, 0x467bc5
call fcn.004516bd
mov eax, dword [ebp + 8]
xor ebx, ebx
mov edi, ecx
mov dword [ebp - 0x84], ebx
mov ecx, dword [edi + 0x10]
mov dword [ebp - 0x88], eax
cmp ecx, ebx
jne 0x4198a8
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
jmp 0x4199e2
cmp dword [edi + 0x14], 0x10
mov dword [ebp - 0x84], ebx
jb 0x4198b8
mov eax, dword [edi]
jmp 0x4198ba
mov eax, edi
push ebx
push ebx
lea edx, [ebp - 0x84]
push edx
push ebx
push 1
push ecx
push eax
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
jne 0x419913
call dword [sym.imp.kernel32.dll_GetLastError]
push ebx
push eax
lea esi, [ebp - 0x48]
call fcn.00422b83
push eax
lea eax, [ebp - 0x80]
push str.string2binary__phase1__failed__sysError
push eax
mov dword [ebp - 4], ebx
call fcn.00422b83
add esp, 0x14
lea esi, [ebp - 0x94]
mov byte [ebp - 4], 1
call fcn.00422b83
push 0x48627c
mov eax, esi
push eax
call fcn.00422b83
mov esi, dword [ebp - 0x84]
lea eax, [ebp - 0x98]
mov dword [ebp - 0x98], ebx
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0x90], ebx
call fcn.004128e4
mov dword [ebp - 4], 2
cmp dword [edi + 0x14], 0x10
mov eax, dword [edi + 0x10]
jb 0x419948
mov edi, dword [edi]
push ebx
push ebx
lea ecx, [ebp - 0x84]
push ecx
push dword [ebp - 0x98]
push 1
push eax
push edi
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
jne 0x4199a6
call dword [sym.imp.kernel32.dll_GetLastError]
push ebx
push eax
lea esi, [ebp - 0x64]
call fcn.00422b83
push eax
lea eax, [ebp - 0x2c]
push str.string2binary__phase2__failed__sysError
push eax
mov byte [ebp - 4], 3
call fcn.00422b83
add esp, 0x14
lea esi, [ebp - 0xa4]
mov byte [ebp - 4], 4
call fcn.00422b83
push 0x48627c
mov eax, esi
jmp 0x41990d
mov esi, dword [ebp - 0x84]
lea eax, [ebp - 0x98]
call fcn.004128e4
mov eax, dword [ebp - 0x88]
lea edi, [ebp - 0x98]
call fcn.00419b08
cmp dword [ebp - 0x98], ebx
je 0x4199dc
push dword [ebp - 0x98]
call fcn.00422b83
pop ecx
mov eax, dword [ebp - 0x88]
call fcn.00451740
ret

Function at 0x41a174
Capabilities:
Hide graphical window

Disassembly:
push 0x34
mov eax, 0x46e11c
call fcn.00451654
mov edi, ecx
lea ebx, [edi + 0x44]
mov eax, ebx
lea esi, [ebp - 0x28]
call fcn.00435f4f
mov dword [ebp - 0x14], ebx
and dword [ebp - 4], 0
and dword [edi + 0x50], 0
mov ecx, edi
call fcn.0041a26b
mov eax, esi
push eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 8]
call fcn.0043618e
lea ebx, [edi + 0x54]
mov eax, ebx
lea esi, [ebp - 0x40]
call fcn.00435f4f
mov eax, dword [edi + 8]
mov dword [ebp - 0x2c], ebx
mov eax, dword [eax + 4]
test eax, eax
je 0x41a1d2
push 0
push eax
call dword [sym.imp.user32.dll_ShowWindow]
lea ecx, [ebp - 0x40]
call fcn.00435f99
mov edi, dword [edi + 0x50]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00435f99
mov eax, edi
call fcn.0045172c
ret
Function at 0x42bd44
Capabilities:
Check http status code
Check internet connectivity via wininet

Disassembly:
push 0xfc
mov eax, 0x46d7e4
call fcn.004516f3
xor ebx, ebx
push ebx
lea eax, [ebp - 0xe8]
push eax
mov dword [ebp - 0xe8], ebx
call dword [sym.imp.wininet.dll_InternetGetConnectedState]
test eax, eax
je 0x42bd74
mov al, 1
jmp 0x42be17
test byte [ebp - 0xe8], 0x40
jne 0x42bd6d
push str.http:__java.sun.com
lea ecx, [ebp - 0x4c]
mov byte [ebp - 0xe1], bl
mov dword [ebp - 4], ebx
call fcn.00402573
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0xe0]
push eax
mov byte [ebp - 4], 1
call fcn.0042a21c
push ebx
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x108]
mov dword [eax + 0x20], 2
mov word [eax + 0x1c], 1
call fcn.0042a2a9
push eax
push 0x13
pop ecx
mov byte [ebp - 4], 3
call fcn.00422b83
mov esi, eax
lea eax, [ebp - 0x108]
push eax
mov byte [ebp - 4], 2
call fcn.0040a2b7
lea edi, [ebp - 0xe0]
call fcn.0042a264
push ebx
push 1
lea ecx, [ebp - 0x4c]
call fcn.00403353
cmp esi, 0xc8
je 0x42be0a
cmp esi, 0x197
jne 0x42be11
mov byte [ebp - 0xe1], 1
mov al, byte [ebp - 0xe1]
call fcn.0045174f
ret

Function at 0x42beb3
Capabilities:
Parse url

Disassembly:
push ebp
sub esp, 0x70
lea ebp, [esp - 4]
mov eax, dword [0x4956a0]
xor eax, ebp
mov dword [ebp + 0x70], eax
push 0x44
mov eax, 0x46841f
call fcn.00451654
xor edi, edi
push 0x38
lea eax, [ebp - 0x4c]
push edi
push eax
mov esi, ecx
mov dword [ebp - 0x14], edi
call fcn.0044b630
xor ebx, ebx
inc ebx
add esp, 0xc
cmp dword [esi + 0x14], 0x10
mov dword [ebp - 0x50], 0x3c
mov dword [ebp - 0x3c], ebx
jb 0x42befc
mov esi, dword [esi]
lea eax, [ebp - 0x50]
push eax
push edi
push edi
push esi
call dword [sym.imp.wininet.dll_InternetCrackUrlA]
test eax, eax
jne 0x42bf14
xor al, al
jmp 0x42bfec
cmp dword [ebp - 0x44], 3
je 0x42bf20
cmp dword [ebp - 0x44], 4
jne 0x42bf0d
push dword [ebp - 0x3c]
lea esi, [ebp + 0x54]
push dword [ebp - 0x40]
call fcn.004037de
push str.sun.com
lea ecx, [ebp]
mov dword [ebp - 4], edi
call fcn.00402573
mov byte [ebp - 4], bl
lea edx, [ebp]
mov ecx, esi
mov dword [ebp - 0x14], ebx
call fcn.00425c13
test al, al
jne 0x42bfa5
push str.java.com
lea ecx, [ebp + 0x1c]
call fcn.00402573
push 3
pop esi
mov dword [ebp - 4], 2
lea edx, [ebp + 0x1c]
lea ecx, [ebp + 0x54]
mov dword [ebp - 0x14], esi
call fcn.00425c13
test al, al
jne 0x42bfa5
push str.oracle.com
lea ecx, [ebp + 0x38]
call fcn.00402573
mov dword [ebp - 4], esi
lea edx, [ebp + 0x38]
lea ecx, [ebp + 0x54]
mov dword [ebp - 0x14], 7
call fcn.00425c13
mov byte [ebp - 0xd], 0
test al, al
je 0x42bfa8
mov byte [ebp - 0xd], bl
test byte [ebp - 0x14], 4
je 0x42bfbc
and dword [ebp - 0x14], 0xfffffffb
push edi
push ebx
lea ecx, [ebp + 0x38]
call fcn.00403353
test byte [ebp - 0x14], 2
je 0x42bfd0
and dword [ebp - 0x14], 0xfffffffd
push edi
push ebx
lea ecx, [ebp + 0x1c]
call fcn.00403353
test byte [ebp - 0x14], bl
je 0x42bfdf
push edi
push ebx
lea ecx, [ebp]
call fcn.00403353
push edi
push ebx
lea ecx, [ebp + 0x54]
call fcn.00403353
mov al, byte [ebp - 0xd]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x70]
xor ecx, ebp
call fcn.00449589
add ebp, 0x74
leave
ret