joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40ab28
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x8215f8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040790f
and dword [ebp - 0x14], 0
cmp dword [0x825718], 0
mov dword [ebp - 0x18], eax
jne 0x40abdb
push 0x40248c
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40ac83
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x402480
push ebx
call edi
test eax, eax
je 0x40ac83
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x402470
push ebx
mov dword [0x825718], eax
call edi
push eax
call esi
push 0x40245c
push ebx
mov dword [0x82571c], eax
call edi
push eax
call esi
push 0x402440
push ebx
mov dword [0x825720], eax
call edi
push eax
call esi
mov dword [0x825728], eax
test eax, eax
je 0x40abdb
push 0x402428
push ebx
call edi
push eax
call esi
mov dword [0x825724], eax
mov eax, dword [0x825724]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40ac34
cmp dword [0x825728], ecx
je 0x40ac34
push eax
call esi
push dword [0x825728]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40ac34
test ebx, ebx
je 0x40ac34
call edi
test eax, eax
je 0x40ac2b
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40ac2b
test byte [ebp - 8], 1
jne 0x40ac34
or dword [ebp + 0x10], 0x200000
jmp 0x40ac67
mov eax, dword [0x82571c]
cmp eax, dword [ebp - 0x18]
je 0x40ac67
push eax
call esi
test eax, eax
je 0x40ac67
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40ac67
mov eax, dword [0x825720]
cmp eax, dword [ebp - 0x18]
je 0x40ac67
push eax
call esi
test eax, eax
je 0x40ac67
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x825718]
call esi
test eax, eax
je 0x40ac83
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40ac85
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040ae93
leave
ret

Function at 0x40ae93
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x8215f8]
jne 0x40ae9d
repz ret
jmp fcn.0040dce5
Function at 0x808740
Capabilities:
Accept command line arguments
Delete directory
Get common file path

Disassembly:
mov eax, 0x1420
call fcn.0040e090
cmp dword [0x26676a4], 0x37
jne 0x8087f7
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push 0x403478
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push 0
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasA]
push 0
lea eax, [esp + 0x824]
push eax
push 0x403490
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
push 0
lea ecx, [esp + 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea edx, [esp + 4]
push edx
push 0
lea eax, [esp + 0x14]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_PeekConsoleInputW]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumTimeFormatsW]
lea ecx, [esp + 8]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeW]
lea edx, [esp + 0xc20]
push edx
push 0
push 0x4034e8
push 0x403500
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push 0
push 0x4035a0
push 0x403648
call dword [sym.imp.KERNEL32.dll_CreateHardLinkW]
mov eax, dword [0x26676a8]
mov dword [esp], eax
mov eax, 0x5d1
add dword [esp], eax
mov ecx, dword [esp]
mov dl, byte [ecx + esi]
mov eax, dword [0x82a834]
mov byte [eax + esi], dl
add esp, 0x1420
ret

Function at 0x808820
Capabilities:
Manipulate console buffer

Disassembly:
sub esp, 0x64
mov edx, dword [0x822358]
mov ecx, dword [esp + 0x68]
mov eax, dword [ecx]
push ebx
mov ebx, dword [0x822360]
push ebp
mov ebp, dword [0x822364]
push esi
mov esi, dword [ecx + 4]
mov dword [esp + 0x1c], edx
mov edx, dword [0x82235c]
push edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], 0xc6ef3720
mov dword [esp + 0x28], 0x9e3779b9
mov dword [esp + 0x24], edx
mov dword [esp + 0x1c], 0x20
jmp 0x808874
mov eax, dword [esp + 0x18]
mov edx, eax
mov edi, eax
shr edx, 5
shl edi, 4
add edi, ebx
add edx, ebp
xor edx, edi
mov edi, dword [esp + 0x10]
add edi, eax
xor edx, edi
sub esi, edx
mov eax, esi
shl eax, 4
mov dword [0x265d654], 0
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x20]
add dword [esp + 0x14], eax
mov edi, dword [esp + 0x10]
add edi, esi
cmp dword [0x26676a4], 0x1be
jne 0x8088d0
lea eax, [esp + 0x2c]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
mov ecx, dword [esp + 0x78]
mov edx, esi
shr edx, 5
add edx, dword [esp + 0x24]
mov dword [0x265d658], 0xff6b3619
xor edx, edi
xor dword [esp + 0x14], edx
mov dword [0x265d65c], 0xffffffff
mov eax, dword [esp + 0x14]
sub dword [esp + 0x18], eax
mov eax, dword [esp + 0x28]
sub dword [esp + 0x10], eax
dec dword [esp + 0x1c]
jne 0x808870
cmp dword [0x26676a4], 0x8d4
jne 0x80893b
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x18]
pop edi
mov dword [eax + 4], esi
pop esi
pop ebp
mov dword [eax], ecx
pop ebx
add esp, 0x64
ret 4
mov edx, dword [esp + 0x18]
pop edi
mov dword [ecx + 4], esi
pop esi
pop ebp
mov dword [ecx], edx
pop ebx
add esp, 0x64
ret 4
Function at 0x407e15
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42e180]
jne 0x407e1f
repz ret
jmp fcn.0040bc0c

Function at 0x414d3e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x414d4d
pop dword [ebp - 0x2c]
mov eax, 0x93f6bcf6
sub eax, 0x93b56fa9
sub dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], 0xc22a310a
add dword [ebp - 0x3c], 0x8c281441
mov dword [ebp - 0x38], 0x53d6d53
add dword [ebp - 0x38], 0x2cf5def2
mov dword [ebp - 0x34], 0xeefee36c
add dword [ebp - 0x34], 0x5d4d60c2
mov dword [ebp - 0x30], 0xa6176aa8
sub dword [ebp - 0x30], 0xa6176aa8
lea eax, [ebp - 0x3c]
push eax
mov eax, 0x2c116564
add eax, 0xd430cb10
add eax, dword [ebp - 0x2c]
call dword [eax]
mov dword [ebp - 0x3c], 0x4cac13cc
add dword [ebp - 0x3c], 0x27c6558a
mov dword [ebp - 0x38], 0x710e2d8
add dword [ebp - 0x38], 0x3a5b7e9d
mov dword [ebp - 0x34], 0x8c6d73a9
add dword [ebp - 0x34], 0xd701f8c3
mov dword [ebp - 0x30], 0xcaede8a7
add dword [ebp - 0x30], 0x35121759
lea ebx, [ebp - 0x3c]
push ebx
push eax
mov eax, 0x93ae0468
sub eax, 0x936bd344
add eax, dword [ebp - 0x2c]
call dword [eax]
push 0x40
push 0x1000
push 0x42e52
push 0
call eax
mov ecx, 0x5c93
xor esi, esi
add esi, eax
mov edx, 0x434400
add edx, dword [ebp - 0x2c]
mov ebx, 0xbd255268
xor dword [ebp - 0x14], ecx
mov edi, dword [edx]
sub dword [ebp - 0x24], eax
add edi, ebx
mov dword [ebp - 0x28], 0x1161ea97
mov dword [esi], edi
add dword [ebp - 0x14], ecx
add esi, 4
add edx, 0x358a2971
add edx, 0xca75d693
loop 0x414e5f
add eax, 0xeef8bf5a
add eax, 0x1108a5c5
mov ebx, eax
add eax, 5
mov ecx, 0x861b67c2
add ecx, 0x7a24983e
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret
Function at 0x407f37
Capabilities:
Encode data using xor

Disassembly:
nop
nop
nop
nop
nop
nop
stosb byte es:[edi], al
push ebp
or byte [ebp + 0x5150ec45], cl
push edx
call dword [sym.imp.MSVCRT.dll___mb_cur_max]
fstp qword [ebp + 0x62]
xor dword [ebp - 0x14], eax
fmul qword [ebp + 0x5540b630]
add esp, 0xc
fist word [edx - 0x69bb050a]
jb 0x407ee9
jae 0x407ee9
cmp esi, ebx
test dword [eax - 0x23], ebx
inc ebp
in al, dx
rcr byte [0x40c230], cl
ffreep st(4)
rol esp, cl
inc esp
jnp 0x407fba
fst qword [esp + ebp*8 - 0x24]
xor dword [eax], edx
ret
lea eax, [ebx + 0x7e]
cmp esi, eax
jae fcn.0040801d
mov dl, byte [esi]
mov byte [edi], dl
inc edi
inc esi
cmp esi, eax
jb 0x408005
jmp fcn.0040801d
sbb esp, ebx
sbb eax, 0x40c2d8

Function at 0x401219
Capabilities:
Terminate process

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40301c
push 0x40109a
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push eax
fnstcw word [esp]
or word [esp], 0x300
fldcw word [esp]
add esp, 4
push 0
push 0
push 0x403028
push 0x403024
push 0x403020
call sub.CRTDLL.DLL___GetMainArgs
push dword [0x403028]
push dword [0x403024]
push dword [0x403020]
mov dword [0x403014], esp
call fcn.0040129c
add esp, 0x18
xor ecx, ecx
mov dword [ebp - 4], ecx
push eax
call sub.CRTDLL.DLL_exit
leave
ret
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x4260f8
Capabilities:
Decompress data using aplib

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cld
mov dl, 0x80
xor ebx, ebx
movsb byte es:[edi], byte [esi]
mov bl, 2
call fcn.0042617b
jae 0x426106
xor ecx, ecx
call fcn.0042617b
jae 0x426135
xor eax, eax
call fcn.0042617b
jae 0x426145
mov bl, 2
inc ecx
mov al, 0x10
call fcn.0042617b
adc al, al
jae 0x426127
jne 0x426171
stosb byte es:[edi], al
jmp 0x426109
call fcn.00426187
sub ecx, ebx
jne 0x42614e
call fcn.00426185
jmp 0x42616d
lodsb al, byte [esi]
shr eax, 1
je 0x426197
adc ecx, ecx
jmp 0x42616a
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
call fcn.00426185
cmp eax, 0x7d00
jae 0x42616a
cmp ah, 5
jae 0x42616b
cmp eax, 0x7f
ja 0x42616c
inc ecx
inc ecx
xchg ebp, eax
mov eax, ebp
mov bl, 1
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x426109
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret
Function at 0x405935
Capabilities:
Check mutex on windows

Disassembly:
sub esp, 0x824
mov eax, dword [0x48b068]
xor eax, esp
mov dword [esp + 0x820], eax
push ebx
mov ebx, dword [esp + 0x82c]
xor eax, eax
push ebp
push esi
mov esi, dword [esp + 0x838]
push edi
mov edi, ecx
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x2c], eax
mov byte [esp + 0x28], al
mov dword [edi], eax
call main
mov ebp, eax
mov dword [edi], ebp
test ebp, ebp
jne 0x405988
mov ecx, str.ERROR:_ShutdownEvent_handle_is_NULL
call fcn.0041781b
mov ecx, esi
call main
test eax, eax
jne 0x4059a1
mov ecx, str.jusched_ERROR:_Could_not_open_Policy_key_for_reading
call fcn.0041781b
push 0xfffffffffffffffd
jmp 0x4059c5
mov ecx, dword [esi]
call fcn.004058b8
xor ecx, ecx
mov dword [edi + 4], eax
push 0xfffffffffffffffe
test ebp, ebp
pop esi
cmovne esi, ecx
test eax, eax
jne 0x4059c6
mov ecx, str.jusched_main:_ERROR_creating_registry_watch_event_notifier
call fcn.0041781b
push 0xfffffffffffffffe
pop esi
push str.SunJavaUpdateSchedulerMutex
xor ebp, ebp
push 1
push ebp
mov dword [ebx], ebp
call dword [sym.imp.kernel32.dll_CreateMutexA]
mov dword [ebx], eax
test eax, eax
jne 0x405a31
call dword [sym.imp.kernel32.dll_GetLastError]
push 0x800
mov esi, eax
lea eax, [esp + 0x34]
push ebp
push eax
call fcn.0043c110
add esp, 0xc
lea eax, [esp + 0x30]
cmp esi, 0xb7
jne 0x405a15
push str.Error:_Scheduler_Mutex_already_exists_n
push eax
call dword [sym.imp.user32.dll_wsprintfA]
pop ecx
pop ecx
jmp 0x405a25
push esi
push str.Error:_Error_creating_scheduler_mutex:__d_n
push eax
call dword [sym.imp.user32.dll_wsprintfA]
add esp, 0xc
lea ecx, [esp + 0x30]
call fcn.0041781b
or esi, 0xffffffff
test esi, esi
je 0x405a52
push dword [ebx]
mov ecx, edi
call fcn.00405906
pop ecx
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx]
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x14]
call fcn.00417362
mov ecx, dword [esp + 0x830]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00439b80
add esp, 0x824
ret
Function at 0x407200
Capabilities:
Create thread

Disassembly:
sub esp, 0x12c
mov eax, dword [0x48b068]
xor eax, esp
mov dword [esp + 0x128], eax
push ebx
mov ebx, dword [esp + 0x134]
push ebp
push esi
mov esi, dword [sym.imp.kernel32.dll_CreateEventA]
xor ebp, ebp
push edi
xor edi, edi
mov dword [ebx + 0xc], 0xbc2
mov eax, dword [0x48d634]
inc ebp
push edi
push edi
push ebp
push edi
mov dword [ebx + 0x18], eax
call esi
push edi
push edi
push ebp
push edi
mov dword [ebx + 0x20], eax
call esi
push edi
push edi
push ebp
push edi
mov dword [ebx + 0x24], eax
call esi
mov dword [ebx + 0x38], eax
call main
mov dword [ebx + 0x3c], eax
lea edi, [esp + 0x20]
xor eax, eax
stosd dword es:[edi], eax
push ebp
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
lea edi, [esp + 0x14]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
xor edi, edi
lea eax, [esp + 0x20]
push edi
push edi
push ebp
push eax
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
push str.SunJavaUpdateRecheckUpdateEvent
lea eax, [esp + 0x24]
mov dword [esp + 0x14], 0xc
push edi
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x18]
push edi
push eax
call esi
push dword [ebx + 0x20]
mov esi, dword [sym.imp.kernel32.dll_ResetEvent]
mov dword [ebx + 0x40], eax
call esi
push dword [ebx + 0x24]
call esi
push dword [ebx + 0x38]
call esi
lea eax, [esp + 0x1c]
push eax
push edi
push ebx
push 0x407826
push edi
push edi
call dword [sym.imp.kernel32.dll_CreateThread]
test eax, eax
je 0x4072e1
push eax
call dword [sym.imp.kernel32.dll_CloseHandle]
push 0xffffffffffffffff
push dword [ebx + 0x20]
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
push dword [ebx + 0x20]
call esi
mov esi, dword [sym.imp.user32.dll_LoadStringA]
lea eax, [ebx + 0x54]
mov edi, 0x104
push edi
push eax
push 0x7b
push dword [ebx + 0x18]
call esi
push edi
lea eax, [esp + 0x38]
push eax
push 0x7c
push dword [ebx + 0x18]
call esi
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.kernel32.dll_lstrlenA]
test eax, eax
jle 0x407336
lea eax, [esp + 0x34]
push eax
lea eax, [ebx + 0x158]
push eax
call dword [sym.imp.kernel32.dll_lstrcpyA]
mov ecx, dword [esp + 0x138]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00439b80
add esp, 0x12c
ret 4
Function at 0x40ce35
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ecx
mov eax, dword [esp + 0xc]
push ebx
push ebp
mov ebx, ecx
lea ecx, [eax - 1]
push esi
mov ebp, ecx
mov dword [esp + 0x10], ecx
push edi
mov edi, edx
sar ebp, 1
mov dword [esp + 0x10], edi
mov esi, edi
cmp edi, ebp
jge 0x40ce8e
add esi, esi
lea eax, [esi + 2]
imul ecx, eax, 0x30
add ecx, ebx
lea eax, [ecx - 0x30]
push eax
call fcn.00407ba0
movzx eax, al
xor eax, 1
imul ecx, edi, 0x30
inc eax
add esi, eax
imul eax, esi, 0x30
add ecx, ebx
add eax, ebx
push eax
call fcn.0040cd83
mov edi, esi
cmp esi, ebp
jl 0x40ce58
mov eax, dword [esp + 0x1c]
cmp esi, ebp
jne 0x40cead
test al, 1
jne 0x40cead
imul eax, eax, 0x30
imul ecx, edi, 0x30
add eax, 0xffffffd0
add eax, ebx
add ecx, ebx
push eax
call fcn.0040cd83
mov edi, dword [esp + 0x14]
cmp dword [esp + 0x10], edi
jge 0x40cedf
push dword [esp + 0x20]
lea esi, [edi - 1]
sar esi, 1
imul ebp, esi, 0x30
add ebp, ebx
mov ecx, ebp
call fcn.00407ba0
test al, al
je 0x40cedf
imul ecx, edi, 0x30
push ebp
add ecx, ebx
call fcn.0040cd83
mov edi, esi
cmp dword [esp + 0x10], esi
jl 0x40ceb3
push dword [esp + 0x20]
imul ecx, edi, 0x30
add ecx, ebx
call fcn.0040cd83
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret

Function at 0x410a87
Capabilities:
Delete registry key

Disassembly:
push 0x38
mov eax, 0x45fd2a
call fcn.0043a465
mov dword [ebp - 0x14], edx
mov edi, ecx
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x44], reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x2c], ebx
mov byte [ebp - 0x30], bl
test edi, edi
jne 0x410aef
test esi, esi
jne 0x410acf
push 0x2001f
push str.SOFTWAREJavaSoftJava_UpdatePolicyjucheck
lea ecx, [ebp - 0x44]
call fcn.0041732b
mov edi, dword [ebp - 0x3c]
jmp 0x410ae4
mov ecx, str.SetJavaUpdateStringKey_was_called_with_a_NULL_value_for_the_key__so_defaulting_to_trying_jucheck_key
call fcn.0041781b
lea ecx, [ebp - 0x10]
call main
mov edi, dword [ebp - 0x10]
test edi, edi
je 0x410aef
mov dword [ebp - 0x18], 1
push ecx
push ebx
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x28], ebx
call fcn.00411578
mov dword [ebp - 4], ebx
mov eax, edi
mov dword [ebp - 0x40], eax
test esi, esi
je 0x410b29
push esi
mov dword [ebp - 0x28], 1
call fcn.00441ed0
pop ecx
push dword [ebp + 8]
inc eax
lea ecx, [ebp - 0x24]
add eax, esi
push eax
push esi
call fcn.00417433
mov eax, dword [ebp - 0x40]
test edi, edi
je 0x410b6e
test esi, esi
jne 0x410b3d
push dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
jmp 0x410b67
push esi
mov dword [ebp - 0x28], 1
call dword [sym.imp.kernel32.dll_lstrlenA]
push eax
push esi
push dword [ebp - 0x24]
call fcn.0043b610
add esp, 0xc
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x14]
call fcn.00417411
mov ebx, eax
neg ebx
sbb ebx, ebx
inc ebx
cmp dword [ebp - 0x18], 0
je 0x410b7c
lea ecx, [ebp - 0x44]
call fcn.00417362
lea ecx, [ebp - 0x24]
call fcn.004115b2
mov eax, ebx
call fcn.0043a42e
ret
Function at 0x410d81
Capabilities:
Delete file
Delete registry value
Query or enumerate registry key

Disassembly:
sub esp, 0x44c
mov eax, dword [0x48b068]
xor eax, esp
mov dword [esp + 0x444], eax
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x400
push eax
lea eax, [esp + 0x54]
xor ebx, ebx
mov edi, SysStringLen
mov dword [esp + 0x34], ebx
push eax
mov edx, str.LocalFileName
mov dword [esp + 0x20], edi
xor ecx, ecx
mov byte [esp + 0x34], bl
call fcn.004108e2
mov esi, dword [sym.imp.kernel32.dll_DeleteFileA]
pop ecx
pop ecx
test eax, eax
je 0x410de3
cmp dword [esp + 0x14], ebx
je 0x410de3
lea eax, [esp + 0x50]
push eax
call esi
lea ecx, [esp + 0x50]
call main
test eax, eax
je 0x410e02
lea edx, [esp + 0x50]
mov ecx, edx
call fcn.00411450
lea eax, [esp + 0x50]
push eax
call esi
call main
push ebx
mov edx, str.PreDownldStatus
xor ecx, ecx
call fcn.00410a87
pop ecx
push 0x80
lea eax, [esp + 0x54]
mov dword [esp + 0x20], edi
push eax
push ebx
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov esi, ebx
call edi
test eax, eax
jne 0x410e98
mov ebp, 0x20019
push ebp
lea eax, [esp + 0x54]
inc esi
push eax
lea ecx, [esp + 0x20]
call fcn.0041732b
test eax, eax
jne 0x410e83
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x34]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x50]
push ebp
push eax
mov dword [esp + 0x54], ebx
mov byte [esp + 0x50], bl
call fcn.0041732b
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x38], ecx
test eax, eax
jne 0x410e83
push str.VersionXmlURL
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push 0x80
lea eax, [esp + 0x54]
push eax
push esi
push dword [esp + 0x28]
call edi
test eax, eax
je 0x410e38
mov ecx, dword [esp + 0x454]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00439b80
add esp, 0x44c
ret
Function at 0x411245
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0xa0
mov eax, dword [0x48b068]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, 0x9c
lea eax, [ebp - 0x28]
push esi
push 0
push eax
call fcn.0043c110
add esp, 0xc
mov dword [ebp - 0x28], esi
mov esi, dword [sym.imp.kernel32.dll_GetVersionExA]
lea eax, [ebp - 0x28]
push eax
call esi
test eax, eax
jne 0x411293
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 0x94
push eax
call esi
test eax, eax
je 0x4112af
cmp dword [ebp - 0x18], 2
jne 0x4112ac
cmp dword [ebp - 0x24], 6
jae 0x4112ac
cmp dword [ebp - 0x24], 4
jb 0x4112ac
call fcn.00411039
jmp 0x4112af
xor eax, eax
inc eax
mov ecx, dword [ebp + 0x74]
xor ecx, ebp
pop esi
call fcn.00439b80
add ebp, 0x78
leave
ret

Function at 0x411450
Capabilities:
Get common file path
Parse url

Disassembly:
sub esp, 0x644
mov eax, dword [0x48b068]
xor eax, esp
mov dword [esp + 0x640], eax
push ebx
push ebp
push esi
push edi
push 0x3c
pop ebp
xor ebx, ebx
lea eax, [esp + 0x10]
push ebp
push ebx
push eax
mov edi, edx
mov byte [esp + 0x15c], bl
mov esi, ecx
call fcn.0043c110
add esp, 0xc
mov dword [esp + 0x10], ebp
lea eax, [esp + 0x250]
mov dword [esp + 0x40], 0x400
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x10]
push eax
push ebx
push esi
call dword [sym.imp.kernel32.dll_lstrlenA]
push eax
push esi
call dword [sym.imp.wininet.dll_InternetCrackUrlA]
mov ebp, 0x104
test eax, eax
je 0x4114f6
push 0x100
lea eax, [esp + 0x154]
push eax
push ebp
lea eax, [esp + 0x58]
push eax
push ebx
push ebx
push ebx
lea eax, [esp + 0x26c]
push ebx
push eax
call main
lea eax, [esp + 0x70]
push 0x4772e0
push eax
call fcn.0043c3b0
add esp, 0x2c
test eax, eax
je 0x411531
cmp byte [esi], bl
je 0x41151d
mov al, byte [esi]
cmp al, 0x20
je 0x411504
cmp al, 9
jne 0x41150f
push esi
call dword [sym.imp.user32.dll_CharNextA]
mov esi, eax
jmp 0x4114fa
imul ebx, ebx, 0x1f
movsx eax, al
add ebx, eax
inc esi
cmp byte [esi], 0
jne 0x4114fa
push ebx
lea eax, [esp + 0x50]
push str.jupdate__x
push eax
call dword [sym.imp.user32.dll_wsprintfA]
add esp, 0xc
push edi
push ebp
call dword [sym.imp.kernel32.dll_GetTempPathA]
mov esi, dword [sym.imp.kernel32.dll_lstrcatA]
lea eax, [esp + 0x4c]
push eax
push edi
call esi
lea eax, [esp + 0x150]
push eax
push edi
call esi
mov ecx, dword [esp + 0x650]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00439b80
add esp, 0x644
ret