joyce8/EMBER2024-capa huggingface dataset:
Function at 0x445cdb
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0043892c
and dword [ebp - 4], 0
cmp dword [0x460d6c], 0
mov ebx, eax
jne 0x445d8c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x445e3d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x455738
push edi
call esi
test eax, eax
je 0x445e3d
push eax
call fcn.004388ba
mov dword [esp], 0x455728
push edi
mov dword [0x460d6c], eax
call esi
push eax
call fcn.004388ba
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x460d70], eax
call esi
push eax
call fcn.004388ba
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x460d74], eax
call esi
push eax
call fcn.004388ba
pop ecx
mov dword [0x460d7c], eax
test eax, eax
je 0x445d8c
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004388ba
pop ecx
mov dword [0x460d78], eax
mov eax, dword [0x460d78]
cmp eax, ebx
je 0x445de4
cmp dword [0x460d7c], ebx
je 0x445de4
push eax
call fcn.00438935
push dword [0x460d7c]
mov esi, eax
call fcn.00438935
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x445de4
test edi, edi
je 0x445de4
call esi
test eax, eax
je 0x445ddb
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x445ddb
test byte [ebp - 0xc], 1
jne 0x445de4
or dword [ebp + 0x10], 0x200000
jmp 0x445e1d
mov eax, dword [0x460d70]
cmp eax, ebx
je 0x445e1d
push eax
call fcn.00438935
pop ecx
test eax, eax
je 0x445e1d
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x445e1d
mov eax, dword [0x460d74]
cmp eax, ebx
je 0x445e1d
push eax
call fcn.00438935
pop ecx
test eax, eax
je 0x445e1d
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x460d6c]
call fcn.00438935
pop ecx
test eax, eax
je 0x445e3d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x445e3f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40277a
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
mov dword [ebp - 8], esp
mov eax, 0
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x4027ca
push 6
call fcn.0044f0de
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp + 0x18], 0
jne 0x402808
cmp dword [ebp - 4], 0
je 0x402803
mov dword [ebp - 8], esp
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x402803
push 6
call fcn.0044f0de
add esp, 4
jmp 0x402810
mov eax, dword [ebp - 4]
mov ebx, dword [ebp + 0x14]
mov dword [ebx], eax
cmp dword [ebp - 4], 0
mov eax, 0
setne al
jmp 0x402821
mov esp, ebp
pop ebp
ret 0x14

Function at 0x402827
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0
push 0x80000301
push 0
push 4
push 0x80000301
push 0
push 3
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x402864
mov eax, 0x4762fd
push eax
push 3
mov ebx, 0x270
call fcn.00454270
add esp, 0x28
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x40294a
push 0x80000301
push 0
push dword [ebp - 4]
push 1
mov ebx, 0x278
call fcn.00454350
add esp, 0x10
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x4028b5
mov eax, 0x4762fd
push eax
push 1
mov ebx, 0x244
call fcn.00454070
add esp, 0x10
call fcn.00401a03
mov dword [ebp - 8], eax
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x4028e5
mov eax, 0x4762fd
push eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x4028f9
mov eax, 0x4762fd
push eax
push 2
mov ebx, 0x23c
call fcn.00454080
add esp, 0x1c
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40291c
push ebx
call fcn.0044f0d8
add esp, 4
mov dword [ebp - 8], esp
push 5
mov ebx, dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_WinExec]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x402945
push 6
call fcn.0044f0de
add esp, 4
jmp 0x4029dd
push dword [ebp + 8]
call fcn.004029f5
and eax, 1
xor eax, 1
test eax, eax
je 0x4029b4
call fcn.00401a03
mov dword [ebp - 8], eax
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x40297d
mov eax, 0x4762fd
push eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x402991
mov eax, 0x4762fd
push eax
push 2
mov ebx, 0x23c
call fcn.00454080
add esp, 0x1c
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4029b4
push ebx
call fcn.0044f0d8
add esp, 4
mov dword [ebp - 8], esp
push 5
mov ebx, dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_WinExec]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x4029dd
push 6
call fcn.0044f0de
add esp, 4
push 0x632c29
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x90]
mov esp, ebp
pop ebp
ret 4
Function at 0x4029f5
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], 0
mov dword [ebp - 8], esp
mov ebx, dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x402a29
push 6
call fcn.0044f0de
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jne 0x402a9d
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x402a4b
mov eax, 0x4762fd
push eax
push 1
mov ebx, 0x25c
call fcn.00454360
add esp, 0x10
mov dword [ebp - 4], eax
push 0x80000301
push 0
push 0x20
push 0x80000301
push 0
push dword [ebp - 4]
push 2
mov ebx, 0xc4
call fcn.00454370
add esp, 0x1c
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
mov eax, 0
setne al
jmp 0x402aa7
mov eax, 0
jmp 0x402aa7
mov esp, ebp
pop ebp
ret 4
Function at 0x40a0eb
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0
push 0x80000301
push 0
push 0x200
push 1
mov ebx, 0x184
call fcn.00453c20
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40a130
push ebx
call fcn.0044f0d8
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push dword [ebp - 4]
push 0x200
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x40a15b
push 6
call fcn.0044f0de
add esp, 4
push 0x80000301
push 0
push 1
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x40a17a
mov eax, 0x4762fd
push eax
push 2
mov ebx, 0x138
call fcn.00453ff0
add esp, 0x1c
mov dword [ebp - 8], eax
push 0x80000101
push 0
push 0x5c
push 1
mov ebx, 0x140
call fcn.00453c60
add esp, 0x10
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
push dword [ebp - 8]
call fcn.00401df3
add esp, 8
cmp eax, 0
mov eax, 0
setne al
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40a1de
push ebx
call fcn.0044f0d8
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40a1ee
push ebx
call fcn.0044f0d8
add esp, 4
push 0x80000101
push 0
push 0x5c
push 1
mov ebx, 0x140
call fcn.00453c60
add esp, 0x10
mov dword [ebp - 0x14], eax
push dword [ebp - 0x14]
push dword [ebp - 4]
mov ecx, 2
call fcn.004010e6
add esp, 8
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40a235
push ebx
call fcn.0044f0d8
add esp, 4
cmp dword [ebp - 0x10], 0
je 0x40a260
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x40a25b
push eax
mov ebx, eax
call fcn.0040107b
inc eax
push eax
call fcn.0044f0d2
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x40a27c
mov eax, dword [ebp - 4]
test eax, eax
je 0x40a27c
push eax
mov ebx, eax
call fcn.0040107b
inc eax
push eax
call fcn.0044f0d2
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40a28f
push ebx
call fcn.0044f0d8
add esp, 4
mov eax, dword [ebp - 0x1c]
jmp 0x40a297
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40a2a8
push ebx
call fcn.0044f0d8
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret
Function at 0x4100be
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], esp
push dword [ebp + 8]
push dword [0x632c45]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x41010b
push 6
call fcn.0044f0de
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x410122
mov eax, 0x476373
jmp 0x410220
mov dword [ebp - 0x14], esp
push dword [ebp + 8]
push dword [0x632c45]
call dword [sym.imp.KERNEL32.dll_LoadResource]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x41014a
push 6
call fcn.0044f0de
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x410161
mov eax, 0x476373
jmp 0x410220
mov dword [ebp - 0x14], esp
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_LockResource]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x410183
push 6
call fcn.0044f0de
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x41019a
mov eax, 0x476373
jmp 0x410220
push 0x80000301
push 0
push dword [ebp - 4]
push 1
mov ebx, 0x1bc
call fcn.004543b0
add esp, 0x10
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4101cd
push ebx
call fcn.0044f0d8
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], esp
push dword [ebp - 4]
push dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4101e4
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_RtlMoveMemory]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x410201
push 6
call fcn.0044f0de
add esp, 4
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x41021b
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.0044f0d2
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x410220
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x410231
push ebx
call fcn.0044f0d8
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4

Function at 0x4121a0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ebx, dword [0x632c81]
mov dword [ebp - 4], ebx
push 0x4762fd
mov ebx, dword [ebp - 4]
push dword [ebx]
call fcn.00401df3
add esp, 8
cmp eax, 0
je 0x412271
mov ebx, dword [0x632c81]
mov dword [ebp - 4], ebx
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.00453c60
add esp, 0x10
mov dword [ebp - 8], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.00453c60
add esp, 0x10
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esp
push 1
push dword [ebp - 0xc]
push dword [ebp - 8]
mov ebx, dword [ebp - 4]
push dword [ebx]
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x412251
push 6
call fcn.0044f0de
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x412261
push ebx
call fcn.0044f0d8
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x412271
push ebx
call fcn.0044f0d8
add esp, 4
mov esp, ebp
pop ebp
ret
Function at 0x41a527
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.00453c60
add esp, 0x10
mov dword [ebp - 4], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.00453c60
add esp, 0x10
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push 1
push dword [ebp - 8]
push dword [ebp - 4]
push str.http:__www.vmoyu.com_v.html
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x41a5ab
push 6
call fcn.0044f0de
add esp, 4
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41a5bb
push ebx
call fcn.0044f0d8
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x41a5cb
push ebx
call fcn.0044f0d8
add esp, 4
mov esp, ebp
pop ebp
ret
Function at 0x41e437
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push dword [ebp + 8]
call fcn.0041e4cd
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], esp
push 0x40
push 0x1000
push dword [ebp - 4]
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x41e48a
push 6
call fcn.0044f0de
add esp, 4
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push dword [ebp - 4]
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
je 0x41e49f
add eax, 8
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_RtlMoveMemory]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x41e4bf
push 6
call fcn.0044f0de
add esp, 4
mov eax, dword [ebp - 8]
jmp 0x41e4c7
mov esp, ebp
pop ebp
ret 4
Function at 0x420b2e
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], 0
mov dword [ebp - 4], 0
mov dword [ebp - 8], esp
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x420b69
push 6
call fcn.0044f0de
add esp, 4
mov dword [ebp - 0xc], eax
push 0x80000301
push 0
push 0x8000
push 0x80000301
push 0
push dword [ebp - 0xc]
push 2
mov ebx, 0xc4
call fcn.00454370
add esp, 0x1c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x420bcc
push 0x80000301
push 0
push 1
push 0x80000301
push 0
push dword [ebp - 4]
push 2
mov ebx, 0xc8
call fcn.00453d90
add esp, 0x1c
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push 0x10
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x420bf0
push 6
call fcn.0044f0de
add esp, 4
mov dword [ebp - 0xc], eax
push 0x80000301
push 0
push 0x8000
push 0x80000301
push 0
push dword [ebp - 0xc]
push 2
mov ebx, 0xc4
call fcn.00454370
add esp, 0x1c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x420c53
push 0x80000301
push 0
push 2
push 0x80000301
push 0
push dword [ebp - 4]
push 2
mov ebx, 0xc8
call fcn.00453d90
add esp, 0x1c
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push 0x12
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x420c77
push 6
call fcn.0044f0de
add esp, 4
mov dword [ebp - 0xc], eax
push 0x80000301
push 0
push 0x8000
push 0x80000301
push 0
push dword [ebp - 0xc]
push 2
mov ebx, 0xc4
call fcn.00454370
add esp, 0x1c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x420cda
push 0x80000301
push 0
push 4
push 0x80000301
push 0
push dword [ebp - 4]
push 2
mov ebx, 0xc8
call fcn.00453d90
add esp, 0x1c
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x420ce2
mov esp, ebp
pop ebp
ret
Function at 0x425177
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], esp
mov ebx, dword [ebp - 0xc]
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x4251bd
push 6
call fcn.0044f0de
add esp, 4
mov dword [ebp - 0x1c], eax
fild dword [ebp - 0x1c]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
fadd qword [0x4762f5]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
call fcn.00401142
mov dword [ebp - 4], eax
push 0x80000301
push 0
push dword [ebp - 4]
push 1
mov ebx, 0x184
call fcn.00453c20
add esp, 0x10
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x425210
push ebx
call fcn.0044f0d8
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], esp
push dword [ebp - 4]
push dword [ebp - 8]
mov ebx, dword [ebp - 0xc]
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextA]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x425249
push 6
call fcn.0044f0de
add esp, 4
mov eax, dword [ebp - 8]
test eax, eax
je 0x425265
push eax
mov ebx, eax
call fcn.0040107b
inc eax
push eax
call fcn.0044f0d2
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x42526a
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x42527b
push ebx
call fcn.0044f0d8
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4
Function at 0x453bd0
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
cmp edx, 1
jle 0x453bee
push esi
lea ecx, [esp + 0x18]
dec edx
mov esi, dword [ecx]
add ecx, 0xc
xor eax, esi
dec edx
jne 0x453be3
pop esi
ret

Function at 0x453e50
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x18]
push ebx
push ebp
push esi
push edi
push eax
call fcn.00457450
mov esi, dword [esp + 0x38]
mov ebx, eax
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
add esp, 4
xor ebp, ebp
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x10], ebp
test ebx, ebx
je 0x453fa0
test ecx, ecx
je 0x453fa0
inc ecx
push ecx
call fcn.00464b1e
mov ebp, eax
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x5c
mov edx, ecx
mov esi, edi
mov edi, ebp
push ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00459320
mov edi, eax
add esp, 0xc
test edi, edi
je 0x453ec9
mov byte [edi], 0
inc edi
lea eax, [esp + 0x1c]
push eax
push ebp
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x453f8d
push 0x400
mov dword [esp + 0x18], 0x400
mov dword [esp + 0x1c], 1
call fcn.00464b1e
add esp, 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0x14]
mov esi, eax
mov eax, dword [esp + 0x1c]
push ecx
lea edx, [esp + 0x1c]
push esi
push edx
push 0
push edi
push eax
call ebx
test eax, eax
je 0x453f51
cmp eax, 0xea
jne 0x453f79
push esi
call fcn.00464b47
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00464b1e
mov ecx, dword [esp + 0x24]
add esp, 8
lea edx, [esp + 0x14]
mov esi, eax
push edx
lea eax, [esp + 0x1c]
push esi
push eax
push 0
push edi
push ecx
call ebx
test eax, eax
jne 0x453f1c
mov eax, dword [esp + 0x18]
cmp eax, 1
je 0x453f5f
cmp eax, 2
jne 0x453f79
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push esi
call fcn.004573c0
add esp, 8
mov dword [esp + 0x10], eax
push esi
call fcn.00464b47
mov edx, dword [esp + 0x20]
add esp, 4
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebp
call fcn.00464b47
mov eax, dword [esp + 0x14]
add esp, 4
test eax, eax
jne 0x453fce
mov ebp, eax
mov eax, dword [esp + 0x48]
test eax, eax
je 0x453fda
mov edx, dword [esp + 0x40]
test edx, edx
je 0x453fda
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
call fcn.004573c0
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x4540a0
Capabilities:
Set registry value

Disassembly:
mov eax, dword [esp + 0x28]
sub esp, 0x18
push ebx
push ebp
xor ebx, ebx
xor ebp, ebp
cmp eax, 0x80000301
push edi
ja 0x454120
je 0x454111
cmp eax, 0x80000101
ja 0x45410a
je 0x454111
cmp eax, reloc.WS2_32.dll_connect
je 0x4540ed
cmp eax, 0x80000005
jne 0x454135
mov eax, dword [esp + 0x44]
mov dword [esp + 0xc], 3
test eax, eax
je 0x45417b
mov ebx, dword [eax + 4]
lea ebp, [eax + 8]
jmp 0x45417b
mov ebp, dword [esp + 0x44]
or ecx, 0xffffffff
mov edi, ebp
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0xc], 1
mov ebx, ecx
inc ebx
jmp 0x45417b
cmp eax, 0x80000201
jne 0x454135
mov ebx, 4
lea ebp, [esp + 0x44]
mov dword [esp + 0xc], ebx
jmp 0x45417b
cmp eax, 0x80000401
je 0x454166
cmp eax, 0x80000501
je 0x454152
cmp eax, 0x80000601
je 0x45413e
pop edi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret
fld qword [esp + 0x44]
mov ebx, 4
mov dword [esp + 0xc], ebx
call fcn.00459348
jmp 0x454173
fld dword [esp + 0x44]
mov ebx, 4
mov dword [esp + 0xc], ebx
call fcn.00459348
jmp 0x454173
mov eax, dword [esp + 0x44]
mov ebx, 4
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], eax
lea ebp, [esp + 0x10]
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.00457450
mov edi, dword [esp + 0x3c]
mov edx, eax
or ecx, 0xffffffff
xor eax, eax
add esp, 4
mov dword [esp + 0x20], edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x18], 0
test edx, edx
je 0x454256
test ecx, ecx
je 0x454256
inc ecx
push esi
push ecx
call fcn.00464b1e
mov edi, dword [esp + 0x40]
mov edx, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x5c
mov eax, ecx
mov esi, edi
mov edi, edx
push edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov dword [esp + 0x2c], edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00459320
mov esi, eax
add esp, 0xc
test esi, esi
je 0x4541f8
mov byte [esi], 0
inc esi
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x18]
push 0
push ecx
push 0
push 0x20006
push 0
push 0
push 0
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x45424c
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
push ebx
push ebp
push eax
push 0
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x454241
mov dword [esp + 0x1c], 1
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
call fcn.00464b47
add esp, 4
pop esi
mov eax, dword [esp + 0x18]
pop edi
pop ebp
pop ebx
add esp, 0x18
ret

Function at 0x454360
Capabilities:
Get file attributes

Disassembly:
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
ret