joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43acdf
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
push esi
cmp eax, 0xffffffff
mov esi, ecx
jne 0x43acf5
mov eax, 0x286
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x43ad29
lea edx, [ebp + 8]
push edx
push eax
push dword [ebp + 8]
call fcn.004577f1
test al, al
jne 0x43ad5c
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x4c]
call fcn.00428fc4
lea eax, [ebp - 0x4c]
push 0x475590
push eax
call fcn.00459775
lea ecx, [ebp + 8]
push 0
push ecx
push eax
push dword [ebp + 8]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x43ad5c
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x48]
call fcn.004190f4
lea eax, [ebp - 0x48]
push 0x471ea8
push eax
call fcn.00459775
mov eax, dword [ebp + 8]
pop esi
leave
ret 8

Function at 0x43ad64
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
push esi
cmp eax, 0xffffffff
mov esi, ecx
jne 0x43ad77
xor eax, eax
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x43adab
lea edx, [ebp + 8]
push edx
push eax
push dword [ebp + 8]
call fcn.004577f1
test al, al
jne 0x43adde
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x4c]
call fcn.00428fc4
lea eax, [ebp - 0x4c]
push 0x475590
push eax
call fcn.00459775
lea ecx, [ebp + 8]
push 0
push ecx
push eax
push dword [ebp + 8]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x43adde
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x48]
call fcn.004190f4
lea eax, [ebp - 0x48]
push 0x471ea8
push eax
call fcn.00459775
mov eax, dword [ebp + 8]
pop esi
leave
ret 8

Function at 0x43ade6
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
push esi
cmp eax, 0xffffffff
mov esi, ecx
jne 0x43adfa
push 4
pop eax
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x43ae2e
lea edx, [ebp + 8]
push edx
push eax
push dword [ebp + 8]
call fcn.004577f1
test al, al
jne 0x43ae61
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x4c]
call fcn.00428fc4
lea eax, [ebp - 0x4c]
push 0x475590
push eax
call fcn.00459775
lea ecx, [ebp + 8]
push 0
push ecx
push eax
push dword [ebp + 8]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x43ae61
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x48]
call fcn.004190f4
lea eax, [ebp - 0x48]
push 0x471ea8
push eax
call fcn.00459775
mov eax, dword [ebp + 8]
pop esi
leave
ret 8
Function at 0x43ae69
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
push esi
cmp eax, 0xffffffff
mov esi, ecx
jne 0x43ae7d
push 1
pop eax
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x43aeb1
lea edx, [ebp + 8]
push edx
push eax
push dword [ebp + 8]
call fcn.004577f1
test al, al
jne 0x43aee4
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x4c]
call fcn.00428fc4
lea eax, [ebp - 0x4c]
push 0x475590
push eax
call fcn.00459775
lea ecx, [ebp + 8]
push 0
push ecx
push eax
push dword [ebp + 8]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x43aee4
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x48]
call fcn.004190f4
lea eax, [ebp - 0x48]
push 0x471ea8
push eax
call fcn.00459775
mov eax, dword [ebp + 8]
pop esi
leave
ret 8

Function at 0x43aeec
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
push esi
cmp eax, 0xffffffff
mov esi, ecx
jne 0x43af00
push 1
pop eax
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x43af34
lea edx, [ebp + 8]
push edx
push eax
push dword [ebp + 8]
call fcn.004577f1
test al, al
jne 0x43af67
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x4c]
call fcn.00428fc4
lea eax, [ebp - 0x4c]
push 0x475590
push eax
call fcn.00459775
lea ecx, [ebp + 8]
push 0
push ecx
push eax
push dword [ebp + 8]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x43af67
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x48]
call fcn.004190f4
lea eax, [ebp - 0x48]
push 0x471ea8
push eax
call fcn.00459775
mov eax, dword [ebp + 8]
pop esi
leave
ret 8
Function at 0x4486b2
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov ecx, dword [ebp + 8]
call fcn.004171f3
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4486e7
push 1
lea ecx, [ebp - 0x48]
push dword [ebp + 8]
call fcn.004190f4
lea eax, [ebp - 0x48]
push 0x471ea8
push eax
call fcn.00459775
leave
ret

Function at 0x4486e9
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
call fcn.004171f3
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x448720
push 1
lea ecx, [ebp - 0x48]
push dword [ebp + 8]
call fcn.004190f4
lea eax, [ebp - 0x48]
push 0x471ea8
push eax
call fcn.00459775
leave
ret

Function at 0x44ccef
Capabilities:
Delete file

Disassembly:
mov eax, 0x4683cd
call fcn.0045962c
push ecx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
mov dword [esi - 4], 0x46b5f4
mov dword [esi], 0x46b5f0
mov dword [ebp - 4], 5
call fcn.00427cdc
cmp dword [esi + 0xc8], 0
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
je 0x44cd37
lea ecx, [esi + 0xbc]
call fcn.004171f3
push eax
call edi
cmp dword [esi + 0xf0], 0
je 0x44cd4e
lea ecx, [esi + 0xe4]
call fcn.004171f3
push eax
call edi
mov eax, dword [esi + 0x114]
mov byte [ebp - 4], 4
test eax, eax
je 0x44cd62
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esi + 0x110]
mov byte [ebp - 4], 3
test eax, eax
je 0x44cd76
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [esi + 0xe4]
mov byte [ebp - 4], 2
call fcn.0040bf10
lea ecx, [esi + 0xbc]
mov byte [ebp - 4], 1
call fcn.0040bf10
and byte [ebp - 4], 0
lea ecx, [esi + 0x94]
call fcn.0040bf10
lea edi, [esi - 4]
neg edi
sbb edi, edi
and edi, esi
mov dword [ebp - 0x10], edi
mov dword [edi], 0x46b5fc
mov ecx, edi
mov dword [ebp - 4], 6
call fcn.00427cdc
or dword [ebp - 4], 0xffffffff
lea ecx, [edi + 0xc]
call fcn.0040bf10
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x44d1a9
Capabilities:
Delete file
Move file

Disassembly:
mov eax, 0x46848c
call fcn.0045962c
sub esp, 0x10
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 0x10], esp
lea eax, [ebp + 0x30]
mov dword [ebp - 4], 1
push eax
lea eax, [ebp + 8]
push eax
call fcn.0044d3f2
pop ecx
test al, al
pop ecx
je 0x44d1e1
and byte [ebp - 4], 0
jmp 0x44d2c3
lea eax, [ebp - 0x1c]
lea ecx, [ebp + 0x30]
push eax
mov byte [ebp - 4], 2
call fcn.00417a8b
push dword [eax + 8]
mov ecx, ebx
mov byte [ebp - 4], 3
call fcn.0044d314
cmp byte [ebp - 0x18], 0
mov byte [ebp - 4], 2
je 0x44d214
mov ecx, dword [ebp - 0x1c]
push dword [ecx + 0x1c]
call fcn.00416ee0
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp + 0x30]
call fcn.004171f3
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x44d26d
call edi
mov esi, eax
cmp esi, 3
je 0x44d26d
cmp esi, 2
je 0x44d26d
lea eax, [ebp - 0x1c]
lea ecx, [ebp + 0x30]
push eax
call fcn.00417a8b
push dword [eax + 8]
mov ecx, ebx
mov byte [ebp - 4], 4
push esi
call fcn.0044d37a
cmp byte [ebp - 0x18], 0
mov byte [ebp - 4], 2
je 0x44d21a
mov ecx, dword [ebp - 0x1c]
push dword [ecx + 0x1c]
call fcn.00416ee0
jmp 0x44d21a
lea ecx, [ebp + 8]
call fcn.004171f3
lea ecx, [ebp + 0x30]
mov esi, eax
call fcn.004171f3
push eax
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
jne 0x44d2bf
lea eax, [ebp - 0x1c]
lea ecx, [ebp + 0x30]
push eax
call fcn.00417a8b
push dword [eax + 8]
mov byte [ebp - 4], 5
call edi
push eax
mov ecx, ebx
call fcn.0044d37a
cmp byte [ebp - 0x18], 0
mov byte [ebp - 4], 2
je 0x44d26d
mov ecx, dword [ebp - 0x1c]
push dword [ecx + 0x1c]
call fcn.00416ee0
jmp 0x44d26d
and dword [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.0040bf10
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x30]
call fcn.0040bf10
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x50

Function at 0x44d314
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push ebx
push ebp
mov ebp, ecx
push esi
mov esi, dword [esp + 0x10]
push edi
mov eax, dword [ebp + 0x114]
push esi
push eax
call fcn.0042a2ff
pop ecx
test al, al
pop ecx
je 0x44d373
mov ecx, esi
call fcn.004171f3
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebx, eax
mov ecx, esi
and ebx, 0xfffffffe
push ebx
call fcn.004171f3
mov edi, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push eax
call edi
test eax, eax
jne 0x44d373
push esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, ebp
call fcn.0044d37a
push ebx
mov ecx, esi
call fcn.004171f3
push eax
jmp 0x44d353
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x44f32c
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x4688ff
call fcn.0045962c
sub esp, 0x138
push ebx
push esi
push edi
push 0x40
xor ebx, ebx
pop ecx
and byte [ebp - 0x144], bl
xor eax, eax
lea edi, [ebp - 0x143]
mov dword [ebp - 0x14], ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x10], ebx
push 1
lea eax, [ebp - 0x10]
pop esi
push eax
push str.SOFTWAREMicrosoftWindowsCurrentVersion
push 0x80000002
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x44f3a8
cmp dword [ebp + 0xc], esi
mov dword [ebp - 0x18], 0x104
mov eax, str.CommonFilesDir
je 0x44f391
mov eax, str.ProgramFilesDir
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x144]
push ecx
push ebx
push ebx
push eax
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp + 0xf]
push ebx
push eax
lea eax, [ebp - 0x144]
mov edi, 0x46ab58
mov esi, 0x46ab50
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x20], esi
call fcn.00416fa1
push 0x4807ac
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.00418057
mov ebx, dword [ebp + 8]
push 0
push eax
mov ecx, ebx
mov dword [ebx], edi
mov dword [ebx + 0x20], esi
call fcn.00408cc3
mov dword [ebp - 0x14], 1
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.0040bf10
cmp dword [ebp - 0x10], 0
je 0x44f411
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, ebx
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x4508ba
Capabilities:
Enumerate files on windows

Disassembly:
mov eax, 0x468b98
call fcn.0045962c
sub esp, 0x168
push ebx
push esi
push 0x481290
lea eax, [ebp - 0x34]
push dword [ebp + 8]
push eax
call fcn.00429f47
add esp, 0xc
lea ecx, [ebp - 0x174]
xor ebx, ebx
push ecx
mov ecx, eax
mov dword [ebp - 4], ebx
call fcn.004171f3
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
mov dword [ebp + 8], esi
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 2
call fcn.0040bf10
cmp esi, 0xffffffff
jne 0x450914
mov al, 1
jmp 0x450943
lea eax, [ebp - 0x174]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileA]
push eax
push esi
call edi
test eax, eax
je 0x450937
lea eax, [ebp - 0x174]
push eax
push esi
call edi
test eax, eax
jne 0x450939
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov al, bl
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x45127d
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
push edi
push esi
push dword [esp + 0x1c]
mov ebp, ecx
call fcn.0042a2ff
pop ecx
test al, al
pop ecx
je 0x4512df
mov ecx, esi
call fcn.004171f3
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebx, eax
mov ecx, esi
and ebx, 0xfffffffe
push ebx
call fcn.004171f3
mov edi, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push eax
call edi
test eax, eax
jne 0x4512df
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0
push esi
mov ecx, ebp
call fcn.004511a6
push ebx
mov ecx, esi
call fcn.004171f3
push eax
jmp 0x4512b9
pop edi
pop esi
pop ebp
pop ebx
ret 8

Function at 0x4512e6
Capabilities:
Delete file

Disassembly:
mov eax, 0x468cb8
call fcn.0045962c
push esi
push edi
mov edi, ecx
push dword [ebp + 0x34]
and dword [ebp - 4], 0
lea eax, [ebp + 8]
push eax
call fcn.0045127d
lea ecx, [ebp + 8]
call fcn.004171f3
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push eax
call esi
test eax, eax
jne 0x451346
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 3
je 0x451346
cmp eax, 2
je 0x451346
push dword [ebp + 0x34]
mov ecx, edi
push eax
lea eax, [ebp + 8]
push dword [ebp + 0x30]
push eax
call fcn.004511a6
lea ecx, [ebp + 8]
call fcn.004171f3
push eax
jmp 0x451313
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0040bf10
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 0x30
Function at 0x451362
Capabilities:
Delete directory

Disassembly:
mov eax, 0x468cdc
call fcn.0045962c
sub esp, 0xc
push ebx
push esi
push edi
mov esi, ecx
push dword [ebp + 0x34]
and dword [ebp - 4], 0
lea eax, [ebp + 8]
push eax
call fcn.0045127d
lea ecx, [ebp + 8]
call fcn.004171f3
mov edi, dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push eax
call edi
test eax, eax
jne 0x45148b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp ebx, 3
je 0x45148b
cmp ebx, 2
je 0x45148b
cmp ebx, 5
jne 0x4513cf
lea eax, [ebp + 8]
push eax
call fcn.004508ba
test al, al
pop ecx
jne 0x4513d7
mov ebx, 0x91
cmp ebx, 0x91
je 0x4513f4
push dword [ebp + 0x34]
lea eax, [ebp + 8]
mov ecx, esi
push ebx
push dword [ebp + 0x30]
push eax
call fcn.004511a6
lea ecx, [ebp + 8]
call fcn.004171f3
push eax
jmp 0x451393
xor edi, edi
mov dword [ebp + 0x30], edi
mov eax, dword [esi]
mov dword [ebp - 0x10], edi
lea edx, [ebp + 0x30]
mov byte [ebp - 4], 1
mov eax, dword [eax + 4]
push edx
push 0x4813e0
push 0x46c388
mov eax, dword [eax + esi]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
cmp eax, edi
jl 0x45142d
mov eax, dword [ebp + 0x30]
lea edx, [ebp - 0x10]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
cmp word [ebp - 0x10], di
je 0x45147a
sub esp, 0x28
lea eax, [ebp + 0x37]
mov dword [ebp - 0x14], esp
mov ecx, esp
push edi
push eax
push 0x483cf0
mov dword [ecx], 0x46ab58
mov dword [ecx + 0x20], 0x46ab50
call fcn.00416e44
sub esp, 0x28
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x18], esp
push 1
push eax
mov byte [ebp - 4], 2
call fcn.00429d4f
mov byte [ebp - 4], 1
call fcn.0045807c
add esp, 0x50
mov eax, dword [ebp + 0x30]
and byte [ebp - 4], 0
cmp eax, edi
je 0x45148b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0040bf10
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x30

Function at 0x455d7b
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
and dword [eax + 0x14], 0
and dword [eax + 0x10], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret
Function at 0x456c1b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
push 1
xor ebx, ebx
mov esi, ecx
pop edi
mov dword [ebp - 4], ebx
call fcn.00456d17
cmp eax, ebx
mov dword [ebp - 0x10], eax
je 0x456c7d
lea eax, [ebp - 4]
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x456c7d
lea eax, [ebp - 8]
mov dword [ebp - 8], 4
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
push ebx
push str.ProxyEnable
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x456c7d
cmp dword [ebp - 0xc], ebx
je 0x456c7d
mov edi, dword [ebp + 0xc]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push edi
push dword [ebp + 8]
call fcn.004569ad
add esp, 0x14
cmp dword [ebp + 0xc], ebx
mov dword [esi + 4], eax
je 0x456ca0
cmp dword [ebp + 0xc], 4
jne 0x456cba
cmp dword [ebp - 0x10], ebx
jne 0x456cba
cmp word [esi + 0x14], 3
mov ecx, esi
jne 0x456cb5
call fcn.00456e1e
jmp 0x456cba
call fcn.0045704a
cmp dword [esi + 4], ebx
pop edi
pop esi
setne byte [ebp + 0xf]
cmp dword [ebp - 4], ebx
pop ebx
je 0x456cd2
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, byte [ebp + 0xf]
leave
ret 0x14

Function at 0x456d17
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x35c
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
lea eax, [ebp - 4]
push edi
push eax
lea eax, [ebp - 0x258]
push eax
mov edi, 0x80000000
push str..htm
mov dword [ebp - 8], ecx
push edi
mov dword [ebp - 4], 0x104
call esi
test eax, eax
jne 0x456e17
lea eax, [ebp - 0x258]
push str._shellopencommand
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x104
push eax
lea eax, [ebp - 0x154]
push eax
lea eax, [ebp - 0x258]
push eax
push edi
call esi
test eax, eax
jne 0x456e17
lea eax, [ebp - 0x154]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [ebp - 0x154]
push eax
call dword [sym.imp.USER32.dll_CharLowerBuffA]
lea eax, [ebp - 0x154]
push str.netscape.exe
push eax
call fcn.0045ac60
pop ecx
test eax, eax
pop ecx
je 0x456e17
lea ecx, [ebp - 0x154]
sub eax, ecx
add eax, 0xd
push eax
lea eax, [ebp - 0x154]
push eax
lea eax, [ebp - 0x35c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
lea ecx, [ebp - 0x50]
call fcn.004292b2
lea eax, [ebp - 0x35c]
lea ecx, [ebp - 0x50]
push eax
call fcn.00457d6f
mov ecx, dword [ebp - 0x44]
mov eax, dword [ebp - 8]
mov edx, ecx
mov dword [ebp - 0x50], 0x46b644
shr edx, 0x10
mov word [eax + 0x16], cx
lea ecx, [ebp - 0x50]
mov word [eax + 0x14], dx
call fcn.0042931a
xor eax, eax
jmp 0x456e1a
push 1
pop eax
pop edi
pop esi
leave
ret
Function at 0x456e1e
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1190
call fcn.004597c0
and byte [ebp - 0x96c], 0
push ebx
push esi
mov dword [ebp - 0x10], ecx
mov edx, 0x208
push edi
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0x96b]
and byte [ebp - 0x1190], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0x118f]
xor esi, esi
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 4]
mov dword [ebp - 4], esi
push eax
push str.SOFTWARENetscapeNetscape_NavigatorProxy_Information
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x456fec
lea eax, [ebp - 8]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push eax
lea eax, [ebp - 0x14]
push eax
push esi
push esi
push str.Proxy_Type
push dword [ebp - 4]
mov dword [ebp - 0x48], str.http
mov dword [ebp - 0x44], str.HTTP_Proxy
mov dword [ebp - 0x40], str.HTTP_ProxyPort
mov dword [ebp - 0x3c], str.https
mov dword [ebp - 0x38], str.HTTPS_Proxy
mov dword [ebp - 0x34], str.HTTPS_ProxyPort
mov dword [ebp - 0x30], str.ftp
mov dword [ebp - 0x2c], str.FTP_Proxy
mov dword [ebp - 0x28], str.FTP_ProxyPort
mov dword [ebp - 8], 4
call ebx
test eax, eax
jne 0x456fec
cmp dword [ebp - 0x14], 1
jne 0x456fec
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edi, [ebp - 0x48]
mov dword [ebp - 0xc], 3
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x100
push eax
lea eax, [ebp - 0x148]
push eax
push 0
push 0
push dword [edi + 4]
push dword [ebp - 4]
call ebx
test eax, eax
jne 0x456faf
cmp byte [ebp - 0x148], al
je 0x456faf
push dword [edi]
lea eax, [ebp - 0x96c]
push eax
call esi
lea eax, [ebp - 0x148]
push eax
lea eax, [ebp - 0x96c]
push eax
call esi
lea eax, [ebp - 8]
mov dword [ebp - 8], 4
push eax
lea eax, [ebp - 0x18]
push eax
push 0
push 0
push dword [edi + 8]
push dword [ebp - 4]
call ebx
test eax, eax
jne 0x456fa1
lea eax, [ebp - 0x96c]
push 0x482aa4
push eax
call esi
push dword [ebp - 0x18]
lea eax, [ebp - 0x96c]
push 0x482aa0
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [ebp + eax - 0x96c]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x96c]
push 0x482a9c
push eax
call esi
add edi, 0xc
dec dword [ebp - 0xc]
jne 0x456f05
lea eax, [ebp - 0x96c]
push 0xc
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x1190]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x10]
push 0x26
mov dword [ebp - 0x24], 3
push dword [eax + 4]
call fcn.00456ae1
add esp, 0x10
xor esi, esi
cmp dword [ebp - 4], esi
je 0x456ffa
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x45788e
Capabilities:
Check for time delay via gettickcount
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, ecx
and dword [edi], 0
cmp dword [ebp + 0xc], 0
jbe 0x457a51
mov ebx, 0x3e8
jmp 0x4578b3
mov edi, dword [ebp + 0x10]
cmp dword [esi + 0x48], 0x2710
jbe 0x4578d1
cmp dword [esi + 0x40], 0
je 0x4578d1
mov ecx, esi
call fcn.00457a5e
lea eax, [eax + eax*4]
mov dword [ebp - 4], eax
jmp 0x4578d8
mov dword [ebp - 4], 0x1f4
cmp byte [esi + 0x80], 0
je 0x4578ed
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
jmp 0x4578fa
call dword [sym.imp.KERNEL32.dll_GetTickCount]
and dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], eax
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov eax, dword [edi]
mov ecx, dword [ebp + 0xc]
sub ecx, eax
cmp ecx, dword [ebp - 4]
jb 0x457912
mov ecx, dword [ebp - 4]
lea edx, [ebp - 8]
push edx
push ecx
mov ecx, dword [ebp + 8]
add eax, ecx
push eax
push dword [esi + 4]
call fcn.00456a48
add esp, 0x10
test eax, eax
jne 0x45793f
mov eax, dword [esi]
push 0x7530
mov ecx, esi
call dword [eax]
test al, al
je 0x457a5a
cmp byte [esi + 0x80], 0
je 0x45795a
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
jmp 0x457968
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor edx, edx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x457a51
add dword [edi], ecx
add dword [esi + 0x38], ecx
add dword [esi + 0x40], ecx
add dword [esi + 0x4c], ecx
sub eax, dword [ebp - 0x20]
sbb edx, dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
or eax, edx
mov dword [ebp - 0xc], edx
jne 0x457999
and dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 5
push 0
push ebx
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call fcn.0045a740
mov edi, dword [esi + 0x7c]
mov ecx, dword [esi + 0x78]
cmp edx, edi
jl 0x4579e6
jg 0x4579b7
cmp eax, ecx
jbe 0x4579e6
push edi
push ecx
push edx
push eax
call fcn.0045a780
add dword [esi + 0x48], eax
add dword [esi + 0x54], eax
push edi
push dword [esi + 0x78]
push 0
push eax
call fcn.0045a740
push 0xffffffffffffffff
push 0xfffffc18
push edx
push eax
call fcn.0045a780
add dword [ebp - 0x10], eax
adc dword [ebp - 0xc], edx
push 0
push 0xf4240
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call fcn.0045a740
push edi
push dword [esi + 0x78]
push edx
push eax
call fcn.0045a780
add dword [esi + 0x44], eax
mov ecx, dword [esi + 0x44]
add dword [esi + 0x50], eax
cmp ecx, ebx
jbe 0x457a26
mov eax, ecx
xor edx, edx
mov edi, ebx
div edi
xor edx, edx
add dword [esi + 0x48], eax
mov eax, ecx
mov ecx, ebx
div ecx
mov dword [esi + 0x44], edx
mov ecx, dword [esi + 0x50]
cmp ecx, ebx
jbe 0x457a43
mov eax, ecx
xor edx, edx
mov edi, ebx
div edi
xor edx, edx
add dword [esi + 0x54], eax
mov eax, ecx
mov ecx, ebx
div ecx
mov dword [esi + 0x50], edx
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
cmp dword [ecx], eax
jb 0x4578b0
mov al, 1
pop edi
pop esi
pop ebx
leave
ret 0xc
xor al, al
jmp 0x457a53