joyce8/EMBER2024-capa huggingface dataset:
Function at 0x481c25
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
push 4
pop eax
call fcn.00479750
mov esi, esp
push 0x1c
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x481cc0
mov ebx, dword [ebp - 0x24]
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x48]
mov eax, dword [0x4dd1c0]
lea edi, [ecx - 1]
not edi
and edi, esi
sub edi, ecx
mov esi, eax
dec esi
neg esi
sbb esi, esi
and esi, 0xfffffff1
add esi, 0x11
imul esi, ecx
add esi, ebx
cmp edi, esi
mov dword [ebp - 8], ecx
jb 0x481cc0
cmp eax, 1
je 0x481ce1
mov dword [ebp - 4], ebx
mov ebx, 0x1000
push 0x1c
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x481cc0
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
test dword [ebp - 0x18], ebx
je 0x481c8d
test byte [ebp - 0x13], 1
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
je 0x481cbc
xor eax, eax
inc eax
jmp 0x481d00
cmp edi, eax
jae 0x481cc4
xor eax, eax
jmp 0x481d00
cmp eax, esi
jae 0x481ccb
mov dword [ebp - 4], esi
push 4
push ebx
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [0x4dd1c0]
jmp 0x481ce4
mov dword [ebp - 4], edi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 0xc]
push ecx
inc eax
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x58]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x48366d
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x3a0]
sub esp, 0x420
mov eax, dword [0x4c9cd4]
push edi
xor edi, edi
cmp dword [ebp + 0x3b0], edi
mov dword [ebp + 0x39c], eax
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x7c], edi
jne 0x48369e
xor eax, eax
jmp 0x483827
mov eax, dword [ebp + 0x3a8]
push ebx
mov ebx, dword [ebp + 0x3a8]
and eax, 0x1f
sar ebx, 5
push esi
lea esi, [eax + eax*8]
lea ebx, [ebx*4 + 0x4dd6c0]
mov eax, dword [ebx]
shl esi, 2
test byte [eax + esi + 4], 0x20
je 0x4836da
push 2
push edi
push edi
push dword [ebp + 0x3a8]
call fcn.00487513
add esp, 0x10
mov eax, dword [ebx]
add eax, esi
test byte [eax + 4], 0x80
je 0x4837b5
cmp dword [ebp + 0x3b0], edi
mov eax, dword [ebp + 0x3ac]
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x6c], edi
jbe 0x4837f3
mov ecx, dword [ebp - 0x74]
sub ecx, dword [ebp + 0x3ac]
lea eax, [ebp - 0x68]
mov dword [ebp - 0x70], edi
cmp ecx, dword [ebp + 0x3b0]
jae 0x48373e
mov edx, dword [ebp - 0x74]
inc dword [ebp - 0x74]
mov dl, byte [edx]
inc ecx
cmp dl, 0xa
jne 0x48372f
inc dword [ebp - 0x7c]
mov byte [eax], 0xd
inc eax
inc dword [ebp - 0x70]
mov byte [eax], dl
inc eax
inc dword [ebp - 0x70]
cmp dword [ebp - 0x70], 0x400
jl 0x48370f
mov edi, eax
lea eax, [ebp - 0x68]
sub edi, eax
push 0
lea eax, [ebp - 0x80]
push eax
push edi
lea eax, [ebp - 0x68]
push eax
mov eax, dword [ebx]
push dword [eax + esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x48377e
mov eax, dword [ebp - 0x80]
add dword [ebp - 0x78], eax
cmp eax, edi
jl 0x483787
mov eax, dword [ebp - 0x74]
sub eax, dword [ebp + 0x3ac]
xor edi, edi
cmp eax, dword [ebp + 0x3b0]
jb 0x483700
jmp 0x483789
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x6c], eax
xor edi, edi
mov eax, dword [ebp - 0x78]
cmp eax, edi
jne 0x483822
cmp dword [ebp - 0x6c], edi
je 0x4837f3
push 5
pop esi
cmp dword [ebp - 0x6c], esi
jne 0x4837e8
call fcn.0047a342
mov dword [eax], 9
call fcn.0047a34b
mov dword [eax], esi
jmp 0x48381d
push edi
lea ecx, [ebp - 0x80]
push ecx
push dword [ebp + 0x3b0]
push dword [ebp + 0x3ac]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4837dd
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x78], eax
jmp 0x483789
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x6c], eax
jmp 0x483789
push dword [ebp - 0x6c]
call fcn.0047a354
pop ecx
jmp 0x48381d
mov eax, dword [ebx]
test byte [eax + esi + 4], 0x40
je 0x48380b
mov eax, dword [ebp + 0x3ac]
cmp byte [eax], 0x1a
jne 0x48380b
xor eax, eax
jmp 0x483825
call fcn.0047a342
mov dword [eax], 0x1c
call fcn.0047a34b
mov dword [eax], edi
or eax, 0xffffffff
jmp 0x483825
sub eax, dword [ebp - 0x7c]
pop esi
pop ebx
mov ecx, dword [ebp + 0x39c]
pop edi
call fcn.00481d39
add ebp, 0x3a0
leave
ret
Function at 0x4839a2
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 8], 0
cmp dword [ebp + 0x10], 0
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edx, ebx
je 0x483b76
mov eax, dword [ebp + 8]
mov ecx, eax
and eax, 0x1f
sar ecx, 5
lea esi, [eax + eax*8]
lea edi, [ecx*4 + 0x4dd6c0]
mov eax, dword [edi]
shl esi, 2
add eax, esi
mov cl, byte [eax + 4]
test cl, 2
jne 0x483b76
test cl, 0x48
je 0x483a0d
cmp byte [eax + 5], 0xa
je 0x483a0d
mov eax, dword [edi]
mov al, byte [eax + esi + 5]
dec dword [ebp + 0x10]
mov byte [ebx], al
mov eax, dword [edi]
lea edx, [ebx + 1]
mov dword [ebp - 8], 1
mov byte [eax + esi + 5], 0xa
push 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 0x10]
mov eax, dword [edi]
push edx
push dword [eax + esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x483a5f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 5
pop esi
cmp eax, esi
jne 0x483a47
call fcn.0047a342
mov dword [eax], 9
call fcn.0047a34b
mov dword [eax], esi
jmp 0x483a57
cmp eax, 0x6d
je 0x483b76
push eax
call fcn.0047a354
pop ecx
or eax, 0xffffffff
jmp 0x483b78
mov eax, dword [ebp - 0xc]
mov ecx, dword [edi]
add dword [ebp - 8], eax
test byte [ecx + esi + 4], 0x80
je 0x483b71
test eax, eax
je 0x483a86
cmp byte [ebx], 0xa
jne 0x483a86
mov eax, ecx
lea eax, [eax + esi + 4]
or byte [eax], 4
jmp 0x483a8f
mov eax, dword [edi]
lea eax, [eax + esi + 4]
and byte [eax], 0xfb
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
add ecx, eax
cmp eax, ecx
mov dword [ebp + 0x10], eax
mov dword [ebp - 8], ecx
jae 0x483b6b
mov eax, dword [ebp + 0x10]
mov al, byte [eax]
cmp al, 0x1a
je 0x483b5b
cmp al, 0xd
je 0x483ac1
mov byte [ebx], al
inc ebx
inc dword [ebp + 0x10]
jmp 0x483b4d
dec ecx
cmp dword [ebp + 0x10], ecx
jae 0x483adb
mov eax, dword [ebp + 0x10]
inc eax
cmp byte [eax], 0xa
jne 0x483ad6
add dword [ebp + 0x10], 2
jmp 0x483b2f
mov dword [ebp + 0x10], eax
jmp 0x483b49
inc dword [ebp + 0x10]
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
mov eax, dword [edi]
push dword [eax + esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x483b03
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x483b49
cmp dword [ebp - 0xc], 0
je 0x483b49
mov eax, dword [edi]
test byte [eax + esi + 4], 0x48
je 0x483b24
mov al, byte [ebp - 1]
cmp al, 0xa
je 0x483b2f
mov byte [ebx], 0xd
mov ecx, dword [edi]
mov byte [ecx + esi + 5], al
jmp 0x483b4c
cmp ebx, dword [ebp + 0xc]
jne 0x483b34
cmp byte [ebp - 1], 0xa
jne 0x483b34
mov byte [ebx], 0xa
jmp 0x483b4c
push 1
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00484ad3
add esp, 0xc
cmp byte [ebp - 1], 0xa
je 0x483b4d
mov byte [ebx], 0xd
inc ebx
mov ecx, dword [ebp - 8]
cmp dword [ebp + 0x10], ecx
jb 0x483aa5
jmp 0x483b6b
mov eax, dword [edi]
test byte [eax + esi + 4], 0x40
jne 0x483b6b
lea esi, [eax + esi + 4]
or byte [esi], 2
sub ebx, dword [ebp + 0xc]
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 8]
jmp 0x483b78
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4857d9
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x4dd598], ebx
push esi
push edi
jne 0x485859
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x485894
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4b1c2c
push edi
call esi
test eax, eax
mov dword [0x4dd598], eax
je 0x485894
push 0x4b1c1c
push edi
call esi
push 0x4b1c08
push edi
mov dword [0x4dd59c], eax
call esi
cmp dword [0x4dd1c0], 2
mov dword [0x4dd5a0], eax
jne 0x485859
push str.GetUserObjectInformationA
push edi
call esi
test eax, eax
mov dword [0x4dd5a8], eax
je 0x485859
push str.GetProcessWindowStation
push edi
call esi
mov dword [0x4dd5a4], eax
mov eax, dword [0x4dd5a4]
test eax, eax
je 0x48589e
call eax
test eax, eax
je 0x485885
lea ecx, [ebp - 4]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [0x4dd5a8]
test eax, eax
je 0x485885
test byte [ebp - 8], 1
jne 0x48589e
cmp dword [0x4dd1cc], 4
jb 0x485898
or byte [ebp + 0x12], 0x20
jmp 0x4858bd
xor eax, eax
jmp 0x4858cd
or byte [ebp + 0x12], 4
jmp 0x4858bd
mov eax, dword [0x4dd59c]
test eax, eax
je 0x4858bd
call eax
mov ebx, eax
test ebx, ebx
je 0x4858bd
mov eax, dword [0x4dd5a0]
test eax, eax
je 0x4858bd
push ebx
call eax
mov ebx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [0x4dd598]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4859b1
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 8]
test bl, 3
jne 0x4859df
mov eax, dword fs:[0x18]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
cmp ebx, ecx
mov dword [ebp - 4], ecx
jb 0x4859e6
cmp ebx, dword [eax + 4]
jae 0x4859e6
xor eax, eax
jmp 0x485bd6
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x4859f7
xor eax, eax
inc eax
jmp 0x485bd5
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x485a0d
cmp ecx, edx
jae 0x485b52
cmp dword [eax + 4], 0
je 0x485a16
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x4859fe
cmp dword [ebp + 8], 0
je 0x485a38
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x485b52
cmp eax, esi
jae 0x485b52
mov eax, dword [0x4dd5b0]
mov edi, ebx
and edi, 0xfffff000
xor esi, esi
test eax, eax
jle 0x485a5d
cmp dword [esi*4 + 0x4dd5b8], edi
je 0x485b56
inc esi
cmp esi, eax
jl 0x485a4b
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x485bd2
cmp dword [ebp - 8], 0x1000000
jne 0x485bd2
test byte [ebp - 0xc], 0xcc
je 0x485adb
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x485bd2
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x485bd2
cmp word [eax + 0x18], 0x10b
jne 0x485bd2
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x485bd2
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x485adb
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x485adb
test byte [ecx + 0x27], 0x80
jne 0x485b52
push 1
push 0x4dd5f8
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
test eax, eax
jne 0x4859ef
mov ecx, dword [0x4dd5b0]
test ecx, ecx
mov edx, ecx
jle 0x485b0f
lea eax, [ecx*4 + 0x4dd5b4]
cmp dword [eax], edi
je 0x485b0f
dec edx
sub eax, 4
test edx, edx
jg 0x485b03
test edx, edx
jne 0x485b40
push 0xf
pop ebx
cmp ecx, ebx
jg 0x485b1c
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x485b34
lea eax, [edx*4 + 0x4dd5b8]
mov esi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], edi
mov edi, esi
jle 0x485b22
cmp ecx, 0x10
jge 0x485b40
inc ecx
mov dword [0x4dd5b0], ecx
push 0
push 0x4dd5f8
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
jmp 0x4859ef
xor eax, eax
jmp 0x485bd5
test esi, esi
jle 0x4859ef
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 1
push 0x4dd5f8
call ebx
test eax, eax
jne 0x4859ef
cmp dword [esi*4 + 0x4dd5b8], edi
je 0x485bac
mov eax, dword [0x4dd5b0]
lea esi, [eax - 1]
test esi, esi
jl 0x485b9a
cmp dword [esi*4 + 0x4dd5b8], edi
je 0x485b96
dec esi
jns 0x485b8a
test esi, esi
jge 0x485baa
cmp eax, 0x10
jge 0x485ba5
inc eax
mov dword [0x4dd5b0], eax
lea esi, [eax - 1]
jmp 0x485bac
je 0x485bc4
xor ecx, ecx
test esi, esi
jl 0x485bc4
lea eax, [ecx*4 + 0x4dd5b8]
mov edx, dword [eax]
inc ecx
cmp ecx, esi
mov dword [eax], edi
mov edi, edx
jle 0x485bb2
push 0
push 0x4dd5f8
call ebx
jmp 0x4859ef
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x48c5ff
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x48c637
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0048a6cd
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0048a6a5
jmp 0x48c643
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x48dced
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x48dd2f
call fcn.0049366f
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x48dd2f
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x48dd26
xor eax, eax
jmp 0x48dd37
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0048dd3d
pop edi
pop esi
pop ebx
ret 4

Function at 0x493b9f
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x493bcd
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x493beb
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00493b05
jmp 0x493beb
mov eax, dword [esi + 0x14]
test eax, eax
je 0x493beb
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00493b05
test edi, edi
mov eax, edi
jne 0x493bd5
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x467e00
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x467ed8
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4d78a0], 0
jne 0x467ebc
lea eax, [ebp - 4]
mov edx, 0x467ef0
call fcn.00403d48
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.004040f0
mov esi, eax
push esi
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x467ebc
mov eax, ebx
call fcn.004027b0
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x467eb5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
push eax
push ebx
mov eax, dword [ebp - 8]
push eax
push esi
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x467e9f
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x467f00
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x467e9f
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov dword [0x4d78a0], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x467ebc
mov eax, dword [ebp - 0xc]
call fcn.004027c8
ret
mov ebx, dword [0x4d78a0]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x467edf
lea eax, [ebp - 4]
call fcn.00403cb0
ret

Function at 0x46fc78
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x46fc28
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x46fc46
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x46fca4
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and byte [ecx + 0x1065], al
invalid
invalid
and byte [ecx + 0x1065], al
add byte [eax + 0x3b184d8b], al
sal dword [esp + eax - 0x80], cl
or al, 8
add dword [ecx], edi
pop ebp
or byte [esp + eax - 0x80], dh
or al, 8
add bh, byte [ecx]
pop ebp
adc byte [ebp + eax + 3], dh
enter 0x980, 4
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x46fc8b
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x46fc94
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x46fc9e
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x46fc80
inc dword [ebp + 0xc]
invalid
Function at 0x46fd64
Capabilities:
Contain obfuscated stackstrings

Disassembly:
and byte [ebp - 0x354], 0
and byte [ebp - 0x353], 0
mov byte [ebp - 0x352], 0xda
and byte [ebp - 0x351], 0
mov byte [ebp - 0x350], 0x62
mov byte [ebp - 0x34f], 0x40
mov byte [ebp - 0x34e], 0x51
mov byte [ebp - 0x34d], 0x75
mov byte [ebp - 0x34c], 0x57
mov byte [ebp - 0x34b], 0x4a
mov byte [ebp - 0x34a], 0x46
mov byte [ebp - 0x349], 0x40
mov byte [ebp - 0x348], 0x56
mov byte [ebp - 0x347], 0x56
mov byte [ebp - 0x346], 0x6d
mov byte [ebp - 0x345], 0x40
mov byte [ebp - 0x344], 0x44
mov byte [ebp - 0x343], 0x55
mov byte [ebp - 0x342], 0x25
lea eax, [ebp - 0x354]
push eax
call fcn.0046f561
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0046f516
add esp, 0xc
mov dword [ebp - 0x68c], eax
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
mov dword [ebp - 0x384], 4
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
mov byte [ebp - 0x3b4], 3
mov byte [ebp - 0x3b3], 0x28
mov byte [ebp - 0x3b2], 7
mov byte [ebp - 0x3b1], 0xb
mov byte [ebp - 0x3b0], 3
mov byte [ebp - 0x3af], 0x27
mov byte [ebp - 0x3ae], 0x66
lea eax, [ebp - 0x3c4]
push eax
call fcn.0046f561
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0046f516
add esp, 0xc
mov dword [ebp - 0x538], eax
and byte [ebp - 0x3ec], 0
and byte [ebp - 0x3eb], 0
mov byte [ebp - 0x3ea], 0x11
and byte [ebp - 0x3e9], 0
mov byte [ebp - 0x3e8], 0xa9
mov byte [ebp - 0x3e7], 0x8b
mov byte [ebp - 0x3e6], 0x9a
mov byte [ebp - 0x3e5], 0xa3
mov byte [ebp - 0x3e4], 0x81
mov byte [ebp - 0x3e3], 0x8a
mov byte [ebp - 0x3e2], 0x9b
mov byte [ebp - 0x3e1], 0x82
mov byte [ebp - 0x3e0], 0x8b
mov byte [ebp - 0x3df], 0xa6
mov byte [ebp - 0x3de], 0x8f
mov byte [ebp - 0x3dd], 0x80
mov byte [ebp - 0x3dc], 0x8a
mov byte [ebp - 0x3db], 0x82
mov byte [ebp - 0x3da], 0x8b
mov byte [ebp - 0x3d9], 0xaf
mov byte [ebp - 0x3d8], 0xee
lea eax, [ebp - 0x3ec]
push eax
call fcn.0046f561
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0046f516
add esp, 0xc
mov dword [ebp - 0x340], eax
call fcn.0046f551
retf 0x1929
Function at 0x48644b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor ebx, ebx
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x4d5b4e
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4864a3
movzx edx, word [ebp + 8]
mov dword [ebp - 8], edx
lea ecx, [ebp - 8]
push ecx
push dword [ebp + 0xc]
push 0
push 0
push 0x4d5b6f
push dword [ebp - 4]
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x486499
mov bx, 0x2a04
push dword [ebp - 4]
call sub.advapi32.dll_RegCloseKey_1
jmp 0x4864a7
mov bx, 0x2a04
mov eax, ebx
pop ebx
pop ecx
pop ecx
pop ebp
ret 8

Function at 0x49e7e8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004040e0
mov eax, dword [ebp - 8]
call fcn.004040e0
mov eax, dword [ebp - 0xc]
call fcn.004040e0
xor eax, eax
push ebp
push 0x49e8b7
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, 0x49e8d0
call fcn.00403f34
lea eax, [ebp - 8]
mov edx, 0x49e8d0
call fcn.00403f34
lea eax, [ebp - 0xc]
mov edx, 0x49e8d0
call fcn.00403f34
mov bl, 1
push 1
lea eax, [ebp - 0xc]
call fcn.004040fc
push eax
lea eax, [ebp - 8]
call fcn.004040fc
push eax
lea eax, [ebp - 4]
call fcn.004040fc
push eax
push 0
push 0
call sub.shell32.dll_ShellExecuteA
cmp eax, 0x20
jae 0x49e89c
xor ebx, ebx
push 0
lea eax, [ebp - 0x10]
mov ecx, dword [ebp - 4]
mov edx, 0x49e8dc
call fcn.00403f78
mov eax, dword [ebp - 0x10]
mov cx, word [0x49e8f0]
mov dl, 1
call fcn.00453368
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49e8be
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00403cd4
ret

Function at 0x4a3b10
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffe00
mov ebx, eax
lea eax, [esp + 0x100]
push eax
push 0xff
call sub.kernel32.dll_GetTempPathA
push esp
push 0
push 0x4a3b54
lea eax, [esp + 0x10c]
push eax
call sub.kernel32.dll_GetTempFileNameA
mov edx, ebx
mov eax, esp
call fcn.00409474
add esp, 0x200
pop ebx
ret
Function at 0x100018a0
Capabilities:
Create thread

Disassembly:
push 0
push 0
push 0
push 0x100014c0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor eax, eax
ret
Function at 0x100057c0
Capabilities:
Print debug messages

Disassembly:
push esi
mov esi, ecx
push str.____init_____
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [esp + 0xc]
test eax, eax
je 0x100057e2
push eax
push 0x10024160
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [esp + 0x10]
mov dword [0x1001114c], eax
mov dword [esi + 0x9d54], 0
mov byte [esi + 0x9d58], 0
pop esi
ret 0xc