joyce8/EMBER2024-capa huggingface dataset:
Function at 0x412da0
Capabilities:
Timestomp file

Disassembly:
sub esp, 0x20
mov eax, dword [esp + 0x24]
push esi
push 0
push 0x2000000
push 3
push 0
push 3
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x412e12
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea edx, [esp + 4]
lea eax, [esp + 0x14]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
lea eax, [esp + 4]
mov dword [esp + 0xc], ecx
push eax
lea ecx, [esp + 0x10]
push 0
push ecx
push esi
mov dword [esp + 0x20], edx
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
add esp, 0x20
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop esi
add esp, 0x20
ret
Function at 0x413d10
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x598ed6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc78
mov eax, dword [0x6614bc]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x10], esp
push esi
push eax
xor ebx, ebx
push 0x637020
push ecx
mov dword [ebp - 4], ebx
call fcn.0056b4da
add esp, 0x10
lea edx, [ebp - 0x114]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x413fca
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x413fca
push ebx
lea ecx, [ebp - 0xc84]
call fcn.0042e260
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0xc08]
push eax
mov byte [ebp - 4], 1
call fcn.00586cbc
push esi
lea ecx, [ebp - 0xc0c]
call fcn.00586cbc
lea ecx, [ebp - 0xc20]
call fcn.00401070
lea ecx, [ebp - 0x114]
test ecx, ecx
je 0x413e1f
lea edi, [ebp - 0x114]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x413e1f
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push ebx
push ebx
lea edx, [ebp - 0x114]
push 0xffffffffffffffff
push edx
push ebx
push ebx
call esi
cmp eax, ebx
mov dword [ebp - 0xc18], eax
je 0x413e1f
lea eax, [eax + eax + 2]
push eax
call fcn.00582ecc
add esp, 4
cmp eax, ebx
mov dword [ebp - 0xc20], eax
je 0x413e1f
mov ecx, dword [ebp - 0xc18]
lea edx, [ebp - 0x114]
push ecx
push eax
push 0xffffffffffffffff
push edx
push ebx
push ebx
call esi
mov dword [ebp - 0xc18], eax
lea ecx, [ebp - 0xc84]
mov byte [ebp - 0xc14], bl
mov dword [ebp - 0xc28], 0x6611f0
call fcn.00582ac6
cmp eax, 1
jne 0x413ede
lea ecx, [ebp - 0xbc4]
mov byte [ebp - 4], 9
call fcn.00537f80
lea ecx, [ebp - 0xc00]
mov byte [ebp - 4], 8
call fcn.0058e7cb
lea ecx, [ebp - 0xc04]
mov byte [ebp - 4], 7
call fcn.00586b33
lea ecx, [ebp - 0xc08]
mov byte [ebp - 4], 6
call fcn.00586b33
lea ecx, [ebp - 0xc0c]
mov byte [ebp - 4], 5
call fcn.00586b33
lea ecx, [ebp - 0xc10]
mov byte [ebp - 4], 4
call fcn.00586b33
lea ecx, [ebp - 0xc20]
mov byte [ebp - 4], 3
call fcn.00401070
lea ecx, [ebp - 0xc24]
mov byte [ebp - 4], 2
call fcn.00586b33
lea ecx, [ebp - 0xc84]
mov byte [ebp - 4], bl
call fcn.00582707
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea ecx, [ebp - 0xbc4]
mov byte [ebp - 4], 0x11
call fcn.00537f80
lea ecx, [ebp - 0xc00]
mov byte [ebp - 4], 0x10
call fcn.0058e7cb
lea ecx, [ebp - 0xc04]
mov byte [ebp - 4], 0xf
call fcn.00586b33
lea ecx, [ebp - 0xc08]
mov byte [ebp - 4], 0xe
call fcn.00586b33
lea ecx, [ebp - 0xc0c]
mov byte [ebp - 4], 0xd
call fcn.00586b33
lea ecx, [ebp - 0xc10]
mov byte [ebp - 4], 0xc
call fcn.00586b33
lea ecx, [ebp - 0xc20]
mov byte [ebp - 4], 0xb
call fcn.00401070
lea ecx, [ebp - 0xc24]
mov byte [ebp - 4], 0xa
call fcn.00586b33
lea ecx, [ebp - 0xc84]
mov byte [ebp - 4], bl
call fcn.00582707
mov eax, 3
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, 2
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x415210
Capabilities:
Access peb ldr_data
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x599198
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
mov eax, dword [0x65ca8c]
push ebx
push ebp
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov ebp, dword [esp + 0x48]
lea eax, [esp + 8]
lea ebx, [ecx + 8]
push eax
push ebp
mov ecx, ebx
mov dword [esp + 0x48], 0
call fcn.0055b6d0
test eax, eax
je 0x4153a8
mov al, byte [esp + 0x58]
test al, al
je 0x4152ae
mov al, byte [esp + 0x30]
test al, al
je 0x4152ae
lea ecx, [esp + 0x18]
mov dword [esp + 0x40], 4
call fcn.00586b33
lea ecx, [esp + 0x14]
mov byte [esp + 0x40], 3
call fcn.00586b33
lea ecx, [esp + 0x10]
mov byte [esp + 0x40], 2
call fcn.00586b33
mov byte [esp + 0x40], 1
jmp 0x4153da
mov edx, dword [esp + 0x4c]
test edx, edx
je 0x4152ea
push edi
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
pop edi
je 0x4152e1
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4153a8
push edx
push eax
call fcn.0056bf52
add esp, 8
jmp 0x4152f1
mov ecx, dword [esp + 8]
mov eax, dword [ecx - 8]
jmp 0x4152f1
mov edx, dword [esp + 8]
mov eax, dword [edx - 8]
test eax, eax
sete al
test al, al
je 0x4153a8
mov eax, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0x54]
push eax
push 0x636fa0
push esi
call fcn.0057f8fb
mov esi, dword [esi]
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
pop esi
je 0x4153a0
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x54]
push ecx
push 0x636fa0
push edx
call fcn.0057f8fb
add esp, 0xc
lea ecx, [esp + 0x18]
mov dword [esp + 0x40], 8
call fcn.00586b33
lea ecx, [esp + 0x14]
mov byte [esp + 0x40], 7
call fcn.00586b33
lea ecx, [esp + 0x10]
mov byte [esp + 0x40], 6
call fcn.00586b33
lea ecx, [esp + 0xc]
mov byte [esp + 0x40], 5
call fcn.00586b33
lea ecx, [esp + 8]
mov dword [esp + 0x40], 0xffffffff
call fcn.00586b33
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
add esp, 0x3c
ret 0x14
push ebp
mov ecx, ebx
call fcn.004dbae0
lea ecx, [esp + 0x18]
mov dword [esp + 0x40], 0xc
call fcn.00586b33
lea ecx, [esp + 0x14]
mov byte [esp + 0x40], 0xb
call fcn.00586b33
lea ecx, [esp + 0x10]
mov byte [esp + 0x40], 0xa
call fcn.00586b33
mov byte [esp + 0x40], 9
lea ecx, [esp + 0xc]
call fcn.00586b33
lea ecx, [esp + 8]
mov dword [esp + 0x40], 0xffffffff
call fcn.00586b33
mov ecx, dword [esp + 0x38]
pop ebp
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x3c
ret 0x14
Function at 0x415420
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x5991c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [0x65ca8c]
push esi
push edi
mov esi, ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x34]
lea ecx, [esp + 8]
push eax
push 0x636fa0
push ecx
mov dword [esp + 0x34], 0
call fcn.0057f8fb
mov eax, dword [esp + 0x44]
add esp, 0xc
test eax, eax
je 0x415483
push eax
lea edx, [esp + 0x10]
push 0x636fa0
push edx
call fcn.0057f8fb
add esp, 0xc
mov ecx, dword [esp + 0x30]
mov edi, dword [esi + 0x88]
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x44]
add esi, 0x80
mov dword [esp + 0x14], ecx
lea ecx, [edi + 1]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x40]
push 0xffffffffffffffff
push ecx
mov ecx, esi
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], eax
call fcn.004159f0
mov eax, dword [esi + 4]
lea edx, [edi + edi*2]
lea ecx, [esp + 8]
lea esi, [eax + edx*8]
push ecx
mov ecx, esi
call fcn.00586c6c
lea edx, [esp + 0xc]
lea ecx, [esi + 4]
push edx
call fcn.00586c6c
mov eax, dword [esp + 0x10]
mov dword [esi + 8], eax
mov ecx, dword [esp + 0x14]
mov dword [esi + 0xc], ecx
mov edx, dword [esp + 0x18]
mov dword [esi + 0x10], edx
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x14], eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 1
call fcn.00586b33
lea ecx, [esp + 8]
mov dword [esp + 0x28], 0xffffffff
call fcn.00586b33
mov ecx, dword [esp + 0x20]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret 0x18

Function at 0x415580
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0x18]
lea ebx, [ecx + 8]
push esi
push ebp
mov ecx, ebx
call fcn.0055b6d0
test eax, eax
je 0x41560b
mov al, byte [esp + 0x1c]
test al, al
je 0x4155aa
mov al, byte [esi + 0x28]
test al, al
jne 0x41560b
mov edx, dword [esp + 0x14]
test edx, edx
je 0x4155db
push edi
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [esi]
pop edi
not ecx
dec ecx
mov ecx, dword [eax - 8]
je 0x4155d7
test ecx, ecx
je 0x41560b
push edx
push eax
call fcn.0056bf52
add esp, 8
jmp 0x4155e0
test ecx, ecx
jmp 0x4155e2
mov ecx, dword [esi]
mov eax, dword [ecx - 8]
test eax, eax
sete al
test al, al
je 0x41560b
mov esi, dword [esi + 4]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x415603
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0x10
push ebp
mov ecx, ebx
call fcn.004dbae0
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0x10
Function at 0x41bc20
Capabilities:
Access peb ldr_data
Get number of processors
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x599980
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
lea ecx, [esi + 0x64]
mov dword [esp + 0x14], 0x18
call fcn.00586b33
lea ecx, [esi + 0x60]
mov byte [esp + 0x14], 0x17
call fcn.00586b33
lea ecx, [esi + 0x5c]
mov byte [esp + 0x14], 0x16
call fcn.00586b33
lea ecx, [esi + 0x58]
mov byte [esp + 0x14], 0x15
call fcn.00586b33
lea ecx, [esi + 0x54]
mov byte [esp + 0x14], 0x14
call fcn.00586b33
lea ecx, [esi + 0x50]
mov byte [esp + 0x14], 0x13
call fcn.00586b33
lea ecx, [esi + 0x4c]
mov byte [esp + 0x14], 0x12
call fcn.00586b33
lea ecx, [esi + 0x48]
mov byte [esp + 0x14], 0x11
call fcn.00586b33
lea ecx, [esi + 0x44]
mov byte [esp + 0x14], 0x10
call fcn.00586b33
lea ecx, [esi + 0x40]
mov byte [esp + 0x14], 0xf
call fcn.00586b33
lea ecx, [esi + 0x3c]
mov byte [esp + 0x14], 0xe
call fcn.00586b33
lea ecx, [esi + 0x38]
mov byte [esp + 0x14], 0xd
call fcn.00586b33
lea ecx, [esi + 0x34]
mov byte [esp + 0x14], 0xc
call fcn.00586b33
lea ecx, [esi + 0x30]
mov byte [esp + 0x14], 0xb
call fcn.00586b33
lea ecx, [esi + 0x2c]
mov byte [esp + 0x14], 0xa
call fcn.00586b33
lea ecx, [esi + 0x28]
mov byte [esp + 0x14], 9
call fcn.00586b33
mov eax, dword [esi + 0x24]
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push eax
call edi
mov ecx, dword [esi + 0x20]
push ecx
call edi
mov edx, dword [esi + 0x1c]
push edx
call edi
lea ecx, [esi + 0x18]
mov byte [esp + 0x14], 5
call fcn.00586b33
lea ecx, [esi + 0x14]
mov byte [esp + 0x14], 4
call fcn.00586b33
lea ecx, [esi + 0x10]
mov byte [esp + 0x14], 3
call fcn.00586b33
lea ecx, [esi + 0xc]
mov byte [esp + 0x14], 2
call fcn.00586b33
lea ecx, [esi + 8]
mov byte [esp + 0x14], 1
call fcn.00586b33
lea ecx, [esi + 4]
mov byte [esp + 0x14], 0
call fcn.00586b33
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call fcn.00586b33
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4223a0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59a290
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [0x65ca8c]
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x20], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], eax
mov ecx, dword [0x6614c8]
lea edx, [ebp - 0x14]
push ecx
push str._sGrabber_
push edx
mov byte [ebp - 4], 1
call fcn.0057f8fb
mov eax, dword [ebp - 0x14]
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x422507
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov esi, 2
inc esi
lea ecx, [ebp - 0x14]
push esi
push 0x5c
call fcn.00586fa2
mov esi, eax
cmp esi, 0xffffffff
je 0x422507
lea ecx, [ebp - 0x18]
push esi
push ecx
lea ecx, [ebp - 0x14]
call fcn.0057f4fd
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
lea ecx, [ebp - 0x18]
sete bl
call fcn.00586b33
test bl, bl
je 0x42240d
lea edx, [ebp - 0x1c]
push esi
push edx
lea ecx, [ebp - 0x14]
call fcn.0057f4fd
mov eax, dword [eax]
push 0
push eax
call edi
test eax, eax
lea ecx, [ebp - 0x1c]
sete bl
call fcn.00586b33
test bl, bl
je 0x42240d
mov al, byte [ebp + 8]
test al, al
je 0x4224e3
mov eax, dword [0x65ca8c]
mov dword [ebp + 8], eax
push 0
lea ecx, [ebp - 0x18]
push 0
push ecx
push 0x400
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0
push 0x1100
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, dword [ebp - 0x18]
mov eax, dword [0x662224]
push edx
lea ecx, [ebp + 8]
push eax
push ecx
call fcn.0057f8fb
mov edx, dword [ebp - 0x18]
add esp, 0xc
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
push 0x30
push eax
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.00586b33
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.00586b33
mov eax, 0x7546
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x20]
push edx
add eax, 8
push 0x636fa0
push eax
call fcn.0057f8fb
add esp, 0xc
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.00586b33
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x422560
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x59a2b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [0x65ca8c]
push ebx
push ebp
push esi
push edi
mov ebp, ecx
mov dword [esp + 0x10], eax
mov edx, dword [ebp + 0x14]
xor edi, edi
test edx, edx
mov dword [esp + 0x24], 0
jle 0x4225e9
mov eax, dword [ebp + 0x10]
add eax, 4
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x2c]
mov esi, dword [ecx]
mov bl, byte [eax]
mov cl, bl
cmp bl, byte [esi]
jne 0x4225d0
test cl, cl
je 0x4225cc
mov bl, byte [eax + 1]
mov cl, bl
cmp bl, byte [esi + 1]
jne 0x4225d0
add eax, 2
add esi, 2
test cl, cl
jne 0x4225ac
xor eax, eax
jmp 0x4225d5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x422638
mov ecx, dword [esp + 0x14]
inc edi
add ecx, 8
cmp edi, edx
mov dword [esp + 0x14], ecx
jl 0x4225a2
mov al, byte [ebp + 4]
test al, al
jne 0x422707
push 1
mov ecx, ebp
call fcn.004223a0
test eax, eax
sete cl
mov al, cl
mov byte [ebp + 4], cl
test al, al
jne 0x422707
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 0xffffffff
call fcn.00586b33
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret 4
mov eax, dword [ebp + 0x10]
mov edx, dword [eax + edi*8]
lea eax, [esp + 0x10]
push edx
push 0x636fa0
push eax
call fcn.0057f8fb
add esp, 0xc
mov eax, dword [0x65ca8c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0x18]
push edx
push 0x636fa0
push eax
mov byte [esp + 0x30], 1
call fcn.0057f8fb
mov ecx, dword [esp + 0x1c]
add esp, 0xc
lea edx, [esp + 0x14]
push ecx
push 0x636fa0
push edx
call fcn.0057f8fb
mov edi, dword [ebp + 0x14]
lea esi, [ebp + 0xc]
add esp, 0xc
mov ecx, esi
lea eax, [edi + 1]
push 0xffffffffffffffff
push eax
call fcn.00422ce0
mov ecx, dword [esi + 4]
lea edx, [esp + 0x14]
push edx
lea esi, [ecx + edi*8]
mov ecx, esi
call fcn.00586c6c
lea eax, [esp + 0x18]
lea ecx, [esi + 4]
push eax
call fcn.00586c6c
lea ecx, [esp + 0x18]
mov byte [esp + 0x24], 2
call fcn.00586b33
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 0
call fcn.00586b33
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 0xffffffff
call fcn.00586b33
mov ecx, dword [esp + 0x1c]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 4
mov eax, dword [ebp + 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
lea esi, [eax + 1]
mov edx, dword [ebp + 8]
push esi
push edx
lea eax, [esp + 0x18]
push str._stemplate_ld.dat
push eax
call fcn.0057f8fb
mov ecx, dword [esp + 0x20]
add esp, 0x10
push ecx
call edi
cmp eax, 0xffffffff
je 0x422651
inc esi
jmp 0x422713
Function at 0x422eb0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59a366
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x114
push ebx
push esi
mov esi, ecx
push edi
xor ebx, ebx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], esi
mov dword [esi + 4], 0x5b750c
mov dword [esi + 8], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0xc], ebx
mov eax, dword [0x65ca8c]
lea edi, [esi + 0x1c]
mov dword [ebp - 4], ebx
mov dword [edi], eax
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x120]
push ecx
push edx
mov dword [esi], 0x5b7508
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], 1
mov eax, dword [0x6614e8]
push ebx
push ebx
push str.ToolbarStyle
push eax
mov byte [ebp - 4], 2
mov dword [ebp - 0x14], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x422f62
lea edi, [ebp - 0x120]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x422f70
lea ecx, [ebp - 0x120]
lea eax, [esi + 0x1c]
push ecx
push 0x636fa0
push eax
call fcn.0057f8fb
add esp, 0xc
jmp 0x422f70
push str.3D_Style
push edi
call fcn.0057f8fb
add esp, 8
mov ecx, dword [0x6614e8]
lea edx, [ebp - 0x14]
lea eax, [ebp - 0x18]
push edx
push eax
push ebx
push ebx
push str.LargeButtons
push ecx
mov dword [ebp - 0x14], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x422f9d
mov edx, dword [ebp - 0x18]
mov dword [esi + 0x24], edx
mov ecx, esi
mov dword [esi + 0x18], ebx
call fcn.004231d0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4230e0
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59a3d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
mov edx, dword [0x6614e8]
push esi
push edi
mov esi, ecx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 0x10], esp
lea ecx, [ebp - 0x14]
mov eax, dword [esi + 0x24]
push 4
push ecx
push 4
push 0
push str.LargeButtons
push edx
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], eax
call ebx
mov eax, dword [esi + 0x20]
test eax, eax
je 0x4231a1
mov ecx, dword [esi + 8]
lea eax, [eax + eax*4]
lea edi, [esi + 0x1c]
mov edx, dword [ecx + eax*4 - 0x14]
push edx
push 0x636fa0
push edi
call fcn.0057f8fb
mov edx, dword [edi]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x42318d
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
push ecx
push edx
push 1
push eax
mov eax, dword [0x6614e8]
push str.ToolbarStyle
push eax
call ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x6614e8]
push str.ToolbarStyle
push ecx
jmp 0x4231ad
mov edx, dword [0x6614e8]
push str.ToolbarStyle
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4255b0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov edx, dword [0x6614e8]
push esi
mov esi, ecx
lea eax, [esp + 4]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0xc]
push eax
push ecx
push 0
push 0
push str.isUseWinDialUp
push edx
mov dword [esp + 0x20], 4
call edi
test eax, eax
je 0x4255ee
mov dword [esi + 0x28], 0
jmp 0x4255fc
mov eax, dword [esp + 0xc]
mov dword [esi + 0x1c], 1
mov dword [esi + 0x28], eax
mov eax, dword [0x6614e8]
lea ecx, [esp + 8]
lea edx, [esp + 0xc]
push ecx
push edx
push 0
push 0
push str.mAttempts
push eax
mov dword [esp + 0x20], 4
call edi
test eax, eax
je 0x42562c
mov dword [esi + 0x24], 0
jmp 0x425633
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x24], ecx
mov ecx, dword [0x6614e8]
lea edx, [esp + 8]
lea eax, [esp + 0xc]
push edx
push eax
push 0
push 0
push str.mRedialTime
push ecx
mov dword [esp + 0x20], 4
call edi
test eax, eax
je 0x425668
mov dword [esi + 0x20], 0x1e
pop edi
pop esi
add esp, 8
ret
mov edx, dword [esp + 0xc]
pop edi
mov dword [esi + 0x20], edx
pop esi
add esp, 8
ret

Function at 0x425680
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x28]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea eax, [esi + 0x28]
test ecx, ecx
jne 0x42569b
mov ecx, dword [esi + 0x1c]
test ecx, ecx
je 0x4256af
push 4
push eax
mov eax, dword [0x6614e8]
push 4
push 0
push str.isUseWinDialUp
push eax
call edi
mov edx, dword [0x6614e8]
lea ecx, [esi + 0x24]
push 4
push ecx
push 4
push 0
push str.mAttempts
push edx
call edi
mov eax, dword [0x6614e8]
add esi, 0x20
push 4
push esi
push 4
push 0
push str.mRedialTime
push eax
call edi
pop edi
pop esi
ret
Function at 0x426ea0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59a9d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [0x65ca8c]
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], eax
mov edi, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
push edi
push ecx
lea edx, [ebp - 0x14]
push str._s_ld
push edx
mov byte [ebp - 4], 1
call fcn.0057f8fb
mov edx, dword [ebp - 0x14]
add esp, 0x10
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x18]
push eax
mov eax, dword [0x6614e8]
push ecx
push 0
push 0
push edx
push eax
mov dword [ebp - 0x1c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x426f37
cmp dword [ebp - 0x18], 1
jne 0x426f37
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.00586b33
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x65ca8c]
mov dword [ebp + 0x10], eax
mov dword [ebp + 8], eax
mov esi, dword [ebp + 0xc]
mov ecx, dword [0x661990]
push esi
push esi
lea edx, [ebp + 8]
mov bl, 3
push ecx
push edx
mov byte [ebp - 4], bl
call fcn.0057f8fb
add esp, 0x10
cmp edi, 1
jne 0x426f7b
mov eax, dword [ebp + 8]
lea ecx, [ebp + 0x10]
push eax
push 0x636fa0
push ecx
call fcn.0057f8fb
add esp, 0xc
jmp 0x426fbf
mov edx, dword [0x65ca8c]
mov dword [ebp + 0xc], edx
mov eax, dword [0x66198c]
push esi
lea ecx, [ebp + 0xc]
push eax
push ecx
mov byte [ebp - 4], 4
call fcn.0057f8fb
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
add esp, 0xc
lea ecx, [ebp + 0x10]
push edx
push eax
push str._s_r_n_r_n_s
push ecx
call fcn.0057f8fb
add esp, 0x10
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], bl
call fcn.00586b33
mov edx, dword [ebp + 0x10]
push 0x44
push 0x6370c0
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
jne 0x42700d
push str.http:__www.internetdownloadmanager.com_support_firefox_integration.html
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call fcn.0046ca20
mov ecx, dword [ebp - 0x14]
mov edx, dword [0x6614e8]
add esp, 8
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 1
push 4
push eax
push 4
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
call fcn.00586b33
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 1
call fcn.00586b33
jmp 0x426f1a