joyce8/EMBER2024-capa huggingface dataset:
Function at 0x436ff8
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 0x43700c
push 0x26
pop eax
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x437040
lea edx, [ebp + 8]
push edx
push eax
push dword [ebp + 8]
call fcn.00459a0e
test al, al
jne 0x437073
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x4c]
call fcn.00429468
lea eax, [ebp - 0x4c]
push 0x4776a0
push eax
call fcn.0045bd01
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 0x437073
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x48]
call fcn.004192bd
lea eax, [ebp - 0x48]
push 0x473f90
push eax
call fcn.0045bd01
mov eax, dword [ebp + 8]
pop esi
leave
ret 8

Function at 0x43707b
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 0x43708f
push 6
pop eax
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x4370c3
lea edx, [ebp + 8]
push edx
push eax
push dword [ebp + 8]
call fcn.00459a0e
test al, al
jne 0x4370f6
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x4c]
call fcn.00429468
lea eax, [ebp - 0x4c]
push 0x4776a0
push eax
call fcn.0045bd01
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 0x4370f6
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x48]
call fcn.004192bd
lea eax, [ebp - 0x48]
push 0x473f90
push eax
call fcn.0045bd01
mov eax, dword [ebp + 8]
pop esi
leave
ret 8
Function at 0x43a300
Capabilities:
Delete file

Disassembly:
mov eax, 0x4688b3
call fcn.0045bbb8
sub esp, 0x134
and dword [ebp - 0x10], 0
push esi
mov esi, ecx
mov eax, dword [esi + 0x330]
mov dword [ebp - 4], 1
mov ecx, dword [eax + 8]
mov ecx, dword [ecx + 4]
push dword [ecx + eax + 8]
mov eax, dword [esi + 0x31c]
lea ecx, [ebp - 0x140]
mov al, byte [eax + 0x14]
push dword [esi + 0x490]
shr al, 5
and al, 1
push eax
lea eax, [ebp + 0x30]
push eax
call fcn.00427ee8
push dword [esi + 0x318]
mov eax, dword [esi + 0x31c]
lea ecx, [ebp - 0x140]
mov byte [ebp - 4], 2
push dword [eax + 0x3e]
call fcn.0043bf1d
test al, al
lea eax, [ebp + 8]
push 0x80
push eax
je 0x43a3f6
call fcn.0043a442
sub esp, 0x20
lea eax, [ebp + 8]
mov dword [ebp - 0x10], esp
mov ecx, esp
push 0
push eax
mov dword [ecx], 0x46cb90
mov dword [ecx + 0x20], 0x46cb88
call fcn.00408cbe
lea ecx, [ebp - 0x140]
call fcn.0044e0db
mov eax, dword [esi + 0x318]
lea ecx, [ebp - 0x18]
push ecx
mov cx, word [eax + 0x46]
mov ax, word [eax + 0x44]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_DosDateTimeToFileTime]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
mov al, byte [esi + 0x48c]
lea ecx, [ebp - 0x140]
push eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [esi + 0x318]
push dword [eax + 0x40]
call fcn.0044e196
jmp 0x43a40c
call fcn.0043a442
pop ecx
pop ecx
lea ecx, [ebp + 8]
call fcn.00417390
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 1
call fcn.0044de67
and byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.0040be30
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x30]
call fcn.0040be30
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret 0x50

Function at 0x43a442
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
call fcn.00417390
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x43a479
push 1
lea ecx, [ebp - 0x48]
push dword [ebp + 8]
call fcn.004192bd
lea eax, [ebp - 0x48]
push 0x473f90
push eax
call fcn.0045bd01
leave
ret

Function at 0x43bc08
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 0x43bc1e
mov eax, 0x1ed
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x43bc52
lea edx, [ebp + 8]
push edx
push eax
push dword [ebp + 8]
call fcn.00459a0e
test al, al
jne 0x43bc85
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x4c]
call fcn.00429468
lea eax, [ebp - 0x4c]
push 0x4776a0
push eax
call fcn.0045bd01
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 0x43bc85
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x48]
call fcn.004192bd
lea eax, [ebp - 0x48]
push 0x473f90
push eax
call fcn.0045bd01
mov eax, dword [ebp + 8]
pop esi
leave
ret 8
Function at 0x43bc8d
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 0x43bca3
mov eax, 0x286
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x43bcd7
lea edx, [ebp + 8]
push edx
push eax
push dword [ebp + 8]
call fcn.00459a0e
test al, al
jne 0x43bd0a
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x4c]
call fcn.00429468
lea eax, [ebp - 0x4c]
push 0x4776a0
push eax
call fcn.0045bd01
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 0x43bd0a
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x48]
call fcn.004192bd
lea eax, [ebp - 0x48]
push 0x473f90
push eax
call fcn.0045bd01
mov eax, dword [ebp + 8]
pop esi
leave
ret 8

Function at 0x43bd12
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 0x43bd25
xor eax, eax
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x43bd59
lea edx, [ebp + 8]
push edx
push eax
push dword [ebp + 8]
call fcn.00459a0e
test al, al
jne 0x43bd8c
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x4c]
call fcn.00429468
lea eax, [ebp - 0x4c]
push 0x4776a0
push eax
call fcn.0045bd01
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 0x43bd8c
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x48]
call fcn.004192bd
lea eax, [ebp - 0x48]
push 0x473f90
push eax
call fcn.0045bd01
mov eax, dword [ebp + 8]
pop esi
leave
ret 8

Function at 0x43bd94
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 0x43bda8
push 4
pop eax
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x43bddc
lea edx, [ebp + 8]
push edx
push eax
push dword [ebp + 8]
call fcn.00459a0e
test al, al
jne 0x43be0f
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x4c]
call fcn.00429468
lea eax, [ebp - 0x4c]
push 0x4776a0
push eax
call fcn.0045bd01
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 0x43be0f
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x48]
call fcn.004192bd
lea eax, [ebp - 0x48]
push 0x473f90
push eax
call fcn.0045bd01
mov eax, dword [ebp + 8]
pop esi
leave
ret 8
Function at 0x43be17
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 0x43be2b
push 1
pop eax
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x43be5f
lea edx, [ebp + 8]
push edx
push eax
push dword [ebp + 8]
call fcn.00459a0e
test al, al
jne 0x43be92
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x4c]
call fcn.00429468
lea eax, [ebp - 0x4c]
push 0x4776a0
push eax
call fcn.0045bd01
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 0x43be92
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x48]
call fcn.004192bd
lea eax, [ebp - 0x48]
push 0x473f90
push eax
call fcn.0045bd01
mov eax, dword [ebp + 8]
pop esi
leave
ret 8

Function at 0x43be9a
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 0x43beae
push 1
pop eax
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x43bee2
lea edx, [ebp + 8]
push edx
push eax
push dword [ebp + 8]
call fcn.00459a0e
test al, al
jne 0x43bf15
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x4c]
call fcn.00429468
lea eax, [ebp - 0x4c]
push 0x4776a0
push eax
call fcn.0045bd01
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 0x43bf15
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x48]
call fcn.004192bd
lea eax, [ebp - 0x48]
push 0x473f90
push eax
call fcn.0045bd01
mov eax, dword [ebp + 8]
pop esi
leave
ret 8
Function at 0x4497d2
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov ecx, dword [ebp + 8]
call fcn.00417390
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x449807
push 1
lea ecx, [ebp - 0x48]
push dword [ebp + 8]
call fcn.004192bd
lea eax, [ebp - 0x48]
push 0x473f90
push eax
call fcn.0045bd01
leave
ret

Function at 0x44de67
Capabilities:
Delete file

Disassembly:
mov eax, 0x46ab11
call fcn.0045bbb8
push ecx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
mov dword [esi - 4], 0x46d644
mov dword [esi], 0x46d640
mov dword [ebp - 4], 5
call fcn.00428063
cmp dword [esi + 0xc8], 0
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
je 0x44deaf
lea ecx, [esi + 0xbc]
call fcn.00417390
push eax
call edi
cmp dword [esi + 0xf0], 0
je 0x44dec6
lea ecx, [esi + 0xe4]
call fcn.00417390
push eax
call edi
mov eax, dword [esi + 0x114]
mov byte [ebp - 4], 4
test eax, eax
je 0x44deda
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esi + 0x110]
mov byte [ebp - 4], 3
test eax, eax
je 0x44deee
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [esi + 0xe4]
mov byte [ebp - 4], 2
call fcn.0040be30
lea ecx, [esi + 0xbc]
mov byte [ebp - 4], 1
call fcn.0040be30
and byte [ebp - 4], 0
lea ecx, [esi + 0x94]
call fcn.0040be30
lea edi, [esi - 4]
neg edi
sbb edi, edi
and edi, esi
mov dword [ebp - 0x10], edi
mov dword [edi], 0x46d64c
mov ecx, edi
mov dword [ebp - 4], 6
call fcn.00428063
or dword [ebp - 4], 0xffffffff
lea ecx, [edi + 0xc]
call fcn.0040be30
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x44e344
Capabilities:
Delete file
Move file

Disassembly:
mov eax, 0x46abd0
call fcn.0045bbb8
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.0044ebbd
pop ecx
test al, al
pop ecx
je 0x44e37c
and byte [ebp - 4], 0
jmp 0x44e45e
lea eax, [ebp - 0x1c]
lea ecx, [ebp + 0x30]
push eax
mov byte [ebp - 4], 2
call fcn.00417c4f
push dword [eax + 8]
mov ecx, ebx
mov byte [ebp - 4], 3
call fcn.0044e4af
cmp byte [ebp - 0x18], 0
mov byte [ebp - 4], 2
je 0x44e3af
mov ecx, dword [ebp - 0x1c]
push dword [ecx + 0x1c]
call fcn.00417068
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp + 0x30]
call fcn.00417390
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x44e408
call edi
mov esi, eax
cmp esi, 3
je 0x44e408
cmp esi, 2
je 0x44e408
lea eax, [ebp - 0x1c]
lea ecx, [ebp + 0x30]
push eax
call fcn.00417c4f
push dword [eax + 8]
mov ecx, ebx
mov byte [ebp - 4], 4
push esi
call fcn.0044e515
cmp byte [ebp - 0x18], 0
mov byte [ebp - 4], 2
je 0x44e3b5
mov ecx, dword [ebp - 0x1c]
push dword [ecx + 0x1c]
call fcn.00417068
jmp 0x44e3b5
lea ecx, [ebp + 8]
call fcn.00417390
lea ecx, [ebp + 0x30]
mov esi, eax
call fcn.00417390
push eax
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
jne 0x44e45a
lea eax, [ebp - 0x1c]
lea ecx, [ebp + 0x30]
push eax
call fcn.00417c4f
push dword [eax + 8]
mov byte [ebp - 4], 5
call edi
push eax
mov ecx, ebx
call fcn.0044e515
cmp byte [ebp - 0x18], 0
mov byte [ebp - 4], 2
je 0x44e408
mov ecx, dword [ebp - 0x1c]
push dword [ecx + 0x1c]
call fcn.00417068
jmp 0x44e408
and dword [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.0040be30
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x30]
call fcn.0040be30
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x50

Function at 0x44e4af
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.0042a8d4
pop ecx
test al, al
pop ecx
je 0x44e50e
mov ecx, esi
call fcn.00417390
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebx, eax
mov ecx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00417390
mov edi, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push eax
call edi
test eax, eax
jne 0x44e50e
push esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, ebp
call fcn.0044e515
push ebx
mov ecx, esi
call fcn.00417390
push eax
jmp 0x44e4ee
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x4521f8
Capabilities:
Enumerate files on windows

Disassembly:
mov eax, 0x46b3c4
call fcn.0045bbb8
sub esp, 0x168
push ebx
push esi
push 0x4832b0
lea eax, [ebp - 0x34]
push dword [ebp + 8]
push eax
call fcn.0042a4e9
add esp, 0xc
lea ecx, [ebp - 0x174]
xor ebx, ebx
push ecx
mov ecx, eax
mov dword [ebp - 4], ebx
call fcn.00417390
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.0040be30
cmp esi, 0xffffffff
jne 0x452252
mov al, 1
jmp 0x452281
lea eax, [ebp - 0x174]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileA]
push eax
push esi
call edi
test eax, eax
je 0x452275
lea eax, [ebp - 0x174]
push eax
push esi
call edi
test eax, eax
jne 0x452277
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 0x452bbb
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.0042a8d4
pop ecx
test al, al
pop ecx
je 0x452c1d
mov ecx, esi
call fcn.00417390
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebx, eax
mov ecx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00417390
mov edi, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push eax
call edi
test eax, eax
jne 0x452c1d
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0
push esi
mov ecx, ebp
call fcn.00452ae4
push ebx
mov ecx, esi
call fcn.00417390
push eax
jmp 0x452bf7
pop edi
pop esi
pop ebp
pop ebx
ret 8

Function at 0x452c24
Capabilities:
Delete file

Disassembly:
mov eax, 0x46b4e4
call fcn.0045bbb8
push esi
push edi
mov edi, ecx
push dword [ebp + 0x34]
and dword [ebp - 4], 0
lea eax, [ebp + 8]
push eax
call fcn.00452bbb
lea ecx, [ebp + 8]
call fcn.00417390
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push eax
call esi
test eax, eax
jne 0x452c84
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 3
je 0x452c84
cmp eax, 2
je 0x452c84
push dword [ebp + 0x34]
mov ecx, edi
push eax
lea eax, [ebp + 8]
push dword [ebp + 0x30]
push eax
call fcn.00452ae4
lea ecx, [ebp + 8]
call fcn.00417390
push eax
jmp 0x452c51
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0040be30
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 0x30
Function at 0x452ca0
Capabilities:
Delete directory

Disassembly:
mov eax, 0x46b508
call fcn.0045bbb8
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.00452bbb
lea ecx, [ebp + 8]
call fcn.00417390
mov edi, dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push eax
call edi
test eax, eax
jne 0x452dc9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp ebx, 3
je 0x452dc9
cmp ebx, 2
je 0x452dc9
cmp ebx, 5
jne 0x452d0d
lea eax, [ebp + 8]
push eax
call fcn.004521f8
test al, al
pop ecx
jne 0x452d15
mov ebx, 0x91
cmp ebx, 0x91
je 0x452d32
push dword [ebp + 0x34]
lea eax, [ebp + 8]
mov ecx, esi
push ebx
push dword [ebp + 0x30]
push eax
call fcn.00452ae4
lea ecx, [ebp + 8]
call fcn.00417390
push eax
jmp 0x452cd1
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 0x4834a8
push 0x46e420
mov eax, dword [eax + esi]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
cmp eax, edi
jl 0x452d6b
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 0x452db8
sub esp, 0x28
lea eax, [ebp + 0x37]
mov dword [ebp - 0x14], esp
mov ecx, esp
push edi
push eax
push 0x486000
mov dword [ecx], 0x46cb90
mov dword [ecx + 0x20], 0x46cb88
call fcn.00416fcc
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.0042a25d
mov byte [ebp - 4], 1
call fcn.0045a5a7
add esp, 0x50
mov eax, dword [ebp + 0x30]
and byte [ebp - 4], 0
cmp eax, edi
je 0x452dc9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0040be30
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x30

Function at 0x4576d4
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 0x4587a5
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x838
push ebx
push edi
mov edi, ecx
mov dword [ebp - 0x10], 1
call fcn.00458941
xor ebx, ebx
mov dword [ebp - 0x14], eax
cmp eax, ebx
je 0x458859
lea eax, [ebp - 4]
mov dword [ebp - 4], ebx
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x45884b
lea eax, [ebp - 8]
push esi
push eax
lea eax, [ebp - 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push eax
push ebx
push ebx
push str.ProxyEnable
mov dword [ebp - 8], 4
push dword [ebp - 4]
call esi
test eax, eax
je 0x45880f
mov dword [ebp - 0xc], ebx
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x824
push eax
lea eax, [ebp - 0x838]
push eax
push ebx
push ebx
push str.AutoConfigURL
push dword [ebp - 4]
call esi
test eax, eax
pop esi
je 0x458838
mov byte [ebp - 0x838], bl
cmp dword [ebp - 0xc], ebx
jne 0x458845
cmp byte [ebp - 0x838], bl
je 0x45884b
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 4], ebx
je 0x458859
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp - 0x10]
push dword [ebp + 8]
call fcn.0045848c
add esp, 0x14
cmp dword [ebp + 0xc], ebx
mov dword [edi + 4], eax
je 0x45887e
cmp dword [ebp + 0xc], 4
jne 0x4588aa
cmp dword [ebp - 0x14], ebx
jne 0x4588aa
mov ax, word [edi + 0x14]
cmp ax, 3
jne 0x458896
mov ecx, edi
call fcn.00458d01
jmp 0x4588aa
cmp ax, 4
mov ecx, edi
jne 0x4588a5
call fcn.00458ee2
jmp 0x4588aa
call fcn.0045926d
xor eax, eax
cmp dword [edi + 4], ebx
pop edi
pop ebx
setne al
leave
ret 0x14
Function at 0x458d01
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1190
call fcn.0045bd50
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 0x458ecf
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 0x458ecf
cmp dword [ebp - 0x14], 1
jne 0x458ecf
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 0x458e92
cmp byte [ebp - 0x148], al
je 0x458e92
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 0x458e84
lea eax, [ebp - 0x96c]
push 0x484d44
push eax
call esi
push dword [ebp - 0x18]
lea eax, [ebp - 0x96c]
push 0x484d40
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 0x484d3c
push eax
call esi
add edi, 0xc
dec dword [ebp - 0xc]
jne 0x458de8
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.0045862a
add esp, 0x10
xor esi, esi
cmp dword [ebp - 4], esi
je 0x458edd
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
leave
ret