joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4060b0
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
sub esp, 0x220
mov eax, dword [0x44a590]
xor eax, esp
mov dword [esp + 0x21c], eax
push esi
push edi
xor edi, edi
push 0x206
lea eax, [esp + 0x22]
push edi
push eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x20], edi
mov word [esp + 0x28], di
call fcn.00425c60
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
push 0x20019
push edi
push str.http
push SysReAllocString
call esi
test eax, eax
je 0x40612a
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x21c]
xor ecx, esp
call fcn.004223ab
add esp, 0x220
ret
mov eax, dword [esp + 0x10]
lea edx, [esp + 8]
push edx
push 0x20019
push edi
push str.shell
push eax
call esi
test eax, eax
jne 0x406111
mov edx, dword [esp + 8]
lea ecx, [esp + 0xc]
push ecx
push 0x20019
push edi
push str.opencommand
push edx
call esi
test eax, eax
jne 0x406111
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x20]
push edx
push edi
push 0x440af4
push eax
mov dword [esp + 0x2c], 0x104
mov dword [esp + 0x30], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [esp + 8]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ecx
call esi
mov edx, dword [esp + 0xc]
push edx
call esi
lea eax, [esp + 0x1c]
push eax
call fcn.00422966
push 0x441114
push eax
call fcn.00422577
add esp, 0xc
cmp eax, edi
je 0x406111
lea esi, [eax + 2]
push 0x441114
push esi
call fcn.00422577
add esp, 8
cmp eax, edi
je 0x406111
push esi
mov word [eax], di
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [esp + 0x224]
neg eax
pop edi
sbb eax, eax
pop esi
xor ecx, esp
neg eax
call fcn.004223ab
add esp, 0x220
ret
Function at 0x4062d0
Capabilities:
Create process on windows
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x439a96
mov eax, dword fs:[0]
push eax
sub esp, 0xfe0
mov eax, dword [0x44a590]
xor eax, esp
mov dword [esp + 0xfd8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x44a590]
xor eax, esp
push eax
lea eax, [esp + 0xff4]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x1004]
push 0x7d0
lea eax, [esp + 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
xor ebx, ebx
xor eax, eax
jmp 0x406330
movzx ecx, word [eax + str.Program_FilesInternet_Exploreriexplore.exe]
mov word [esp + eax + 0x50], cx
add eax, 2
cmp cx, bx
jne 0x406330
mov eax, ebp
mov esi, ebp
jmp 0x406350
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x406350
lea edi, [esp + 0x4c]
sub eax, esi
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
cmp cx, bx
jne 0x406364
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
mov eax, ebp
rep movsb byte es:[edi], byte [esi]
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], ebx
mov word [esp + 0x34], bx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x406394
sub eax, edx
sar eax, 1
push eax
push ebp
lea esi, [esp + 0x38]
call fcn.004014f0
mov dword [esp + 0xffc], ebx
cmp dword [esp + 0x48], 8
mov eax, dword [esp + 0x34]
jae 0x4063c4
lea eax, [esp + 0x34]
push str.http:__
push eax
call fcn.00422577
add esp, 8
push ebx
push 0x440af4
lea esi, [esp + 0x1c]
mov edi, eax
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], bx
call fcn.004014f0
cmp edi, ebx
mov byte [esp + 0xffc], 1
jne 0x40640c
push 7
push str.http:__
call fcn.004014f0
mov eax, ebp
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x406411
sub eax, edx
sar eax, 1
push eax
push ebp
lea ecx, [esp + 0x1c]
call fcn.00401420
mov eax, dword [esp + 0x18]
mov esi, 8
cmp dword [esp + 0x2c], esi
jae 0x40643e
lea eax, [esp + 0x18]
push 1
push ebx
push ebx
push eax
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
ja 0x40645d
lea ecx, [esp + 0x4c]
call fcn.004064c0
cmp dword [esp + 0x2c], esi
jb 0x406470
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004069a3
add esp, 4
cmp dword [esp + 0x48], esi
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], ebx
mov word [esp + 0x18], bx
jb 0x406494
mov edx, dword [esp + 0x34]
push edx
call fcn.004069a3
add esp, 4
mov ecx, dword [esp + 0xff4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xfd8]
xor ecx, esp
call fcn.004223ab
add esp, 0xfec
ret
Function at 0x4064c0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x838
mov eax, dword [0x44a590]
xor eax, esp
mov dword [esp + 0x830], eax
push esi
push 0x44
lea eax, [esp + 0x1c]
push 0
push eax
mov esi, ecx
call fcn.00425c60
xor eax, eax
push esi
lea ecx, [esp + 0x70]
push 0x441008
push ecx
mov dword [esp + 0x30], 0x44
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
call fcn.004223d0
add esp, 0x18
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x1c]
push eax
push 0
push 0
push 0
push 1
push 0
push 0
lea ecx, [esp + 0x80]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x406550
mov edx, dword [esp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [esp + 0xc]
push eax
call esi
mov ecx, dword [esp + 0x834]
pop esi
xor ecx, esp
call fcn.004223ab
add esp, 0x838
ret

Function at 0x406600
Capabilities:
Find taskbar

Disassembly:
sub esp, 0x34
push esi
push edi
push 0
push 0x406570
push 0
push 0
mov dword [0x44e808], 0
call dword [sym.imp.USER32.dll_EnumDisplayMonitors]
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
lea eax, [esp + 0xc]
push eax
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 0
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov edi, dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [esp + 0x18]
push ecx
push eax
call edi
lea edx, [esp + 0x28]
push edx
push esi
call edi
mov eax, dword [esp + 0x10]
mov ecx, dword [0x44e808]
sub eax, dword [esp + 8]
cmp ecx, 1
jle 0x406692
test ecx, ecx
jle 0x406692
mov edx, 0x44e770
mov esi, ecx
mov ecx, dword [edx]
cmp ecx, eax
jle 0x40668a
mov eax, ecx
add edx, 0x10
sub esi, 1
jne 0x406682
pop edi
pop esi
add esp, 0x34
ret
Function at 0x406710
Capabilities:
Check if file exists
Write file on windows

Disassembly:
sub esp, 0xc14
mov eax, dword [0x44a590]
xor eax, esp
mov dword [esp + 0xc10], eax
push ebx
push esi
xor ebx, ebx
push 0x206
lea eax, [esp + 0x21e]
push ebx
push eax
mov word [esp + 0x224], bx
call fcn.00425c60
add esp, 0xc
xor eax, eax
jmp 0x406750
movzx ecx, word [eax + str.C:log_]
mov word [esp + eax + 0x218], cx
add eax, 2
cmp cx, bx
jne 0x406750
push 0x3e6
lea ecx, [esp + 0x836]
push ebx
push ecx
mov word [esp + 0x83c], bx
call fcn.00425c60
lea edx, [esp + 0x224]
push edx
lea eax, [esp + 0x430]
push str._sgswb.log
push eax
call fcn.004223d0
push 0x206
lea ecx, [esp + 0x646]
push ebx
push ecx
mov word [esp + 0x64c], bx
call fcn.00425c60
push 0x206
lea edx, [esp + 0x3a]
push ebx
push edx
mov word [esp + 0x40], bx
call fcn.00425c60
add esp, 0x30
push 0x104
lea eax, [esp + 0x14]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [esp + 0x10]
push 0x5c
push ecx
call fcn.004229cf
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 8
lea edx, [esp + 0x420]
push edx
mov word [eax], bx
call esi
test eax, eax
je 0x40694a
lea eax, [esp + 0x10]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x406811
sub eax, edx
sar eax, 1
lea eax, [esp + eax*2 + 0x12]
lea edx, [esp + 0x628]
sub edx, eax
lea ecx, [ecx]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
cmp cx, bx
jne 0x406830
push edi
lea eax, [esp + 0x62c]
push eax
lea ecx, [esp + 0x220]
push ecx
lea edx, [esp + 0x42c]
push str._s_s.txt
push edx
call fcn.004223d0
mov ecx, dword [esp + 0xc34]
lea eax, [esp + 0xc38]
push eax
push ecx
lea edx, [esp + 0x84c]
push 0x1f3
push edx
call fcn.00424073
add esp, 0x20
lea eax, [esp + 0x424]
push eax
mov word [esp + 0xc1e], bx
xor edi, edi
call esi
test eax, eax
je 0x4068a4
mov edi, 1
lea ecx, [esp + 0x424]
push 0x4411fc
push ecx
call fcn.00424154
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x406949
cmp edi, ebx
jne 0x4068e1
push esi
push 2
lea edx, [esp + 0x18]
push 1
push edx
mov dword [esp + 0x20], 0xfeff
call fcn.004242c6
add esp, 0x10
lea eax, [esp + 0x834]
lea edx, [eax + 2]
jmp 0x4068f0
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4068f0
sub eax, edx
sar eax, 1
push esi
add eax, eax
push eax
lea ecx, [esp + 0x83c]
push 1
push ecx
call fcn.004242c6
push esi
push 2
lea edx, [esp + 0x24]
push 1
push edx
mov dword [esp + 0x2c], 0xd
call fcn.004242c6
push esi
push 2
lea eax, [esp + 0x34]
push 1
push eax
mov dword [esp + 0x3c], 0xa
call fcn.004242c6
push esi
call fcn.004243ba
add esp, 0x34
pop edi
mov ecx, dword [esp + 0xc18]
pop esi
pop ebx
xor ecx, esp
call fcn.004223ab
add esp, 0xc14
ret
Function at 0x4077e1
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x44a590]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0x800
push ebx
push esi
mov esi, ecx
mov ebx, edx
lea eax, [ebp - 0xc]
jne 0x40781e
push 0x43bb30
push 4
push eax
call fcn.004264c7
push eax
call fcn.0040739f
add esp, 0x10
jmp 0x407830
push 4
push eax
push 3
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x40789b
push edi
call fcn.00426823
mov edi, dword [eax]
call fcn.00426823
and dword [eax], 0
lea eax, [ebp - 0xc]
push eax
push ebx
push esi
push 0x111
mov esi, 0x112
lea eax, [ebp - 0x230]
push esi
push eax
call fcn.00422482
add esp, 0x18
mov ebx, eax
call fcn.00426823
cmp dword [eax], 0
je 0x40787b
call fcn.00426823
push dword [eax]
call fcn.00407593
pop ecx
jmp 0x407882
call fcn.00426823
mov dword [eax], edi
cmp ebx, 0xffffffff
pop edi
je 0x40789b
cmp ebx, esi
jae 0x40789b
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
jmp 0x40789d
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004223ab
leave
ret
Function at 0x409ab7
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
je 0x409afd
call fcn.0040b1b0
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x409afd
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x409b40
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
je 0x409b29
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x409b29
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x409b3d
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x41059f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x4105e2
call fcn.0040b1b0
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4105e2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4105fd
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.00410159
test ebx, ebx
mov esi, eax
je 0x4105fb
test edi, edi
je 0x4105fb
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x412eee
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x412f1c
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x412f3a
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00412e58
jmp 0x412f3a
mov eax, dword [esi + 0x14]
test eax, eax
je 0x412f3a
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.00412e58
test edi, edi
mov eax, edi
jne 0x412f24
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x44d9d8]
test ecx, ecx
je 0x412ffd
jmp 0x412eed
ret 8

Function at 0x4223ab
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x44a590]
jne 0x4223b5
repz ret
jmp fcn.00428cd8
Function at 0x427907
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x44a720]
je 0x427922
inc edi
cmp edi, 0x17
jb 0x427913
cmp edi, 0x17
jae 0x427aa2
push ebp
push 3
call fcn.00431c7e
cmp eax, 1
pop ecx
je 0x427a6e
push 3
call fcn.00431c7e
test eax, eax
pop ecx
jne 0x427956
cmp dword [0x44a568], 1
je 0x427a6e
cmp ebx, 0xfc
je 0x427aa1
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x44dac8
push ebp
call fcn.00428ae2
add esp, 0xc
test eax, eax
je 0x42798c
push esi
push esi
push esi
push esi
push esi
call fcn.004225df
add esp, 0x14
push 0x104
mov esi, 0x44dae1
push esi
push 0
mov byte [0x44dbe5], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4279d0
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.00428ae2
add esp, 0xc
test eax, eax
je 0x4279d0
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.004225df
add esp, 0x14
push esi
call fcn.00428b50
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x427a15
push esi
call fcn.00428b50
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x44dddc
push 0x43ee14
sub ecx, eax
push ecx
push eax
call fcn.0042bdb6
add esp, 0x14
test eax, eax
je 0x427a15
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.004225df
add esp, 0x14
jmp 0x427a17
xor esi, esi
push 0x43ee10
push ebx
push ebp
call fcn.0042bcfc
add esp, 0xc
test eax, eax
je 0x427a37
push esi
push esi
push esi
push esi
push esi
call fcn.004225df
add esp, 0x14
push dword [edi*8 + 0x44a724]
push ebx
push ebp
call fcn.0042bcfc
add esp, 0xc
test eax, eax
je 0x427a59
push esi
push esi
push esi
push esi
push esi
call fcn.004225df
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.00431ac1
add esp, 0xc
jmp 0x427aa1
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x427aa1
cmp ebp, 0xffffffff
je 0x427aa1
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x44a724]
push dword [esi]
call fcn.00428b50
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x431ac1
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.004284b7
xor ebx, ebx
cmp dword [0x44e5d0], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x431b97
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x431c77
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x431c77
push eax
call fcn.00428449
mov dword [esp], 0x43f9b8
push edi
mov dword [0x44e5d0], eax
call esi
push eax
call fcn.00428449
mov dword [esp], 0x43f9a4
push edi
mov dword [0x44e5d4], eax
call esi
push eax
call fcn.00428449
mov dword [0x44e5d8], eax
lea eax, [ebp - 0xc]
push eax
call fcn.00426254
test eax, eax
pop ecx
pop ecx
je 0x431b65
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004225df
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x431b97
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00428449
cmp eax, ebx
pop ecx
mov dword [0x44e5e0], eax
je 0x431b97
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00428449
pop ecx
mov dword [0x44e5dc], eax
mov eax, dword [0x44e5dc]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x431c1c
cmp dword [0x44e5e0], ecx
je 0x431c1c
push eax
call fcn.004284c0
push dword [0x44e5e0]
mov esi, eax
call fcn.004284c0
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x431c1c
cmp edi, ebx
je 0x431c1c
call esi
cmp eax, ebx
je 0x431be9
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x431be9
test byte [ebp - 0x18], 1
jne 0x431c1c
lea eax, [ebp - 0x10]
push eax
call fcn.0042628b
test eax, eax
pop ecx
je 0x431c04
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004225df
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x431c13
or dword [ebp + 0x10], 0x200000
jmp 0x431c57
or dword [ebp + 0x10], 0x40000
jmp 0x431c57
mov eax, dword [0x44e5d4]
cmp eax, dword [ebp - 8]
je 0x431c57
push eax
call fcn.004284c0
cmp eax, ebx
pop ecx
je 0x431c57
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x431c57
mov eax, dword [0x44e5d8]
cmp eax, dword [ebp - 8]
je 0x431c57
push eax
call fcn.004284c0
cmp eax, ebx
pop ecx
je 0x431c57
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x44e5d0]
call fcn.004284c0
cmp eax, ebx
pop ecx
je 0x431c77
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x431c79
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x438234
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x44a590]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.004381c9
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.00425c60
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x438283
cmp dword [ebp - 0x1c], 5
jb 0x43829b
jmp 0x438297
cmp dword [ebp - 0x10], 1
jne 0x43829b
cmp dword [ebp - 0x1c], 4
ja 0x438297
jne 0x43829b
cmp dword [ebp - 0x18], 0
jbe 0x43829b
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x440a18
call fcn.0043809d
test eax, eax
jge 0x4382bc
mov byte [0x44e914], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004223ab
add ebp, 0x78
leave
ret
Function at 0x431005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
mov ebx, 0x40915c
nop
mov ecx, 0x4ed62aa2
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x43104e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x431024
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42f3f8
nop
mov ecx, 0x6def52bd
test eax, eax
nop
nop
nop
nop
je 0x431084
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43106c
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x4b3e60
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x71000]
push edi
jmp 0x4b3e7a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4b3e81
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b3e70
mov eax, 1
add ebx, ebx
jne 0x4b3e93
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4b3ea4
jne 0x4b3ec3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b3ec3
dec eax
add ebx, ebx
jne 0x4b3eb0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4b3e88
add ebx, ebx
jne 0x4b3ebf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4b3f15
xor ecx, ecx
sub eax, 3
jb 0x4b3edb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4b3f4a
sar eax, 1
mov ebp, eax
jmp 0x4b3ee6
add ebx, ebx
jne 0x4b3ee6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b3eb4
inc ecx
add ebx, ebx
jne 0x4b3ef4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b3eb4
add ebx, ebx
jne 0x4b3f01
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4b3ef6
jne 0x4b3f12
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4b3ef6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4b3f34
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4b3f26
jmp 0x4b3e76
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4b3f34
add edi, ecx
jmp 0x4b3e76
pop esi
mov edi, esi
mov ecx, 0x379b
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4b3f52
cmp byte [edi], 0x13
jne 0x4b3f52
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4b3f57
lea edi, [esi + 0xaf000]
mov eax, dword [edi]
or eax, eax
je 0x4b3fcf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xb6c5c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xb6db0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4b3f84
mov ecx, edi
jns 0x4b3fb3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xb6db4]
or eax, eax
je 0x4b3fc9
mov dword [ebx], eax
add ebx, 4
jmp 0x4b3fa1
call dword [esi + 0xb6dc4]
mov ebp, dword [esi + 0xb6db8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x4b4003
sub esp, 0xffffff80
jmp 0x4165c1
Function at 0x401db0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80c
mov eax, dword [0x4ce724]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x80c], 0
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x401df7
mov ecx, dword [ebp + 0xc]
push ecx
push str.InstallToolbarRemote__s___File_doesnt_exist_
call fcn.00456fc0
add esp, 8
mov eax, dword [ebp - 0x80c]
jmp 0x401f45
xor edx, edx
mov word [ebp - 0x808], dx
push 0x7fe
push 0
lea eax, [ebp - 0x806]
push eax
call fcn.00467d60
add esp, 0xc
mov ecx, dword [ebp + 0x10]
push ecx
push str._ctid_s__s__openuninstallpageFALSE__openwelcomedialogFALSE
push 0x400
lea edx, [ebp - 0x808]
push edx
call fcn.00468336
add esp, 0x10
movzx eax, byte [ebp + 0x14]
cmp eax, 3
jne 0x401e57
push str.__ff
push 0x400
lea ecx, [ebp - 0x808]
push ecx
call fcn.00468221
add esp, 0xc
jmp 0x401e70
push str.__ie
push 0x400
lea edx, [ebp - 0x808]
push edx
call fcn.00468221
add esp, 0xc
cmp dword [ebp + 0x18], 0
je 0x401e91
push str.__DefaultSearchTRUE
push 0x400
lea eax, [ebp - 0x808]
push eax
call fcn.00468221
add esp, 0xc
jmp 0x401eaa
push str.__DefaultSearchFALSE
push 0x400
lea ecx, [ebp - 0x808]
push ecx
call fcn.00468221
add esp, 0xc
cmp dword [ebp + 0x1c], 0
je 0x401ecb
push str.__StartPageTRUE
push 0x400
lea edx, [ebp - 0x808]
push edx
call fcn.00468221
add esp, 0xc
jmp 0x401ee4
push str.__StartPageFALSE
push 0x400
lea eax, [ebp - 0x808]
push eax
call fcn.00468221
add esp, 0xc
mov dword [ebp - 4], 0
push 0
lea ecx, [ebp - 4]
push ecx
push 1
push 1
push 0x4acec0
push 0x4acec4
lea edx, [ebp - 0x808]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00454e40
add esp, 0x24
mov dword [ebp - 0x80c], eax
mov edx, dword [ebp - 0x80c]
push edx
lea eax, [ebp - 0x808]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
push str.InstallToolbarRemote__d___s___s___End__d_
call fcn.00456fc0
add esp, 0x14
mov eax, dword [ebp - 0x80c]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00467d4f
mov esp, ebp
pop ebp
ret