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

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, ecx
call fcn.662029e0
test al, al
je 0x66202992
push esi
mov ecx, edi
call fcn.66202c80
push 0x2c
lea esi, [edi + 0x120]
push 0
push esi
call fcn.6620d4a0
add esp, 0xc
push 0
push 0x2c
push esi
mov esi, dword [sym.imp.ntdll.dll_NtQuerySystemInformation]
push 0
call esi
push 0
lea eax, [edi + 0x14c]
xorps xmm0, xmm0
push 0xc
push eax
movq qword [eax], xmm0
push 1
mov dword [eax + 8], 0
call esi
push 0
push 4
lea eax, [ebp - 4]
push eax
push 0x1a
push 0xffffffffffffffff
call dword [sym.imp.ntdll.dll_NtQueryInformationProcess]
pop esi
test eax, eax
js 0x6620296f
cmp dword [ebp - 4], 0
je 0x6620296f
mov eax, 1
jmp 0x66202971
xor eax, eax
mov ecx, edi
mov byte [edi + 0x164], al
mov byte [edi + 0x165], al
call fcn.66202b30
mov ecx, 2
mov eax, 1
lock cmpxchg dword [edi], ecx
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x66202c80
Capabilities:
Check os version

Disassembly:
push esi
push edi
mov edi, ecx
push 0x11c
push 0
lea esi, [edi + 4]
push esi
call fcn.6620d4a0
add esp, 0xc
mov dword [esi], 0x11c
push esi
call dword [sym.imp.ntdll.dll_RtlGetVersion]
cmp dword [edi + 8], 5
jne 0x66202cf6
cmp dword [edi + 0xc], 0
jne 0x66202cf6
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov edx, dword [eax + 0x1e0]
test edx, edx
je 0x66202d00
cmp word [eax + 0x1dc], 0
je 0x66202d00
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x66202cd2
sub ecx, esi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
lea eax, [edi + 0x18]
push eax
call fcn.6620d640
add esp, 0xc
mov byte [edi + 0x11f], 0
pop edi
pop esi
ret
xor eax, eax
mov word [edi + 0x18], ax
mov byte [edi + 0x11f], al
pop edi
pop esi
ret
Function at 0x66204bc0
Capabilities:
Map section object

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x6621b74b
push eax
mov dword fs:[0], esp
sub esp, 0x198
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
push edi
test ebx, ebx
je 0x66204bf4
mov byte [ebp + 0xb], 1
cmp esi, 0xffffffff
je 0x66204bf8
mov byte [ebp + 0xb], 0
push 1
push 0xffffffffffffffff
lea ecx, [ebp - 0x84]
call fcn.66207cd0
mov dword [ebp - 4], 0
cmp byte [ebp + 0xb], 0
je 0x66204c4d
push 0
push dword [ebp + 0xc]
lea eax, [ebp - 0x1a4]
push eax
push 0
mov eax, ebx
lea ecx, [ebp - 0x84]
cdq
push edx
push eax
call fcn.66208ab0
mov edi, eax
test edi, edi
js 0x66204d61
lea ecx, [ebp - 0x1a4]
call fcn.66208c90
mov esi, dword [ebp - 0x154]
cmp byte [ebp + 0x20], 0
mov ecx, 4
push 0
push 0x8000000
mov eax, 0x40
mov dword [ebp - 0x24], esi
cmovne eax, ecx
mov dword [ebp - 0x20], 0
push eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x24]
push eax
push 0
push 0xf
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.ntdll.dll_NtCreateSection]
mov edi, eax
test edi, edi
js 0x66204d61
push dword [ebp - 0x1c]
lea eax, [ebp - 0x18]
mov dword [ebp - 0x10], 0
push 0x100000
push 2
push eax
push 0
push 0
push 1
lea eax, [ebp - 0x10]
mov dword [ebp - 0x18], 0
push eax
push 0xffffffffffffffff
push dword [ebp - 0x14]
call dword [sym.imp.ntdll.dll_NtMapViewOfSection]
mov edi, eax
test edi, edi
js 0x66204cf4
cmp byte [ebp + 0xb], 0
je 0x66204cff
push dword [ebp - 0x10]
mov eax, dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x1a4]
push ebx
push eax
call fcn.66208710
mov edi, eax
add esp, 0x10
test edi, edi
jns 0x66204d26
push dword [ebp - 0x10]
push 0xffffffffffffffff
call dword [sym.imp.ntdll.dll_NtUnmapViewOfSection]
push dword [ebp - 0x14]
call dword [sym.imp.ntdll.dll_NtClose]
jmp 0x66204d61
test ebx, ebx
je 0x66204d26
mov eax, dword [ebp + 0xc]
push esi
test eax, eax
je 0x66204d1a
push dword [ebp - 0x10]
push eax
push ebx
call fcn.6620b4e0
add esp, 0x10
jmp 0x66204d26
push ebx
push dword [ebp - 0x10]
call fcn.6620d640
add esp, 0xc
mov ecx, dword [ebp + 0x14]
test ecx, ecx
jne 0x66204d38
push dword [ebp - 0x14]
call dword [sym.imp.ntdll.dll_NtClose]
jmp 0x66204d3d
mov eax, dword [ebp - 0x14]
mov dword [ecx], eax
mov ecx, dword [ebp + 0x18]
test ecx, ecx
jne 0x66204d51
push dword [ebp - 0x10]
push 0xffffffffffffffff
call dword [sym.imp.ntdll.dll_NtUnmapViewOfSection]
jmp 0x66204d56
mov eax, dword [ebp - 0x10]
mov dword [ecx], eax
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x66204d5f
mov dword [eax], esi
xor edi, edi
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x84]
call fcn.66207eb0
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x66205600
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x6621b80b
push eax
mov dword fs:[0], esp
sub esp, 0xec
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [edi + 0x178]
call fcn.662075d0
cmp dword [edi + 0x160], 0
jne 0x66205743
cmp dword [edi + 4], 0
je 0x66205711
lea ecx, [ebp - 0xf8]
call fcn.66203190
mov dword [ebp - 4], 0
lea eax, [ebp - 0xf8]
push eax
push dword [edi]
call fcn.6620ae30
add esp, 8
lea ecx, [ebp - 0xf8]
call fcn.66204330
mov dword [ebp - 0x20], eax
lea ebx, [edi + 0x170]
xor ecx, ecx
mov dword [ebp - 0x28], 0x18
cmp byte [edi + 0x18c], cl
mov eax, 0x20
mov dword [ebp - 0x24], 0
cmovne eax, ecx
mov dword [ebp - 0x1c], 0x40
or eax, 0x40
mov dword [ebp - 0x18], 0
push eax
push 1
lea eax, [ebp - 0x30]
mov dword [ebp - 0x14], 0
push eax
lea eax, [ebp - 0x28]
push eax
push dword [edi + 0x188]
push ebx
call dword [sym.imp.ntdll.dll_NtOpenFile]
mov dword [ebp - 0x10], eax
test eax, eax
jns 0x662056ff
mov dword [ebx], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf8]
call fcn.66203210
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf8]
call fcn.66203210
push 5
push 0x18
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x30]
push eax
push dword [edi + 0x170]
call dword [sym.imp.ntdll.dll_NtQueryInformationFile]
test eax, eax
js 0x662057ff
mov eax, dword [ebp - 0x40]
mov dword [edi + 0x168], eax
mov eax, dword [ebp - 0x3c]
mov dword [edi + 0x16c], eax
mov ecx, edi
call fcn.662059c0
mov ebx, eax
test ebx, ebx
jns 0x66205777
lea ecx, [edi + 0x178]
call fcn.662075d0
mov ecx, edi
call fcn.66204b30
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
cmp byte [ebp + 8], 0
je 0x66205792
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
mov esi, dword [edi + 0x178]
mov ecx, esi
call fcn.66204970
test al, al
je 0x6620577d
cmp byte [ebp + 0xc], 0
je 0x6620577d
mov eax, dword [edi + 0x170]
mov dword [edi + 0x174], eax
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x170], 0
test eax, eax
je 0x662057d2
push 0xffffffffffffffff
push eax
mov ecx, edi
call fcn.662041d0
jmp 0x662057f2
mov ecx, esi
call fcn.66204950
mov ecx, edi
mov esi, eax
call fcn.66203eb0
push 0
push 0
push 0xffffffffffffffff
push esi
push 1
mov ecx, eax
call fcn.662033a0
push 0
push 0
push 1
mov ecx, edi
call fcn.66205600
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x66205890
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
sub esp, 8
xor eax, eax
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, ecx
mov ecx, ebx
add ecx, edx
adc eax, dword [ebp + 0xc]
cmp dword [esi + 0x16c], eax
jg 0x662058c8
jl 0x662058bb
cmp dword [esi + 0x168], ecx
jae 0x662058c8
pop esi
mov eax, 0xc000007b
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [esi + 0x160]
test eax, eax
je 0x662058eb
push ebx
add eax, edx
push eax
push dword [ebp + 0x10]
call fcn.6620d640
add esp, 0xc
xor eax, eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
cmp dword [esi + 0x170], 0
jne 0x66205901
pop esi
mov eax, 0xc0000008
pop ebx
mov esp, ebp
pop ebp
ret 0x14
cmp byte [esi + 0x18c], 0
push edi
mov dword [ebp + 0x14], 0
je 0x66205944
mov edi, dword [ebp + 0x18]
test edi, edi
jne 0x66205930
push edi
push edi
push edi
push 0x100002
lea eax, [ebp + 0x14]
push eax
call dword [sym.imp.ntdll.dll_NtCreateEvent]
mov edi, dword [ebp + 0x14]
jmp 0x66205937
push edi
call dword [sym.imp.ntdll.dll_NtClearEvent]
test eax, eax
jns 0x66205946
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
xor edi, edi
push 0
lea eax, [ebp + 8]
push eax
push ebx
push dword [ebp + 0x10]
lea eax, [ebp - 8]
push eax
push 0
push 0
push edi
push dword [esi + 0x170]
call dword [sym.imp.ntdll.dll_NtReadFile]
mov esi, eax
cmp esi, 0x103
jne 0x6620598c
push 0
push 0
push edi
call dword [sym.imp.ntdll.dll_NtWaitForSingleObject]
mov esi, eax
test esi, esi
je 0x66205989
js 0x6620599b
mov esi, 0xc0000001
jmp 0x6620599b
mov esi, dword [ebp - 8]
test esi, esi
js 0x6620599b
cmp dword [ebp - 4], ebx
mov eax, 0xc000007b
cmovne esi, eax
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x662059a9
push eax
call dword [sym.imp.ntdll.dll_NtClose]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x66209a20
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x662236d0
push 0x6620ec48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x1c], ecx
mov esi, dword [ebp + 8]
mov eax, esi
mov edi, dword [ebp + 0xc]
or eax, edi
je 0x66209c4e
cmp esi, 0xffffffff
jne 0x66209a66
test edi, edi
je 0x66209c4e
mov eax, esi
and eax, edi
cmp eax, 0xffffffff
je 0x66209c4e
cmp dword [ebp + 0x20], 0
ja 0x66209a9b
jb 0x66209a83
mov ebx, dword [ebp + 0x1c]
cmp ebx, 0x40
jae 0x66209a9e
mov eax, 0xc000007b
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
mov ebx, dword [ebp + 0x1c]
mov dword [ebp - 4], 0
push 0
push 2
lea eax, [ebp + 0xc]
push eax
push edi
push esi
call fcn.66208ee0
test eax, eax
jns 0x66209ad2
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
mov eax, 0x5a4d
cmp word [ebp + 0xc], ax
jne 0x66209c2f
push 0
push 4
lea eax, [ebp - 0x20]
push eax
mov ecx, esi
add ecx, 0x3c
mov eax, edi
adc eax, 0
push eax
push ecx
mov ecx, dword [ebp - 0x1c]
call fcn.66208ee0
test eax, eax
js 0x66209ab8
mov eax, dword [ebp - 0x20]
xor edx, edx
mov ecx, dword [ebp + 0x20]
cmp edx, ecx
ja 0x66209c2f
jb 0x66209b1b
cmp eax, ebx
jae 0x66209c2f
lea edx, [eax + 0x18]
cmp edx, eax
jb 0x66209c2f
mov dword [ebp + 0x20], 0
cmp dword [ebp + 0x20], ecx
ja 0x66209c2f
jb 0x66209b40
cmp edx, ebx
jae 0x66209c2f
cmp eax, 0x10000000
jae 0x66209c2f
add eax, esi
mov ecx, 0
adc ecx, edi
push 0
push 4
lea edx, [ebp - 0x24]
push edx
push ecx
push eax
mov ecx, dword [ebp - 0x1c]
call fcn.66208ee0
test eax, eax
js 0x66209ab8
cmp dword [ebp - 0x24], 0x4550
jne 0x66209c2f
mov ebx, dword [ebp - 0x20]
xor ecx, ecx
add ebx, esi
adc ecx, edi
mov dword [ebp + 0x20], ecx
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x66209b93
mov dword [eax], ebx
mov dword [eax + 4], ecx
mov edx, dword [ebp + 0x18]
test edx, edx
je 0x66209c0a
mov dword [edx + 0x108], ebx
mov dword [edx + 0x10c], ecx
mov dword [edx + 0x110], esi
mov dword [edx + 0x114], edi
mov al, byte [ebp + 0x10]
mov byte [edx + 0x118], al
push 0
push 0x18
push edx
push ecx
push ebx
mov esi, dword [ebp - 0x1c]
mov ecx, esi
call fcn.66208ee0
test eax, eax
js 0x66209ab8
mov ecx, dword [ebp + 0x18]
movzx edx, word [ecx + 0x14]
mov eax, edx
mov edi, 0xf0
cmp di, ax
jae 0x66209be9
mov eax, edi
push 0
push eax
lea eax, [ecx + 0x18]
push eax
add ebx, 0x18
mov eax, dword [ebp + 0x20]
adc eax, 0
push eax
push ebx
mov ecx, esi
call fcn.66208ee0
test eax, eax
js 0x66209ab8
mov dword [ebp - 4], 0xffffffff
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
mov dword [ebp - 4], 0xffffffff
mov eax, 0xc000007b
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
mov eax, 0xc000000d
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x6620a780
Capabilities:
Contain obfuscated stackstrings

Disassembly:
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x6620a799
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
lea esi, [edi + edi*8 - 1]
dec dword [ecx + 0x5d880c4d]
ror byte [eax + 0x45c6c15d], 0xc2
in al, dx
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
jg 0x6620a79b
inc ebp
int 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.6620a4ab
jecxz 0x6620a7d3
xor al, 0x84
lea eax, [ebp - 0x40]
push eax
call fcn.6620a4bb
push eax
push esi
push dword [ebp + 8]
call fcn.6620a470
add esp, 0x10
mov dword [ebp - 0x88], eax
call fcn.6620a4ab
test al, ah
loop 0x6620a868
lea eax, [ebp - 0x18]
mov byte [ebp - 0x18], bl
push eax
mov byte [ebp - 0x17], bl
mov byte [ebp - 0x16], 0x40
Function at 0x6620a820
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], 0xe9
mov byte [ebp - 0x13], 0xd6
mov byte [ebp - 0x12], 0xcd
mov byte [ebp - 0x11], 0xcb
mov byte [ebp - 0x10], 0xca
mov byte [ebp - 0xf], 0xde
mov byte [ebp - 0xe], 0xd3
mov byte [ebp - 0xd], 0xf9
mov byte [ebp - 0xc], 0xcd
mov byte [ebp - 0xb], 0xda
mov byte [ebp - 0xa], 0xda
mov byte [ebp - 9], 0xbf
call fcn.6620a4bb
push eax
push esi
push dword [ebp + 8]
call fcn.6620a470
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.6620a4bb
push eax
push esi
push dword [ebp + 8]
call fcn.6620a470
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.6620a4bb
push eax
push esi
push dword [ebp + 8]
call fcn.6620a470
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.6620a4ab
mov byte [edi + edi*4], bl
in eax, dx
mov byte [ebp - 0x84], bl
mov byte [ebp - 0x83], bl
mov byte [ebp - 0x82], 0xe9
mov byte [ebp - 0x81], bl
mov byte [ebp - 0x80], 0x51
mov byte [ebp - 0x7f], 0x73
mov byte [ebp - 0x7e], 0x62
mov byte [ebp - 0x7d], 0x5b
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
mov byte [ebp - 0x76], 0x77
mov byte [ebp - 0x75], 0x78
mov byte [ebp - 0x74], 0x72
mov byte [ebp - 0x73], 0x7a
mov byte [ebp - 0x72], 0x73
mov byte [ebp - 0x71], 0x57
mov byte [ebp - 0x70], 0x16
call fcn.6620a4ab
xchg edx, eax
cld
mov eax, dword [0xff7c858d]
invalid
Function at 0x6620ad20
Capabilities:
Contain obfuscated stackstrings

Disassembly:
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.6620a4bb
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.6620a470
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
invalid
inc dword [eax]

Function at 0x6620c65a
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov esi, dword [eax + 0x1c]
lodsd eax, dword [esi]
cmp byte [eax + 0x1c], 0x18
je 0x6620c66f
xchg esi, eax
lodsd eax, dword [esi]
mov eax, dword [eax + 8]
push eax
call fcn.6620a4ab
add dh, byte [eax - 0x7749f5c]
mov eax, dword [edi + 0x3c]
mov edx, dword [edi + eax + 0x78]
add edx, edi
mov ecx, dword [edx + 0x18]
mov ebx, dword [edx + 0x20]
add ebx, edi
call fcn.6620a4ab
call 0xafafc8f1
dec ecx
mov esi, dword [ebx + ecx*4]
add esi, edi
mov eax, 0x50746547
cmp dword [esi], eax
jne 0x6620c698
mov eax, 0x41636f72
cmp dword [esi + 4], eax
jne 0x6620c698
call fcn.6620a4ab
mov dword [0x8b37b769], eax
pop edx
and al, 3
fbld tbyte [esi - 0x75]
or al, 0x4b
mov ebx, dword [edx + 0x1c]
add ebx, edi
mov eax, dword [ebx + ecx*4]
add eax, edi
push eax
call fcn.6620a4ab
pop eax
mov bh, 0x37
push dword [di + 8]
push dword [ebp + 4]
push dword [ebp]
call fcn.6620acab
sub al, byte [eax]
add bh, al
push es
aam 0xd4
and dword [esi - 0x75], esp
invalid
Function at 0x40147e
Capabilities:
Encode data using xor

Disassembly:
xor dx, dx
mov esi, edi
lodsb al, byte [esi]
xchg cl, dl
ror al, cl
xor al, cl
xchg cl, dl
xor al, ah
stosb byte es:[edi], al
inc dx
loop 0x401483
ret

Function at 0x401494
Capabilities:
Encode data using xor

Disassembly:
xor dx, dx
mov esi, edi
lodsb al, byte [esi]
xor al, ah
xchg cl, dl
xor al, cl
rol al, cl
xchg cl, dl
stosb byte es:[edi], al
inc dx
loop 0x401499
ret

Function at 0x4038f7
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
add ecx, 4
mov dword [0x4040f6], ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x404650], eax
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x4045e4], eax
mov dword [0x4040ee], eax
mov dword [0x4045d0], 0x30
mov dword [0x4045d4], 2
jmp 0x40393c
mov dword [0x4045d8], 0x40321a
mov dword [0x4045dc], 0
mov dword [0x4045e0], 0
mov dword [0x4045f8], 0x40454d
mov dword [0x4045f0], 0xf
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x4045e8], eax
mov dword [0x4045fc], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x4045ec], eax
push 0x4045d0
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x4040ee]
push 0
push 0
push 0x1e5
push 0x203
push 0xfffff98e
push 0xfffff9c0
push 0xcf0000
push str.lofegaswer_huijd
push str.lisclass
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x404648], eax
push 5
push dword [0x404648]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x404648]
call dword [sym.imp.user32.dll_UpdateWindow]
xor edi, edi
lea ebx, [0x404600]
jmp 0x403a10
push ebx
call dword [sym.imp.user32.dll_TranslateMessage]
push ebx
call dword [sym.imp.user32.dll_DispatchMessageA]
push edi
push edi
push edi
push ebx
call dword [sym.imp.user32.dll_GetMessageA]
test al, al
jne 0x403a02
mov eax, dword [0x404608]
jmp 0x403a2b
call 0x402c21
ret
Function at 0x40664b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
push edi
lea eax, [ebp - 4]
xor edi, edi
push eax
push 0x20019
push edi
movzx eax, cl
mov esi, edx
push 0x405aa0
sub eax, 0x7fffffff
mov dword [ebp - 4], edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x406688
jle 0x4066e5
movzx eax, ax
or eax, 0x80070000
jmp 0x4066e5
or dword [ebp - 0x10], 0xffffffff
mov ecx, esi
push 0x32
pop eax
push eax
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x18], esi
call fcn.00406a46
lea ecx, [ebp - 0xc]
mov dword [ebp - 0x14], eax
push ecx
push eax
lea eax, [ebp - 8]
push eax
push edi
push 0x405a88
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_SHQueryValueExW]
lea ecx, [ebp - 0x18]
mov esi, eax
call fcn.00406a20
test esi, esi
je 0x4066d8
jle 0x4066d4
movzx esi, si
or esi, 0x80070000
mov eax, esi
jmp 0x4066e5
mov eax, dword [ebp - 8]
dec eax
neg eax
sbb eax, eax
and eax, 0x8000ffff
pop edi
pop esi
leave
ret

Function at 0x406898
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push 0x405a6c
push 0x4059f4
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4068bf
push 0x800
call eax
call fcn.004064af
mov byte [ebp - 1], al
call fcn.004062aa
mov ecx, eax
test ecx, ecx
je 0x40694f
mov eax, dword [ecx]
push esi
push edi
call dword [eax + 0xc]
mov dl, byte [ebp - 1]
add eax, 0x10
mov ecx, dword [ebp + 8]
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
call fcn.004066e9
mov esi, eax
pop ecx
test esi, esi
js 0x40693f
push 0
push 0
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x406911
call fcn.0040644c
mov esi, eax
jmp 0x40693f
push 0x405a90
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x406933
push dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call esi
mov esi, eax
jmp 0x406938
mov esi, 0x80004005
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [ebp - 8]
call fcn.00406baa
pop edi
mov eax, esi
pop esi
leave
ret 0x10
push 0x80004005
call fcn.00406105
int3

Function at 0x409e11
Capabilities:
Contain obfuscated stackstrings

Disassembly:
dec dword [ebx - 0xe0807bb]
test edx, edx
je 0x409e21
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
invalid
inc ebp
invalid

Function at 0x409f50
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc ebp
aam 0x88
pop ebp
aam 0x50
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44

Function at 0x40ba44
Capabilities:
Contain obfuscated stackstrings

Disassembly:
call [esi + eax*8 - 0x7d47b]
call [esi + eax*8 - 0x7d37b]
inc dword [ecx - 0x7d27a3a]
invalid