joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401e90
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x451160
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x46b008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov edi, ecx
push 0x10
lea eax, [ebp - 0x30]
push eax
push 0x59
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jle 0x4020af
xor eax, eax
mov dword [ebp - 0x38], 0
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x401ef6
sub ecx, edx
lea eax, [ebp - 0x30]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x48]
call fcn.004013c0
lea edx, [ebp - 0x48]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x78]
call fcn.00408430
push eax
mov ecx, edi
call fcn.004034a0
mov edx, dword [ebp - 0x64]
cmp edx, 0x10
jb 0x401f60
mov ecx, dword [ebp - 0x78]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x401f56
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4020cc
push edx
push ecx
call fcn.0041b657
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0xf
mov byte [ebp - 0x78], 0
cmp edx, 8
jb 0x401fb3
mov ecx, dword [ebp - 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x401fa9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4020d1
push edx
push ecx
call fcn.0041b657
add esp, 8
push 0x10
lea eax, [ebp - 0x30]
push eax
push 0x5a
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jle 0x4020af
xor eax, eax
mov dword [ebp - 0x50], 0
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x4c], 7
mov word [ebp - 0x60], ax
lea edx, [ecx + 2]
jmp 0x401ff0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x401ff0
sub ecx, edx
lea eax, [ebp - 0x30]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x60]
call fcn.004013c0
lea edx, [ebp - 0x60]
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x90]
call fcn.00408430
push eax
mov ecx, ebx
call fcn.004034a0
mov edx, dword [ebp - 0x7c]
cmp edx, 0x10
jb 0x402060
mov ecx, dword [ebp - 0x90]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x402056
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4020d6
push edx
push ecx
call fcn.0041b657
add esp, 8
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0xf
mov byte [ebp - 0x90], 0
cmp edx, 8
jb 0x4020ab
mov ecx, dword [ebp - 0x60]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4020a1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4020db
push edx
push ecx
call fcn.0041b657
add esp, 8
mov al, 1
jmp 0x4020b1
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041b616
mov esp, ebp
pop ebp
ret
call fcn.00436a89
call fcn.00436a89
call fcn.00436a89
call fcn.00436a89
int3
Function at 0x407ec0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
mov dword [ebp - 4], edx
test esi, esi
je 0x407ed8
mov dword [esi], 0
test ebx, ebx
jne 0x407ee4
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
push edi
push 8
call fcn.0041b627
add esp, 4
mov edi, eax
mov eax, dword [ebp - 4]
mov dword [ebp + 8], edi
push 0
push 0
push edi
push 0x407e90
push 0
push 0
mov dword [edi], ebx
mov dword [edi + 4], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
setne bl
test eax, eax
je 0x407f3c
test esi, esi
je 0x407f28
pop edi
mov dword [esi], eax
mov al, bl
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test eax, eax
je 0x407f47
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
push 8
push edi
call fcn.0041b657
add esp, 8
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x409140
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x46b008]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x46d40c], 0
push esi
push edi
je 0x409170
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041b616
mov esp, ebp
pop ebp
ret
push 0x104
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
xor eax, eax
lea ecx, [ebp - 0x210]
cmp word [ebp - 0x210], ax
je 0x40919d
add ecx, 2
inc eax
cmp word [ecx], 0
jne 0x409193
cmp eax, 0x103
ja 0x4091d5
jae 0x4091cb
mov ecx, 0x462ba4
jmp 0x4091b0
movzx edx, word [ecx]
test dx, dx
je 0x4091cb
mov word [ebp + eax*2 - 0x210], dx
add ecx, 2
inc eax
cmp eax, 0x103
jb 0x4091b0
xor ecx, ecx
mov word [ebp + eax*2 - 0x210], cx
push 0x462ba8
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x418]
push str._s_s
push eax
call fcn.00408110
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea eax, [ebp - 0x418]
add esp, 0x10
push eax
call esi
mov edi, eax
lea eax, [ebp - 0x210]
push str.crypt32.dll
push eax
lea eax, [ebp - 0x418]
push str._s_s
push eax
call fcn.00408110
add esp, 0x10
lea eax, [ebp - 0x418]
push eax
call esi
mov esi, eax
test edi, edi
je 0x409362
test esi, esi
je 0x409362
push ecx
mov edx, str.WinVerifyTrust
mov ecx, edi
call fcn.00409820
mov dword [0x46d3fc], eax
test eax, eax
je 0x409362
push ecx
mov edx, str.CryptDecodeObject
mov ecx, esi
call fcn.00409820
mov dword [0x46d400], eax
test eax, eax
je 0x409362
push ecx
mov edx, str.CryptQueryObject
mov ecx, esi
call fcn.00409820
mov dword [0x46d410], eax
test eax, eax
je 0x409362
push ecx
mov edx, str.CryptMsgGetParam
mov ecx, esi
call fcn.00409820
mov dword [0x46d3ec], eax
test eax, eax
je 0x409362
push ecx
mov edx, str.CertEnumCertificatesInStore
mov ecx, esi
call fcn.00409820
mov dword [0x46d418], eax
test eax, eax
je 0x409362
push ecx
mov edx, str.CertFindCertificateInStore
mov ecx, esi
call fcn.00409820
mov dword [0x46d404], eax
test eax, eax
je 0x409362
push ecx
mov edx, str.CertGetNameStringW
mov ecx, esi
call fcn.00409820
mov dword [0x46d3f0], eax
test eax, eax
je 0x409362
push ecx
mov edx, str.CertFreeCertificateContext
mov ecx, esi
call fcn.00409820
mov dword [0x46d414], eax
test eax, eax
je 0x409362
push ecx
mov edx, str.CertOpenSystemStoreW
mov ecx, esi
call fcn.00409820
mov dword [0x46d408], eax
test eax, eax
je 0x409362
push ecx
mov edx, str.CertCloseStore
mov ecx, esi
call fcn.00409820
mov dword [0x46d3f4], eax
test eax, eax
je 0x409362
push ecx
mov edx, str.CryptMsgClose
mov ecx, esi
call fcn.00409820
mov dword [0x46d3f8], eax
test eax, eax
je 0x409362
mov al, 1
mov byte [0x46d40c], al
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041b616
mov esp, ebp
pop ebp
mov ecx, dword [ebp - 4]
mov al, byte [0x46d40c]
xor ecx, ebp
pop edi
pop esi
call fcn.0041b616
mov esp, ebp
pop ebp
ret
Function at 0x409380
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x29c
mov eax, dword [0x46b008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, ecx
call fcn.00409140
test al, al
jne 0x4093b7
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041b616
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x4094fc
lea eax, [ebp - 0x258]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x4094fc
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp edi, 0xffffffff
je 0x4094fc
lea eax, [ebp - 0x298]
mov dword [ebp - 0x290], 0
mov dword [ebp - 0x270], eax
mov eax, dword fs:[0x30]
mov dword [ebp - 0x28c], 0
mov dword [ebp - 0x298], 0x10
mov dword [ebp - 0x294], esi
mov dword [ebp - 0x284], 0
mov dword [ebp - 0x280], 0
mov dword [ebp - 0x268], 0
mov dword [ebp - 0x264], 0
mov dword [ebp - 0x25c], 0
mov dword [ebp - 0x288], 0x30
mov dword [ebp - 0x274], 1
mov dword [ebp - 0x27c], 2
mov dword [ebp - 0x278], 0
mov dword [ebp - 0x26c], 1
mov dword [ebp - 0x260], 0x110
cmp dword [eax + 0xa4], 5
je 0x40949f
mov dword [ebp - 0x260], 0x1110
lea eax, [ebp - 0x288]
push eax
push 0x46b890
push 0xffffffffffffffff
call dword [0x46d3fc]
cmp eax, 0x800b0109
je 0x4094c6
xor ebx, ebx
test eax, eax
setne bl
add ebx, 3
jmp 0x4094cb
mov ebx, 4
lea eax, [ebp - 0x288]
mov dword [ebp - 0x26c], 2
push eax
push 0x46b890
push 0xffffffffffffffff
call dword [0x46d3fc]
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041b616
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 2
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041b616
mov esp, ebp
pop ebp
ret

Function at 0x409790
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0x30]
push ebx
mov ebx, ecx
push esi
mov eax, dword [eax + 0xc]
mov esi, dword [eax + 0xc]
test ebx, ebx
jne 0x4097aa
mov eax, dword [esi + 0x18]
pop esi
pop ebx
ret
push edi
test esi, esi
je 0x409807
nop
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x409807
movzx edx, word [ebx]
mov eax, dword [esi + 0x30]
test dx, dx
jne 0x4097c7
cmp word [eax], dx
je 0x409810
mov cx, word [eax]
or edx, 0x20
or cx, 0x20
cmp dx, cx
jne 0x409801
mov edi, ebx
sub edi, eax
lea ebx, [ebx]
movzx edx, word [edi + eax + 2]
lea eax, [eax + 2]
test dx, dx
jne 0x4097f2
cmp word [eax], dx
je 0x40980d
mov cx, word [eax]
or edx, 0x20
or cx, 0x20
cmp dx, cx
je 0x4097e0
mov esi, dword [esi]
test esi, esi
jne 0x4097b0
pop edi
pop esi
xor eax, eax
pop ebx
ret
mov ecx, dword [esi + 0x18]
pop edi
pop esi
mov eax, ecx
pop ebx
ret
Function at 0x409ad0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa14
mov eax, dword [0x46b008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
xor eax, eax
push edi
lea edi, [esi + 0x50]
mov dword [ebp - 0xa10], esi
mov word [edi], ax
push 0x20fe
push eax
lea eax, [esi + 0x52]
mov dword [esi], 0
push eax
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [ebp - 0xa08], edi
call fcn.004336c0
add esp, 0xc
mov ecx, esi
call fcn.00409d20
push 0x2100
xor esi, esi
mov dword [ebp - 0xa0c], 0
push esi
push edi
call fcn.004336c0
add esp, 0xc
lea eax, [ebp - 0xa04]
push eax
push 0x3ff
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x409cfc
cmp eax, 0x400
ja 0x409cfc
add eax, 0xfffffffd
mov dword [ebp - 0xa14], eax
je 0x409cfc
push ebx
lea ebx, [ebp - 0x204]
sub ebx, dword [ebp - 0xa10]
sub ebx, 0x58
mov edi, edi
lea edi, [ebp - 0xa04]
cmp word [edi + esi*2], 0
lea edi, [edi + esi*2]
je 0x409cfb
cmp dword [ebp - 0xa0c], 0x20
jae 0x409cfb
lea eax, [esi*2 + 4]
cmp eax, 0x800
jae 0x409d12
xor ecx, ecx
mov word [ebp + eax - 0xa04], cx
lea eax, [ebp - 0x204]
push 0x100
push eax
push edi
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x409cd1
mov eax, 0x5c
xor ecx, ecx
mov word [ebp + esi*2 - 0xa00], ax
mov eax, dword [ebp - 0xa08]
sub edi, eax
jmp 0x409c70
movzx edx, word [edi + eax]
test dx, dx
je 0x409c85
mov word [eax], dx
inc ecx
add eax, 2
cmp ecx, 3
jb 0x409c70
mov eax, dword [ebp - 0xa08]
xor edx, edx
mov word [eax + ecx*2], dx
lea edi, [eax + 8]
xor ecx, ecx
mov eax, edi
jmp 0x409ca0
movzx edx, word [ebx + eax]
test dx, dx
je 0x409cb5
mov word [eax], dx
inc ecx
add eax, 2
cmp ecx, 0x7f
jb 0x409ca0
inc dword [ebp - 0xa0c]
xor eax, eax
add dword [ebp - 0xa08], 0x108
sub ebx, 0x108
mov word [edi + ecx*2], ax
mov eax, 0x5c
mov word [ebp + esi*2 - 0xa00], ax
mov edi, edi
lea eax, [esi + esi]
inc esi
cmp word [ebp + eax - 0xa04], 0
jne 0x409ce0
cmp esi, dword [ebp - 0xa14]
jb 0x409c00
pop ebx
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0xa10]
xor ecx, ebp
pop edi
pop esi
call fcn.0041b616
mov esp, ebp
pop ebp
call fcn.0041ba2e
int3
Function at 0x40dd00
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, ecx
push edi
mov eax, dword [ebx]
mov dword [ebx + 4], eax
test esi, esi
je 0x40de4a
cmp dword [edx + 0x10], 0
je 0x40de4a
mov eax, dword [ebp + 8]
cmp dword [eax + 0x10], 0
je 0x40de4a
cmp dword [edx + 0x14], 8
jb 0x40dd3a
mov edx, dword [edx]
cmp dword [eax + 0x14], 8
jb 0x40dd42
mov eax, dword [eax]
push edx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x40de4a
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
je 0x40de4a
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x40de4a
mov esi, dword [ebx]
lea ecx, [eax + edi]
mov edx, dword [ebx + 4]
mov dword [ebp - 8], ecx
sub edx, esi
mov ecx, dword [ebx + 8]
sub ecx, esi
mov dword [ebp + 0xc], edx
cmp edi, ecx
jbe 0x40de16
cmp edi, 0x7fffffff
ja 0x40de53
mov edx, ecx
mov eax, 0x7fffffff
shr edx, 1
sub eax, edx
cmp ecx, eax
ja 0x40ddc2
lea eax, [edx + ecx]
mov dword [ebp + 0xc], eax
cmp eax, edi
jae 0x40ddc5
mov dword [ebp + 0xc], edi
test esi, esi
je 0x40dded
cmp ecx, 0x1000
jb 0x40dde3
mov edx, dword [esi - 4]
add ecx, 0x23
sub esi, edx
lea eax, [esi - 4]
cmp eax, 0x1f
ja 0x40de58
mov esi, edx
push ecx
push esi
call fcn.0041b657
add esp, 8
push dword [ebp + 0xc]
mov ecx, ebx
call fcn.004096d0
mov esi, dword [ebx]
mov eax, dword [ebp - 4]
push edi
push eax
push esi
call fcn.00433e90
add esp, 0xc
lea eax, [esi + edi]
mov dword [ebx + 4], eax
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp edi, edx
jbe 0x40ddfc
push edx
push eax
push esi
call fcn.00433e90
mov eax, dword [ebp - 4]
add eax, dword [ebp + 0xc]
mov edi, dword [ebp - 8]
mov esi, dword [ebx + 4]
sub edi, eax
push edi
push eax
push esi
call fcn.00433e90
add esp, 0x18
lea eax, [edi + esi]
mov dword [ebx + 4], eax
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00401bf0
call fcn.00436a89
int3
Function at 0x40f900
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x451b98
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x46b008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 0xc]
xor eax, eax
mov dword [ebp - 0x90], esi
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
push 0x2bc
lea ecx, [ebp - 0xa0]
mov dword [ebp - 4], eax
call fcn.0040de70
lea eax, [ebp - 0x88]
xor bl, bl
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x40fb83
lea eax, [ebp - 0x7c]
push eax
push 4
lea eax, [ebp - 0x8c]
push eax
push 0x14
push dword [ebp - 0x88]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x40f9a8
cmp dword [ebp - 0x8c], 0
jmp 0x40fa13
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40fa16
lea eax, [ebp - 0x80]
mov dword [ebp - 0x84], 0
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
mov word [ebp - 0x14], 0x500
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x40fa0c
lea eax, [ebp - 0x84]
push eax
push dword [ebp - 0x80]
push 0
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
push dword [ebp - 0x80]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
cmp dword [ebp - 0x84], 0
invalid
xchg ebp, eax
Function at 0x416000
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x452128
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x46b008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x94], 3
jne 0x416221
push 0xd
push str.Installing
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
call fcn.00401580
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x58]
push 0x16
push str.setup.install_progress
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
call fcn.00401580
sub esp, 0x18
mov byte [ebp - 4], 1
mov esi, dword [edi + 0x90]
lea eax, [ebp - 0x58]
mov ecx, esp
push eax
call fcn.00403580
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [esi + 0x68]
call fcn.00402fd0
mov byte [ebp - 4], 2
lea edx, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
jb 0x4160ba
mov edx, dword [ebp - 0x40]
mov ecx, edx
mov dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4160d3
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.004013c0
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [edi + 0xc8]
call esi
cmp dword [ebp - 0x18], 0
je 0x416125
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
jb 0x41610e
mov eax, dword [ebp - 0x28]
push eax
push dword [edi + 0xc8]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 5
push dword [edi + 0xc8]
call esi
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x41615f
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x416155
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41623c
push edx
push ecx
call fcn.0041b657
add esp, 8
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edx, 8
jb 0x4161ad
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4161a3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416241
push edx
push ecx
call fcn.0041b657
add esp, 8
mov edx, dword [ebp - 0x44]
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
cmp edx, 0x10
jb 0x4161f1
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4161e7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416246
push edx
push ecx
call fcn.0041b657
add esp, 8
mov edx, dword [ebp - 0x5c]
cmp edx, 0x10
jb 0x416221
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x416217
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41624b
push edx
push ecx
call fcn.0041b657
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041b616
mov esp, ebp
pop ebp
call fcn.00436a89
call fcn.00436a89
call fcn.00436a89
call fcn.00436a89
int3
Function at 0x416260
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x452128
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x46b008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x94], 3
jne 0x416481
push 0xf
push str.Uninstalling
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
call fcn.00401580
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x58]
push 0x18
push str.setup.uninstall_progress
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
call fcn.00401580
sub esp, 0x18
mov byte [ebp - 4], 1
mov esi, dword [edi + 0x90]
lea eax, [ebp - 0x58]
mov ecx, esp
push eax
call fcn.00403580
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [esi + 0x68]
call fcn.00402fd0
mov byte [ebp - 4], 2
lea edx, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
jb 0x41631a
mov edx, dword [ebp - 0x40]
mov ecx, edx
mov dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x416333
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.004013c0
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [edi + 0xc8]
call esi
cmp dword [ebp - 0x18], 0
je 0x416385
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
jb 0x41636e
mov eax, dword [ebp - 0x28]
push eax
push dword [edi + 0xc8]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 5
push dword [edi + 0xc8]
call esi
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4163bf
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4163b5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41649c
push edx
push ecx
call fcn.0041b657
add esp, 8
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edx, 8
jb 0x41640d
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x416403
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4164a1
push edx
push ecx
call fcn.0041b657
add esp, 8
mov edx, dword [ebp - 0x44]
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
cmp edx, 0x10
jb 0x416451
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x416447
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4164a6
push edx
push ecx
call fcn.0041b657
add esp, 8
mov edx, dword [ebp - 0x5c]
cmp edx, 0x10
jb 0x416481
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x416477
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4164ab
push edx
push ecx
call fcn.0041b657
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041b616
mov esp, ebp
pop ebp
ret
call fcn.00436a89
call fcn.00436a89
call fcn.00436a89
call fcn.00436a89
int3