joyce8/EMBER2024-capa huggingface dataset:
Function at 0x483f10
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x4989fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov esi, dword [esp + 0x2c]
xor ebp, ebp
mov dword [esp + 0x10], eax
xor ebx, ebx
mov eax, 1
mov ecx, ebx
shl eax, cl
mov ecx, dword [esp + 0x10]
test ecx, eax
je 0x484002
lea edx, [ebx + 0x41]
lea eax, [esp + 0x14]
push edx
push str._c:_
push eax
call fcn.00487dff
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x484002
lea edx, [esp + 0x14]
push edx
push str.Mounting__s_n
call fcn.0047f6e0
lea eax, [esp + 0x1c]
lea edi, [esi + 0x1048]
push eax
push edi
mov word [esp + 0x28], bp
call fcn.0048820b
push 0x10
call fcn.004881d3
add esp, 0x14
mov dword [esp + 0x2c], eax
cmp eax, ebp
mov dword [esp + 0x24], ebp
je 0x483fc5
mov cx, word [edi]
push ecx
mov ecx, eax
call fcn.004741c0
jmp 0x483fc7
xor eax, eax
push esi
mov dword [esp + 0x28], 0xffffffff
mov dword [esi], eax
call fcn.00483b80
mov edi, dword [esi]
add esp, 4
cmp edi, ebp
je 0x483ff0
mov ecx, edi
call fcn.004742c0
push edi
call fcn.004881c8
add esp, 4
mov edx, dword [esi + 0x1024]
push ebp
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x484021
inc ebx
cmp ebx, 0x20
jb 0x483f3e
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x485250
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x499808
push 0x489288
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x28], ebx
xor esi, esi
mov dword [ebp - 0x20], esi
mov byte [ebp - 0x24], bl
mov dword [ebp - 4], ebx
mov byte [ebp - 0x34], bl
mov byte [ebp - 0x33], bl
mov byte [ebp - 0x32], bl
mov byte [ebp - 0x31], bl
mov byte [ebp - 0x30], bl
mov byte [ebp - 0x2f], 5
lea eax, [ebp - 0x1c]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x12
push 1
lea ecx, [ebp - 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x485329
lea edx, [ebp - 0x28]
push edx
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x485329
mov dword [ebp - 0x2c], ebx
lea eax, [ebp - 0x2c]
push eax
push ebx
push ebx
push 1
mov ecx, dword [ebp - 0x28]
push ecx
mov edi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
call edi
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004881d3
add esp, 4
mov esi, eax
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x20], esi
cmp esi, ebx
je 0x485329
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
push esi
push 1
mov edx, dword [ebp - 0x28]
push edx
call edi
test eax, eax
je 0x485329
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [esi]
push ecx
call dword [sym.imp.ADVAPI32.dll_EqualSid]
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 0x24], al
jmp 0x48532c
mov al, byte [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.00485351
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x485d20
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov edx, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
lea eax, [esp + 4]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
mov dword [esp + 0x1c], 8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x485d58
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esi], ecx
mov dword [esi + 4], edx
pop esi
pop ecx
ret 0x10

Function at 0x485d60
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x485d94
mov eax, dword [esp + 0x14]
test eax, eax
je 0x485d94
push eax
push esi
call fcn.0048820b
add esp, 8
pop esi
ret 0x10

Function at 0x485da0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x24
lea eax, [esp + 0x28]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x485e22
push ebx
mov ebx, dword [esp + 0x30]
push esi
xor esi, esi
test ebx, ebx
jbe 0x485e15
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov edi, dword [esp + 0x40]
push esi
lea ecx, [esp + 0x18]
push 0x49e320
push ecx
mov dword [esp + 0x1c], 4
call fcn.00487dff
mov ecx, dword [esp + 0x44]
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push edi
push 0
push 0
push eax
push ecx
call ebp
inc esi
add edi, 4
cmp esi, ebx
jb 0x485dda
pop edi
pop ebp
mov edx, dword [esp + 0x30]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
add esp, 0x24
ret 0xc

Function at 0x485e30
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x28
lea eax, [esp + 0x2c]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x485ec2
push ebp
mov ebp, dword [esp + 0x34]
push esi
xor esi, esi
test ebp, ebp
jbe 0x485eb5
push ebx
mov ebx, dword [esp + 0x40]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
lea ecx, [esp + 0x1c]
push 0x49e320
push ecx
mov dword [esp + 0x1c], 4
call fcn.00487dff
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x40]
push eax
push 0
push 0
push ecx
push edx
call edi
test eax, eax
jne 0x485eab
mov ax, word [esp + 0x14]
mov word [ebx], ax
inc esi
add ebx, 2
cmp esi, ebp
jb 0x485e6a
pop edi
pop ebx
mov ecx, dword [esp + 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebp
add esp, 0x28
ret 0xc
Function at 0x486000
Capabilities:
Get file version info

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0x486131
push esi
call fcn.00489145
add esp, 4
mov edi, eax
push edi
push esi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push ebx
call fcn.00478080
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
je 0x486131
push 0
push ebp
call fcn.004783a0
push 0
push 0
push 0
push 4
push 0
push ebp
mov ebx, eax
call fcn.00478260
add esp, 0x20
mov dword [esp + 0x18], eax
test eax, eax
jne 0x48608b
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 0
push 0
push 0
push 6
push eax
call fcn.004782f0
mov esi, eax
add esp, 0x14
test esi, esi
je 0x486121
push 0x49e918
push edi
call fcn.004873f0
push eax
push ebx
push esi
call fcn.00485f60
push 0x49e8f8
push edi
call fcn.004873f0
push eax
push ebx
push esi
call fcn.00485f60
push 0x49e8d8
push edi
call fcn.004873f0
push eax
push ebx
push esi
call fcn.00485f60
push 0x49e8c0
push edi
call fcn.004873f0
add esp, 0x44
push eax
push ebx
push esi
call fcn.00485f60
push 0x49e8a0
push edi
call fcn.004873f0
push eax
push ebx
push esi
call fcn.00485f60
push 0x49e888
push edi
call fcn.004873f0
push eax
push ebx
push esi
call fcn.00485f60
add esp, 0x34
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
push ebp
call esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x4871b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.00487140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.00487140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.00487140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.00487140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0x487bfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x487c50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x49987c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x487c43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x487c52
xor eax, eax
pop esi
leave
ret 4
Function at 0x4012c0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x428
mov eax, dword [0x4493b4]
xor eax, esp
mov dword [esp + 0x424], eax
push esi
push edi
push 0
push 0x88
push 0
mov esi, ecx
call fcn.0040d563
mov ecx, esi
call fcn.0040ce68
push 0x400
lea eax, [esp + 0x2c]
push 0
push eax
mov dword [esi + 0xc7c], esi
call fcn.00423cc0
add esp, 0xc
lea ecx, [esi + 0x474]
push ecx
push 0x400
lea edx, [esp + 0x30]
push edx
push 0x43e748
push str.SCREEN_IMAGE
push str.REQUIREMENT
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
ja 0x40134b
push 0x400
lea eax, [esp + 0x2c]
push 0
push eax
call fcn.00423cc0
add esp, 0xc
lea eax, [esp + 0x28]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x401352
sub eax, edx
je 0x40140c
push 0x10
push 0
push 0
push 0
lea ecx, [esp + 0x38]
push ecx
push 0
call dword [sym.imp.USER32.dll_LoadImageA]
mov edi, eax
test edi, edi
je 0x4013cf
lea edx, [esp + 0x10]
push edx
push 0x18
push edi
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
call dword [sym.imp.GDI32.dll_GetObjectA]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push 6
push eax
push ecx
push 0
push 0
push 0x44c228
mov ecx, esi
call fcn.0040d832
mov edx, dword [esi + 0xca4]
push edi
push 0
push 0x172
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x4013ee
lea eax, [esp + 0x28]
push eax
push str.Load_Image___s__fail__
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov edx, 0x44d258
call fcn.00404ce0
add esp, 8
test edi, edi
je 0x40140c
push 0
push 0
push 0
push 0
lea ecx, [esi + 0x74]
push ecx
push fcn.00401190
call fcn.0040efe1
test eax, eax
jne 0x401431
push 0
mov ecx, esi
call fcn.0040d627
lea edx, [esi + 0x74]
push edx
call fcn.00401190
mov eax, dword [esi + 0x20]
add esp, 4
push 0
push 0
push 0x10
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
mov ecx, dword [esp + 0x42c]
pop edi
pop esi
xor ecx, esp
mov eax, 1
call fcn.00422383
mov esp, ebp
pop ebp
ret
Function at 0x401720
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x404]
sub esp, 0x404
push 0xffffffffffffffff
push 0x437a30
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x4493b4]
xor eax, ebp
mov dword [ebp + 0x400], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x14], ebx
push 0x400
push ebx
lea eax, [ebp]
push eax
call fcn.00423cc0
add esp, 0xc
mov dword [ebp - 4], ebx
push str.__Get_Required_Directory_Paths__
mov ecx, 0x44d258
call fcn.00404e20
add esp, 4
lea ecx, [ebp]
push ecx
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea edi, [esi + 0x870]
test eax, eax
je 0x40184f
push edi
push ebx
push str.Install
lea edx, [ebp]
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
jne 0x4017eb
push str.Get_Temp_File_Name_fail__
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov edx, 0x44d258
call fcn.00404ce0
push str.Install
lea eax, [ebp]
push eax
push str._s_s000
mov edx, edi
call fcn.00402c20
add esp, 0x10
push 0x2e
push edi
call fcn.00422460
add esp, 8
cmp eax, ebx
je 0x4017fd
mov byte [eax], 0
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x401802
sub eax, edx
cmp byte [eax + esi + 0x86f], 0x5c
jne 0x401832
mov eax, edi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x401820
sub eax, edx
mov byte [eax + esi + 0x86f], cl
lea ebx, [esi + 0xc70]
push str.Setup
push edi
push str._s_s
mov edx, ebx
call fcn.00402c20
add esp, 0xc
jmp 0x401878
push 0x400
push ebx
push edi
call fcn.00423cc0
lea ebx, [esi + 0xc70]
push 0x400
push 0
push ebx
call fcn.00423cc0
add esp, 0x18
mov dword [ebp - 0x14], 3
lea edx, [esi + 0x70]
mov eax, edx
lea ecx, [eax + 1]
mov dword [ebp - 0x18], ecx
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x401883
add esi, 0x470
sub eax, dword [ebp - 0x18]
je 0x4018ab
push str.Setup
push edx
push str._s_s
mov edx, esi
call fcn.00402c20
jmp 0x4018bf
push 0x400
push 0
push esi
call fcn.00423cc0
mov dword [ebp - 0x14], 3
add esp, 0xc
push edi
push str.Temparary_Directory_Path_:___s_
mov ecx, 0x44d258
call fcn.00404e20
push ebx
push str.Destination_Setup_Subdirectory_Path_:___s_
mov ecx, 0x44d258
call fcn.00404e20
push esi
push str.Source_Setup_Subdirectory_Path_:___s_
mov ecx, 0x44d258
call fcn.00404e20
add esp, 0x18
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x400]
xor ecx, ebp
call fcn.00422383
add ebp, 0x404
mov esp, ebp
pop ebp
ret
Function at 0x401b10
Capabilities:
Read .ini file

Disassembly:
push ebp
lea ebp, [esp - 0x108]
sub esp, 0x108
push 0xffffffffffffffff
push 0x437fe8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4493b4]
xor eax, ebp
mov dword [ebp + 0x104], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x1c], esi
xor edi, edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x18], edi
push 0x104
push edi
lea eax, [ebp]
push eax
call fcn.00423cc0
add esp, 0xc
mov dword [ebp - 4], edi
add esi, 0x1070
push esi
push 0x104
lea ecx, [ebp]
push ecx
push 0x43e9b4
push str.OS_VERSION
push str.REQUIREMENT
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x43e9c4
lea ecx, [ebp]
call fcn.00406420
add esp, 4
mov ecx, 0x43e9c4
lea edx, [ebp]
call fcn.004065b0
lea edx, [ebp]
push edx
lea ecx, [ebp - 0x14]
call fcn.00402f70
mov byte [ebp - 4], 1
push edi
push 0x2c
mov ecx, eax
call fcn.00402980
mov edi, eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00402f10
cmp edi, 0xffffffff
jne 0x401bf5
mov dword [ebp - 0x2c], 0xd
push 0x444850
lea eax, [ebp - 0x2c]
push eax
call fcn.004244c5
lea ecx, [ebp]
push ecx
lea ecx, [ebp - 0x24]
call fcn.00402f70
mov bl, 2
mov byte [ebp - 4], bl
push edi
lea edx, [ebp - 0x14]
push edx
mov ecx, eax
call fcn.00402a70
mov byte [ebp - 4], 3
mov edx, dword [eax]
call fcn.00406eb0
mov esi, eax
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x14]
call fcn.00402f10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.00402f10
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x14]
call fcn.00402f70
mov byte [ebp - 4], 4
push edi
lea ecx, [ebp - 0x24]
push ecx
mov ecx, eax
call fcn.004029c0
mov byte [ebp - 4], 5
mov edx, dword [eax]
call fcn.00406eb0
mov ebx, eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x24]
call fcn.00402f10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00402f10
lea edx, [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x1c]
add eax, 0x54
push eax
lea ecx, [ebp - 0x18]
call fcn.00406b30
mov ecx, dword [ebp - 0x18]
push ecx
mov edi, dword [ebp - 0x28]
push edi
push str.Current_OS_version_:_Major_Ver__d____Minor_Ver.__d_
mov ecx, 0x44d258
call fcn.00404e20
push ebx
push esi
push str.Required_OS_version_:_Major_Ver__d____Minor_Ver.__d_
mov ecx, 0x44d258
call fcn.00404e20
add esp, 0x18
cmp edi, esi
jbe 0x401cc5
mov edx, dword [ebp - 0x1c]
mov byte [edx + 0x1470], 1
jmp 0x401cd6
jne 0x401cd6
cmp dword [ebp - 0x18], ebx
jb 0x401cd6
mov eax, dword [ebp - 0x1c]
mov byte [eax + 0x1470], 1
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x104]
xor ecx, ebp
call fcn.00422383
add ebp, 0x108
mov esp, ebp
pop ebp
ret
Function at 0x401d30
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x437d80
mov eax, dword fs:[0]
push eax
sub esp, 0x13c
mov eax, dword [0x4493b4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
fldz
fstp qword [ebp - 0x130]
push 0x104
push 0
lea eax, [ebp - 0x120]
push eax
call fcn.00423cc0
add esp, 0xc
mov dword [ebp - 4], 0
wait
lea ecx, [edi + 0x1070]
push ecx
push 0x104
lea edx, [ebp - 0x120]
push edx
push 0x43ea34
push str.IEXPLORER_VERSION
push str.REQUIREMENT
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x43e9c4
lea ecx, [ebp - 0x120]
call fcn.00406420
mov ecx, 0x43e9c4
lea edx, [ebp - 0x120]
call fcn.004065b0
lea eax, [ebp - 0x120]
push eax
call fcn.00422685
add esp, 8
fstp qword [ebp - 0x140]
lea ecx, [ebp - 0x130]
call fcn.00406d50
mov esi, eax
mov dword [ebp - 0x124], esi
sub esp, 8
fld qword [ebp - 0x130]
fstp qword [esp]
push str.Current_Internet_Explorer_Version_:__f
mov ecx, 0x44d258
call fcn.00404e20
add esp, 4
fld qword [ebp - 0x140]
fstp qword [esp]
push str.Required_Internet_Explorer_Version_:__f
mov ecx, 0x44d258
call fcn.00404e20
add esp, 0xc
test esi, esi
je 0x401e4d
mov dword [ebp - 0x134], esi
push 0x444850
lea ecx, [ebp - 0x134]
push ecx
call fcn.004244c5
fld qword [ebp - 0x140]
fcomp qword [ebp - 0x130]
fnstsw ax
test ah, 0x41
jp 0x401e67
mov byte [edi + 0x1471], 1
wait
mov dword [ebp - 4], 0xffffffff
jmp 0x401ea7
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00422383
mov esp, ebp
pop ebp
ret
Function at 0x401ed0
Capabilities:
Get file version info

Disassembly:
push ebp
lea ebp, [esp - 0x108]
sub esp, 0x108
push 0xffffffffffffffff
push 0x437d50
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x4493b4]
xor eax, ebp
mov dword [ebp + 0x104], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x18], esi
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x20]
push eax
lea ecx, [esi + 0x54]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.00406b30
mov eax, dword [ebp - 0x20]
cmp eax, 5
ja 0x402077
jne 0x401f4a
cmp dword [ebp - 0x1c], 1
jae 0x402077
push 0x104
push ebx
lea edx, [ebp]
push edx
call fcn.00423cc0
push str.MSXML.dll
push 0x104
lea eax, [ebp]
push eax
call fcn.00422999
add esp, 0x18
push ebx
lea ecx, [ebp]
push ecx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
cmp esi, ebx
jbe 0x40205c
push esi
call fcn.0040768a
add esp, 4
mov edi, eax
cmp edi, ebx
je 0x402055
push edi
push esi
push ebx
lea edx, [ebp]
push edx
call sub.VERSION.dll_GetFileVersionInfoA
cmp eax, 1
jne 0x402031
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x14]
push ecx
push 0x43eaf4
push edi
call sub.VERSION.dll_VerQueryValueA
cmp eax, 1
jne 0x402031
mov eax, dword [ebp - 0x14]
mov ecx, 0x44d258
cmp eax, ebx
je 0x40200f
movzx edx, word [eax + 8]
push edx
movzx eax, word [eax + 0xa]
push eax
push str._MSXML.DLL_File_Version_:__d__d_
call fcn.00404e20
add esp, 0xc
mov ecx, dword [ebp - 0x14]
cmp word [ecx + 0xa], 5
jb 0x402043
mov edx, dword [ebp - 0x18]
mov byte [edx + 0x1472], 1
push edi
call fcn.0040768f
add esp, 4
mov dword [ebp - 4], 0xffffffff
jmp 0x4020bd
push str.Get_File_version_fail___File_Info_structure_pointer_is_invalid________
call fcn.00404e20
add esp, 4
push edi
call fcn.0040768f
add esp, 4
mov dword [ebp - 4], 0xffffffff
jmp 0x4020bd
push str.Get_File_version_fail________
mov ecx, 0x44d258
call fcn.00404e20
add esp, 4
push edi
call fcn.0040768f
add esp, 4
mov dword [ebp - 4], 0xffffffff
jmp 0x4020bd
push str._new__function_returns_NULL_____
jmp 0x402061
push str.Get_File_Version_Info_Size_fail__
mov ecx, 0x44d258
call fcn.00404e20
add esp, 4
mov dword [ebp - 4], 0xffffffff
jmp 0x4020bd
mov byte [esi + 0x1472], 1
push str.Checking_MS_XML_Parser_version_is_not_needed_in_this_version_of_Windows
mov ecx, 0x44d258
call fcn.00404e20
add esp, 4
xor eax, eax
jmp 0x4020bf
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x104]
xor ecx, ebp
call fcn.00422383
add ebp, 0x108
mov esp, ebp
pop ebp
ret
Function at 0x4020f0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4380f0
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x4493b4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
xor esi, esi
mov dword [ebp - 0x124], esi
push 0x104
push esi
lea eax, [ebp - 0x120]
push eax
call fcn.00423cc0
add esp, 0xc
mov dword [ebp - 4], esi
lea ecx, [edi + 0x1070]
push ecx
push 0x104
lea edx, [ebp - 0x120]
push edx
push 0x43ebfc
push str.FREE_SPACE
push str.REQUIREMENT
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x43e9c4
lea ecx, [ebp - 0x120]
call fcn.00406420
add esp, 4
mov ecx, 0x43e9c4
lea edx, [ebp - 0x120]
call fcn.004065b0
lea edx, [ebp - 0x120]
call fcn.00406eb0
mov esi, eax
call fcn.004070d0
cmp eax, esi
jb 0x4021ab
mov byte [edi + 0x1473], 1
push eax
push str.Current_Disk_Free_Space_:__d_MB
mov ecx, 0x44d258
call fcn.00404e20
push esi
push str.Required_Disk_Free_Space_:__d_MB
mov ecx, 0x44d258
call fcn.00404e20
add esp, 0x10
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x124]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00422383
mov esp, ebp
pop ebp
ret

Function at 0x402230
Capabilities:
Read .ini file

Disassembly:
push ebp
lea ebp, [esp - 0x104]
sub esp, 0x104
push 0xffffffffffffffff
push 0x437a00
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x4493b4]
xor eax, ebp
mov dword [ebp + 0x100], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov edi, edx
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], ebx
cmp edi, ebx
je 0x402343
push 0x100
push ebx
lea eax, [ebp]
push eax
call fcn.00423cc0
add esp, 0xc
lea ecx, [esi + 0x1070]
push ecx
push 0x100
lea edx, [ebp]
push edx
push 0x43e748
push str.INSTALLER
push str.REQUIREMENT
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x4022c0
sub eax, edx
jne 0x4022e3
push str.Setup_binmaininst.exe
push 0x100
lea eax, [ebp]
push eax
call fcn.00422999
add esp, 0xc
cmp byte [ebp + 0x10c], bl
je 0x4022f7
lea ecx, [ebp]
push ecx
add esi, 0x870
jmp 0x4022fe
lea edx, [ebp]
push edx
add esi, 0x70
push esi
push str._s_s
push 0x400
push edi
call fcn.00422903
add esp, 0x14
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x100]
xor ecx, ebp
call fcn.00422383
add ebp, 0x104
mov esp, ebp
pop ebp
ret 4
mov dword [ebp - 0x18], 0x57
push 0x444850
lea eax, [ebp - 0x18]
push eax
call fcn.004244c5
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], 0xffffffff
mov eax, 0x40236b
ret