joyce8/EMBER2024-capa huggingface dataset:
Function at 0x420830
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x4af6f0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
test edi, edi
je 0x420931
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x420851
sub eax, edx
sar eax, 1
lea ebx, [eax + 1]
lea eax, [ebx + ebx + 8]
cmp eax, 0x400
ja 0x420888
call fcn.004704a0
mov esi, esp
test esi, esi
je 0x420918
mov dword [esi], 0xcccc
add esi, 8
jmp 0x4208a0
push eax
call fcn.00470008
add esp, 4
test eax, eax
je 0x42089e
mov dword [eax], 0xdddd
add eax, 8
mov esi, eax
test esi, esi
je 0x420918
push edi
push ebx
push esi
call fcn.0046fd12
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x4208c2
xor eax, eax
jmp 0x4208d8
lea edi, [eax + eax]
mov eax, edi
call fcn.004704a0
mov eax, esp
push 0
push edi
push esi
push eax
call fcn.0045bcd0
mov ecx, dword [ebp + 8]
push ebx
push eax
mov eax, dword [ebp + 0xc]
push 1
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
add esi, 0xfffffff8
cmp dword [esi], 0xdddd
mov edi, eax
jne 0x420902
push esi
call fcn.0046eb03
add esp, 4
mov eax, edi
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046ebfa
mov esp, ebp
pop ebp
ret
mov eax, 8
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046ebfa
mov esp, ebp
pop ebp
ret
mov eax, 0x57
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046ebfa
mov esp, ebp
pop ebp
ret
Function at 0x422950
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x210
mov eax, dword [0x4af6f0]
xor eax, esp
mov dword [esp + 0x20c], eax
mov eax, dword [esp + 0x218]
push ebx
push ebp
mov ebp, dword [esp + 0x224]
push esi
mov esi, dword [esp + 0x220]
push edi
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x1e]
push edx
mov dword [esp + 0x1c], eax
xor edi, edi
xor ebx, ebx
mov word [esp + 0x20], cx
call fcn.0046f6e0
push 1
push 0x208
lea eax, [esp + 0x28]
push eax
push esi
call fcn.004228a0
add esp, 0x1c
test eax, eax
je 0x4229ed
mov ecx, dword [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push edx
mov eax, edx
push str._s_s
push eax
call fcn.0046eb3b
add esp, 0x10
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4229e3
lea edi, [ebx + 1]
jmp 0x4229f2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x4229f2
mov ebx, 0xa1
mov eax, edi
test ebp, ebp
je 0x4229fb
mov dword [ebp], ebx
mov ecx, dword [esp + 0x21c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0046ebfa
add esp, 0x210
ret

Function at 0x422b00
Capabilities:
Write file on windows

Disassembly:
push ecx
mov eax, dword [esp + 8]
push esi
xor esi, esi
mov dword [esp + 4], esi
test eax, eax
je 0x422b69
mov ecx, dword [esp + 0x1c]
push edi
push ecx
push 2
push 2
push 0x40000000
push str.Mac.pad
push eax
lea edx, [esp + 0x28]
push edx
call fcn.00422a20
mov edi, dword [esp + 0x2c]
add esp, 0x1c
mov esi, eax
cmp edi, 0xffffffff
je 0x422b61
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push 0
lea eax, [esp + 0xc]
push eax
push ecx
push edx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x422b61
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, dword [esp + 0x18]
test eax, eax
je 0x422b7f
mov ecx, esi
neg ecx
sbb ecx, ecx
not ecx
and ecx, dword [esp + 4]
mov dword [eax], ecx
mov eax, esi
pop esi
pop ecx
ret
Function at 0x422ee0
Capabilities:
Get cpu information
Query or enumerate registry value

Disassembly:
sub esp, 0x218
mov eax, dword [0x4af6f0]
xor eax, esp
mov dword [esp + 0x214], eax
mov eax, dword [esp + 0x21c]
push esi
xor esi, esi
test eax, eax
je 0x422f04
mov dword [eax], esi
call fcn.00426860
test eax, eax
je 0x422fda
push ebx
mov eax, 0
cpuid
mov dword [esp + 8], eax
movzx eax, word [esp + 8]
cmp eax, 3
jb 0x422f79
mov eax, 1
cpuid
mov dword [esp + 0x10], eax
mov eax, 3
cpuid
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
mov eax, dword [esp + 0x14]
movzx ecx, ax
push ecx
shr eax, 0x10
push eax
mov eax, dword [esp + 0x20]
movzx edx, ax
push edx
shr eax, 0x10
push eax
mov eax, dword [esp + 0x20]
movzx ecx, ax
push ecx
shr eax, 0x10
push eax
lea edx, [esp + 0x34]
push str._04lX__04lX__04lX__04lX__04lX__04lX
push edx
call fcn.0046eb3b
add esp, 0x20
jmp 0x422fc5
mov eax, 1
cpuid
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
mov eax, dword [esp + 0xc]
and eax, 0xf
push eax
mov eax, dword [esp + 0xc]
mov ecx, eax
and ecx, 0xf
push ecx
mov edx, eax
mov ecx, eax
shr edx, 4
and edx, 0xf
push edx
shr ecx, 8
and ecx, 0xf
push ecx
shr eax, 0xc
and eax, 3
push eax
lea edx, [esp + 0x30]
push str._04lX__04lX__04lX__04lX__04lX
push edx
call fcn.0046eb3b
add esp, 0x1c
lea eax, [esp + 0x1c]
push eax
call fcn.00422cd0
add esp, 4
mov esi, eax
pop ebx
cmp esi, 0x10
jae 0x423048
lea ecx, [esp + 0xc]
push ecx
push 0x20019
push 0
push str.HARDWAREDESCRIPTIONSystemCentralProcessor0
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x423048
lea edx, [esp + 0x14]
push edx
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
push ecx
push 0
push str.Identifier
push edx
mov dword [esp + 0x2c], 0x200
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42303d
cmp dword [esp + 0x10], 1
jne 0x42303d
lea eax, [esp + 0x18]
push eax
call fcn.00422cd0
add esp, 4
mov esi, eax
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x218]
mov eax, esi
pop esi
xor ecx, esp
call fcn.0046ebfa
add esp, 0x218
ret
Function at 0x423060
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x110
mov eax, dword [0x4af6f0]
xor eax, esp
mov dword [esp + 0x10c], eax
push ebp
push edi
mov edi, dword [esp + 0x11c]
mov dword [esp + 0x10], 0
test edi, edi
je 0x42308f
mov dword [edi], 0
mov ebp, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [esp + 8]
push eax
push 1
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersion
push closesocket
call ebp
test eax, eax
je 0x4230cd
test edi, edi
je 0x4230b4
mov dword [edi], eax
pop edi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x10c]
xor ecx, esp
call fcn.0046ebfa
add esp, 0x110
ret
mov eax, dword [esp + 8]
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x20]
push edx
push 0
push 0
push str.ProductId
push eax
mov dword [esp + 0x2c], 0x100
call ebx
mov esi, eax
test esi, esi
je 0x423174
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, 2
jne 0x423163
lea edx, [esp + 0x10]
push edx
push 1
push 0
push str.SOFTWAREMicrosoftWindows_NTCurrentVersion
push closesocket
call ebp
test eax, eax
je 0x423130
test edi, edi
je 0x42312c
mov dword [edi], eax
xor eax, eax
jmp 0x4231aa
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x20]
push ecx
push 0
push 0
push str.ProductId
push edx
mov dword [esp + 0x2c], 0x100
call ebx
mov esi, eax
test esi, esi
je 0x42316d
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x423169
mov dword [edi], esi
xor eax, eax
jmp 0x4231aa
mov ecx, dword [esp + 0x10]
push ecx
jmp 0x423179
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esp + 0x1c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x423186
sub eax, edx
sar eax, 1
je 0x4231a6
lea eax, [esp + 0x1c]
push eax
call fcn.00422cd0
add esp, 4
jmp 0x4231aa
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x11c]
pop esi
pop ebx
pop edi
pop ebp
xor ecx, esp
call fcn.0046ebfa
add esp, 0x110
ret
Function at 0x4231d0
Capabilities:
Get common file path
Get disk information

Disassembly:
sub esp, 0x314
mov eax, dword [0x4af6f0]
xor eax, esp
mov dword [esp + 0x310], eax
push esi
mov esi, dword [esp + 0x31c]
test esi, esi
je 0x4231f6
mov dword [esi], 0
push 0x104
lea eax, [esp + 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
jne 0x423231
test esi, esi
je 0x423219
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
xor eax, eax
pop esi
mov ecx, dword [esp + 0x310]
xor ecx, esp
call fcn.0046ebfa
add esp, 0x314
ret
lea ecx, [esp + 0x108]
push 0x5c
push ecx
call fcn.00472b57
add esp, 8
test eax, eax
je 0x42324d
xor edx, edx
mov word [eax + 2], dx
push 0
push 0
push 0
push 0
lea eax, [esp + 0x14]
push eax
push 0
push 0
lea ecx, [esp + 0x124]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x42320d
mov edx, dword [esp + 4]
push edx
lea eax, [esp + 0xc]
push 0x4a7cd4
push eax
call fcn.0046eb3b
lea ecx, [esp + 0x14]
push ecx
call fcn.00422cd0
mov ecx, dword [esp + 0x324]
add esp, 0x10
pop esi
xor ecx, esp
call fcn.0046ebfa
add esp, 0x314
ret

Function at 0x424310
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x22c
mov eax, dword [0x4af6f0]
xor eax, esp
mov dword [esp + 0x228], eax
push esi
lea eax, [esp + 0x24]
push 0x104
push eax
or esi, 0xffffffff
call fcn.0041e520
add esp, 8
test eax, eax
jne 0x424382
lea ecx, [esp + 0x24]
push ecx
push 0x10
lea edx, [esp + 0xc]
push edx
push 0x4a7e24
push str.APTimer
push str.General
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [esp + 4]
push eax
call fcn.004706b9
add esp, 4
pop esi
mov ecx, dword [esp + 0x228]
xor ecx, esp
call fcn.0046ebfa
add esp, 0x22c
ret
mov ecx, dword [esp + 0x22c]
mov eax, esi
pop esi
xor ecx, esp
call fcn.0046ebfa
add esp, 0x22c
ret

Function at 0x424e90
Capabilities:
Terminate process

Disassembly:
push ecx
test dword [esp + 0x28], 0x80000000
push esi
mov esi, dword [esp + 0x28]
mov dword [esi], 0
mov dword [esp + 0x28], 0
jne 0x424ed8
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x424ed8
push 0x10
push str.Fatal_error
push str.The_main_windows_handle_is_mandatory.
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
push ebx
mov ebx, dword [esp + 0x24]
push ebp
mov ebp, dword [esp + 0x24]
push edi
mov edi, dword [esp + 0x30]
lea ecx, [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x1c]
push esi
push edi
push ebx
push ebp
push edx
push eax
push ecx
call fcn.00424b60
add esp, 0x20
cmp dword [esi], 0
mov dword [esp + 0x10], eax
jne 0x424f2f
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x34]
push edx
push eax
push esi
push edi
push ebx
push ebp
push ecx
call fcn.00424550
add esp, 0x1c
or dword [esp + 0x10], eax
mov eax, dword [esp + 0x3c]
pop edi
pop ebp
pop ebx
test eax, eax
je 0x424f40
mov edx, dword [esp + 0x28]
mov dword [eax], edx
mov eax, dword [esp + 4]
pop esi
pop ecx
ret
Function at 0x424f50
Capabilities:
Encode data using xor

Disassembly:
test edx, edx
je 0x424f6e
push esi
mov esi, eax
lea ecx, [edi + edx]
sub esi, edi
lea esp, [esp]
mov al, byte [esi + ecx - 1]
xor byte [ecx - 1], al
dec ecx
dec edx
test edx, edx
jne 0x424f60
pop esi
mov eax, edi
ret
Function at 0x425f30
Capabilities:
Resolve dns

Disassembly:
sub esp, 0x104
mov eax, dword [0x4af6f0]
xor eax, esp
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x108]
mov edx, dword [esp + 0x114]
push ebx
mov ebx, dword [esp + 0x114]
push ebp
push esi
push edi
mov edi, dword [esp + 0x11c]
xor ebp, ebp
mov dword [edi], 0xffffffff
test eax, eax
je 0x425f8c
cmp byte [eax], 0
je 0x425f8c
lea esi, [esp + 0x10]
sub esi, eax
jmp 0x425f80
mov cl, byte [eax]
mov byte [esi + eax], cl
inc eax
test cl, cl
jne 0x425f80
jmp 0x425f9f
xor eax, eax
mov edi, edi
mov cl, byte [eax + str.www.avanquest.com]
mov byte [esp + eax + 0x10], cl
inc eax
test cl, cl
jne 0x425f90
test edx, edx
je 0x425fba
lea eax, [esp + 0x10]
mov ecx, eax
sub edx, ecx
jmp 0x425fb0
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x425fb0
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov esi, eax
test esi, esi
je 0x426005
movsx eax, word [esi + 0xa]
mov ecx, dword [esi + 0xc]
mov edx, dword [ecx]
push eax
push edx
push edi
call fcn.0046f090
add esp, 0xc
test ebx, ebx
je 0x425fea
mov ax, word [esi + 8]
mov word [ebx], ax
mov eax, ebp
mov ecx, dword [esp + 0x110]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0046ebfa
add esp, 0x104
ret
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [edi], eax
cmp eax, 0xffffffff
jne 0x42601f
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
jmp 0x425fec
mov eax, ebp
test ebx, ebx
je 0x425fec
mov edx, 2
mov word [ebx], dx
jmp 0x425fec
Function at 0x4266e0
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x4af6f0]
xor eax, esp
mov dword [esp + 0x114], eax
push esi
mov esi, dword [esp + 0x120]
push edi
mov edi, dword [esp + 0x134]
push 0x110
lea eax, [esp + 0x10]
push 0
push eax
mov dword [esp + 0x14], 0x114
call fcn.0046f6e0
add esp, 0xc
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 0xc], 5
push edi
jb 0x426753
push esi
call fcn.004264c0
add esp, 8
pop edi
pop esi
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.0046ebfa
add esp, 0x118
ret
mov edx, dword [esp + 0x134]
mov eax, dword [esp + 0x130]
mov ecx, dword [esp + 0x12c]
push edx
push eax
push ecx
push esi
call fcn.00426130
mov ecx, dword [esp + 0x130]
add esp, 0x14
pop edi
pop esi
xor ecx, esp
call fcn.0046ebfa
add esp, 0x118
ret
Function at 0x427d40
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
mov eax, dword [0x4af6f0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0xc]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x427d8b
push edi
push str.InstallToolbarRemote__s___File_doesnt_exist_
call fcn.00469290
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046ebfa
mov esp, ebp
pop ebp
ret
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0x804], ax
lea eax, [ebp - 0x802]
push eax
call fcn.0046f6e0
push esi
push str._ctid_s__s__openuninstallpageFALSE__openwelcomedialogFALSE
lea eax, [ebp - 0x804]
push 0x400
push eax
call fcn.0046ebde
add esp, 0x1c
lea eax, [ebp - 0x804]
cmp byte [ebp + 0x14], 3
jne 0x427dd3
push str.__ff
jmp 0x427dd8
push str.__ie
push 0x400
push eax
call fcn.0046e804
add esp, 0xc
lea eax, [ebp - 0x804]
cmp dword [ebp + 0x18], 0
je 0x427df9
push str.__DefaultSearchTRUE
jmp 0x427dfe
push str.__DefaultSearchFALSE
push 0x400
push eax
call fcn.0046e804
add esp, 0xc
lea eax, [ebp - 0x804]
cmp dword [ebp + 0x1c], 0
je 0x427e1f
push str.__StartPageTRUE
jmp 0x427e24
push str.__StartPageFALSE
push 0x400
push eax
call fcn.0046e804
add esp, 0xc
mov dword [ebp - 0x808], 0
lea eax, [ebp - 0x808]
push 0
push eax
push 1
push 1
push 0x48c8a4
push 0x48c8a4
lea eax, [ebp - 0x804]
push eax
push edi
push ebx
call fcn.004667d0
mov esi, eax
lea eax, [ebp - 0x804]
push esi
push eax
push edi
push ebx
push str.InstallToolbarRemote__d___s___s___End__d_
call fcn.00469290
mov ecx, dword [ebp - 4]
add esp, 0x38
mov eax, esi
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0046ebfa
mov esp, ebp
pop ebp
ret

Function at 0x428e20
Capabilities:
Create thread
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 0x81], 0
jne 0x428eab
cmp dword [ebp + 8], 0
je 0x428e57
cmp dword [esi + 0x6d], 0xffffffff
jne 0x428eab
push 0
push 0
push esi
push 0x4294a0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x6d], eax
pop esi
pop ebp
ret 4
mov eax, dword [esi + 0x6d]
cmp eax, 0xffffffff
je 0x428eab
lea ecx, [ebp + 8]
mov dword [ebp + 8], 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x428e9b
cmp dword [ebp + 8], 0x103
jne 0x428e9b
push 0
push dword [esi + 0x6d]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
test eax, eax
jne 0x428e9b
push 0x2710
push dword [esi + 0x6d]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esi + 0x6d]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x6d], 0xffffffff
pop esi
pop ebp
ret 4
Function at 0x429a40
Capabilities:
Contain obfuscated stackstrings
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc8
mov eax, dword [0x4af6f0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
push 0
push 0x80
push 3
push 0
push 3
push closesocket
push edi
mov dword [ebp - 0x64], 0x20434150
mov dword [ebp - 0x60], 0x20a9202d
mov dword [ebp - 0x5c], 0x50525642
mov dword [ebp - 0x58], 0x666f5320
mov dword [ebp - 0x54], 0x72617774
mov dword [ebp - 0x50], 0x39312065
mov dword [ebp - 0x4c], 0x322d3039
mov dword [ebp - 0x48], 0x20303030
mov dword [ebp - 0x44], 0x20200a0d
mov dword [ebp - 0x40], 0x20202020
mov dword [ebp - 0x3c], 0x20202020
mov dword [ebp - 0x38], 0x20202020
mov dword [ebp - 0x34], 0x20202020
mov dword [ebp - 0x30], 0x20202020
mov dword [ebp - 0x2c], 0x20202020
mov dword [ebp - 0x28], 0x20202020
mov dword [ebp - 0x24], 0x20202020
mov dword [ebp - 0x20], 0x20202020
mov dword [ebp - 0x1c], 0x20202020
mov dword [ebp - 0x18], 0x1a0a0d00
mov dword [ebp - 0x14], 0x106a9d6
mov dword [ebp - 0x10], 0x12c
mov dword [ebp - 0xc], 0x80
mov word [ebp - 8], 0x1e0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x429b41
push edi
push str.IsaPacFile__s___INVALID_HANDLE_VALUE
call fcn.00469290
add esp, 8
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046ebfa
mov esp, ebp
pop ebp
ret 4
push 0
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x429bb1
push 0
lea eax, [ebp - 0xc8]
push eax
push 0x5e
lea eax, [ebp - 0xc4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x429bb1
cmp dword [ebp - 0xc8], 0x5e
jne 0x429bb1
xor ecx, ecx
jmp 0x429b80
mov al, byte [ebp + ecx - 0x64]
cmp al, byte [ebp + ecx - 0xc4]
jne 0x429bb1
inc ecx
cmp ecx, 0x5e
jb 0x429b80
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046ebfa
mov esp, ebp
pop ebp
ret 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.0046ebfa
mov esp, ebp
pop ebp
ret 4
Function at 0x42b290
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
mov eax, dword [0x4af6f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push eax
push 8
push ebx
mov dword [ebp - 0x408], eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov edi, dword [sym.imp.USER32.dll_LoadImageW]
push 0
push 0x10
push 0x10
push 1
push 1
push dword [0x4b550c]
call edi
mov esi, dword [sym.imp.USER32.dll_SetClassLongW]
push eax
push 0xffffffffffffffde
push ebx
call esi
push 0
push 0x20
push 0x20
push 1
push 1
push dword [0x4b550c]
call edi
push eax
push 0xfffffffffffffff2
push ebx
call esi
xor eax, eax
push 0x1fe
push eax
mov word [ebp - 0x404], ax
lea eax, [ebp - 0x402]
push eax
call fcn.0046f6e0
mov esi, dword [ebp - 0x408]
lea eax, [ebp - 0x404]
push dword [esi + 4]
push 0x100
push eax
push 0xf0
push dword [esi]
call fcn.00467110
add esp, 0x20
test eax, eax
je 0x42b369
push 0
push 0x4c82d0
push 0x48d54c
lea eax, [ebp - 0x404]
push 0x100
push eax
call fcn.00440530
add esp, 0x14
lea eax, [ebp - 0x404]
push eax
push ebx
call dword [sym.imp.USER32.dll_SetWindowTextW]
xor eax, eax
push 0x1fe
push eax
mov word [ebp - 0x204], ax
lea eax, [ebp - 0x202]
push eax
call fcn.0046f6e0
push dword [esi + 4]
lea eax, [ebp - 0x204]
push 0x100
push eax
push 0xf1
push dword [esi]
call fcn.00467110
mov edi, dword [sym.imp.USER32.dll_SetDlgItemTextW]
add esp, 0x20
test eax, eax
je 0x42b3bb
lea eax, [ebp - 0x204]
push eax
push 0x3eb
push ebx
call edi
push dword [esi + 4]
lea eax, [ebp - 0x204]
push 0x100
push eax
push 0xf2
push dword [esi]
call fcn.00467110
add esp, 0x14
test eax, eax
je 0x42b3ec
lea eax, [ebp - 0x204]
push eax
push 0x3ec
push ebx
call edi
push dword [esi + 4]
lea eax, [ebp - 0x204]
push 0x100
push eax
push 0xf3
push dword [esi]
call fcn.00467110
add esp, 0x14
test eax, eax
je 0x42b41d
lea eax, [ebp - 0x204]
push eax
push 0x3fd
push ebx
call edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0x10
push 0xc5
push 0x3fe
push ebx
call edi
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [esi + 0xc]
push eax
push 0x3fe
push ebx
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov eax, dword [esi + 8]
and al, 2
movzx eax, al
neg eax
sbb eax, eax
and eax, 5
push eax
push 2
push ebx
call edi
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call esi
mov ecx, dword [ebp - 0x408]
mov eax, dword [ecx + 8]
and al, 1
movzx eax, al
neg eax
sbb eax, eax
and eax, 5
push eax
push 3
push ebx
call edi
push eax
call esi
mov eax, dword [ebp - 0x408]
test byte [eax + 8], 4
je 0x42b4ab
push 0xfffffffffffffff0
push ebx
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0xfff7ffff
push eax
push 0xfffffffffffffff0
push ebx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046ebfa
mov esp, ebp
pop ebp
ret
Function at 0x42bb90
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push 8
push edi
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, dword [ebp + 0xc]
mov ebx, eax
cmp ecx, 0x3f0
jg 0x42bc4c
je 0x42bbfb
dec ecx
je 0x42bbe8
dec ecx
je 0x42bbd5
dec ecx
jne 0x42bc59
push 3
push edi
call dword [sym.imp.USER32.dll_EndDialog]
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret
push 2
push edi
call dword [sym.imp.USER32.dll_EndDialog]
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret
push 1
push edi
call dword [sym.imp.USER32.dll_EndDialog]
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push edi
call esi
mov eax, dword [ebx + 0x2454]
and eax, 0xfffffffc
or eax, 0x10
mov dword [ebx + 0x2454], eax
lea eax, [ebx + 0x244c]
push eax
push edi
call fcn.0042a210
add esp, 8
push 5
push edi
call esi
push 1
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push 1
push eax
push 0x28
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret
sub ecx, 0x3f1
je 0x42bc8b
sub ecx, 0xd
je 0x42bc60
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
push 0
push 1
push 0xf0
push 0x3fe
push edi
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
dec eax
neg eax
pop edi
sbb eax, eax
inc eax
mov dword [ebx + 0x228], eax
mov eax, 1
pop esi
pop ebx
pop ebp
ret
cmp dword [ebp + 0x14], 1
jne 0x42bcfa
push 0x3f1
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0
mov esi, eax
push 0x147
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
je 0x42bcf1
push 0
push eax
push 0x150
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, eax
cmp esi, 0xffffffff
je 0x42bcf1
mov ecx, dword [ebx + 0x21c]
mov eax, 0x2a4b80c9
sub ecx, dword [ebx + 0x218]
imul ecx
sar edx, 0xb
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jg 0x42bcf1
mov dword [ebx + 0x214], esi
push 0xd
push edi
call dword [sym.imp.USER32.dll_EndDialog]
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret