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

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x14]
lea eax, [ecx + eax*2 + 0xc]
push edi
push eax
call dword [0x1013ed24]
mov edi, eax
add esp, 4
test edi, edi
jne 0x100a9205
pop edi
pop esi
pop ecx
ret
lea eax, [edi + 0xc]
mov dword [edi], esi
mov dword [edi + 4], eax
mov edx, dword [esi + 0xc]
push ebx
add edx, eax
push ebp
mov ebp, dword [esp + 0x20]
mov dword [edi + 8], edx
cmp ebp, dword [esi + 0x10]
jbe 0x100a924c
push eax
mov eax, dword [esi]
call eax
mov ecx, dword [esp + 0x20]
mov edx, dword [edi + 4]
mov eax, dword [esi + 4]
push ebp
push ecx
push edx
call eax
mov ebx, dword [edi + 8]
mov ecx, dword [edi + 4]
add ebx, dword [esi + 0xc]
mov edx, dword [esi + 8]
push ecx
push ebx
call edx
mov ebp, dword [esi + 0x14]
add esp, 0x18
jmp 0x100a9250
mov ebx, dword [esp + 0x1c]
mov eax, dword [edi + 4]
mov ecx, dword [esi]
push eax
call ecx
mov edx, dword [edi + 8]
mov eax, dword [esi]
push edx
call eax
add esp, 8
mov dword [esp + 0x10], 0
test ebp, ebp
jbe 0x100a92ae
mov dword [esp + 0x10], ebp
mov cl, byte [ebx]
xor cl, 0x36
mov byte [esp + 0x18], cl
mov eax, dword [edi + 4]
mov ecx, dword [esi + 4]
push 1
lea edx, [esp + 0x1c]
push edx
push eax
call ecx
mov dl, byte [ebx]
xor dl, 0x5c
mov byte [esp + 0x24], dl
mov ecx, dword [edi + 8]
mov edx, dword [esi + 4]
push 1
lea eax, [esp + 0x28]
push eax
push ecx
inc ebx
call edx
add esp, 0x18
sub ebp, 1
jne 0x100a9273
mov eax, dword [esp + 0x10]
pop ebp
pop ebx
cmp eax, dword [esi + 0x10]
jae 0x100a92f1
lea esp, [esp]
mov ecx, dword [edi + 4]
mov edx, dword [esi + 4]
push 1
push 0x100e8dbc
push ecx
call edx
mov eax, dword [edi + 8]
mov ecx, dword [esi + 4]
push 1
push 0x100e8dbd
push eax
call ecx
mov eax, dword [esp + 0x20]
inc eax
add esp, 0x18
mov dword [esp + 8], eax
cmp eax, dword [esi + 0x10]
jb 0x100a92c0
mov eax, edi
pop edi
pop esi
pop ecx
ret
Function at 0x4841bc
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x415994]
call fcn.0040530c
xor eax, eax
push ebp
push 0x484300
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4b0040], 0
jne 0x48420f
mov ecx, dword [0x4b11d8]
mov dl, 1
mov eax, dword [0x407d8c]
call fcn.0040c8b4
call fcn.00404338
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00403294
mov eax, ebx
call fcn.004051bc
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x484310
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.004063a4
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.004051cc
test eax, eax
jle 0x4842a7
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x4842a0
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404c08
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404bf0
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00408c38
test eax, eax
jne 0x4842a0
mov ebx, 0x15
jmp 0x4842ac
mov ebx, 0x10
jmp 0x4842ac
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x4b0040]
call fcn.00484114
mov eax, dword [ebp - 8]
call fcn.00484114
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.004063bc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x484307
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.004049a4
lea eax, [ebp - 0x10]
mov edx, dword [0x415994]
call fcn.004053dc
ret
Function at 0x4015ad
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x44207c]
jne 0x4015b7
repz ret
jmp fcn.0040222b

Function at 0x406b8a
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x44207c]
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.0040407d
and dword [ebp - 0x14], 0
cmp dword [0x444d4c], 0
mov dword [ebp - 0x18], eax
jne 0x406c3d
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x406ce5
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x406ce5
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x444d4c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x444d50], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x444d54], eax
call edi
push eax
call esi
mov dword [0x444d5c], eax
test eax, eax
je 0x406c3d
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x444d58], eax
mov eax, dword [0x444d58]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x406c96
cmp dword [0x444d5c], ecx
je 0x406c96
push eax
call esi
push dword [0x444d5c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x406c96
test ebx, ebx
je 0x406c96
call edi
test eax, eax
je 0x406c8d
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x406c8d
test byte [ebp - 8], 1
jne 0x406c96
or dword [ebp + 0x10], 0x200000
jmp 0x406cc9
mov eax, dword [0x444d50]
cmp eax, dword [ebp - 0x18]
je 0x406cc9
push eax
call esi
test eax, eax
je 0x406cc9
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x406cc9
mov eax, dword [0x444d54]
cmp eax, dword [ebp - 0x18]
je 0x406cc9
push eax
call esi
test eax, eax
je 0x406cc9
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x444d4c]
call esi
test eax, eax
je 0x406ce5
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x406ce7
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004015ad
leave
ret
Function at 0x4031d4
Capabilities:
Read file via mapping

Disassembly:
push ebx
push esi
call fcn.004031a0
push str.LocalFastMM_PID________
push 0
push 4
call sub.KERNEL32.DLL_OpenFileMappingA
mov ebx, eax
test ebx, ebx
jne 0x4031f4
xor eax, eax
pop esi
pop ebx
ret
push 0
push 0
push 0
push 4
push ebx
call sub.KERNEL32.DLL_MapViewOfFile
mov esi, dword [eax]
push eax
call sub.KERNEL32.DLL_UnmapViewOfFile
push ebx
call sub.KERNEL32.DLL_CloseHandle
mov eax, esi
pop esi
pop ebx
ret

Function at 0x403280
Capabilities:
Read file via mapping

Disassembly:
push ebx
call fcn.00402870
test eax, eax
jne 0x4032dd
cmp dword [0x412408], 0
jne 0x4032dd
call fcn.004031d4
test eax, eax
jne 0x4032d9
push str.LocalFastMM_PID________
push 4
push 0
push 4
push 0
push 0xffffffffffffffff
call sub.KERNEL32.DLL_CreateFileMappingA
push 0
push 0
push 0
mov ebx, eax
push 2
push ebx
mov dword [0x412408], ebx
call sub.KERNEL32.DLL_MapViewOfFile
mov dword [eax], fcn.00403896
push eax
call sub.KERNEL32.DLL_UnmapViewOfFile
mov eax, 1
pop ebx
ret
xor eax, eax
pop ebx
ret
xor eax, eax
pop ebx
ret

Function at 0x4089b8
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_CreateFileA
mov ebx, eax
test eax, eax
jne 0x4089e5
jmp 0x408a1c
call fcn.00408968
mov esi, eax
lea eax, [ebp - 4]
push 0
push eax
push esi
call fcn.004045ec
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push edi
call fcn.004045ec
pop ecx
push eax
push edi
push ebx
call sub.KERNEL32.DLL_WriteFile
push ebx
call sub.KERNEL32.DLL_CloseHandle
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x408a88
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff7c
cmp dword [0x40f0bc], 0
push ebx
push esi
mov esi, dword [ebp + 8]
jne 0x408b62
cmp dword [0x40f0b8], 0
jne 0x408b62
cmp dword [0x40f2a0], 0
je 0x408b1c
push 0x80
lea eax, [ebp - 0x84]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
push 0x5c
lea edx, [ebp - 0x84]
push edx
call fcn.00408868
add esp, 8
mov ebx, eax
test eax, eax
jne 0x408b02
push 0x3a
lea edx, [ebp - 0x84]
push edx
call fcn.00408868
add esp, 8
mov ebx, eax
test eax, eax
jne 0x408b02
lea ebx, [ebp - 0x84]
jmp 0x408b03
inc ebx
call fcn.00408a40
or eax, 0x10010
push eax
push ebx
push esi
push 0
call sub.USER32.DLL_MessageBoxA
jmp 0x408b9d
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
mov ebx, eax
lea eax, [ebp - 4]
push 0
push eax
push 2
push 0x40f0c0
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push esi
call fcn.004045ec
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea ecx, [ebp - 4]
push ecx
push 2
push 0x40f0c3
push ebx
call sub.KERNEL32.DLL_WriteFile
jmp 0x408b9d
cmp dword [0x40f0b8], 0
je 0x408b7c
cmp dword [0x40f0b8], 0xffffffff
je 0x408b9d
push esi
call dword [0x40f0b8]
pop ecx
mov eax, dword [0x40f0bc]
test eax, eax
je 0x408b9d
cmp dword [0x40f0bc], 0xffffffff
je 0x408b9d
cmp byte [eax], 0
je 0x408b9d
push esi
push eax
call fcn.004089b8
add esp, 8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x409b3c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add byte [eax - 0x6b75b], al
inc dword [eax]
and byte [ebp - 0x6b7], 0
mov byte [ebp - 0x6b6], 0x9b
and byte [ebp - 0x6b5], 0
mov byte [ebp - 0x6b4], 0x33
mov byte [ebp - 0x6b3], 0x16
mov byte [ebp - 0x6b2], 0xd
mov byte [ebp - 0x6b1], 0x10
mov byte [ebp - 0x6b0], 1
mov byte [ebp - 0x6af], 0x34
mov byte [ebp - 0x6ae], 0x16
mov byte [ebp - 0x6ad], 0xb
mov byte [ebp - 0x6ac], 7
mov byte [ebp - 0x6ab], 1
mov byte [ebp - 0x6aa], 0x17
mov byte [ebp - 0x6a9], 0x17
mov byte [ebp - 0x6a8], 0x29
mov byte [ebp - 0x6a7], 1
mov byte [ebp - 0x6a6], 9
mov byte [ebp - 0x6a5], 0xb
mov byte [ebp - 0x6a4], 0x16
mov byte [ebp - 0x6a3], 0x1d
mov byte [ebp - 0x6a2], 0x64
lea eax, [ebp - 0x6b8]
push eax
call fcn.00408e4f
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00408e04
add esp, 0xc
mov dword [ebp - 0x690], eax
mov byte [ebp - 0x6a0], 0x8b
or byte [ebp - 0x69f], 0xff
mov byte [ebp - 0x69e], 0x55
mov byte [ebp - 0x69d], 0x8b
mov byte [ebp - 0x69c], 0xec
lea eax, [ebp - 0x694]
push eax
push 5
lea eax, [ebp - 0x6a0]
push eax
push dword [ebp - 0x33c]
push 0xffffffffffffffff
call dword [ebp - 0x690]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x6c0], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x6bc], eax
push 0x1000
push 8
push dword [ebp - 0x674]
call dword [ebp - 0x67c]
mov dword [ebp - 0x698], eax
call fcn.00408e3f
xor al, 0xf8
rcr byte [esi - 1], cl
mov ch, 0x68
stc
invalid
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..rsrc
mov ebx, 0x408f6c
nop
nop
mov ecx, 0x7cf64a73
nop
test eax, eax
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..data
nop
mov ebx, 0x42e3d0
nop
mov ecx, 0x4f8c3369
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x45ce70
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x32000]
push edi
or ebp, 0xffffffff
jmp 0x45ce92
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x45ce99
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x45ce88
mov eax, 1
add ebx, ebx
jne 0x45ceab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x45cea0
jne 0x45cebc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x45cea0
xor ecx, ecx
sub eax, 3
jb 0x45ced0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x45cf42
mov ebp, eax
add ebx, ebx
jne 0x45cedb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x45cee8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x45cf0c
inc ecx
add ebx, ebx
jne 0x45cef8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x45ceed
jne 0x45cf09
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x45ceed
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x45cf2c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x45cf1d
jmp 0x45ce8e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x45cf2c
add edi, ecx
jmp 0x45ce8e
pop esi
mov edi, esi
mov ecx, 0x1f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x45cf4a
cmp byte [edi], 1
jne 0x45cf4a
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 0x45cf4f
lea edi, [esi + 0x5a000]
mov eax, dword [edi]
or eax, eax
je 0x45cfbe
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x5c22c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x5c2d4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x45cf7c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x5c2dc]
or eax, eax
je 0x45cfb8
mov dword [ebx], eax
add ebx, 4
jmp 0x45cf99
call dword [esi + 0x5c2d8]
mov ebp, dword [esi + 0x5c2e0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ff]
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 0x45cff2
sub esp, 0xffffff80
jmp 0x401860
Function at 0x46c830
Capabilities:
Get number of processors

Disassembly:
mov word [ebp - 0x172e], cx
mov edx, 0x65
mov word [ebp - 0x172c], dx
mov eax, 0x6c
mov word [ebp - 0x172a], ax
mov ecx, 0x33
xor eax, dword [eax]
add byte [eax], al
mov word [ebp - 0x1728], cx
mov edx, 0x32
mov word [ebp - 0x1726], dx
mov eax, 0x2e
mov word [ebp - 0x1724], ax
mov ecx, 0x64
mov word [ebp - 0x1722], cx
mov edx, 0x6c
mov word [ebp - 0x1720], dx
mov eax, 0x6c
mov word [ebp - 0x171e], ax
xor ecx, ecx
mov word [ebp - 0x171c], cx
push eax
push edx
add esp, 4
sub eax, 0x4abe
pop eax
push edi
add edi, 0xae34
pop edi
push ecx
push edx
add esp, 4
xor ecx, 0x163b3
add ecx, 0x16bf6
add ecx, 0x348e
or ecx, 0x8d68
pop ecx
push ecx
push ecx
add esp, 4
or ecx, 0x16019
add ecx, 0x107e8
and ecx, 0x9148
xor ecx, 0xf118
pop ecx
push ebx
or ebx, 0x10c54
and ebx, 0x15d07
and ebx, 0x2bcf
pop ebx
mov edx, dword fs:[0x18]
mov dword [ebp - 0x1ff4], edx
mov eax, dword [ebp - 0x1ff4]
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0x1950], ecx
mov edx, dword [ebp - 0x1950]
mov dword [ebp - 0x159c], edx
push edi
and edi, 0x18345
add edi, 0x78c1
or edi, 0x13672
pop edi
push ecx
xor ecx, 0xbc0c
xor ecx, 0x61e8
call 0x46c95a
add byte [esi], dh
xor al, byte [esi + 0x4c]
aaa
inc ecx
xor eax, 0x5904c483
cmp dword [ebp - 0x159c], 0
jne 0x46c976
mov dword [ebp - 0x318], 0
jmp 0x46cc32
mov eax, dword [ebp - 0x159c]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0xc98], edx
push esi
push ecx
add esp, 4
add esi, 0xc31d
call 0x46c9a2
add byte [ebx], bh
cmp dword [ecx + 0x32], ecx
inc ebx
cmp esi, dword [edi]
inc esi
add esp, 4
add esi, 0x971b
pop esi
push edx
or edx, 0xc625
sub edx, 0x126cf
pop edx
cmp dword [ebp - 0xc98], 0
jne 0x46c9d2
mov dword [ebp - 0x318], 0
jmp 0x46cc32
mov eax, dword [ebp - 0xc98]
mov dword [ebp - 0x504], eax
push eax
jmp 0x46c9e6
xor eax, 0x77c8
xor eax, 0x12383
and eax, 0x1424b
pop eax
push eax
call 0x46ca06
add byte [ebx], bh
dec esi
inc edi
cmp edi, dword [ebx]
cmp al, 0x83
les eax, [ecx + eax*4]
enter 0x5f79, 1
add byte [eax - 0x73], bl
invalid
push ecx
jmp 0x46cc39
pop ecx
push esi
push edx
add esp, 4
jmp 0x46cc48
xor esi, 0x13185
call 0x46cc5a
add byte [0x383d3548], dh
cmp eax, dword [ebx - 0x397efb3c]
retf 0xb
Function at 0x46cc5a
Capabilities:
Contain obfuscated stackstrings
Get number of processors

Disassembly:
mov word [ebp - 0x172e], cx
mov edx, 0x65
mov word [ebp - 0x172c], dx
mov eax, 0x6c
mov word [ebp - 0x172a], ax
mov ecx, 0x33
xor eax, dword [eax]
add byte [eax], al
mov word [ebp - 0x1728], cx
mov edx, 0x32
mov word [ebp - 0x1726], dx
mov eax, 0x2e
mov word [ebp - 0x1724], ax
mov ecx, 0x64
mov word [ebp - 0x1722], cx
mov edx, 0x6c
mov word [ebp - 0x1720], dx
mov eax, 0x6c
mov word [ebp - 0x171e], ax
xor ecx, ecx
mov word [ebp - 0x171c], cx
push eax
push edx
add esp, 4
sub eax, 0x4abe
pop eax
push edi
add edi, 0xae34
pop edi
push ecx
push edx
add esp, 4
xor ecx, 0x163b3
add ecx, 0x16bf6
add ecx, 0x348e
or ecx, 0x8d68
pop ecx
push ecx
push ecx
add esp, 4
or ecx, 0x16019
add ecx, 0x107e8
and ecx, 0x9148
xor ecx, 0xf118
pop ecx
push ebx
or ebx, 0x10c54
and ebx, 0x15d07
and ebx, 0x2bcf
pop ebx
mov edx, dword fs:[0x18]
mov dword [ebp - 0x1ff4], edx
mov eax, dword [ebp - 0x1ff4]
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0x1950], ecx
mov edx, dword [ebp - 0x1950]
mov dword [ebp - 0x159c], edx
push edi
and edi, 0x18345
add edi, 0x78c1
or edi, 0x13672
pop edi
push ecx
xor ecx, 0xbc0c
xor ecx, 0x61e8
call 0x46c95a
add byte [esi], dh
xor al, byte [esi + 0x4c]
aaa
inc ecx
xor eax, 0x5904c483
cmp dword [ebp - 0x159c], 0
jne 0x46c976
mov dword [ebp - 0x318], 0
jmp 0x46cc32
mov eax, dword [ebp - 0x159c]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0xc98], edx
push esi
push ecx
add esp, 4
add esi, 0xc31d
call 0x46c9a2
add byte [ebx], bh
cmp dword [ecx + 0x32], ecx
inc ebx
cmp esi, dword [edi]
inc esi
add esp, 4
add esi, 0x971b
pop esi
push edx
or edx, 0xc625
sub edx, 0x126cf
pop edx
cmp dword [ebp - 0xc98], 0
jne 0x46c9d2
mov dword [ebp - 0x318], 0
jmp 0x46cc32
mov eax, dword [ebp - 0xc98]
mov dword [ebp - 0x504], eax
push eax
jmp 0x46c9e6
xor eax, 0x77c8
xor eax, 0x12383
and eax, 0x1424b
pop eax
push eax
call 0x46ca06
add byte [ebx], bh
dec esi
inc edi
cmp edi, dword [ebx]
cmp al, 0x83
les eax, [ecx + eax*4]
enter 0x5f79, 1
add byte [eax - 0x73], bl
invalid
push ecx
jmp 0x46cc39
pop ecx
push esi
push edx
add esp, 4
jmp 0x46cc48
xor esi, 0x13185
call 0x46cc5a
add byte [0x383d3548], dh
cmp eax, dword [ebx - 0x397efb3c]
retf 0xb
Function at 0x46dea6
Capabilities:
Get number of processors

Disassembly:
inc esp
cmp ecx, dword ds:[ecx + 0x39]
pop edx
mov eax, dword fs:[0x18]
mov dword [ebp - 0x198c], eax
mov ecx, dword [ebp - 0x198c]
mov edx, dword [ecx + 0x30]
mov dword [ebp - 0x1990], edx
mov eax, dword [ebp - 0x1990]
mov dword [ebp - 0x160c], eax
push edx
push ebx
add esp, 4
or edx, 0xd36c
call 0x46dea6
add byte [0x433f4d4a], dh
cmp eax, 0xc4833937
add al, 0x5a
push esi
push ebx
add esp, 4
sub esi, 0xe65b
jmp 0x46debe
pop esi
cmp dword [ebp - 0x160c], 0
jne 0x46ded7
mov dword [ebp - 0x314], 0
jmp 0x46e17e
mov ecx, dword [ebp - 0x160c]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0xcc4], eax
push esi
push eax
add esp, 4
and esi, 0x10d03
sub esi, 0x2ea4
xor esi, 0x1208e
xor esi, 0x8a43
pop esi
push eax
add eax, 0x8c7e
and eax, 0x13326
xor eax, 0x15d48
pop eax
cmp dword [ebp - 0xcc4], 0
jne 0x46df33
mov dword [ebp - 0x314], 0
jmp 0x46e17e
mov ecx, dword [ebp - 0xcc4]
mov dword [ebp - 0x514], ecx
Function at 0x46ee12
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push edx
add esp, 4
call 0x46ee12
add byte [edx + 0x39], cl
xor al, 0x4d
inc eax
inc ebx
add esp, 4
add ebx, 0x30b6
and ebx, 0x345
pop ebx
push ecx
sub ecx, 0xc788
pop ecx
push esi
or esi, 0x105be
pop esi
mov ecx, dword [ebp - 0x314]
mov edx, dword [ecx + 0x18]
mov dword [ebp - 0x338], edx
push esi
push eax
add esp, 4
or esi, 0x691
pop esi
push ecx
add ecx, 0x15af6
neg byte [edx + 1]
add byte [ecx + 0x17b8ae1], al
add bl, ch
invalid
pop ecx
push edi
push eax
add esp, 4
sub edi, 0x516a
xor edi, 0x16650
pop edi
mov dword [ebp - 0x794], 0
invalid
test eax, ecx

Function at 0x489b80
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
cmp dword [esi + 0x4c], 1
mov ebx, dword [esi + 0x1b8]
mov dword [ebp - 0x14], ebx
jne 0x489ba6
mov eax, 0x1fe
mov byte [ebx + 0x1c], 1
jmp 0x489bab
xor eax, eax
mov byte [ebx + 0x1c], al
push dword [esi + 0x64]
mov ecx, dword [esi + 4]
mov dword [ebp - 4], eax
add eax, 0x100
push eax
push 1
mov eax, dword [ecx + 8]
push esi
call eax
mov dword [ebx + 0x18], eax
xor edi, edi
mov eax, dword [ebx + 0x14]
add esp, 0x10
cmp dword [esi + 0x64], edi
jle 0x489c93
mov ecx, dword [ebx + edi*4 + 0x20]
cdq
idiv ecx
cmp dword [ebp - 4], 0
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], eax
je 0x489bf3
mov eax, dword [ebx + 0x18]
add dword [eax + edi*4], 0xff
mov eax, dword [ebx + 0x18]
xor ebx, ebx
mov eax, dword [eax + edi*4]
mov dword [ebp - 8], eax
lea eax, [ecx - 1]
push eax
push ebx
push edi
push esi
call fcn.00489f20
add esp, 0x10
mov edx, eax
xor esi, esi
cmp esi, edx
jle 0x489c2e
mov eax, dword [ebp - 0x10]
inc ebx
dec eax
push eax
push ebx
push edi
push dword [ebp + 8]
call fcn.00489f20
mov edx, eax
add esp, 0x10
cmp esi, edx
jg 0x489c15
mov ecx, dword [ebp - 0xc]
movzx eax, bl
movzx ecx, cl
imul ecx, eax
mov eax, dword [ebp - 8]
mov byte [esi + eax], cl
inc esi
cmp esi, 0xff
jle 0x489c11
cmp dword [ebp - 4], 0
je 0x489c80
mov ebx, eax
mov ecx, 1
lea edx, [ebx - 1]
lea esp, [esp]
movzx eax, byte [ebx]
lea edx, [edx - 1]
mov byte [edx + 1], al
movzx eax, byte [ebx + 0xff]
mov byte [ebx + ecx + 0xff], al
inc ecx
cmp ecx, 0xff
jle 0x489c60
mov esi, dword [ebp + 8]
inc edi
mov eax, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x14]
cmp edi, dword [esi + 0x64]
jl 0x489bd6
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x49a4c0
Capabilities:
Get thread local storage value

Disassembly:
push esi
push edi
mov edi, ecx
cmp byte [edi + 0x94], 0
mov dword [edi], vtable.CFileWriterThread.0
jne 0x49a4ee
push 1
call fcn.0049d630
mov ecx, edi
call fcn.0053d030
test al, al
je 0x49a4ee
push 0
mov ecx, edi
call fcn.0053d5e0
lea ecx, [edi + 0x80]
mov dword [edi + 0x90], 0
call fcn.004998e0
lea ecx, [edi + 0x80]
call fcn.004998e0
lea ecx, [edi + 0x70]
call fcn.0053ce20
lea ecx, [edi + 0x50]
call fcn.0049a2e0
lea ecx, [edi + 0x38]
call fcn.0053cde0
mov ecx, edi
pop edi
pop esi
jmp fcn.0053cbe0