joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401000
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
sub esp, 0xc08
push ebx
push ebp
mov dword [esp + 0xc], edx
xor edx, edx
mov dword [esp + 8], edx
push esi
push edi
test ecx, ecx
je 0x40104b
xor esi, esi
lea edi, [esp + 0x818]
mov al, byte [esi + ecx]
test al, al
je 0x40103b
cbw
inc esi
mov word [edi], ax
add edi, 2
cmp esi, 0x1ff
jb 0x401021
jmp 0x401040
xor eax, eax
mov word [edi], ax
lea edx, [esp + 0x818]
mov dword [esp + 0x10], edx
xor edi, edi
xor ebp, ebp
test edx, edx
je 0x40109b
mov edi, edx
lea ecx, [edi + 2]
jmp 0x401060
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x401060
sub edi, ecx
sar edi, 1
cmp edi, 0x200
jb 0x40107c
mov edi, 0x1ff
push edi
push edx
lea eax, [esp + 0x420]
push eax
lea ebp, [edi + edi]
call fcn.00401b50
add esp, 0xc
xor eax, eax
mov word [esp + ebp + 0x418], ax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov ebx, dword [eax + 0xc]
add ebx, 0xc
jne 0x4010bd
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov ebx, dword [eax + 0xc]
add ebx, 0x14
je 0x401130
mov esi, dword [ebx]
cmp esi, ebx
je 0x401130
test esi, esi
je 0x401130
cmp word [esi + 0x24], 2
jbe 0x40112a
movzx eax, word [esi + 0x2c]
cmp eax, 2
jbe 0x40112a
cmp dword [esi + 0x18], 0
je 0x40112a
test ebp, ebp
je 0x4010e5
cmp ebp, eax
jne 0x40112a
push edi
push dword [esi + 0x30]
lea eax, [esp + 0x20]
push eax
call fcn.00401b50
xor eax, eax
add esp, 0xc
mov word [esp + edi*2 + 0x18], ax
mov eax, dword [esp + 0x14]
test eax, eax
je 0x40110a
cmp eax, dword [esi + 0x18]
jne 0x40112a
cmp dword [esp + 0x10], 0
je 0x40113d
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x41c]
push eax
call fcn.00401bb0
add esp, 8
test eax, eax
je 0x40113d
mov esi, dword [esi]
cmp esi, ebx
jne 0x4010c3
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc08
ret
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0xc08
ret
Function at 0x401a20
Capabilities:
Check os version

Disassembly:
mov ecx, 1
mov edx, 0x805148
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
jne 0x401b49
cmp dword fs:[0xc0], eax
je 0x401a4b
mov dword [0x805144], 1
mov eax, dword fs:[0x18]
push ebx
push esi
mov ebx, 1
mov esi, dword [eax + 0x30]
mov eax, dword [esi + 0xa4]
mov dword [0x80502c], eax
mov eax, dword [esi + 0xa8]
mov dword [0x805030], eax
movzx edx, word [esi + 0xac]
mov dword [0x805034], edx
mov eax, dword [esi + 0xb0]
mov dword [0x805038], eax
mov eax, dword [esi + 0x1f4]
test eax, eax
je 0x401aab
push 0x7f
push eax
push 0x80503c
call fcn.00401b50
mov edx, dword [0x805034]
add esp, 0xc
jmp 0x401ab3
xor eax, eax
mov word [0x80503c], ax
movzx eax, byte [esi + 0xaf]
mov ecx, 0xff
mov word [0x80513c], ax
movzx eax, word [esi + 0xae]
and ax, cx
mov word [0x80513e], ax
movzx eax, word [0x7ffe02d0]
mov word [0x805140], ax
mov ecx, eax
mov byte [0x805142], 0
cmp byte [0x7ffe0268], 0
je 0x401afa
mov ebx, dword [0x7ffe0264]
pop esi
mov byte [0x805142], bl
cmp ebx, 1
pop ebx
jne 0x401b14
and ecx, 0xffef
mov word [0x805140], cx
test edx, edx
jne 0x401b49
call fcn.00401a20
cmp dword [0x80502c], 6
ja 0x401b49
jb 0x401b31
cmp dword [0x805030], 4
jae 0x401b49
call fcn.00401a20
cmp dword [0x80502c], 0xa
jae 0x401b49
mov dword [0x805034], 1
ret
Function at 0x402120
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
lea edx, [ebp + 0x10]
sub esp, 0x40
push ebx
push esi
push edi
test ecx, ecx
jle 0x402148
mov eax, dword [ebp + 0x10]
lea edx, [ebp + 0x18]
dec ecx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp + 0xc], ecx
mov dword [ebp - 0xc], eax
jmp 0x402156
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
test ecx, ecx
jle 0x40216f
dec ecx
add edx, 8
mov dword [ebp + 0xc], ecx
mov eax, dword [edx - 8]
mov dword [ebp - 0x18], eax
mov eax, dword [edx - 4]
mov dword [ebp - 0x14], eax
jmp 0x40217d
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
test ecx, ecx
jle 0x402196
dec ecx
add edx, 8
mov dword [ebp + 0xc], ecx
mov eax, dword [edx - 8]
mov dword [ebp - 0x20], eax
mov eax, dword [edx - 4]
mov dword [ebp - 0x1c], eax
jmp 0x4021a4
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
test ecx, ecx
jle 0x4021bd
dec ecx
add edx, 8
mov dword [ebp + 0xc], ecx
mov eax, dword [edx - 8]
mov dword [ebp - 0x28], eax
mov eax, dword [edx - 4]
mov dword [ebp - 0x24], eax
jmp 0x4021cb
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov eax, edx
mov dword [ebp - 0x30], 0
cdq
mov dword [ebp - 0x40], eax
mov eax, ecx
mov dword [ebp - 0x3c], edx
cdq
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov word [ebp - 8], fs
mov eax, 0x2b
mov fs, ax
mov dword [ebp - 4], esp
and esp, 0xfffffff0
push 0x33
call 0x402212
add dword [esp], 5
retf

Function at 0x4022a0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
sub esp, 0x808
push ebx
push ebp
push esi
push edi
xor edi, edi
mov dword [esp + 0x10], edx
xor ebp, ebp
mov dword [esp + 0x14], ecx
test ecx, ecx
je 0x4022fb
mov edi, ecx
lea edx, [edi + 2]
nop
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x4022c0
sub edi, edx
sar edi, 1
cmp edi, 0x200
jb 0x4022dc
mov edi, 0x1ff
push edi
push ecx
lea eax, [esp + 0x420]
push eax
lea ebp, [edi + edi]
call fcn.00401b50
add esp, 0xc
xor eax, eax
mov word [esp + ebp + 0x418], ax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov ebx, dword [eax + 0xc]
add ebx, 0xc
jne 0x40231d
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov ebx, dword [eax + 0xc]
add ebx, 0x14
je 0x40238f
mov esi, dword [ebx]
cmp esi, ebx
je 0x40238f
test esi, esi
je 0x40238f
cmp word [esi + 0x24], 2
jbe 0x402389
movzx eax, word [esi + 0x2c]
cmp eax, 2
jbe 0x402389
cmp dword [esi + 0x18], 0
je 0x402389
test ebp, ebp
je 0x402345
cmp ebp, eax
jne 0x402389
push edi
push dword [esi + 0x30]
lea eax, [esp + 0x20]
push eax
call fcn.00401b50
mov edx, dword [esp + 0x1c]
xor eax, eax
add esp, 0xc
mov word [esp + edi*2 + 0x18], ax
test edx, edx
je 0x40236a
cmp edx, dword [esi + 0x18]
jne 0x402389
cmp dword [esp + 0x14], eax
je 0x40239c
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x41c]
push eax
call fcn.00401bb0
add esp, 8
test eax, eax
je 0x40239c
mov esi, dword [esi]
cmp esi, ebx
jne 0x402323
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x808
ret
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x808
ret
Function at 0x402770
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov eax, dword [0x805dc0]
sub esp, 0x11c
test eax, eax
jne 0x40286e
push ebx
push esi
push edi
push 0x100
push eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov word [esp + 0x2c], ax
lea eax, [esp + 0x30]
push eax
call fcn.00401150
add esp, 0xc
xor edi, edi
xor eax, eax
lea ebx, [ebx]
mov byte [esp + eax + 0x28], al
inc eax
cmp eax, 0x100
jb 0x4027c0
xor esi, esi
mov edi, edi
mov dl, byte [esp + esi + 0x28]
mov eax, esi
and eax, 3
movzx ecx, dl
movzx eax, byte [eax + 0x41b100]
add eax, edi
add ecx, eax
movzx edi, cl
mov al, byte [esp + edi + 0x28]
mov byte [esp + esi + 0x28], al
inc esi
mov byte [esp + edi + 0x28], dl
cmp esi, 0x100
jb 0x4027d0
xor edi, edi
xor ebx, ebx
xor esi, esi
lea eax, [edi + 1]
movzx edi, al
mov cl, byte [esp + edi + 0x28]
movzx edx, cl
lea eax, [edx + ebx]
movzx ebx, al
movzx eax, byte [esp + ebx + 0x28]
mov byte [esp + edi + 0x28], al
mov byte [esp + ebx + 0x28], cl
movzx eax, byte [esp + edi + 0x28]
add eax, edx
movzx eax, al
movzx eax, byte [esp + eax + 0x28]
xor al, byte [esi + 0x41b104]
mov byte [esp + esi + 0xc], al
inc esi
cmp esi, 0x1a
jb 0x402805
xor edx, edx
lea ecx, [esp + 0xc]
call fcn.004022a0
pop edi
pop esi
pop ebx
test eax, eax
je 0x402869
mov eax, dword [eax + 0x18]
test eax, eax
je 0x402869
mov dword [0x805dc0], eax
add esp, 0x11c
ret
mov eax, dword [0x805dc0]
add esp, 0x11c
ret
Function at 0x4037c0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga
Get windows directory from kuser_shared_data

Disassembly:
mov eax, dword [0x805008]
sub esp, 0x20c
push ebp
mov ebp, ecx
push esi
push edi
test eax, eax
je 0x40396d
cmp dword [0x80500c], 0
jne 0x403959
xor eax, eax
push 0x100
push eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov word [esp + 0x1c], ax
mov byte [esp + 0x1e], al
lea eax, [esp + 0x20]
push eax
call fcn.00401150
add esp, 0xc
xor edi, edi
xor eax, eax
nop
mov byte [esp + eax + 0x18], al
inc eax
cmp eax, 0x100
jb 0x403810
xor esi, esi
mov edi, edi
mov dl, byte [esp + esi + 0x18]
mov eax, esi
and eax, 3
movzx ecx, dl
movzx eax, byte [eax + 0x41b0d4]
add eax, edi
add ecx, eax
movzx edi, cl
mov al, byte [esp + edi + 0x18]
mov byte [esp + esi + 0x18], al
inc esi
mov byte [esp + edi + 0x18], dl
cmp esi, 0x100
jb 0x403820
xor esi, esi
xor edi, edi
xor edx, edx
lea eax, [esi + 1]
movzx esi, al
mov cl, byte [esp + esi + 0x18]
movzx eax, cl
add eax, edi
movzx edi, al
movzx eax, byte [esp + edi + 0x18]
mov byte [esp + esi + 0x18], al
mov byte [esp + edi + 0x18], cl
movzx eax, byte [esp + esi + 0x18]
movzx ecx, cl
add ecx, eax
movzx eax, cl
movzx eax, byte [esp + eax + 0x18]
xor al, byte [edx + 0x41b0d8]
mov byte [esp + edx + 0xc], al
inc edx
cmp edx, 0xb
jb 0x403855
push 0x200
lea eax, [esp + 0x1c]
push 0
push eax
call fcn.00401150
mov edx, 0x7ffe0030
add esp, 0xc
xor ecx, ecx
lea esi, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4038b4
sub edx, esi
sar edx, 1
je 0x40396d
mov esi, ebp
lea edi, [esi + 1]
mov edi, edi
mov al, byte [esi]
inc esi
test al, al
jne 0x4038d0
sub esi, edi
add edx, 0xc
add edx, esi
cmp edx, 0x200
ja 0x40396d
xor eax, eax
push ebx
test edx, edx
je 0x403908
movzx ebx, word [eax + eax + 0x7ffe0030]
test bx, bx
je 0x403908
mov byte [esp + eax + 0x1c], bl
inc ecx
inc eax
cmp eax, edx
jb 0x4038f1
xor eax, eax
test edx, edx
je 0x403922
mov edi, edi
mov bl, byte [esp + eax + 0x10]
test bl, bl
je 0x403922
mov byte [esp + ecx + 0x1c], bl
inc eax
inc ecx
cmp eax, edx
jb 0x403910
xor eax, eax
test edx, edx
je 0x40393f
lea ecx, [esp + ecx + 0x1c]
lea esp, [esp]
mov bl, byte [eax + ebp]
test bl, bl
je 0x40393f
mov byte [ecx], bl
inc eax
inc ecx
cmp eax, edx
jb 0x403930
push 8
push 0
lea eax, [esp + 0x24]
push eax
call dword [0x805008]
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x20c
ret
push 0x800
push 0
push ebp
call eax
pop edi
pop esi
pop ebp
add esp, 0x20c
ret
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x20c
ret
Function at 0x41a522
Capabilities:
Execute syscall

Disassembly:
mov edx, esp
sysenter
ret
Function at 0x4010d8
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x439004]
jne 0x4010e2
repz ret
jmp fcn.004016f1

Function at 0x4056ab
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x439004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004044d0
and dword [ebp - 0x14], 0
cmp dword [0x43bb38], 0
mov dword [ebp - 0x18], eax
jne 0x40575e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x405806
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x405806
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x43bb38], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x43bb3c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x43bb40], eax
call edi
push eax
call esi
mov dword [0x43bb48], eax
test eax, eax
je 0x40575e
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x43bb44], eax
mov eax, dword [0x43bb44]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4057b7
cmp dword [0x43bb48], ecx
je 0x4057b7
push eax
call esi
push dword [0x43bb48]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4057b7
test ebx, ebx
je 0x4057b7
call edi
test eax, eax
je 0x4057ae
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4057ae
test byte [ebp - 8], 1
jne 0x4057b7
or dword [ebp + 0x10], 0x200000
jmp 0x4057ea
mov eax, dword [0x43bb3c]
cmp eax, dword [ebp - 0x18]
je 0x4057ea
push eax
call esi
test eax, eax
je 0x4057ea
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4057ea
mov eax, dword [0x43bb40]
cmp eax, dword [ebp - 0x18]
je 0x4057ea
push eax
call esi
test eax, eax
je 0x4057ea
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x43bb38]
call esi
test eax, eax
je 0x405806
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x405808
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004010d8
leave
ret
Function at 0x42ee50
Capabilities:
Encode data using xor

Disassembly:
push esi
xor esi, esi
test ebx, ebx
jle 0x42ee64
call fcn.0042edd0
xor byte [esi + edi], al
inc esi
cmp esi, ebx
jl 0x42ee57
pop esi
cmp ebx, 0x2d
jne 0x42ee7e
mov dword [0x82cb98], 0xa62e7790
mov dword [0x82cb9c], 0xffffffff
ret

Function at 0x42ee80
Capabilities:
Create pipe

Disassembly:
mov eax, dword [0x439db8]
sub esp, 0x14
push ebx
mov ebx, dword [0x82cb8c]
push edi
mov edi, dword [0x82a70c]
call fcn.0042ee20
cmp dword [0x82cb8c], 0x2f
jne 0x42eee2
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
call fcn.0042ee50
pop edi
pop ebx
add esp, 0x14
ret
Function at 0x1002aadf
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x1002aaee
pop dword [ebp - 0x50]
mov eax, 0x194de3db
sub eax, 0x94b38ed
sub dword [ebp - 0x50], eax
mov dword [ebp - 0x60], 0x6d023e5d
sub dword [ebp - 0x60], 0x1eaff912
mov dword [ebp - 0x5c], 0xdb5b6af
sub dword [ebp - 0x5c], 0xdb826a6a
mov dword [ebp - 0x58], 0xfbea624f
sub dword [ebp - 0x58], 0xaf9e1e21
mov dword [ebp - 0x54], 0x92dec319
sub dword [ebp - 0x54], 0x92dec319
lea eax, [ebp - 0x60]
push eax
mov eax, 0xe3d1e338
add eax, 0x2c30dd00
add eax, dword [ebp - 0x50]
call dword [eax]
mov dword [ebp - 0x60], 0xadc0739f
sub dword [ebp - 0x60], 0x394e0a49
mov dword [ebp - 0x5c], 0xafe84408
sub dword [ebp - 0x5c], 0x6e7be293
mov dword [ebp - 0x58], 0x2c54db3c
add dword [ebp - 0x58], 0x371a9130
mov dword [ebp - 0x54], 0xc985d063
add dword [ebp - 0x54], 0x367a2f9d
lea ebx, [ebp - 0x60]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x50]
call dword [eax]
push 0x40
push 0x1000
push 0x35aa4
push 0
call eax
mov ecx, 0x44ca
mov esi, eax
mov edx, 0x10039600
add edx, dword [ebp - 0x50]
mov edi, 0x97e85a7c
add edi, 0x10ec467f
add dword [ebp - 0xc], 0xe560a71d
mov ebx, dword [edx]
xor dword [ebp - 0x28], ecx
add ebx, edi
add dword [ebp - 0x1c], 0x49256e7e
mov dword [esi], ebx
mov dword [ebp - 0xc], 0x824ffb18
add esi, 0xe9f53a78
add esi, 0x160ac58c
add edx, 0x5fe13e8a
add edx, 0xa01ec17a
loop 0x1002abff
add eax, 0xb302df5c
add eax, 0x4cfe269f
mov ebx, eax
add eax, 5
mov ecx, 0x15a64dd3
add ecx, 0xfa59b22d
add ecx, dword [ebp - 0x50]
call ebx
leave
ret
Function at 0x10027b10
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [edx + 4]
push edi
mov edi, ecx
test esi, esi
je 0x10027b90
cmp dword [esi], 0
je 0x10027b90
mov eax, dword fs:[0x2c]
mov edx, dword [0x1008a2c0]
mov ecx, dword [eax + edx*4]
mov eax, dword [0x1008ac6c]
cmp eax, dword [ecx + 4]
jle 0x10027b6f
push 0x1008ac6c
call fcn.10045866
add esp, 4
cmp dword [0x1008ac6c], 0xffffffff
jne 0x10027b6f
mov al, byte [esi + 1]
sub al, byte [esi + 3]
sub al, byte [esi + 2]
add al, byte [esi]
push 0x1008ac6c
mov byte [0x1008ac70], al
call fcn.1004581c
add esp, 4
mov cl, byte [edi]
mov eax, edi
test cl, cl
je 0x10027b8b
mov dl, byte [0x1008ac70]
nop dword [eax]
xor cl, dl
mov byte [eax], cl
inc eax
mov cl, byte [eax]
test cl, cl
jne 0x10027b80
sub eax, edi
pop edi
pop esi
ret
pop edi
xor eax, eax
pop esi
ret

Function at 0x1004627f
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xec
push esi
mov byte [ebp - 0x4c], 0x6a
mov byte [ebp - 0x4b], 0x6c
mov byte [ebp - 0x4a], 0x7a
mov byte [ebp - 0x49], 0x2a
mov byte [ebp - 0x48], 0x46
mov byte [ebp - 0x47], 0x54
mov byte [ebp - 0x46], 0x26
mov byte [ebp - 0x45], 0x44
mov byte [ebp - 0x44], 0x37
mov byte [ebp - 0x43], 0x3f
inc ebp
mov ebp, 0xbe45c63f
pop esi
mov byte [ebp - 0x41], 0x26
mov byte [ebp - 0x40], 0x45
mov byte [ebp - 0x3f], 0x6f
mov byte [ebp - 0x3e], 0x54
mov byte [ebp - 0x3d], 0x56
mov byte [ebp - 0x3c], 0x4b
mov byte [ebp - 0x3b], 0x54
mov byte [ebp - 0x3a], 0x69
mov byte [ebp - 0x39], 0x30
mov byte [ebp - 0x38], 0x56
mov byte [ebp - 0x37], 0x46
mov byte [ebp - 0x36], 0x4d
mov byte [ebp - 0x35], 0x44
mov byte [ebp - 0x34], 0x7a
mov byte [ebp - 0x33], 0x34
xor al, 0xc6
inc ebp
into
add bh, al
inc ebp
lock add byte [eax], al
add byte [eax], al
Function at 0x10046471
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.10046cdf
add esp, 8
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x50], 0x70c00
push 4
push 0x3000
mov edx, dword [ebp - 0x50]
push edx
push 0
call dword [ebp - 0x54]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x1c], 0
jmp 0x100464ac
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [ebp - 0x50]
jae 0x100464db
mov edx, dword [ebp - 0x1c]
movzx ecx, byte [edx + resource.0]
mov eax, dword [ebp - 0x1c]
xor edx, edx
mov esi, 0x1b
div esi
movzx edx, byte [ebp + edx - 0x4c]
xor ecx, edx
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x1c]
mov byte [eax], cl
jmp 0x100464a3
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.10046a2f
add esp, 4
mov dword [ebp - 0xcc], eax
push 0x40
push 0x3000
mov edx, dword [ebp - 0xcc]
push edx
push 0
call dword [ebp - 0x54]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10046510
xor eax, eax
jmp 0x100468c7
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x68]
mov edx, dword [ebp - 0x68]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
movzx ecx, word [eax + 0x14]
mov edx, dword [ebp - 0xc]
lea eax, [edx + ecx + 0x18]
mov dword [ebp - 0xb8], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
sub edx, dword [ecx + 0x34]
mov dword [ebp - 0xc0], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
mov dword [eax + 0x34], ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x54]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.10046aaf
add esp, 0xc
mov eax, 8
imul ecx, eax, 5
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + ecx + 0x78]
mov ecx, dword [edx + ecx + 0x7c]
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], ecx
mov edx, 8
shl edx, 0

Function at 0x1004695f
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x10]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0x14], edx
mov eax, 8
imul ecx, eax, 0
mov edx, dword [ebp - 0x14]
cmp dword [edx + ecx + 0x78], 0
jne 0x10046990
xor eax, eax
jmp 0x10046a24
mov eax, 8
imul ecx, eax, 0
mov edx, dword [ebp - 0x14]

Function at 0x1005c192
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10076f90
push 0x10076f88
push str.FlsAlloc
push 0x1e
call fcn.1005bfff
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1005c1c6
push dword [ebp + 8]
mov ecx, esi
call dword [0x10072204]
call esi
jmp 0x1005c1cc
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1005c210
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10076fa0
push 0x10076f98
push str.FlsGetValue
push 0x20
call fcn.1005bfff
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1005c247
push dword [ebp + 8]
mov ecx, esi
call dword [0x10072204]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x40633a
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
push esi
mov esi, 0x104
lea eax, [ebp - 0x120]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
cmp eax, esi
pop esi
jbe 0x40635e
xor eax, eax
test eax, eax
je 0x406370
cmp byte [ebp + eax - 0x121], 0x5c
je 0x406370
xor ecx, ecx
jmp 0x406373
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx + 0x40a014]
lea eax, [ebp + eax - 0x120]
push ecx
push str._s_s.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x120]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
leave
ret 4

Function at 0x40645f
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x42ce04], 0
push esi
jne 0x406496
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406470
mov dword [ecx*4 + 0x42ce00], eax
inc ecx
cmp ecx, 0x100
jl 0x40646b
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x4064c7
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x42ce00]
xor eax, esi
inc ecx
dec edx
jne 0x4064a9
pop edi
not eax
pop esi
ret 0xc

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x401040
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
lea edx, [ebp + 0x10]
sub esp, 0x40
push ebx
push esi
push edi
test ecx, ecx
jle 0x401068
mov eax, dword [ebp + 0x10]
lea edx, [ebp + 0x18]
dec ecx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp + 0xc], ecx
mov dword [ebp - 0xc], eax
jmp 0x401076
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
test ecx, ecx
jle 0x40108f
dec ecx
add edx, 8
mov dword [ebp + 0xc], ecx
mov eax, dword [edx - 8]
mov dword [ebp - 0x18], eax
mov eax, dword [edx - 4]
mov dword [ebp - 0x14], eax
jmp 0x40109d
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
test ecx, ecx
jle 0x4010b6
dec ecx
add edx, 8
mov dword [ebp + 0xc], ecx
mov eax, dword [edx - 8]
mov dword [ebp - 0x20], eax
mov eax, dword [edx - 4]
mov dword [ebp - 0x1c], eax
jmp 0x4010c4
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
test ecx, ecx
jle 0x4010dd
dec ecx
add edx, 8
mov dword [ebp + 0xc], ecx
mov eax, dword [edx - 8]
mov dword [ebp - 0x28], eax
mov eax, dword [edx - 4]
mov dword [ebp - 0x24], eax
jmp 0x4010eb
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov eax, edx
mov dword [ebp - 0x30], 0
cdq
mov dword [ebp - 0x40], eax
mov eax, ecx
mov dword [ebp - 0x3c], edx
cdq
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov word [ebp - 8], fs
mov eax, 0x2b
mov fs, ax
mov dword [ebp - 4], esp
and esp, 0xfffffff0
push 0x33
call fcn.00401132