joyce8/EMBER2024-capa huggingface dataset:
Function at 0x439a08
Capabilities:
Delete file

Disassembly:
mov eax, 0x4675bf
call fcn.0045aa08
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 + 0x48c]
shr al, 5
and al, 1
push eax
lea eax, [ebp + 0x30]
push eax
call fcn.00427a07
push dword [esi + 0x318]
mov eax, dword [esi + 0x31c]
lea ecx, [ebp - 0x140]
mov byte [ebp - 4], 2
push dword [eax + 0x3e]
call fcn.0043b854
test al, al
je 0x439af7
lea eax, [ebp + 8]
push 0x80
push eax
call fcn.00439b3c
sub esp, 0x20
lea eax, [ebp + 8]
mov dword [ebp - 0x10], esp
mov ecx, esp
push 0
push eax
mov dword [ecx], 0x46bb80
mov dword [ecx + 0x20], 0x46bb78
call fcn.00408caf
lea ecx, [ebp - 0x140]
call fcn.0044d733
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]
lea eax, [ebp - 0x20]
lea ecx, [ebp - 0x140]
push eax
mov eax, dword [esi + 0x318]
push dword [eax + 0x40]
call fcn.0044d7ee
jmp 0x439b06
lea ecx, [ebp + 8]
call fcn.00416f0f
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 1
call fcn.0044d4bf
and byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.0040be47
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x30]
call fcn.0040be47
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret 0x50

Function at 0x439b3c
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
call fcn.00416f0f
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x439b73
push 1
lea ecx, [ebp - 0x48]
push dword [ebp + 8]
call fcn.00418df1
lea eax, [ebp - 0x48]
push 0x472ee8
push eax
call fcn.0045ab51
leave
ret

Function at 0x43b53f
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 0x43b555
mov eax, 0x1ed
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x43b589
lea edx, [ebp + 8]
push edx
push eax
push dword [ebp + 8]
call fcn.004588a4
test al, al
jne 0x43b5bc
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x4c]
call fcn.00428f87
lea eax, [ebp - 0x4c]
push 0x4765f0
push eax
call fcn.0045ab51
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 0x43b5bc
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x48]
call fcn.00418df1
lea eax, [ebp - 0x48]
push 0x472ee8
push eax
call fcn.0045ab51
mov eax, dword [ebp + 8]
pop esi
leave
ret 8
Function at 0x43b5c4
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 0x43b5da
mov eax, 0x286
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x43b60e
lea edx, [ebp + 8]
push edx
push eax
push dword [ebp + 8]
call fcn.004588a4
test al, al
jne 0x43b641
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x4c]
call fcn.00428f87
lea eax, [ebp - 0x4c]
push 0x4765f0
push eax
call fcn.0045ab51
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 0x43b641
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x48]
call fcn.00418df1
lea eax, [ebp - 0x48]
push 0x472ee8
push eax
call fcn.0045ab51
mov eax, dword [ebp + 8]
pop esi
leave
ret 8

Function at 0x43b649
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 0x43b65c
xor eax, eax
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x43b690
lea edx, [ebp + 8]
push edx
push eax
push dword [ebp + 8]
call fcn.004588a4
test al, al
jne 0x43b6c3
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x4c]
call fcn.00428f87
lea eax, [ebp - 0x4c]
push 0x4765f0
push eax
call fcn.0045ab51
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 0x43b6c3
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x48]
call fcn.00418df1
lea eax, [ebp - 0x48]
push 0x472ee8
push eax
call fcn.0045ab51
mov eax, dword [ebp + 8]
pop esi
leave
ret 8

Function at 0x43b6cb
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 0x43b6df
push 4
pop eax
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x43b713
lea edx, [ebp + 8]
push edx
push eax
push dword [ebp + 8]
call fcn.004588a4
test al, al
jne 0x43b746
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x4c]
call fcn.00428f87
lea eax, [ebp - 0x4c]
push 0x4765f0
push eax
call fcn.0045ab51
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 0x43b746
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x48]
call fcn.00418df1
lea eax, [ebp - 0x48]
push 0x472ee8
push eax
call fcn.0045ab51
mov eax, dword [ebp + 8]
pop esi
leave
ret 8
Function at 0x43b74e
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 0x43b762
push 1
pop eax
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x43b796
lea edx, [ebp + 8]
push edx
push eax
push dword [ebp + 8]
call fcn.004588a4
test al, al
jne 0x43b7c9
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x4c]
call fcn.00428f87
lea eax, [ebp - 0x4c]
push 0x4765f0
push eax
call fcn.0045ab51
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 0x43b7c9
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x48]
call fcn.00418df1
lea eax, [ebp - 0x48]
push 0x472ee8
push eax
call fcn.0045ab51
mov eax, dword [ebp + 8]
pop esi
leave
ret 8

Function at 0x43b7d1
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 0x43b7e5
push 1
pop eax
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x43b819
lea edx, [ebp + 8]
push edx
push eax
push dword [ebp + 8]
call fcn.004588a4
test al, al
jne 0x43b84c
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x4c]
call fcn.00428f87
lea eax, [ebp - 0x4c]
push 0x4765f0
push eax
call fcn.0045ab51
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 0x43b84c
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x48]
call fcn.00418df1
lea eax, [ebp - 0x48]
push 0x472ee8
push eax
call fcn.0045ab51
mov eax, dword [ebp + 8]
pop esi
leave
ret 8
Function at 0x4490da
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov ecx, dword [ebp + 8]
call fcn.00416f0f
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x44910f
push 1
lea ecx, [ebp - 0x48]
push dword [ebp + 8]
call fcn.00418df1
lea eax, [ebp - 0x48]
push 0x472ee8
push eax
call fcn.0045ab51
leave
ret

Function at 0x44d4bf
Capabilities:
Delete file

Disassembly:
mov eax, 0x4697bd
call fcn.0045aa08
push ecx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
mov dword [esi - 4], 0x46c61c
mov dword [esi], 0x46c618
mov dword [ebp - 4], 5
call fcn.00427b82
cmp dword [esi + 0xc8], 0
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
je 0x44d507
lea ecx, [esi + 0xbc]
call fcn.00416f0f
push eax
call edi
cmp dword [esi + 0xf0], 0
je 0x44d51e
lea ecx, [esi + 0xe4]
call fcn.00416f0f
push eax
call edi
mov eax, dword [esi + 0x114]
mov byte [ebp - 4], 4
test eax, eax
je 0x44d532
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esi + 0x110]
mov byte [ebp - 4], 3
test eax, eax
je 0x44d546
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [esi + 0xe4]
mov byte [ebp - 4], 2
call fcn.0040be47
lea ecx, [esi + 0xbc]
mov byte [ebp - 4], 1
call fcn.0040be47
and byte [ebp - 4], 0
lea ecx, [esi + 0x94]
call fcn.0040be47
lea edi, [esi - 4]
neg edi
sbb edi, edi
and edi, esi
mov dword [ebp - 0x10], edi
mov dword [edi], 0x46c624
mov ecx, edi
mov dword [ebp - 4], 6
call fcn.00427b82
or dword [ebp - 4], 0xffffffff
lea ecx, [edi + 0xc]
call fcn.0040be47
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x44d98c
Capabilities:
Delete file
Move file

Disassembly:
mov eax, 0x46987c
call fcn.0045aa08
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.0044e164
pop ecx
test al, al
pop ecx
je 0x44d9c4
and byte [ebp - 4], 0
jmp 0x44daa6
lea eax, [ebp - 0x1c]
lea ecx, [ebp + 0x30]
push eax
mov byte [ebp - 4], 2
call fcn.00417788
push dword [eax + 8]
mov ecx, ebx
mov byte [ebp - 4], 3
call fcn.0044daf7
cmp byte [ebp - 0x18], 0
mov byte [ebp - 4], 2
je 0x44d9f7
mov ecx, dword [ebp - 0x1c]
push dword [ecx + 0x1c]
call fcn.00416be7
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp + 0x30]
call fcn.00416f0f
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x44da50
call edi
mov esi, eax
cmp esi, 3
je 0x44da50
cmp esi, 2
je 0x44da50
lea eax, [ebp - 0x1c]
lea ecx, [ebp + 0x30]
push eax
call fcn.00417788
push dword [eax + 8]
mov ecx, ebx
mov byte [ebp - 4], 4
push esi
call fcn.0044db5d
cmp byte [ebp - 0x18], 0
mov byte [ebp - 4], 2
je 0x44d9fd
mov ecx, dword [ebp - 0x1c]
push dword [ecx + 0x1c]
call fcn.00416be7
jmp 0x44d9fd
lea ecx, [ebp + 8]
call fcn.00416f0f
lea ecx, [ebp + 0x30]
mov esi, eax
call fcn.00416f0f
push eax
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
jne 0x44daa2
lea eax, [ebp - 0x1c]
lea ecx, [ebp + 0x30]
push eax
call fcn.00417788
push dword [eax + 8]
mov byte [ebp - 4], 5
call edi
push eax
mov ecx, ebx
call fcn.0044db5d
cmp byte [ebp - 0x18], 0
mov byte [ebp - 4], 2
je 0x44da50
mov ecx, dword [ebp - 0x1c]
push dword [ecx + 0x1c]
call fcn.00416be7
jmp 0x44da50
and dword [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.0040be47
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x30]
call fcn.0040be47
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x50

Function at 0x44daf7
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.0042a3ba
pop ecx
test al, al
pop ecx
je 0x44db56
mov ecx, esi
call fcn.00416f0f
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebx, eax
mov ecx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00416f0f
mov edi, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push eax
call edi
test eax, eax
jne 0x44db56
push esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, ebp
call fcn.0044db5d
push ebx
mov ecx, esi
call fcn.00416f0f
push eax
jmp 0x44db36
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x451684
Capabilities:
Enumerate files on windows

Disassembly:
mov eax, 0x46a03c
call fcn.0045aa08
sub esp, 0x168
push ebx
push esi
push 0x4822a0
lea eax, [ebp - 0x34]
push dword [ebp + 8]
push eax
call fcn.00429fe3
add esp, 0xc
lea ecx, [ebp - 0x174]
xor ebx, ebx
push ecx
mov ecx, eax
mov dword [ebp - 4], ebx
call fcn.00416f0f
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.0040be47
cmp esi, 0xffffffff
jne 0x4516de
mov al, 1
jmp 0x45170d
lea eax, [ebp - 0x174]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileA]
push eax
push esi
call edi
test eax, eax
je 0x451701
lea eax, [ebp - 0x174]
push eax
push esi
call edi
test eax, eax
jne 0x451703
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 0x452047
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.0042a3ba
pop ecx
test al, al
pop ecx
je 0x4520a9
mov ecx, esi
call fcn.00416f0f
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebx, eax
mov ecx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00416f0f
mov edi, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push eax
call edi
test eax, eax
jne 0x4520a9
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0
push esi
mov ecx, ebp
call fcn.00451f70
push ebx
mov ecx, esi
call fcn.00416f0f
push eax
jmp 0x452083
pop edi
pop esi
pop ebp
pop ebx
ret 8

Function at 0x4520b0
Capabilities:
Delete file

Disassembly:
mov eax, 0x46a15c
call fcn.0045aa08
push esi
push edi
mov edi, ecx
push dword [ebp + 0x34]
and dword [ebp - 4], 0
lea eax, [ebp + 8]
push eax
call fcn.00452047
lea ecx, [ebp + 8]
call fcn.00416f0f
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push eax
call esi
test eax, eax
jne 0x452110
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 3
je 0x452110
cmp eax, 2
je 0x452110
push dword [ebp + 0x34]
mov ecx, edi
push eax
lea eax, [ebp + 8]
push dword [ebp + 0x30]
push eax
call fcn.00451f70
lea ecx, [ebp + 8]
call fcn.00416f0f
push eax
jmp 0x4520dd
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0040be47
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 0x30
Function at 0x45212c
Capabilities:
Delete directory

Disassembly:
mov eax, 0x46a180
call fcn.0045aa08
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.00452047
lea ecx, [ebp + 8]
call fcn.00416f0f
mov edi, dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push eax
call edi
test eax, eax
jne 0x452255
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp ebx, 3
je 0x452255
cmp ebx, 2
je 0x452255
cmp ebx, 5
jne 0x452199
lea eax, [ebp + 8]
push eax
call fcn.00451684
test al, al
pop ecx
jne 0x4521a1
mov ebx, 0x91
cmp ebx, 0x91
je 0x4521be
push dword [ebp + 0x34]
lea eax, [ebp + 8]
mov ecx, esi
push ebx
push dword [ebp + 0x30]
push eax
call fcn.00451f70
lea ecx, [ebp + 8]
call fcn.00416f0f
push eax
jmp 0x45215d
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 0x482490
push 0x46d3e8
mov eax, dword [eax + esi]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
cmp eax, edi
jl 0x4521f7
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 0x452244
sub esp, 0x28
lea eax, [ebp + 0x37]
mov dword [ebp - 0x14], esp
mov ecx, esp
push edi
push eax
push 0x484ef0
mov dword [ecx], 0x46bb80
mov dword [ecx + 0x20], 0x46bb78
call fcn.00416b4b
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.00429d57
mov byte [ebp - 4], 1
call fcn.004593f6
add esp, 0x50
mov eax, dword [ebp + 0x30]
and byte [ebp - 4], 0
cmp eax, edi
je 0x452255
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0040be47
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x30

Function at 0x456b82
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 0x457c53
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.00457d4f
cmp eax, ebx
mov dword [ebp - 0x10], eax
je 0x457cb5
lea eax, [ebp - 4]
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push SysFreeString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x457cb5
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 0x457cb5
cmp dword [ebp - 0xc], ebx
je 0x457cb5
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.0045793a
add esp, 0x14
cmp dword [ebp + 0xc], ebx
mov dword [esi + 4], eax
je 0x457cd8
cmp dword [ebp + 0xc], 4
jne 0x457cf2
cmp dword [ebp - 0x10], ebx
jne 0x457cf2
cmp word [esi + 0x14], 3
mov ecx, esi
jne 0x457ced
call fcn.00457e56
jmp 0x457cf2
call fcn.00458082
cmp dword [esi + 4], ebx
pop edi
pop esi
setne byte [ebp + 0xf]
cmp dword [ebp - 4], ebx
pop ebx
je 0x457d0a
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, byte [ebp + 0xf]
leave
ret 0x14

Function at 0x457d4f
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, SysReAllocString
push str..htm
mov dword [ebp - 8], ecx
push edi
mov dword [ebp - 4], 0x104
call esi
test eax, eax
jne 0x457e4f
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 0x457e4f
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.0045c040
pop ecx
test eax, eax
pop ecx
je 0x457e4f
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.00429276
lea eax, [ebp - 0x35c]
lea ecx, [ebp - 0x50]
push eax
call fcn.004590e9
mov ecx, dword [ebp - 0x44]
mov eax, dword [ebp - 8]
mov edx, ecx
mov dword [ebp - 0x50], 0x46c678
shr edx, 0x10
mov word [eax + 0x16], cx
lea ecx, [ebp - 0x50]
mov word [eax + 0x14], dx
call fcn.004292de
xor eax, eax
jmp 0x457e52
push 1
pop eax
pop edi
pop esi
leave
ret
Function at 0x457e56
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1190
call fcn.0045aba0
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 SysFreeString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x458024
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 0x458024
cmp dword [ebp - 0x14], 1
jne 0x458024
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 0x457fe7
cmp byte [ebp - 0x148], al
je 0x457fe7
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 0x457fd9
lea eax, [ebp - 0x96c]
push 0x483cc0
push eax
call esi
push dword [ebp - 0x18]
lea eax, [ebp - 0x96c]
push 0x483cbc
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 0x483cb8
push eax
call esi
add edi, 0xc
dec dword [ebp - 0xc]
jne 0x457f3d
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.00457ad8
add esp, 0x10
xor esi, esi
cmp dword [ebp - 4], esi
je 0x458032
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
leave
ret