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

Disassembly:
xor dword [ebx], eax
dec edi
add esi, esi
add ebx, 4
add edi, edx
sub edi, 0x65307b99
or edx, esi
cmp ebx, ecx
jne fcn.00414dd6
add edi, 0x76466a06
mov edi, 0x5281d892
ret

Function at 0x461f20
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x455015
lea edi, [esi - 0x54015]
push edi
or ebp, 0xffffffff
jmp 0x461f42
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x461f49
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x461f38
mov eax, 1
add ebx, ebx
jne 0x461f5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x461f50
jne 0x461f6c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x461f50
xor ecx, ecx
sub eax, 3
jb 0x461f80
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x461ff2
mov ebp, eax
add ebx, ebx
jne 0x461f8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x461f98
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x461fbc
inc ecx
add ebx, ebx
jne 0x461fa8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x461f9d
jne 0x461fb9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x461f9d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x461fdc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x461fcd
jmp 0x461f3e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x461fdc
add edi, ecx
jmp 0x461f3e
pop esi
mov edi, esi
mov ecx, 0x32d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x461ffa
cmp byte [edi], 0
jne 0x461ffa
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 eax, ebx
loop 0x461fff
lea edi, [esi + 0x5f000]
mov eax, dword [edi]
or eax, eax
je 0x46206e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x621f0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x62254]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x46202c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x62258]
or eax, eax
je 0x462068
mov dword [ebx], eax
add ebx, 4
jmp 0x462049
call dword [esi + 0x6225c]
popal
jmp 0x4095a4

Function at 0x103111c
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1031126
pushal
call 0x103112c
pop ebp
sub ebp, 0x10
sub ebp, 0xc3111c
jmp 0x1031142
mov eax, 0xc3111c
add eax, ebp
add eax, 0x4c
mov ecx, 0x59d
mov edx, 0xaab3450f
xor byte [eax], dl
inc eax
dec ecx
jne 0x1031159
jmp 0x103116c
test dl, al
test byte [esi + 0xf0f0f33], al
mov cs, esi
test dword [edi], 0xc20c0f0f
mov bh, 9
invalid
Function at 0x4018a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x41a138
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
mov eax, dword [0x42076c]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], 0
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x30], 0
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [esp + 0x34]
test eax, eax
je 0x4018ed
mov eax, dword [eax]
jmp 0x4018ef
xor eax, eax
mov ecx, dword [esi]
lea edx, [esp + 0xc]
push edx
push eax
mov eax, dword [ecx + 0x6c]
push esi
call eax
test eax, eax
jge 0x40190d
push 0x41d8e8
push esi
push eax
call fcn.00406d00
push 0x10
lea ecx, [esp + 0x10]
push ecx
push 0x10
push ebx
call fcn.00407486
mov esi, dword [esp + 0x44]
xor edx, edx
add esp, 0x10
mov word [esp + 0xc], dx
test esi, esi
je 0x401966
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x401966
test esi, esi
je 0x401966
mov eax, dword [esi]
test eax, eax
je 0x40194d
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x40195d
push eax
call fcn.00407470
add esp, 4
push esi
call fcn.0040747b
add esp, 4
mov eax, ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x28
ret 4

Function at 0x401b50
Capabilities:
Encode data using xor

Disassembly:
mov eax, str.abc123
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401b58
sub eax, edx
xor ecx, ecx
push esi
mov esi, eax
test ebx, ebx
jbe 0x401b85
lea ebx, [ebx]
mov eax, ecx
xor edx, edx
div esi
inc ecx
mov al, byte [edx + str.abc123]
xor byte [ecx + edi - 1], al
cmp ecx, ebx
jb 0x401b70
pop esi
ret
Function at 0x407010
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42076c]
jne 0x40701a
repz ret
jmp fcn.0040bdff

Function at 0x415f6b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0040c607
and dword [ebp - 4], 0
cmp dword [0x42241c], 0
mov ebx, eax
jne 0x41601c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4160cd
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4160cd
push eax
call fcn.0040c595
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x42241c], eax
call esi
push eax
call fcn.0040c595
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x422420], eax
call esi
push eax
call fcn.0040c595
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x422424], eax
call esi
push eax
call fcn.0040c595
pop ecx
mov dword [0x42242c], eax
test eax, eax
je 0x41601c
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040c595
pop ecx
mov dword [0x422428], eax
mov eax, dword [0x422428]
cmp eax, ebx
je 0x416074
cmp dword [0x42242c], ebx
je 0x416074
push eax
call fcn.0040c610
push dword [0x42242c]
mov esi, eax
call fcn.0040c610
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x416074
test edi, edi
je 0x416074
call esi
test eax, eax
je 0x41606b
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x41606b
test byte [ebp - 0xc], 1
jne 0x416074
or dword [ebp + 0x10], 0x200000
jmp 0x4160ad
mov eax, dword [0x422420]
cmp eax, ebx
je 0x4160ad
push eax
call fcn.0040c610
pop ecx
test eax, eax
je 0x4160ad
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4160ad
mov eax, dword [0x422424]
cmp eax, ebx
je 0x4160ad
push eax
call fcn.0040c610
pop ecx
test eax, eax
je 0x4160ad
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x42241c]
call fcn.0040c610
pop ecx
test eax, eax
je 0x4160cd
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4160cf
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1005fbd1
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 4], ecx
test esi, esi
jne 0x1005fbeb
call fcn.1000cb56
mov esi, dword [eax + 0xc]
push dword [0x1016c5c8]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x1005fc09
xor eax, eax
pop edi
pop esi
leave
ret 8
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x1005fc01
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x1005fc36
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
jmp 0x1005fc03
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.1005faff
mov esi, eax
jmp 0x1005fc28

Function at 0x100b6610
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd8
mov dword [ebp - 0xc], 0x10164d7c
mov eax, dword [ebp - 0xc]
push dword [eax + 8]
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0xc]
push dword [eax + 0x10]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_HeapCreate]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
push dword [eax + 0x10]
push dword [ebp - 0x14]
call fcn.100b65a1
invalid
invalid
call [ecx + 0x59]
push 0x104
push dword [ebp - 0x14]
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x44], eax
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
movzx eax, word [ecx + eax*2]
test eax, eax
je 0x100b6691
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
jmp 0x100b667a
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
movzx eax, word [ecx + eax*2 - 2]
cmp eax, 0x5c
je 0x100b66bc
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov word [edx + ecx*2], ax
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
jmp 0x100b6697
and dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x44]
add eax, dword [ebp - 0x20]
movsx eax, byte [eax]
test eax, eax
je 0x100b66f1
mov eax, dword [ebp - 0x44]
add eax, dword [ebp - 0x20]
movsx ax, byte [eax]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov word [edx + ecx*2], ax
mov dword [edx + ecx*2], eax
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
jmp 0x100b66c0
push 0x44
lea eax, [ebp - 0xd8]
push eax
call fcn.100b65a1
pop ecx
pop ecx
push 0x10
lea eax, [ebp - 0x94]
push eax
call fcn.100b65a1
pop ecx
pop ecx
push 0
push 0x80
push 3
push 0
push 1
push 1
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0xffffffff
jne fcn.100b6737
jmp 0x100b6962
Function at 0x100b6737
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0xc]
push dword [eax + 0x18]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_HeapCreate]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
push dword [eax + 0x18]
push dword [ebp - 4]
call fcn.100b65a1
pop ecx
pop ecx
and dword [ebp - 0x48], 0
push 0
lea eax, [ebp - 0x48]
push eax
push dword [ebp - 0x5c]
push dword [ebp - 4]
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x100b6795
jmp 0x100b6962
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x48]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x28]
add eax, dword [ebp - 4]

Function at 0x100ded62
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
test byte [esi + 4], 1
push edi
mov ebx, ecx
je 0x100ded7a
mov edi, dword [esi + 0xc]
jmp 0x100dedba
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x100ded93
call fcn.10019215
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x100deda8
call fcn.10019215
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x100dedba
call fcn.10019215
call fcn.1000cb56
cmp dword [eax + 0x3c], 0
je 0x100dedcf
push edi
mov ecx, ebx
call fcn.100ddb94
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.100dec7c
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x100deded
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x7c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x100dedf9
mov edi, eax
mov dword [ebx + 0x7c], eax
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x100f9185
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x101672f8]
jne 0x100f918f
repz ret
jmp fcn.100ff334
Function at 0x4019b0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga
Get windows directory from kuser_shared_data

Disassembly:
mov eax, dword [0x991808]
sub esp, 0x110
push ebp
mov ebp, ecx
push esi
push edi
test eax, eax
je 0x401b5d
cmp dword [0x99180c], 0
jne 0x401b49
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.004042c0
add esp, 0xc
xor edi, edi
xor eax, eax
nop
mov byte [esp + eax + 0x18], al
inc eax
cmp eax, 0x100
jb 0x401a00
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 0x401a10
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 0x401a45
push 0x104
lea eax, [esp + 0x1c]
push 0
push eax
call fcn.004042c0
mov edx, 0x7ffe0030
add esp, 0xc
xor ecx, ecx
lea esi, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x401aa4
sub edx, esi
sar edx, 1
je 0x401b5d
mov esi, ebp
lea edi, [esi + 1]
mov edi, edi
mov al, byte [esi]
inc esi
test al, al
jne 0x401ac0
sub esi, edi
add edx, 0xc
add edx, esi
cmp edx, 0x104
ja 0x401b5d
xor eax, eax
push ebx
test edx, edx
je 0x401af8
movzx ebx, word [eax + eax + 0x7ffe0030]
test bx, bx
je 0x401af8
mov byte [esp + eax + 0x1c], bl
inc ecx
inc eax
cmp eax, edx
jb 0x401ae1
xor eax, eax
test edx, edx
je 0x401b12
mov edi, edi
mov bl, byte [esp + eax + 0x10]
test bl, bl
je 0x401b12
mov byte [esp + ecx + 0x1c], bl
inc eax
inc ecx
cmp eax, edx
jb 0x401b00
xor eax, eax
test edx, edx
je 0x401b2f
lea ecx, [esp + ecx + 0x1c]
lea esp, [esp]
mov bl, byte [eax + ebp]
test bl, bl
je 0x401b2f
mov byte [ecx], bl
inc eax
inc ecx
cmp eax, edx
jb 0x401b20
push 8
push 0
lea eax, [esp + 0x24]
push eax
call dword [0x991808]
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x110
ret
push 0x800
push 0
push ebp
call eax
pop edi
pop esi
pop ebp
add esp, 0x110
ret
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x110
ret
Function at 0x402c50
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov eax, dword [0x99194c]
sub esp, 0x11c
test eax, eax
jne 0x402d4c
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.004042c0
add esp, 0xc
xor edi, edi
xor eax, eax
lea ebx, [ebx]
mov byte [esp + eax + 0x28], al
inc eax
cmp eax, 0x100
jb 0x402ca0
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 0x402cb0
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 0x402ce5
lea edx, [esp + 0xc]
call fcn.004012e0
pop edi
pop esi
pop ebx
test eax, eax
je 0x402d47
mov eax, dword [eax + 0x18]
test eax, eax
je 0x402d47
mov dword [0x99194c], eax
add esp, 0x11c
ret
mov eax, dword [0x99194c]
add esp, 0x11c
ret
Function at 0x403c70
Capabilities:
Check os version

Disassembly:
mov ecx, 1
mov edx, 0x991948
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
jne 0x403d99
cmp dword fs:[0xc0], eax
je 0x403c9b
mov dword [0x991944], 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 [0x99182c], eax
mov eax, dword [esi + 0xa8]
mov dword [0x991830], eax
movzx edx, word [esi + 0xac]
mov dword [0x991834], edx
mov eax, dword [esi + 0xb0]
mov dword [0x991838], eax
mov eax, dword [esi + 0x1f4]
test eax, eax
je 0x403cfb
push 0x7f
push eax
push 0x99183c
call fcn.004042f0
mov edx, dword [0x991834]
add esp, 0xc
jmp 0x403d03
xor eax, eax
mov word [0x99183c], ax
movzx eax, byte [esi + 0xaf]
mov ecx, 0xff
mov word [0x99193c], ax
movzx eax, word [esi + 0xae]
and ax, cx
mov word [0x99193e], ax
movzx eax, word [0x7ffe02d0]
mov word [0x991940], ax
mov ecx, eax
mov byte [0x991942], 0
cmp byte [0x7ffe0268], 0
je 0x403d4a
mov ebx, dword [0x7ffe0264]
pop esi
mov byte [0x991942], bl
cmp ebx, 1
pop ebx
jne 0x403d64
and ecx, 0xffef
mov word [0x991940], cx
test edx, edx
jne 0x403d99
call fcn.00403c70
cmp dword [0x99182c], 6
ja 0x403d99
jb 0x403d81
cmp dword [0x991830], 4
jae 0x403d99
call fcn.00403c70
cmp dword [0x99182c], 0xa
jae 0x403d99
mov dword [0x991834], 1
ret
Function at 0x41a972
Capabilities:
Execute syscall

Disassembly:
mov edx, esp
sysenter
ret
Function at 0x40adc0
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1014
call fcn.00404730
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], 0
mov eax, dword [0x4170bc]
cmp ebx, eax
jae 0x40adfb
mov eax, ebx
and eax, 0x1f
mov edx, ebx
sar edx, 5
mov edx, dword [edx*4 + 0x4170c0]
test byte [edx + eax*8 + 4], 1
jne 0x40ae0d
mov dword [0x415c84], 9
or eax, 0xffffffff
jmp 0x40af32
push 1
push 0
push ebx
call fcn.00409fd0
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp eax, 0xffffffff
je 0x40ae37
push 2
push 0
push ebx
call fcn.00409fd0
add esp, 0xc
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
jne 0x40ae3f
or eax, 0xffffffff
jmp 0x40af32
mov eax, dword [ebp + 0xc]
mov esi, eax
sub esi, dword [ebp - 8]
or esi, esi
jle 0x40aee4
lea edx, [ebp - 0x1010]
mov ecx, 0x1000
xor eax, eax
push edi
push edx
pop edi
rep stosb byte es:[edi], al
pop edi
push edx
pop eax
push 0x8000
push ebx
call fcn.0040b330
add esp, 8
mov dword [ebp - 0x10], eax
mov eax, esi
cmp eax, 0x1000
jb 0x40ae8a
mov dword [ebp - 0x1014], 0x1000
jmp 0x40ae92
push esi
pop eax
mov dword [ebp - 0x1014], eax
mov eax, dword [ebp - 0x1014]
push eax
lea eax, [ebp - 0x1010]
push eax
push ebx
call fcn.004086d0
add esp, 0xc
mov edi, eax
cmp eax, 0xffffffff
jne 0x40aecb
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 5
jne 0x40aec5
mov dword [0x415c84], 0xd
or dword [ebp - 4], 0xffffffff
jmp 0x40aed5
push esi
pop eax
sub eax, edi
push eax
pop esi
or eax, eax
jg 0x40ae75
mov eax, dword [ebp - 0x10]
push eax
push ebx
call fcn.0040b330
add esp, 8
jmp 0x40af20
test esi, esi
jge 0x40af20
push 0
mov eax, dword [ebp + 0xc]
push eax
push ebx
call fcn.00409fd0
add esp, 0xc
push ebx
call fcn.00408b00
pop ecx
push eax
call dword [sym.imp.KERNEL32.DLL_SetEndOfFile]
test eax, eax
setne al
and eax, 1
dec eax
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
jne 0x40af20
mov dword [0x415c84], 0xd
push 0
mov eax, dword [ebp - 0xc]
push eax
push ebx
call fcn.00409fd0
add esp, 0xc
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
push ebp
pop esp
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x30d32821
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43204e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x432024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f314
nop
mov ecx, 0x3a8b24ab
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x432084
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43206c
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..text
nop
mov ebx, 0x408f6c
nop
mov ecx, 0x5f0f77d4
nop
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..data
nop
mov ebx, 0x42e3d0
mov ecx, 0x28143408
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x406663
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x414890
sub esp, 0x2c
mov eax, dword [0x501100]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
mov ebx, dword [esp + 0x34]
push ebp
push esi
push edi
mov eax, dword [ebx + 0x3c]
xor esi, esi
mov dword [esp + 0x10], 0
mov eax, dword [eax + ebx + 0x78]
add eax, ebx
mov dword [esp + 0x1c], eax
mov edi, dword [eax + 0x20]
mov eax, dword [eax + 0x18]
add edi, ebx
mov dword [esp + 0x18], eax
test eax, eax
je 0x414979
mov ebp, dword [esp + 0x44]
mov edx, dword [edi]
xorps xmm0, xmm0
add edx, ebx
mov dword [esp + 0x30], 0
mov eax, edx
mov dword [esp + 0x34], 0
movups xmmword [esp + 0x20], xmm0
lea ecx, [eax + 1]
mov dword [esp + 0x14], ecx
nop word [eax + eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x414900
sub eax, dword [esp + 0x14]
lea ecx, [esp + 0x20]
push eax
push edx
call fcn.00405510
test ebx, ebx
je 0x414939
cmp ebp, 3
jbe 0x414939
lea eax, [esp + 0x20]
push 0x14d
push eax
call fcn.00402d10
add esp, 8
test eax, eax
je 0x414939
cmp eax, ebp
je 0x414992
mov ecx, dword [esp + 0x34]
add edi, 4
cmp ecx, 0x10
jb 0x41496e
mov edx, dword [esp + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x414964
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4149e1
push ecx
push edx
call fcn.00401a46
add esp, 8
inc esi
cmp esi, dword [esp + 0x18]
jb 0x4148d5
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x38]
add eax, ebx
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00403085
add esp, 0x2c
ret
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 0x24]
lea eax, [eax + esi*2]
movzx ecx, word [eax + ebx]
mov eax, dword [edx + 0x1c]
lea eax, [eax + ecx*4]
mov ecx, dword [eax + ebx]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x34]
cmp ecx, 0x10
jb 0x414979
mov edx, dword [esp + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4149d5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4149e1
push ecx
push edx
call fcn.00401a46
add esp, 8
jmp 0x414979
call fcn.00404818
int3