joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44dc00
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
lea eax, [ebx + 0x110]
call fcn.0045332e
push str._SystemFolder_msiexec.exe
lea eax, [ebp - 8]
push eax
call fcn.00411bf8
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
call fcn.00453736
pop ecx
pop ecx
lea ecx, [ebp - 8]
call fcn.00403833
xor esi, esi
cmp dword [ebx], esi
je 0x44dc4b
call fcn.0044dcfd
lea edi, [ebp - 4]
call fcn.00407ece
mov ecx, dword [ebp + 8]
push 1
lea eax, [ebp - 4]
push 0x20
push eax
lea edi, [ebp - 0xc]
call fcn.00448e20
add esp, 0xc
push 0x4da8bc
mov byte [ebp + 0xb], al
call fcn.00454092
cmp byte [ebp + 0xb], 0
jne 0x44dcde
cmp byte [0x4d88cc], 0
lea eax, [ebp + 8]
push eax
je 0x44dca0
call fcn.004038ab
push 0x83
lea eax, [ebp + 8]
push eax
call fcn.00411bb3
push esi
lea esi, [ebp + 8]
call fcn.00453f4a
pop ecx
jmp 0x44dcbc
call fcn.004038ab
push 0x83
lea eax, [ebp + 8]
push eax
call fcn.00411bb3
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [ebp + 8]
call fcn.00403833
push 7
mov dword [ebx + 8], 1
pop esi
lea ecx, [ebp - 4]
call fcn.00403833
pop edi
mov eax, esi
pop esi
leave
ret 4
mov eax, dword [ebp - 0xc]
mov dword [ebx + 8], eax
jmp 0x44dcce

Function at 0x44f33e
Capabilities:
Delete directory
Delete file

Disassembly:
push esi
push edi
mov edi, eax
cmp byte [edi + 0xac], 0
mov dword [edi], 0x4b8be4
je 0x44f3d5
cmp dword [edi + 0x78], 3
je 0x44f386
call fcn.00450281
mov eax, dword [edi + 0x78]
cmp eax, 2
je 0x44f386
cmp eax, 1
je 0x44f386
mov eax, dword [edi + 0x40]
mov ecx, eax
shr ecx, 3
test cl, 1
jne 0x44f381
shr eax, 6
test al, 1
je 0x44f386
call fcn.0044f8e4
push ebx
mov ebx, dword [edi + 0x94]
xor esi, esi
test ebx, ebx
jle 0x44f3b1
push ebp
lea ebp, [edi + 0x90]
mov eax, esi
mov ecx, ebp
call fcn.0045111e
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
inc esi
cmp esi, ebx
jl 0x44f39a
pop ebp
mov esi, dword [edi + 0xa0]
dec esi
js 0x44f3d4
lea ebx, [edi + 0x9c]
mov eax, esi
mov ecx, ebx
call fcn.0045111e
push dword [eax]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
dec esi
jns 0x44f3c0
pop ebx
lea ecx, [edi + 0xb0]
call fcn.00403833
lea ecx, [edi + 0xa8]
call fcn.00403833
lea esi, [edi + 0x9c]
call fcn.004326db
lea esi, [edi + 0x90]
call fcn.004326db
lea esi, [edi + 0x84]
call fcn.004511d5
mov eax, dword [edi + 0x6c]
test eax, eax
je 0x44f41e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [edi + 0x6c], 0
lea esi, [edi + 0x60]
call fcn.0045119b
lea ecx, [edi + 0x5c]
call fcn.00403833
lea ecx, [edi + 0x58]
call fcn.00403833
lea ecx, [edi + 0x54]
call fcn.00403833
lea ecx, [edi + 0x50]
pop edi
pop esi
jmp fcn.00403833
Function at 0x44f8e4
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [edi + 0x58]
push eax
lea eax, [ebp - 4]
push eax
call fcn.00418dc7
mov eax, dword [edi + 0x40]
xor edx, edx
inc edx
test dl, al
jne 0x44f935
shr eax, 3
movzx ecx, al
and al, dl
and ecx, edx
movzx eax, al
add ecx, ecx
or ecx, edx
neg eax
sbb eax, eax
and eax, 7
push ecx
push eax
mov eax, edi
call fcn.0044fe7f
lea ecx, [edi + 0x60]
call fcn.00451068
mov esi, eax
lea eax, [ebp - 8]
add esi, 0x18
push eax
jmp 0x44f97d
shr eax, 6
test dl, al
je 0x44f999
lea esi, [ebp - 8]
mov ecx, edi
call fcn.00450f33
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
lea eax, [ebp - 4]
call fcn.0043164c
mov ecx, esi
call fcn.00403833
lea eax, [ebp - 4]
call fcn.00442ef0
push 6
mov eax, edi
call fcn.0044fec3
lea ecx, [edi + 0x84]
call fcn.004510fd
lea ecx, [ebp - 8]
push ecx
mov esi, eax
call fcn.004432f0
mov eax, dword [eax]
pop ecx
push dword [eax - 0xc]
push eax
lea eax, [ebp - 4]
call fcn.0043164c
lea ecx, [ebp - 8]
call fcn.00403833
lea eax, [ebp - 4]
push eax
call fcn.00443660
pop ecx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea ecx, [ebp - 4]
call fcn.00403833
xor eax, eax
pop esi
leave
ret
Function at 0x450281
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [edi + 0x40]
sub esp, 0x10
test al, 1
je 0x450299
shr eax, 6
test al, 1
je 0x45034f
mov eax, dword [edi + 0x64]
and dword [ebp - 8], 0
mov dword [ebp - 0x10], eax
test eax, eax
jle 0x45034f
push ebx
push esi
mov eax, dword [ebp - 8]
lea ecx, [edi + 0x60]
call fcn.00451068
mov esi, eax
cmp byte [esi + 0x1c], 0
je 0x45033e
mov eax, dword [esi]
cmp eax, 1
je 0x4502d9
cmp eax, 3
je 0x4502d9
cmp eax, 0x64
jb 0x4502f1
cmp dword [edi + 0x78], 2
jne 0x4502f1
jmp 0x45033e
mov eax, dword [edi + 0x78]
cmp eax, 4
je 0x4502f1
cmp eax, 2
je 0x45033e
cmp eax, 1
je 0x45033e
test byte [esi + 8], 1
jne 0x45033e
lea ebx, [edi + 0x58]
push ebx
lea eax, [ebp - 4]
push eax
call fcn.00418dc7
mov esi, dword [esi + 0x18]
push dword [esi - 0xc]
lea eax, [ebp - 4]
push esi
call fcn.0043164c
lea esi, [ebp - 4]
call fcn.0040794e
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0xc]
push ebx
push eax
call fcn.004432f0
pop ecx
push eax
call fcn.00443ac0
pop ecx
pop ecx
lea ecx, [ebp - 0xc]
call fcn.00403833
mov ecx, esi
call fcn.00403833
inc dword [ebp - 8]
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x10]
jl 0x4502ad
pop esi
pop ebx
leave
ret
Function at 0x450351
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
mov esi, eax
mov edi, 0x400
push edi
lea eax, [ebp - 4]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.0044a750
test al, al
jne 0x450387
push 3
pop esi
push dword [ebp - 4]
call fcn.00482a4b
pop ecx
mov eax, esi
jmp 0x4504ac
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ebx
inc dword [ebp - 0xc]
add dword [ebp - 8], edi
add dword [ebp - 0x10], 0xa
cmp dword [ebp - 0xc], 1
mov eax, dword [ebp - 8]
jle 0x4503a9
sub eax, dword [ebp - 0x10]
mov ecx, dword [esi + 0x6c]
push 2
push ebx
neg eax
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0x1c], eax
cmp eax, 0xffffffff
je 0x45042a
mov eax, dword [esi + 0x6c]
push ebx
lea ecx, [ebp - 0x14]
push ecx
push edi
push dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4504a0
cmp dword [ebp - 0x14], edi
jne 0x4504a0
xor eax, eax
jmp 0x4503eb
xor ebx, ebx
mov ecx, dword [ebp - 4]
xor edx, edx
add ecx, eax
mov bl, byte [ecx]
cmp bl, byte [edx + str.ADVINSTSFX]
jne 0x450403
inc edx
inc ecx
cmp edx, 0xa
jl 0x4503f2
cmp edx, 0xa
jne 0x450416
mov ecx, dword [ebp - 0x1c]
lea ebx, [eax + ecx - 0x40]
mov dword [ebp - 0x18], ebx
add eax, edx
jmp 0x450419
mov ebx, dword [ebp - 0x18]
inc eax
cmp eax, 0x3f6
jb 0x4503e9
test ebx, ebx
jne 0x450431
jmp 0x450393
push 2
jmp 0x450376
mov eax, dword [esi + 0x6c]
push 0
push 0
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x45042a
mov eax, dword [esi + 0x6c]
push 0
lea ecx, [ebp - 0x14]
push ecx
push 0x4c
lea ecx, [esi + 4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x45042a
cmp dword [ebp - 0x14], 0
je 0x45042a
xor eax, eax
movzx ecx, byte [esi + eax + 0x44]
movsx edx, byte [eax + str.ADVINSTSFX]
cmp ecx, edx
jne 0x450499
inc eax
cmp eax, 0xa
jl 0x450467
cmp dword [esi + 0x10], 0x64
jne 0x450499
sub ebx, dword [esi + 0x14]
push dword [ebp - 4]
mov dword [esi + 0x80], ebx
call fcn.00482a4b
pop ecx
xor eax, eax
jmp 0x4504ac
push 5
jmp 0x450376
push dword [ebp - 4]
call fcn.00482a4b
pop ecx
push 2
pop eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4504b1
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
xor ebx, ebx
push edi
cmp dword [esi + 0xc], ebx
jne 0x4504c7
xor eax, eax
jmp 0x4505d9
mov ecx, dword [esi + 0x80]
add ecx, dword [esi + 0x18]
mov eax, dword [esi + 0x6c]
push ebx
push ebx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x4504ea
push 2
pop eax
jmp 0x4505d9
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
call fcn.004038ab
mov byte [ebp - 0x10], bl
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
cmp dword [esi + 0xc], ebx
jbe 0x4505c6
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esi + 0x6c]
push ebx
lea ecx, [ebp - 0xc]
push ecx
push 0x18
lea ecx, [ebp - 0x2c]
push ecx
push eax
call edi
test eax, eax
je 0x4505c3
cmp dword [ebp - 0xc], ebx
je 0x4505c3
cmp dword [ebp - 4], ebx
je 0x450550
push dword [ebp - 4]
call fcn.00482a4b
pop ecx
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 4]
inc eax
push ecx
call fcn.00450f73
test al, al
je 0x4505bf
mov eax, dword [esi + 0x6c]
push ebx
lea ecx, [ebp - 0xc]
push ecx
mov ecx, dword [ebp - 0x18]
add ecx, ecx
push ecx
push dword [ebp - 4]
push eax
call edi
test eax, eax
je 0x4505c3
cmp dword [ebp - 0xc], ebx
je 0x4505c3
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 4]
xor eax, eax
mov word [edx + ecx*2], ax
lea eax, [ebp - 0x2c]
lea ebx, [esi + 0x60]
push eax
call fcn.00450fce
mov eax, dword [ebp - 8]
mov ecx, ebx
call fcn.00451068
push dword [ebp - 4]
add eax, 0x18
push eax
call fcn.00409f03
inc dword [ebp - 8]
mov eax, dword [ebp - 8]
xor ebx, ebx
cmp eax, dword [esi + 0xc]
jb 0x45051d
jmp 0x4505c6
push 3
jmp 0x4505c5
push 2
pop ebx
push dword [ebp - 4]
call fcn.00482a4b
pop ecx
lea ecx, [ebp - 0x14]
call fcn.00403833
mov eax, ebx
pop edi
pop ebx
leave
ret
Function at 0x4505dd
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
xor esi, esi
cmp dword [edi + 0x88], esi
jle 0x4505f6
xor eax, eax
jmp 0x450704
mov ecx, dword [edi + 0x80]
add ecx, dword [edi + 8]
mov eax, dword [edi + 0x6c]
push esi
push esi
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x450619
push 2
pop eax
jmp 0x450704
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0xc], esi
cmp dword [edi + 4], esi
jbe 0x4506f9
mov eax, dword [edi + 0x6c]
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
lea ecx, [ebp - 8]
push ecx
push 8
lea ecx, [ebp - 0x14]
push ecx
push eax
call ebx
test eax, eax
je 0x4506f6
cmp dword [ebp - 8], esi
je 0x4506f6
lea eax, [ebp - 0x1c]
push eax
call fcn.004038ab
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 4], esi
je 0x450676
push dword [ebp - 4]
call fcn.00482a4b
pop ecx
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 4]
inc eax
push ecx
call fcn.00450f73
test al, al
je 0x4506e2
mov eax, dword [edi + 0x6c]
push esi
lea ecx, [ebp - 8]
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, ecx
push ecx
push dword [ebp - 4]
push eax
call ebx
test eax, eax
je 0x4506ee
cmp dword [ebp - 8], esi
je 0x4506ee
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
xor ecx, ecx
push eax
mov word [eax + edx*2], cx
lea eax, [ebp - 0x1c]
push eax
call fcn.00409f03
lea esi, [edi + 0x84]
lea ebx, [ebp - 0x1c]
call fcn.00451089
mov ecx, ebx
call fcn.00403833
inc dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
xor esi, esi
cmp eax, dword [edi + 4]
jb 0x45062e
jmp 0x4506f9
lea ecx, [ebp - 0x1c]
call fcn.00403833
push 3
jmp 0x4506f8
lea ecx, [ebp - 0x1c]
call fcn.00403833
push 2
pop esi
push dword [ebp - 4]
call fcn.00482a4b
pop ecx
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x4514d6
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
and dword [ebp - 8], 0
and dword [ebp - 4], 0
or eax, 0xffffffff
push ebx
push esi
push edi
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
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
movzx ebx, ax
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx eax, ax
mov dword [ebp - 0xc], eax
call fcn.00449e40
cmp eax, 0x11
jl 0x45155c
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
push str.GetSystemDefaultUILanguage
push edi
call esi
test eax, eax
je 0x451548
call eax
movzx eax, ax
mov dword [ebp - 4], eax
push str.GetUserDefaultUILanguage
push edi
call esi
test eax, eax
je 0x45155c
call eax
movzx eax, ax
mov dword [ebp - 8], eax
mov edx, dword [ebp + 8]
mov edi, dword [edx + 4]
xor esi, esi
test edi, edi
jle 0x4515bd
push esi
mov ecx, edx
call fcn.0044e9d7
movzx eax, word [eax]
cmp ax, bx
jne 0x45157b
mov dword [ebp - 0x20], esi
cmp al, bl
jne 0x451582
mov dword [ebp - 0x10], esi
cmp ax, word [ebp - 0xc]
jne 0x45158b
mov dword [ebp - 0x28], esi
cmp al, byte [ebp - 0xc]
jne 0x451593
mov dword [ebp - 0x18], esi
cmp ax, word [ebp - 4]
jne 0x45159c
mov dword [ebp - 0x24], esi
cmp al, byte [ebp - 4]
jne 0x4515a4
mov dword [ebp - 0x14], esi
cmp ax, word [ebp - 8]
jne 0x4515ad
mov dword [ebp - 0x2c], esi
cmp al, byte [ebp - 8]
jne 0x4515b5
mov dword [ebp - 0x1c], esi
mov edx, dword [ebp + 8]
inc esi
cmp esi, edi
jl 0x451568
pop edi
pop esi
xor ecx, ecx
pop ebx
mov eax, dword [ebp + ecx*4 - 0x2c]
test eax, eax
jge 0x4515e6
inc ecx
cmp ecx, 8
jb 0x4515c2
xor eax, eax
cmp dword [edx + 4], eax
jg 0x4515f0
push eax
push eax
push 1
push 0xc000008c
call dword [sym.imp.KERNEL32.dll_RaiseException]
push eax
mov ecx, edx
call fcn.0044e9d7
jmp 0x4515f2
mov eax, dword [edx]
mov ax, word [eax]
leave
ret

Function at 0x451668
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push dword [ebp + 8]
call fcn.004038ab
movzx ebx, word [ebp + 0xc]
mov edi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push 0
push 0x4b2624
push 2
push ebx
call edi
mov esi, eax
lea eax, [esi - 1]
push eax
push 0x78
pop ecx
lea edx, [ebp - 4]
call fcn.004361db
push esi
lea esi, [ebp - 4]
call fcn.0040794e
push eax
push 2
push ebx
call edi
push dword [ebp - 4]
push dword [ebp + 0xc]
push str._d__s
push dword [ebp + 8]
call fcn.00436b7a
add esp, 0x10
mov ecx, esi
call fcn.00403833
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x45206b
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0x30]
sub esp, 0x20
cmp dword [eax - 0xc], 0
push esi
push edi
jne 0x452083
mov al, 1
jmp 0x4520c1
and dword [ebp - 0x20], 0
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov eax, dword [ebx + 8]
lea esi, [eax + 0x30]
mov ecx, dword [esi]
call fcn.004480c0
mov ecx, dword [ebp - 0x18]
shr ecx, 0x14
cmp ecx, eax
jge 0x45207f
push esi
push 0xd4
mov eax, ebx
call fcn.0045210b
xor al, al
pop edi
pop esi
leave
ret

Function at 0x4520c5
Capabilities:
Check internet connectivity via wininet

Disassembly:
mov eax, dword [edi + 8]
cmp byte [eax + 0x35], 0
jne 0x4520d1
mov al, 1
ret
push esi
xor esi, esi
push 0
push 1
push dword [esi + 0x4bb1cc]
call dword [sym.imp.WININET.dll_InternetCheckConnectionW]
test eax, eax
jne 0x452107
add esi, 4
cmp esi, 0xc
jb 0x4520d4
mov eax, dword [edi + 8]
add eax, 0x70
push eax
push 0xe2
mov eax, edi
call fcn.0045210b
xor al, al
pop esi
ret
mov al, 1
pop esi
ret

Function at 0x45210b
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, eax
mov eax, dword [esi + 4]
add eax, 0x50
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.00418dc7
lea eax, [ebp - 0xc]
push eax
call fcn.004479c0
pop ecx
lea eax, [ebp - 8]
push eax
call fcn.004038ab
push dword [ebp + 8]
lea eax, [ebp - 8]
push eax
call fcn.00411bb3
lea eax, [ebp - 4]
push eax
call fcn.004038ab
mov eax, dword [ebp + 0xc]
push dword [eax]
lea eax, [ebp - 4]
push dword [ebp - 0xc]
push dword [ebp - 8]
push eax
call fcn.00436b7a
add esp, 0x10
cmp byte [esi + 0xc], 0
je 0x452174
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x45219b
mov eax, dword [esi]
call fcn.0045332e
mov eax, dword [esi]
push 0
call fcn.0045326c
mov esi, eax
call dword [sym.imp.USER32.dll_GetActiveWindow]
push 0x30
lea ecx, [ebp - 4]
push esi
push ecx
call fcn.0045d9d2
add esp, 0xc
lea ecx, [ebp - 4]
call fcn.00403833
lea ecx, [ebp - 8]
call fcn.00403833
lea ecx, [ebp - 0xc]
call fcn.00403833
pop esi
leave
ret 8

Function at 0x45333b
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
push edi
xor esi, esi
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push esi
lea eax, [ebp - 0x10]
push eax
push 0x45da1d
push esi
push esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
mov dword [ebp - 0x10], eax
mov ebx, 0x1ff
jmp 0x45339f
push 1
push esi
push esi
push esi
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x45339f
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push ebx
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x10]
push eax
push 1
call edi
cmp eax, 1
je 0x453378
pop edi
pop esi
pop ebx
leave
ret
Function at 0x453f4a
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
xor eax, eax
cmp byte [0x4d88cc], al
je 0x453fa6
push edi
push 0x10
pop edi
cmp byte [ebp + 8], al
je 0x453f67
mov edi, 0x40010
push eax
lea eax, [ebp - 8]
push eax
call fcn.00411bf8
push dword [esi]
lea eax, [ebp - 4]
push eax
call fcn.00411bf8
push edi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_GetActiveWindow]
call fcn.0045d9d2
add esp, 0xc
lea ecx, [ebp - 4]
call fcn.00403833
lea ecx, [ebp - 8]
call fcn.00403833
pop edi
leave
ret
push dword [esi]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
leave
ret

Function at 0x4542ea
Capabilities:
Persist via run registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x130]
sub esp, 0x1b0
mov eax, dword [0x4d7488]
xor eax, ebp
mov dword [ebp + 0x12c], eax
push ebx
push esi
push edi
xor ebx, ebx
push ebx
lea eax, [ebp - 0x70]
push eax
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionRun
mov esi, edx
push SysReAllocStringLen
mov edi, ecx
mov dword [ebp - 0x78], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x45433a
xor al, al
jmp 0x454447
mov eax, dword [edi]
mov ecx, dword [eax - 0xc]
cmp ecx, 0x4f
mov dword [ebp - 0x6c], eax
jle 0x454351
lea eax, [eax + ecx*2 - 0x9e]
mov dword [ebp - 0x6c], eax
lea ecx, [ebp - 0x74]
push ecx
lea ecx, [ebp - 0x64]
push ecx
push ebx
push ebx
push eax
push dword [ebp - 0x70]
mov dword [ebp - 0x74], 0xc8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x7c], eax
cmp eax, ebx
jne 0x454380
cmp dword [ebp - 0x74], 0xc8
jbe 0x454436
lea eax, [ebp - 0x68]
push eax
call fcn.004038ab
mov eax, dword [esi]
cmp dword [eax - 0xc], ebx
je 0x4543df
mov eax, dword [edi]
cmp dword [eax - 0xc], ebx
jge 0x4543a1
push 0x80070057
call fcn.00403856
cmp word [eax], 0x22
je 0x4543df
push 0x20
xor ecx, ecx
mov esi, edi
call fcn.00431339
cmp eax, 0xffffffff
je 0x4543dc
push 0x22
lea edi, [ebp - 0x68]
call fcn.00441cc0
mov eax, esi
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
mov eax, edi
call fcn.0043164c
push 0x22
call fcn.00441cc0
mov esi, dword [ebp - 0x78]
jmp 0x4543e9
mov esi, dword [ebp - 0x78]
mov eax, edi
lea edi, [ebp - 0x68]
call fcn.00407ece
mov eax, dword [esi]
mov ecx, dword [eax - 0xc]
cmp ecx, ebx
je 0x454404
jl 0x454397
cmp word [eax], 0x20
je 0x454404
push 0x20
lea edi, [ebp - 0x68]
call fcn.00441cc0
mov eax, dword [esi]
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x68]
call fcn.0043164c
mov ecx, dword [ebp - 0x68]
mov eax, dword [ecx - 0xc]
add eax, eax
push eax
push ecx
push 1
push ebx
push dword [ebp - 0x6c]
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x7c], eax
call fcn.00403833
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
cmp dword [ebp - 0x7c], ebx
sete al
mov ecx, dword [ebp + 0x12c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0048297b
add ebp, 0x130
leave
ret
Function at 0x4544e0
Capabilities:
Delete registry value
Persist via run registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x454509
xor al, al
leave
ret
mov eax, dword [ebp + 8]
push esi
mov esi, dword [eax]
mov eax, dword [esi - 0xc]
cmp eax, 0x4f
push edi
jle 0x45451f
lea esi, [esi + eax*2 - 0x9e]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0
push esi
push dword [ebp - 8]
mov dword [ebp - 0xc], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test edi, edi
je 0x45454a
cmp edi, 0xea
jne 0x454556
push esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov edi, eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test edi, edi
pop edi
sete al
pop esi
leave
ret

Function at 0x454ee1
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [eax]
push ebx
push esi
push edi
xor edi, edi
cmp dword [eax - 0xc], edi
jne 0x454ef9
xor eax, eax
jmp 0x454fa0
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x454f1a
push eax
jmp 0x454f97
mov eax, dword [ebp + 0xc]
sub dword [ebp + 0x10], 2
push edi
push edi
add eax, 2
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x454f92
mov eax, dword [ebp + 0x10]
shr eax, 1
push eax
push 0x78
pop ecx
lea edx, [ebp - 4]
call fcn.004361db
push edi
lea eax, [ebp - 8]
push eax
push dword [ebp + 0x10]
lea esi, [ebp - 4]
call fcn.0040794e
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x454f8a
cmp dword [ebp - 8], edi
je 0x454f8a
mov eax, esi
push eax
push dword [ebp + 8]
call fcn.00454af3
lea ecx, [ebp - 4]
movzx esi, al
call fcn.00403833
cmp ebx, edi
je 0x454f86
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
jmp 0x454fa0
lea ecx, [ebp - 4]
call fcn.00403833
cmp ebx, edi
je 0x454f9d
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 2
pop eax
pop edi
pop esi
pop ebx
leave
ret 0xc