joyce8/EMBER2024-capa huggingface dataset:
Function at 0xf2b6d4
Capabilities:
Encode data using xor

Disassembly:
jmp 0xf2b6de
pushal
call 0xf2b6e4
pop ebp
sub ebp, 0x10
sub ebp, 0xb2b6d4
jmp 0xf2b6fa
mov eax, 0xb2b6d4
add eax, ebp
add eax, 0x4c
mov ecx, 0x5cd
mov edx, 0x3c2b0325
xor byte [eax], dl
inc eax
dec ecx
jne 0xf2b711
jmp 0xf2b724
scasb al, byte es:[edi]
call 0x260c63d8
and eax, 0xdde4a425
and eax, 0xe8262525
popfd
and dword [0xd9f2525], esp
and eax, 0xc7d22525
in eax, dx
scasb al, byte es:[edi]
movsb byte es:[edi], byte [esi]
sub dword [0xe0262525], esp
test al, 0x41
add ecx, ebx
lodsb al, byte [esi]
and dword [ecx], eax
test al, 0x41
add ecx, ebx
lodsb al, byte [esi]
and dword [ecx], eax
dec ebp
mov cl, 0xf0
add al, 0x25
dec ebp
sbb ah, al
mov ch, 0x25
and al, 9
add dword [ebp - 0x4b], ecx
sbb al, 0xc0
ljmp 0xcc25
Function at 0x431930
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x21000]
push edi
jmp 0x43194a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x431951
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x431940
mov eax, 1
add ebx, ebx
jne 0x431963
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x431958
jne 0x431974
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x431958
xor ecx, ecx
sub eax, 3
jb 0x431988
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4319fa
mov ebp, eax
add ebx, ebx
jne 0x431993
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4319a0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4319c4
inc ecx
add ebx, ebx
jne 0x4319b0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4319a5
jne 0x4319c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4319a5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4319e4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4319d5
jmp 0x431946
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4319e4
add edi, ecx
jmp 0x431946
pop esi
mov edi, esi
mov ecx, 0xa57
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x431a02
cmp byte [edi], 0x12
jne 0x431a02
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x431a07
lea edi, [esi + 0x2f000]
mov eax, dword [edi]
or eax, eax
je 0x431a7f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x3dd90]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x3de70]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x431a34
mov ecx, edi
jns 0x431a63
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x3de78]
or eax, eax
je 0x431a79
mov dword [ebx], eax
add ebx, 4
jmp 0x431a51
call dword [esi + 0x3de74]
mov ebp, dword [esi + 0x3de7c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x17f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x431ab3
sub esp, 0xffffff80
jmp 0x41942f
Function at 0x40d590
Capabilities:
Create process on windows
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x43c
push ebx
push esi
push edi
mov edi, eax
lea eax, [ebp - 0x228]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push edi
call fcn.00401f20
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x42e1bb
mov eax, dword [0x4a7f54]
test eax, eax
je 0x42e1d4
mov byte [ebp - 1], 0
mov esi, 0x4a90e8
cmp eax, 1
je 0x42e1ea
push 0x4a7f54
lea ecx, [ebp - 1]
mov eax, 0x4a7f6c
call fcn.0040f520
test al, al
je 0x42e211
mov cl, byte [0x4a90e8]
mov bl, byte [0x4a90e9]
push 0x4a7f50
lea edx, [ebp - 0x438]
push edx
push 0x104
push 0x4a7f6c
mov byte [0x4a7f58], cl
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
mov eax, dword [0x4a7f54]
push eax
push 0x4a7f6c
call fcn.00401460
test eax, eax
jne 0x42e227
cmp bl, 1
je 0x42e24d
call fcn.00410390
call fcn.00410570
cmp byte [0x4a7f58], 0
jne 0x40d669
mov esi, 0x4a8710
call fcn.0040e0c0
push 1
mov ecx, 0x4a8178
call fcn.004091e0
cmp byte [0x4a7f58], 0
jne 0x40d688
mov ecx, 0x4a8710
call fcn.00401000
mov ebx, 0x4a90e8
call fcn.0040ec50
lea edx, [ebp - 0x228]
push edx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x10
push 0x484c92
push str.This_is_a_compiled_AutoIt_script._AV_researchers_please_email_avsupport_autoitscript.com_for_support.
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x40d69f
lea ecx, [ebp - 0x228]
mov dword [0x4974f4], 0xffffffff
push ecx
jmp 0x40d699
mov ebx, dword [0x4a7f5c]
push 0xffffffffffffffff
push 1
mov byte [ebp - 2], 0
call fcn.00403a50
mov dl, byte [0x4974e8]
mov bl, byte [ebp - 2]
mov byte [0x4a90eb], dl
jmp 0x40d62b
lea eax, [ebp - 0x228]
mov dword [0x4974f4], 1
push eax
jmp 0x40d699
mov ebx, 0x4a90e8
call fcn.0040ec50
lea ecx, [ebp - 0x228]
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov dword [0x4974f4], 1
jmp 0x40d69f
call fcn.00432fee
test al, al
jne 0x40d64c
push 0x104
lea edx, [ebp - 0x438]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp byte [ebp - 1], 0
je 0x42e2cb
mov edi, 0x484d00
lea esi, [ebp - 0x14]
call fcn.00401c20
mov edi, 0x4a7f6c
mov eax, esi
call fcn.0040d240
mov edi, 0x484d00
mov eax, esi
call fcn.0040d240
mov ecx, dword [ebp - 0x14]
push 1
lea eax, [ebp - 0x228]
push eax
push ecx
lea edx, [ebp - 0x438]
push edx
push 0x484d04
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, esi
call fcn.00402250
jmp 0x40d688
push 1
lea eax, [ebp - 0x228]
push eax
push edi
lea ecx, [ebp - 0x438]
push ecx
push 0x484d04
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x40d688
Function at 0x40f760
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1a8
push ebx
push esi
or ecx, 0xffffffff
mov ebx, 0x484ea8
call fcn.0040f6f0
mov esi, eax
lea eax, [esp + 0xa8]
push esi
push eax
call fcn.00413650
push esi
call fcn.004111dc
add esp, 0xc
lea esi, [esp + 0x18]
call fcn.0040f820
lea eax, [esp + 0xa8]
mov ecx, esi
call fcn.0040f850
xor ebx, ebx
mov dword [edi + 8], ebx
xor ecx, ecx
mov eax, ebx
movzx edx, byte [esp + ecx + 0x18]
add eax, edx
movzx edx, byte [esp + ecx + 0x19]
add eax, edx
movzx edx, byte [esp + ecx + 0x1a]
add eax, edx
movzx edx, byte [esp + ecx + 0x1b]
add ecx, 4
add eax, edx
cmp ecx, 0x10
jl 0x40f7b4
mov dword [edi + 8], eax
mov eax, dword [ebp + 8]
push 0x488120
push eax
call fcn.004149c2
add esp, 8
mov dword [edi], eax
cmp eax, ebx
je 0x427c2a
push edi
call fcn.0040f5c0
cmp eax, ebx
je 0x427c34
mov ecx, dword [edi]
push ecx
mov esi, eax
call fcn.00414a46
add esp, 4
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, 1
jmp 0x40f813
mov edx, dword [edi]
push edx
push 0x10
lea eax, [esp + 0x10]
push 1
push eax
call fcn.00414d04
add esp, 0x10
push 0x272be973
push 0x10
lea ecx, [esp + 0x10]
push ecx
call fcn.0044afef
xor eax, eax
mov dword [edi + 8], ebx
xor ecx, ecx
movzx edx, byte [esp + eax + 8]
inc eax
imul ecx, edx
cmp eax, 0x10
jl 0x427c60
mov eax, dword [edi]
push eax
mov dword [edi + 8], ecx
call fcn.00414fe2
add esp, 4
mov dword [edi + 4], eax
xor eax, eax
jmp 0x40f813

Function at 0x40f820
Capabilities:
Hash data with md5

Disassembly:
push 8
lea eax, [esi + 0x44]
push 0
push eax
call fcn.00412f40
add esp, 0xc
mov dword [esi + 0x34], 0x67452301
mov dword [esi + 0x38], 0xefcdab89
mov dword [esi + 0x3c], 0x98badcfe
mov dword [esi + 0x40], 0x10325476
ret

Function at 0x410570
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x497520]
push esi
push 0
mov esi, dword [sym.imp.USER32.dll_CreateWindowExW]
push eax
push 0
push 0
push 0x64
push 0x12c
push accept
push accept
push 0xcf0000
push str.AutoIt_v3
push str.AutoIt_v3
push 0
call esi
mov ecx, dword [0x497520]
push 0
push ecx
push 1
push eax
push 0
push 0
push 0
push 0
push 0x50b008c4
push 0
push str.edit
push 0
mov dword [0x497518], eax
call esi
mov edx, dword [0x497518]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push edx
mov dword [0x497514], eax
call esi
mov eax, dword [0x497518]
push 0
push eax
call esi
pop esi
ret

Function at 0x410ab0
Capabilities:
Log keystrokes

Disassembly:
push ebx
xor ebx, ebx
push edi
mov edi, dword [sym.imp.USER32.dll_MapVirtualKeyW]
mov dword [esi], 5
mov dword [esi + 4], 5
mov word [esi + 8], 1
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov word [esi + 0x18], bx
push ebx
mov dword [esi + 0x1a], ebx
mov word [esi + 0x1e], bx
push 0x5b
mov dword [esi + 0xc], 4
call edi
push ebx
push 0x10
mov byte [esi + 0x29], al
call edi
push ebx
push 0xa0
mov byte [esi + 0x26], al
call edi
push ebx
push 0xa1
mov byte [esi + 0x27], al
call edi
push ebx
push 0x11
mov byte [esi + 0x28], al
call edi
push ebx
push 0x12
mov byte [esi + 0x24], al
call edi
pop edi
mov byte [esi + 0x25], al
pop ebx
ret
Function at 0x452492
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x27c
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea esi, [ebp - 0x10]
mov dword [ebp - 0x14], ecx
call fcn.00401c20
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 4]
inc dword [eax]
mov dword [ebp - 0x18], eax
mov edi, 0x48ab28
mov eax, esi
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], edx
call fcn.0040d240
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x278]
push eax
push ecx
mov bl, 1
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp + 8], eax
cmp eax, 0xffffffff
je 0x4525fb
nop
mov edx, dword [ebp - 0x14]
push edx
call fcn.00442a83
cmp eax, 1
je 0x4525f9
cmp eax, 0xb
jne 0x452513
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4524f2
lea eax, [ebp - 0x24c]
push 0x487ca4
push eax
call fcn.0041313c
add esp, 8
test eax, eax
je 0x4525de
lea ecx, [ebp - 0x24c]
push 0x48ab30
push ecx
call fcn.0041313c
add esp, 8
test eax, eax
je 0x4525de
lea edx, [ebp - 0x24]
push edx
lea esi, [ebp - 0x10]
call fcn.0040e0a0
lea edi, [ebp - 0x24c]
mov eax, esi
call fcn.0040d240
test byte [ebp - 0x278], 0x10
je 0x4525b5
cmp byte [ebp + 0x18], 0
mov esi, dword [ebp + 0x14]
je 0x45257d
add dword [esi], 1
adc dword [esi + 4], 0
cmp byte [ebp + 0x1c], 0
je 0x4525de
mov edi, 0x48565c
lea eax, [ebp - 0x10]
call fcn.0040d240
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp - 0x10]
push esi
push edx
push eax
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.00452492
mov bl, al
test bl, bl
je 0x4525fb
jmp 0x4525de
mov ecx, dword [ebp - 0x25c]
mov eax, dword [ebp + 0xc]
xor edx, edx
or edx, dword [ebp - 0x258]
xor esi, esi
or ecx, esi
add dword [eax], edx
adc dword [eax + 4], ecx
cmp byte [ebp + 0x18], 0
je 0x4525de
mov eax, dword [ebp + 0x10]
add dword [eax], 1
adc dword [eax + 4], esi
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x278]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4524f2
jmp 0x4525fb
xor bl, bl
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x24]
call fcn.00402250
lea ecx, [ebp - 0x10]
call fcn.00402250
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 0x18
Function at 0x452719
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x430
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 4], 0
mov eax, dword [esi]
push eax
push 4
mov edi, 1
lea ecx, [ebp - 0xc]
push edi
push ecx
call fcn.00414d04
add esp, 0x10
push 0xe2d3b266
push 4
lea edx, [ebp - 0xc]
push edx
call fcn.0044afef
lea eax, [ebp - 0xc]
push 0x48815c
push eax
mov byte [ebp - 8], 0
call fcn.00414d30
add esp, 8
test eax, eax
jne 0x4528af
mov ecx, dword [esi]
add dword [ebp - 4], edi
push ecx
push edi
lea edx, [ebp + 8]
push 4
push edx
call fcn.00414d04
mov edi, dword [ebp + 8]
mov eax, dword [esi]
push eax
xor edi, 0x66b9c17b
lea ebx, [edi + edi]
push ebx
lea ecx, [ebp - 0x220]
push 1
push ecx
call fcn.00414d04
add esp, 0x20
add edi, 0x57c5c59c
push edi
push ebx
lea edx, [ebp - 0x220]
push edx
call fcn.0044afef
lea ecx, [ebp - 0x220]
push ecx
lea edx, [ebp - 0x430]
xor eax, eax
push edx
mov word [ebp + ebx - 0x220], ax
call fcn.00411567
mov eax, dword [esi]
push eax
push 1
lea ecx, [ebp + 8]
push 4
push ecx
call fcn.00414d04
mov edi, dword [ebp + 8]
mov edx, dword [esi]
push edx
xor edi, 0x513193de
lea ebx, [edi + edi]
push ebx
lea eax, [ebp - 0x220]
push 1
push eax
call fcn.00414d04
add esp, 0x28
add edi, 0x3c93e7ca
push edi
push ebx
lea ecx, [ebp - 0x220]
push ecx
call fcn.0044afef
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x220]
push eax
xor edx, edx
push ecx
mov word [ebp + ebx - 0x220], dx
call fcn.00411567
mov edi, dword [ebp + 0xc]
lea edx, [ebp - 0x430]
push edi
push edx
call fcn.0041313c
add esp, 0x10
test eax, eax
je 0x4528a4
push 0x488150
push edi
call fcn.0041313c
add esp, 8
test eax, eax
jne 0x452864
cmp dword [ebp - 4], eax
je 0x4528a4
mov eax, dword [esi]
push 1
push 1
push eax
call fcn.004150d1
mov ecx, dword [esi]
add esp, 0xc
push ecx
push 1
lea edx, [ebp - 0x10]
push 4
push edx
call fcn.00414d04
mov eax, dword [ebp - 0x10]
xor eax, 0x87bc
mov dword [ebp - 0x10], eax
add eax, 0x18
push 1
push eax
mov eax, dword [esi]
push eax
call fcn.004150d1
add esp, 0x1c
jmp 0x45272f
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
pop edi
pop esi
mov eax, 6
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4528bd
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x684
xor eax, eax
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 8]
push edi
push eax
xor ecx, ecx
mov dword [ebp - 0x470], eax
mov dword [ebp - 0x46c], eax
mov dword [ebp - 0x468], eax
mov dword [ebp - 0x464], eax
mov dword [ebp - 0x460], eax
mov dword [ebp - 0x45c], eax
mov dword [ebp - 0x458], eax
mov dword [ebp - 0x454], eax
mov dword [ebp - 0x450], eax
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 4]
mov word [ebp - 0x44c], cx
mov ecx, dword [esi]
push eax
xor edx, edx
push ecx
mov word [ebp - 0x242], dx
mov dword [ebp - 4], 1
call fcn.004150d1
mov eax, dword [ebp + 0xc]
add esp, 0xc
lea edx, [ebp - 0x680]
push edx
push eax
push esi
call fcn.00452719
test eax, eax
je 0x452956
mov eax, 6
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [esi]
push ecx
push 1
lea edx, [ebp + 0x17]
push 1
push edx
call fcn.00414d04
mov eax, dword [esi]
push eax
push 1
lea ecx, [ebp + 8]
push 4
push ecx
call fcn.00414d04
mov edx, dword [esi]
mov edi, dword [ebp + 8]
push edx
push 1
lea eax, [ebp + 8]
push 4
push eax
xor edi, 0x87bc
call fcn.00414d04
mov edx, dword [esi]
mov ecx, dword [ebp + 8]
push edx
push 1
lea eax, [ebp + 8]
xor ecx, 0x87bc
push 4
push eax
mov dword [ebx], ecx
call fcn.00414d04
mov eax, dword [ebp + 8]
mov ecx, dword [esi]
add esp, 0x40
push 1
xor eax, 0xa685
push 0x10
push ecx
mov dword [ebp - 8], eax
call fcn.004150d1
mov edx, dword [ebx]
add esp, 0xc
push edx
call fcn.004135bb
add esp, 4
push edi
mov dword [ebp + 0xc], eax
call fcn.004135bb
add esp, 4
mov ebx, eax
mov eax, dword [esi]
push eax
push 1
push edi
push ebx
call fcn.00414d04
mov ecx, dword [esi + 8]
add esp, 0x10
add ecx, 0x7bc7230b
push ecx
push edi
push ebx
call fcn.0044afef
push edi
push ebx
lea edx, [ebp - 4]
push edx
call fcn.00432229
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 4]
je 0x452a36
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00413748
add esp, 4
push ebx
call fcn.00413748
add esp, 4
mov eax, 0xa
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp byte [ebp + 0x17], 1
jne 0x452aa5
xor eax, eax
mov dword [ebp - 0x468], eax
mov dword [ebp - 0x464], eax
mov dword [ebp - 0x460], eax
mov dword [ebp - 0x454], eax
mov dword [ebp - 0x450], eax
mov dword [ebp - 0x1c], eax
mov eax, 1
xor edx, edx
mov dword [ebp - 0x45c], eax
mov dword [ebp - 0x458], eax
mov word [ebp - 0x44c], dx
mov edx, dword [ebp + 0xc]
lea eax, [ebp - 0x470]
xor ecx, ecx
push eax
mov word [ebp - 0x242], cx
mov dword [ebp - 0x46c], ebx
mov dword [ebp - 0x470], edx
call fcn.0044b1a9
push ebx
call fcn.00413748
jmp 0x452ab1
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00413748
mov dword [ebp + 0xc], ebx
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
add esp, 4
pop edi
pop esi
mov dword [edx], eax
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x457c53
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push esi
push edi
lea ecx, [ebp - 0x18]
call fcn.0040bc70
xor ebx, ebx
push 0x3c
lea eax, [ebp - 0x54]
push ebx
push eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], 1
call fcn.00412f40
mov esi, dword [ebp + 0x10]
add esp, 0xc
cmp dword [ebp + 0x14], 2
jb 0x457cae
mov ecx, dword [esi + 4]
mov eax, dword [ecx + 4]
push eax
call fcn.0045340c
cmp word [eax], bx
je 0x457cae
mov edx, dword [esi + 4]
mov eax, dword [edx + 4]
push eax
call fcn.0045340c
mov edi, eax
call fcn.00410160
mov ebx, eax
cmp dword [ebp + 0x14], 3
jb 0x457cca
mov eax, dword [esi + 4]
mov eax, dword [eax + 8]
push eax
call fcn.0045340c
mov edi, eax
call fcn.00410160
mov dword [ebp - 4], eax
cmp dword [ebp + 0x14], 4
jb 0x457d04
mov ecx, dword [esi + 4]
mov eax, dword [ecx + 0xc]
push eax
call fcn.0045340c
cmp word [eax], 0
je 0x457d04
mov edx, dword [esi + 4]
mov edi, dword [edx + 0xc]
push edi
call fcn.0044cecd
test al, al
jne 0x457d04
push edi
call fcn.004533eb
push eax
lea esi, [ebp - 0x18]
call fcn.0040e0a0
mov esi, dword [ebp + 0x10]
cmp dword [ebp + 0x14], 5
jb 0x457d1b
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x10]
call fcn.0040c620
movzx ecx, ax
mov dword [ebp - 8], ecx
push 0x3c
lea edx, [ebp - 0x54]
push 0
push edx
call fcn.00412f40
mov eax, dword [ebp - 0x18]
mov ecx, dword [esi + 4]
mov dword [ebp - 0x54], 0x3c
mov dword [ebp - 0x50], 0x40
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], eax
mov eax, dword [ecx]
add esp, 0xc
push eax
call fcn.0045340c
mov edx, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x54]
push eax
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x38], edx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov esi, eax
test ebx, ebx
je 0x457d7c
push ebx
call fcn.004111dc
add esp, 4
test edi, edi
je 0x457d89
push edi
call fcn.004111dc
add esp, 4
test esi, esi
jne 0x457dc7
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
push 1
add eax, ecx
call fcn.00403c90
mov esi, dword [ebp + 0x18]
call fcn.00408f40
mov dword [esi + 8], 1
mov dword [esi], 0
lea ecx, [ebp - 0x18]
call fcn.00402250
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x14
cmp byte [ebp + 0xc], 0
je 0x457dec
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x450], eax
lea ecx, [ebp - 0x18]
call fcn.00402250
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov esi, dword [ebp + 0x18]
call fcn.00408f40
mov eax, dword [ebp - 0x1c]
mov dword [esi + 8], 1
mov dword [esi], 1
test eax, eax
je 0x457db4
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x18]
call fcn.00402250
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x457f66
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2030
call fcn.00422240
push ebx
push esi
push edi
lea ecx, [ebp - 0x18]
call fcn.0040bc70
lea ecx, [ebp - 0x28]
call fcn.0040bc70
mov eax, dword [ebp + 8]
push eax
xor esi, esi
call fcn.0045340c
mov edi, eax
movzx eax, word [edi]
xor bl, bl
mov dword [ebp - 8], edi
test ax, ax
je 0x458090
mov edi, edi
inc esi
cmp ax, 0x25
jne 0x45806b
cmp word [edi + esi*2], ax
jne 0x457fc9
push 0x25
lea eax, [ebp - 0x18]
mov bl, 1
call fcn.00403020
inc esi
jmp 0x458074
mov ebx, 0x484ea8
lea eax, [ebp - 0x28]
call fcn.00402160
movzx eax, word [edi + esi*2]
cmp eax, 0x25
je 0x458002
lea esp, [esp]
test ax, ax
je 0x458002
movzx eax, ax
push eax
lea eax, [ebp - 0x28]
call fcn.00403020
movzx eax, word [edi + esi*2 + 2]
inc esi
cmp eax, 0x25
jne 0x457fe6
cmp word [edi + esi*2], 0
je 0x4580a9
mov eax, dword [ebp - 0x28]
push 0xfff
lea edx, [ebp - 0x202c]
push edx
xor ecx, ecx
push eax
inc esi
mov word [ebp - 0x202c], cx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
lea eax, [ebp - 0x18]
je 0x458046
lea edi, [ebp - 0x202c]
call fcn.0040d240
mov edi, dword [ebp - 8]
mov bl, 1
jmp 0x458074
mov edi, 0x48c140
mov bl, 1
call fcn.0040d240
lea ecx, [ebp - 0x28]
push ecx
lea eax, [ebp - 0x18]
call fcn.0040bd50
lea eax, [ebp - 0x18]
call fcn.0040d240
mov edi, dword [ebp - 8]
jmp 0x458074
push eax
lea eax, [ebp - 0x18]
call fcn.00403020
movzx eax, word [edi + esi*2]
test ax, ax
jne 0x457fa6
test bl, bl
je 0x458090
mov esi, dword [ebp + 8]
lea edi, [ebp - 0x18]
call fcn.0040e6a0
lea ecx, [ebp - 0x28]
call fcn.00402250
lea ecx, [ebp - 0x18]
call fcn.00402250
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edi, 0x48c140
lea eax, [ebp - 0x18]
call fcn.0040d240
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp - 0x18]
call fcn.0040bd50
jmp 0x458085
Function at 0x458651
Capabilities:
Connect network resource
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x268
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor eax, eax
push edi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
call fcn.0040bc70
lea ecx, [ebp - 0x1c]
call fcn.0040bc70
lea ecx, [ebp - 0x3c]
call fcn.0040bc70
mov ebx, str.SOFTWAREClasses_
lea eax, [ebp - 0x2c]
call fcn.00402160
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x2c]
call fcn.0040d240
mov edi, str.CLSID
lea eax, [ebp - 0x2c]
call fcn.0040d240
mov ebx, 0x484ea8
lea eax, [ebp - 0x1c]
call fcn.00402160
test esi, esi
je 0x4586da
cmp word [esi], 0x5c
je 0x4586da
cmp word [esi + 2], 0x5c
je 0x4586da
mov ebx, 0x48b428
lea eax, [ebp - 0x1c]
call fcn.00402160
mov edi, esi
lea eax, [ebp - 0x1c]
call fcn.0040d240
mov ebx, dword [ebp + 0x14]
test ebx, ebx
je 0x458731
push 0x20
lea eax, [ebp - 0x5c]
push 0
push eax
call fcn.00412f40
add esp, 0xc
lea ecx, [ebp - 0x1c]
push ecx
lea esi, [ebp - 0x3c]
mov dword [ebp - 0x58], 0
call fcn.0040e0a0
mov edi, str.IPC_
mov eax, esi
call fcn.0040d240
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp - 0x3c]
push 0
push ebx
push eax
lea ecx, [ebp - 0x5c]
push ecx
mov dword [ebp - 0x48], edx
call dword [sym.imp.MPR.dll_WNetAddConnection2W]
mov edi, eax
test edi, edi
js 0x4587c7
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 8]
push edx
push reloc.WSOCK32.dll_bind
push eax
call dword [sym.imp.ADVAPI32.dll_RegConnectRegistryW]
mov edi, eax
test edi, edi
jne 0x4587c7
mov edx, dword [ebp - 0x2c]
lea ecx, [ebp - 0xc]
push ecx
push 0x20019
push eax
mov eax, dword [ebp - 8]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, eax
test edi, edi
jne 0x4587c1
mov eax, dword [ebp - 0xc]
lea ecx, [ebp + 0xc]
push ecx
lea edx, [ebp - 0x264]
push edx
push 0
push 0
push 0
push eax
mov dword [ebp + 0xc], 0x1fe
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test edi, edi
jne 0x4587bb
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
shr eax, 1
xor ecx, ecx
mov dword [ebp + 0xc], eax
mov word [ebp + eax*2 - 0x264], cx
push edx
lea eax, [ebp - 0x264]
push eax
call dword [sym.imp.ole32.dll_CLSIDFromString]
mov edi, eax
mov ecx, dword [ebp - 0xc]
push ecx
call esi
mov edx, dword [ebp - 8]
push edx
call esi
lea ecx, [ebp - 0x3c]
call fcn.00402250
lea ecx, [ebp - 0x1c]
call fcn.00402250
lea ecx, [ebp - 0x2c]
call fcn.00402250
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret