joyce8/EMBER2024-capa huggingface dataset:
Function at 0x436a90
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5412a8
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x58d038]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x34]
xor ebx, ebx
push ecx
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x2d], bl
mov dword [ebp - 0x34], ebx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0x38], eax
cmp eax, ebx
je 0x436b9f
xor edi, edi
cmp dword [ebp - 0x34], ebx
jle 0x436b90
mov edx, dword [ebp - 0x38]
mov ecx, dword [edx + edi*4]
xor eax, eax
mov word [ebp - 0x2c], ax
mov eax, ecx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
lea esi, [eax + 2]
jmp 0x436b10
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x436b10
sub eax, esi
sar eax, 1
push eax
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00401b70
push 0x10
push ebx
push str._startup_source
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], ebx
call fcn.00403e50
cmp eax, 0xffffffff
jne 0x436b6b
cmp dword [ebp - 0x18], 8
mov dword [ebp - 4], eax
jb 0x436b56
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00480102
add esp, 4
inc edi
cmp edi, dword [ebp - 0x34]
jl 0x436af0
mov ecx, dword [ebp - 0x38]
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov al, byte [ebp - 0x2d]
jmp 0x436ba1
mov ecx, dword [ebp - 0x3c]
push 0xffffffffffffffff
push ebx
lea edx, [ebp - 0x2c]
push edx
call fcn.00401a70
cmp dword [ebp - 0x18], 8
mov byte [ebp - 0x2d], 1
jb 0x436b90
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00480102
add esp, 4
mov ecx, dword [ebp - 0x38]
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov al, byte [ebp - 0x2d]
jmp 0x436ba1
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00480264
mov esp, ebp
pop ebp
ret
Function at 0x43ad40
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push ecx
push edx
mov dword [ebp - 4], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x43ad73
mov eax, 0x80004005
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 0x18]
mov eax, dword [esi]
lea ecx, [ebp - 0xc]
push ecx
mov ecx, dword [ebp + 0x10]
push edx
mov edx, dword [ebp - 4]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push eax
push 0
push ecx
push edx
mov dword [ebp - 8], 3
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [ebp - 8], 3
je 0x43adaf
mov eax, 0x80004005
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
push ecx
mov dword [esi], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x43add0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push ecx
push edx
mov dword [ebp - 4], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43ae38
push esi
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 8]
push ecx
mov ecx, dword [ebp - 4]
lea edx, [ebp - 0x10]
push edx
push 0
push eax
push ecx
mov dword [ebp - 0xc], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [ebp - 4]
push edx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
test esi, esi
pop esi
je 0x43ae3b
mov eax, dword [ebp + 0x14]
mov esp, ebp
pop ebp
ret

Function at 0x43ae40
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov edx, dword [ebp + 0xc]
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 4]
push ecx
push 0
push 0x2001f
push 0
push 0
push 0
push edx
push eax
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x43ae81
xor al, al
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 4]
push esi
push 4
lea ecx, [ebp + 0x14]
push ecx
push 4
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp - 4]
push ecx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
sete al
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x43b180
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x43b29c
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x43b29b
xor eax, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
push ebx
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ebx, dword [ebp - 0x28]
test ebx, ebx
jne 0x43b1d5
mov ebx, 0x1000
mov dword [ebp - 0x28], ebx
mov edx, dword [ebp + 0x10]
lea ecx, [edi + esi - 1]
mov dword [ebp - 8], ecx
xor esi, esi
xor ecx, ecx
mov dword [ebp - 4], edi
test edx, edx
je 0x43b1f7
mov eax, dword [edx]
mov ecx, dword [eax]
cmp ecx, eax
jne 0x43b1f7
mov dword [ebp + 0x10], esi
mov edx, esi
cmp edi, dword [ebp - 8]
jae 0x43b28d
mov edi, ebx
test edx, edx
je 0x43b26f
mov eax, dword [ecx + 0xc]
cmp esi, eax
seta byte [ebp + 0xb]
cmp eax, esi
jae 0x43b228
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
mov ecx, dword [ecx]
cmp ecx, eax
sete dl
test dl, dl
jne 0x43b28a
cmp dword [ecx + 0xc], esi
jb 0x43b218
cmp byte [ebp + 0xb], 0
je 0x43b253
mov eax, dword [ecx + 8]
lea edx, [esi + ebx]
cmp edx, eax
jae 0x43b253
sub eax, esi
xor edx, edx
div ebx
test eax, eax
jne 0x43b247
mov eax, 1
mov edx, dword [ebp + 0x10]
imul eax, ebx
mov edi, eax
add esi, edi
jmp 0x43b277
lea eax, [esi + ebx]
cmp eax, dword [ecx + 8]
jb 0x43b268
cmp esi, dword [ecx + 0xc]
ja 0x43b268
mov edx, dword [ebp - 4]
mov al, byte [edx]
mov ebx, dword [ebp - 0x28]
mov edx, dword [ebp + 0x10]
add esi, edi
jmp 0x43b277
mov eax, dword [ebp - 4]
mov al, byte [eax]
mov ebx, dword [ebp - 0x28]
mov eax, dword [ebp - 4]
add eax, edi
mov dword [ebp - 4], eax
cmp eax, dword [ebp - 8]
jb 0x43b200
jmp 0x43b28d
mov edx, dword [ebp + 0x10]
pop ebx
test edx, edx
je 0x43b296
cmp ecx, dword [edx]
je 0x43b29b
mov ecx, dword [ebp - 8]
mov dl, byte [ecx]
pop esi
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x43b310
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5419d0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x58d038]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov eax, dword [ecx + 0x40]
lea edi, [ecx + 0x40]
test eax, eax
jne 0x43b365
mov eax, dword [0x58930c]
push eax
call fcn.0043ac40
mov esi, eax
mov eax, dword [edi]
add esp, 4
cmp esi, eax
je 0x43b365
push eax
mov ecx, edi
call fcn.0043ac60
mov dword [edi], esi
cmp dword [edi], 0
je 0x43b456
push 0x14
call fcn.004801e4
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
xor eax, eax
push eax
mov dword [esi], eax
push eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
push eax
mov dword [esi + 0xc], eax
push eax
mov dword [ebp - 4], 0
mov dword [esi + 0x10], eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ebx, eax
mov dword [ebp - 0x18], ebx
mov ecx, dword [ebp + 0xc]
mov dword [esi + 0x10], ebx
mov dword [esi + 8], ecx
cmp dword [edi], 0
mov byte [ebp - 4], 1
jne 0x43b3da
mov edx, dword [0x58930c]
push edx
call fcn.0043ac40
mov ecx, dword [edi]
add esp, 4
mov dword [ebp + 0xc], eax
cmp eax, ecx
je 0x43b3da
push ecx
mov ecx, edi
call fcn.0043ac60
mov eax, dword [ebp + 0xc]
mov dword [edi], eax
mov ecx, dword [ebp + 0x10]
mov edi, dword [edi]
push esi
push 0
push ecx
push edi
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x43b41b
push edi
push str._ld_not_overlapped
call fcn.00407410
add esp, 8
test ebx, ebx
je 0x43b410
cmp ebx, 0xffffffff
je 0x43b410
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call fcn.00480102
add esp, 4
jmp 0x43b495
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x43b46c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
push str._ld_readfile_failed:__ld
call fcn.00407410
add esp, 0xc
test ebx, ebx
je 0x43b44d
cmp ebx, 0xffffffff
je 0x43b44d
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call fcn.00480102
add esp, 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov dword [ebp + 0xc], esi
mov esi, dword [ebp - 0x14]
lea edx, [ebp + 0xc]
xor edi, edi
push edx
lea ecx, [esi + 0x10]
mov dword [ebp - 0x10], edi
call fcn.00408290
lea eax, [ebp + 0xc]
push eax
lea ecx, [esi + 0x20]
mov dword [ebp - 0x18], edi
mov dword [ebp + 0xc], ebx
call fcn.00408290
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x43c7e0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x541b90
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x58d038]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x34], eax
mov ax, word [0x589310]
cmp ax, 0xffff
je 0x43c82d
xor ecx, ecx
cmp ax, 1
sete cl
mov eax, ecx
jmp 0x43c849
push 0
push 0
push 6
call fcn.0043ac80
xor edx, edx
add esp, 0xc
test eax, eax
setne dl
mov word [0x589310], dx
xor edi, edi
cmp eax, edi
je 0x43c944
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x30], edi
call fcn.0043c630
mov dword [ebp - 4], edi
cmp ebx, edi
jne 0x43c8c4
mov edx, dword [ebp - 0x34]
xor eax, eax
mov word [ebp - 0x2c], ax
mov eax, edx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], edi
lea esi, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x43c880
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x2c]
call fcn.00401b70
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 1
call fcn.0043c550
cmp dword [ebp - 0x18], 8
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 0
jb 0x43c8ef
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00480102
add esp, 4
jmp 0x43c8ef
mov ecx, dword [ebx]
mov ebx, dword [ecx]
sub esp, 0xc
mov eax, esp
lea edx, [ebp - 0x30]
mov dword [eax], edx
lea esi, [ebp - 0x78]
mov dword [eax + 4], esi
push ecx
lea edi, [ebp - 0x34]
mov dword [eax + 8], edi
lea eax, [ebp - 0x84]
push ebx
push eax
call fcn.0043c6f0
add esp, 0x18
lea ecx, [ebp - 0x78]
call fcn.0043b620
lea ecx, [ebp - 0x58]
push ecx
mov esi, eax
call fcn.0043b040
mov ecx, dword [ebp - 0x30]
xor edx, edx
test al, al
setne dl
push edx
push esi
push ecx
push str.count:__ld__real:__ld__wait:__ld
call fcn.00407410
mov ecx, dword [ebp - 0x30]
add esp, 0x14
test ecx, ecx
je 0x43c92f
cmp esi, ecx
jne 0x43c92f
test al, al
je 0x43c92f
mov bl, 1
jmp 0x43c931
xor bl, bl
lea ecx, [ebp - 0x78]
mov dword [ebp - 4], 0xffffffff
call fcn.0043c170
mov al, bl
jmp 0x43c99f
mov edx, dword [ebp - 0x34]
push 9
push edi
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
cmp esi, edi
jne 0x43c95b
xor al, al
jmp 0x43c99f
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x43c957
mov eax, dword [esi + 0x3c]
add eax, esi
cmp dword [eax], 0x4550
jne 0x43c957
mov edx, 0xe0
cmp word [eax + 0x14], dx
jne 0x43c957
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x43c957
mov edx, dword [eax + 0x50]
push ebx
push edx
push esi
call fcn.0043b180
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00480264
mov esp, ebp
pop ebp
ret
Function at 0x43d240
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x58d038]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x18]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x14]
xor edx, edx
push 0x206
mov dword [ebp - 0x214], eax
push edx
lea eax, [ebp - 0x20a]
mov dword [ebp - 0x210], 0
push eax
mov dword [ebp - 0x218], ecx
mov word [ebp - 0x20c], dx
call fcn.00480280
mov ecx, 8
add esp, 0xc
mov dword [ebp - 0x210], 0x208
cmp dword [edi + 0x14], ecx
jb 0x43d2b1
mov eax, dword [edi]
jmp 0x43d2b3
mov eax, edi
cmp dword [ebx + 0x14], ecx
jb 0x43d2ba
mov ebx, dword [ebx]
lea ecx, [ebp - 0x210]
push ecx
lea edx, [ebp - 0x20c]
push edx
xor edi, edi
push edi
push eax
mov eax, dword [ebp - 0x214]
push ebx
push eax
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
xor ecx, ecx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], edi
test eax, eax
je 0x43d311
mov edx, dword [ebp - 0x218]
push 0xffffffffffffffff
push edi
mov word [esi], cx
push edx
mov ecx, esi
call fcn.00401a70
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00480264
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x210]
shr eax, 1
dec eax
push eax
lea edx, [ebp - 0x20c]
mov word [esi], cx
push edx
mov ecx, esi
call fcn.00401b70
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.00480264
mov esp, ebp
pop ebp
ret
Function at 0x43e6c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x541e3d
mov eax, dword fs:[0]
push eax
sub esp, 0x834
mov eax, dword [0x58d038]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
xor ebx, ebx
mov dword [ebp - 0x83c], ebx
xor ecx, ecx
mov dword [ebp - 0x830], ebx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
mov dword [ebp - 0x840], esi
mov word [esi], cx
cmp dword [eax + 0x14], 8
mov dword [ebp - 4], ebx
mov dword [ebp - 0x83c], 1
jb 0x43e72f
mov eax, dword [eax]
lea edx, [ebp - 0x830]
push edx
push 0x20019
push ebx
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43e7ff
push 0x7fe
lea ecx, [ebp - 0x80e]
push ebx
push ecx
mov word [ebp - 0x810], ax
call fcn.00480280
add esp, 0xc
cmp dword [edi + 0x14], 8
mov dword [ebp - 0x838], 0x400
mov dword [ebp - 0x834], 1
jb 0x43e788
mov edi, dword [edi]
lea edx, [ebp - 0x838]
push edx
mov edx, dword [ebp - 0x830]
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x834]
push ecx
push ebx
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43e7f2
mov edi, 1
cmp dword [ebp - 0x834], edi
jne 0x43e7f2
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x82c]
call fcn.00401fd0
push eax
mov ecx, esi
mov dword [ebp - 4], edi
call fcn.00402560
cmp dword [ebp - 0x818], 8
jb 0x43e7f2
mov ecx, dword [ebp - 0x82c]
push ecx
call fcn.00480102
add esp, 4
mov edx, dword [ebp - 0x830]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00480264
mov esp, ebp
pop ebp
ret
Function at 0x4461b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x543388
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x58d038]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov edx, dword [esi + 0x30]
mov ecx, dword [esi + 0x2c]
mov edi, edx
xor al, al
push edx
mov dword [ebp - 4], 0
rep stosb byte es:[edi], al
call fcn.004adeb0
mov ecx, dword [esi + 0xc]
add esp, 4
mov dword [ebp - 4], 0xffffffff
test ecx, ecx
je 0x44620c
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
test byte [ebp + 8], 1
je 0x44621b
push esi
call fcn.00480102
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x447500
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53d7a0
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x58d038]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov edx, dword [esi + 0x50]
mov ecx, dword [esi + 0x4c]
mov edi, edx
xor al, al
push edx
mov dword [ebp - 4], 0
rep stosb byte es:[edi], al
call fcn.004adeb0
mov edx, dword [esi + 0x30]
mov ecx, dword [esi + 0x2c]
mov edi, edx
xor al, al
push edx
mov dword [ebp - 4], 1
rep stosb byte es:[edi], al
call fcn.004adeb0
mov ecx, dword [esi + 0xc]
add esp, 8
mov dword [ebp - 4], 0xffffffff
test ecx, ecx
je 0x447575
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
test byte [ebp + 8], 1
je 0x447584
push esi
call fcn.00480102
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x4475a0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x542dde
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x58d038]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
push ebx
mov dword [ebp - 0x5c], esi
call fcn.00442300
mov eax, dword [ebp + 0xc]
mov dword [esi + 0xc], eax
mov dword [esi + 0x14], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov ecx, dword [ebp + 8]
mov dword [esi], vtable.CryptoPP::SignatureVerificationFilter.1.0
mov dword [esi + 4], vtable.CryptoPP::SignatureVerificationFilter.0
mov dword [esi + 0x44], ecx
mov dword [ebp - 4], 3
mov dword [esi + 0x48], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
push 1
lea edx, [ebp + 0x10]
push edx
lea eax, [ebp - 0x68]
push str.SignatureVerificationFilterFlags
push eax
mov byte [ebp - 4], 7
call fcn.00447230
add esp, 0x10
mov edx, dword [esi]
mov edx, dword [edx + 0xbc]
lea ecx, [esi + 0x20]
push ecx
lea ecx, [esi + 0x1c]
push ecx
lea ecx, [esi + 0x18]
push ecx
push eax
mov ecx, esi
mov byte [ebp - 4], 8
call edx
cmp dword [esi + 0x1c], 1
jb 0x44768c
mov eax, dword [esi + 0x18]
push eax
push 1
lea ecx, [esi + 0x28]
call fcn.00446120
mov ecx, dword [ebp - 0x64]
mov byte [esi + 0x24], bl
mov byte [ebp - 4], 7
cmp ecx, ebx
je 0x44766c
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00480264
mov esp, ebp
pop ebp
ret 0xc
push 0x2c
mov esi, 0xf
push str.FilterWithBufferedInput:_invalid_buffer_size
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x48], ebx
mov byte [ebp - 0x58], bl
call fcn.00408300
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 9
call fcn.004802fa
push 0xffffffffffffffff
push ebx
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x3c], vtable.CryptoPP::Exception.0
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.00408080
push 0x57a808
lea edx, [ebp - 0x3c]
push edx
mov byte [ebp - 4], 9
mov dword [ebp - 0x3c], vtable.CryptoPP::InvalidArgument.0
call fcn.00480bd1
int3

Function at 0x447940
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
pop ebp
ret
Function at 0x4480d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x14]
mov ecx, edi
shr ecx, 2
xor eax, eax
test ecx, ecx
je 0x44811b
mov edi, ebx
sub esi, edx
mov eax, edx
sub edi, edx
mov dword [ebp - 4], ecx
lea esp, [esp]
mov ebx, dword [esi + eax]
xor ebx, dword [eax]
add eax, 4
dec ecx
mov dword [edi + eax - 4], ebx
jne 0x448100
mov edi, dword [ebp + 0x14]
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 4]
add eax, eax
add eax, eax
sub edi, eax
je 0x448144
add ebx, eax
add esi, eax
add edx, eax
test edi, edi
je 0x448144
mov ecx, esi
mov esi, ebx
sub ecx, edx
mov eax, edx
sub esi, edx
mov dl, byte [eax + ecx]
xor dl, byte [eax]
inc eax
dec edi
mov byte [eax + esi - 1], dl
jne 0x448137
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x448150
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
mov eax, esi
shr eax, 2
xor ecx, ecx
xor edx, edx
push edi
mov edi, dword [ebp + 0xc]
test eax, eax
je 0x44818c
mov esi, ebx
mov edx, edi
sub esi, edi
mov dword [ebp - 4], eax
mov ebx, dword [esi + edx]
xor ebx, dword [edx]
add edx, 4
or ecx, ebx
dec eax
jne 0x448176
mov esi, dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
mov edx, dword [ebp - 4]
lea eax, [edx*4]
sub esi, eax
jne 0x4481a5
pop edi
xor eax, eax
test ecx, ecx
pop esi
sete al
pop ebx
mov esp, ebp
pop ebp
ret
add ebx, eax
add edi, eax
mov eax, ecx
mov edx, ecx
shr edx, 0x10
shr eax, 0x18
or al, dl
mov edx, ecx
shr edx, 8
or dl, al
or dl, cl
test esi, esi
je 0x4481d3
mov ecx, ebx
mov eax, edi
sub ecx, edi
mov bl, byte [eax + ecx]
xor bl, byte [eax]
inc eax
or dl, bl
dec esi
jne 0x4481c8
pop edi
xor eax, eax
test dl, dl
pop esi
sete al
pop ebx
mov esp, ebp
pop ebp
ret