joyce8/EMBER2024-capa huggingface dataset:
Function at 0x459bb0
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x459bf9
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x45a070
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4de3d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.00459c20
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.00459ca0
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.00459ca0
lea ecx, [esi + 0xc]
call fcn.004caef0
lea ecx, [esi + 0x10]
call fcn.004caef0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.0045b230
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.0045b230
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.0045b230
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.004caf65
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.004caf65
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4601c0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4de9a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
mov ebp, ecx
push esi
push edi
lea ecx, [esp + 0x10]
call fcn.00460590
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], 0
call fcn.00460590
mov eax, dword [esp + 0x48]
lea ecx, [esp + 0x10]
push eax
mov byte [esp + 0x3c], 1
call fcn.00460600
lea ecx, [esp + 0x10]
call fcn.00432460
cmp eax, 1
jae 0x460268
mov ebx, dword [sym.imp.KERNEL32.dll_GetTempPathA]
push 0
push 0
call ebx
mov edi, eax
test edi, edi
je 0x4602d3
lea ecx, [edi + 1]
push ecx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x4602d3
push esi
push edi
call ebx
push esi
lea ecx, [esp + 0x14]
call fcn.00460600
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
lea ecx, [esp + 0x10]
call fcn.00432460
cmp eax, 1
jb 0x4602d3
lea edx, [esp + 0x10]
mov ecx, ebp
push edx
call fcn.00460060
test eax, eax
je 0x4602d3
lea eax, [esp + 0x10]
mov ecx, ebp
push eax
call fcn.00460340
mov edi, dword [esp + 0x44]
xor esi, esi
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x24]
call fcn.00460660
push edi
lea ecx, [esp + 0x24]
call fcn.00460680
push esi
lea ecx, [esp + 0x24]
call fcn.00460720
push str..tmp
lea ecx, [esp + 0x24]
call fcn.00460680
lea edx, [esp + 0x20]
mov ecx, ebp
push edx
call fcn.00460040
test eax, eax
je 0x460309
inc esi
cmp esi, 0x7a0a1f00
jb 0x46028a
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], 0
call fcn.004605b0
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0xffffffff
call fcn.004605b0
xor eax, eax
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret 0xc
mov ecx, dword [esp + 0x40]
lea eax, [esp + 0x20]
push eax
call fcn.00460660
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], 0
call fcn.004605b0
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0xffffffff
call fcn.004605b0
mov eax, 1
jmp 0x4602f4
Function at 0x460a90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4dea58
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0xc]
call fcn.00460590
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0xc]
push eax
mov dword [esp + 0x28], 0
call fcn.00460600
push 0
mov ecx, esi
call fcn.00460a10
mov ebx, dword [esp + 0x2c]
cmp ebx, 1
jb 0x460bc8
lea ecx, [esp + 0xc]
call fcn.00432460
cmp eax, 1
jae 0x460b17
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call fcn.004605b0
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc
mov eax, dword [esp + 0x34]
lea edi, [esi + 0xc]
test eax, eax
jne 0x460b64
push 0
lea ecx, [esp + 0x10]
call fcn.00432450
push eax
push edi
mov ecx, 0x542474
call fcn.004601c0
test eax, eax
jne 0x460b6c
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call fcn.004605b0
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc
push eax
mov ecx, edi
call fcn.00460600
push edi
mov ecx, 0x542474
call fcn.00460120
push 0
push 2
push 2
push 0
push 3
push 0xc0000000
mov ecx, edi
call fcn.00432440
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [esi], eax
je 0x460bc8
push 0
push ebx
push 0
push 4
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
test eax, eax
mov dword [esi + 4], eax
je 0x460bc8
push 0
push 0
push 0
push 2
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
mov dword [esi + 8], eax
jne 0x460bf8
push 1
mov ecx, esi
call fcn.00460a10
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call fcn.004605b0
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc
lea ecx, [esp + 0xc]
mov dword [esi + 0x1c], ebx
mov dword [esp + 0x24], 0xffffffff
call fcn.004605b0
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc

Function at 0x4614f0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x104
mov ecx, 0x41
xor eax, eax
push edi
lea edi, [esp + 4]
rep stosd dword es:[edi], eax
lea eax, [esp + 4]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [esp + 4]
push ecx
mov ecx, dword [esp + 0x110]
call fcn.00460600
pop edi
add esp, 0x104
ret 4
Function at 0x461dc0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x14], 0xca
jne 0x461df3
push esi
call fcn.00466e00
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x461dec
mov dword [esi + 0x14], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x14], 0xcb
mov eax, dword [esi + 0x14]
cmp eax, 0xcb
jne 0x461e79
mov eax, dword [esi + 0x1b8]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x461e62
mov eax, dword [esi + 8]
test eax, eax
je 0x461e17
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b8]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x461e5e
cmp eax, 2
je 0x461e62
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x461e0a
cmp eax, 3
je 0x461e3d
cmp eax, 1
jne 0x461e0a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x461e0a
mov edx, dword [esi + 0x144]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x461e0a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00461eb0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x461e99
mov ecx, dword [esi]
push esi
mov dword [ecx + 0x14], 0x15
mov edx, dword [esi]
mov eax, dword [esi + 0x14]
mov dword [edx + 0x18], eax
mov ecx, dword [esi]
call dword [ecx]
add esp, 4
push esi
call fcn.00461eb0
add esp, 4
pop esi
ret

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

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x492a0b
xor eax, eax
ret
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
cmp esi, 8
not eax
jb 0x492b0e
push edi
mov edi, esi
shr edi, 3
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [edx*4 + 0x4e9ba8]
sub esi, 8
xor eax, ebx
inc ecx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x4e9ba8]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x4e9ba8]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x4e9ba8]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x4e9ba8]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x4e9ba8]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x4e9ba8]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x4e9ba8]
xor eax, edx
inc ecx
dec edi
jne 0x492a26
pop edi
test esi, esi
je 0x492b30
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x4e9ba8]
xor eax, edx
inc ecx
dec esi
jne 0x492b12
pop esi
pop ebx
not eax
ret
Function at 0x4cbd81
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
call fcn.004d61f9
mov esi, dword [eax + 0xc]
push 5
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4cbdb2
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push esi
mov ecx, ebx
push dword [esp + 0x18]
push edi
call fcn.004cbdc5
pop edi
pop esi
pop ebx
ret 8

Function at 0x4cd39c
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4cd3d4
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004cb40c
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004cb3e4
jmp 0x4cd3e0
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4cec8c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4cecce
call fcn.004d61f9
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4cecce
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4cecc5
xor eax, eax
jmp 0x4cecd6
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004cecdc
pop edi
pop esi
pop ebx
ret 4

Function at 0x4d6729
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4d6757
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4d6775
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004d668f
jmp 0x4d6775
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4d6775
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004d668f
test edi, edi
mov eax, edi
jne 0x4d675f
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x405cbb
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x42c60c], 0
push esi
jne 0x405cf2
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 0x405ccc
mov dword [ecx*4 + 0x42c608], eax
inc ecx
cmp ecx, 0x100
jl 0x405cc7
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405d23
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 + 0x42c608]
xor eax, esi
inc ecx
dec edx
jne 0x405d05
pop edi
not eax
pop esi
ret 0xc

Function at 0x457914
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
cmp esi, 1
jl 0x457925
cmp esi, 9
jle 0x457930
push 0x42b0c8
call fcn.0045b903
pop ecx
mov edi, 0x10000
xor ebx, ebx
push edi
push ebx
push 0x44aa60
mov dword [0x42e098], esi
call fcn.0047ab58
mov eax, esi
add esp, 0xc
shl eax, 3
cmp esi, 1
movzx ecx, word [eax + 0x42b07a]
mov dword [0x42e084], ecx
movzx ecx, word [eax + 0x42b078]
mov dword [0x42e09c], ecx
movzx ecx, word [eax + 0x42b07c]
movzx eax, word [eax + 0x42b07e]
mov dword [0x42e090], ecx
mov dword [0x42e094], eax
jne 0x457992
mov eax, dword [esp + 0x14]
or byte [eax], 4
jmp 0x45799e
cmp esi, 9
jne 0x45799e
mov eax, dword [esp + 0x14]
or byte [eax], 2
push edi
push 0x45aa60
mov dword [0x42e080], ebx
mov dword [0x42e0a4], ebx
call dword [0x42e078]
pop ecx
cmp eax, ebx
pop ecx
mov dword [0x42e0a8], eax
je 0x457a12
cmp eax, 0xffffffff
je 0x457a12
mov esi, 0x106
mov dword [0x42e08c], ebx
cmp eax, esi
jae 0x4579ea
cmp dword [0x42e08c], ebx
jne 0x4579ea
call fcn.00457b63
cmp dword [0x42e0a8], esi
jb 0x4579d5
xor eax, eax
xor ecx, ecx
movzx edx, byte [ecx + 0x45aa60]
and eax, 0x3ff
and edx, 0x7fff
shl eax, 5
xor eax, edx
inc ecx
cmp ecx, 2
jb 0x4579ee
mov dword [0x42e088], eax
jmp 0x457a22
mov dword [0x42e08c], 1
mov dword [0x42e0a8], ebx
pop edi
pop esi
pop ebx
ret
Function at 0x457c41
Capabilities:
Encode data using xor

Disassembly:
push ecx
and dword [esp], 0
cmp dword [0x42e098], 3
push edi
push 2
pop edi
jg 0x457c5e
call fcn.00457ec3
jmp 0x457ec0
cmp dword [0x42e0a8], 0
je 0x457e98
mov ecx, dword [0x42e080]
push ebx
push ebp
push esi
mov esi, 0x7fff
mov ebp, 0x3ff
movzx eax, byte [ecx + 0x45aa62]
mov edx, dword [0x42e088]
and eax, esi
and edx, ebp
mov ebx, ecx
shl edx, 5
xor eax, edx
and ebx, esi
movzx edx, word [eax*2 + 0x44aa60]
mov dword [0x42e088], eax
lea eax, [eax*2 + 0x44aa60]
mov word [ebx*2 + 0x43aa60], dx
mov ebx, dword [0x42e0a0]
mov word [eax], cx
mov eax, edi
push 2
mov dword [0x42e07c], eax
test edx, edx
pop edi
je 0x457d0f
cmp eax, dword [0x42e084]
jae 0x457d0f
mov eax, ecx
sub eax, edx
cmp eax, 0x7efa
ja 0x457d0f
push edx
call fcn.00457a26
mov edi, eax
mov eax, dword [0x42e0a8]
cmp edi, eax
pop ecx
jbe 0x457cf2
mov edi, eax
mov ecx, dword [0x42e080]
cmp edi, 3
jne 0x457d0f
mov eax, ecx
sub eax, dword [0x42e0a0]
cmp eax, 0x1000
jbe 0x457d0f
push 2
pop edi
mov eax, dword [0x42e07c]
cmp eax, 3
jb 0x457dd9
cmp edi, eax
ja 0x457dd9
sub ecx, ebx
add eax, 0xfffffffd
dec ecx
push eax
push ecx
call fcn.0045a147
pop ecx
pop ecx
push 1
pop ecx
sub ecx, dword [0x42e07c]
add dword [0x42e0a8], ecx
sub dword [0x42e07c], 2
mov ecx, dword [0x42e080]
movzx edx, byte [ecx + 0x45aa63]
mov edi, dword [0x42e088]
inc ecx
and edi, ebp
and edx, esi
shl edi, 5
xor edx, edi
mov edi, ecx
mov dword [0x42e088], edx
and edi, esi
mov bx, word [edx*2 + 0x44aa60]
dec dword [0x42e07c]
lea edx, [edx*2 + 0x44aa60]
mov word [edi*2 + 0x43aa60], bx
mov word [edx], cx
jne 0x457d50
and dword [esp + 0x10], 0
push 2
inc ecx
pop edi
test eax, eax
mov dword [0x42e080], ecx
je 0x457e47
mov eax, dword [0x42e0a4]
test eax, eax
jl 0x457dbb
lea edx, [eax + 0x45aa60]
jmp 0x457dbd
xor edx, edx
sub ecx, eax
push 0
push ecx
push edx
call fcn.0045994e
mov ecx, dword [0x42e080]
add esp, 0xc
mov dword [0x42e0a4], ecx
jmp 0x457e47
cmp dword [esp + 0x10], 0
je 0x457e32
movzx eax, byte [ecx + 0x45aa5f]
push eax
push 0
call fcn.0045a147
pop ecx
test eax, eax
pop ecx
je 0x457e2a
mov eax, dword [0x42e0a4]
test eax, eax
jl 0x457e06
lea ecx, [eax + 0x45aa60]
jmp 0x457e08
xor ecx, ecx
mov edx, dword [0x42e080]
push 0
sub edx, eax
push edx
push ecx
call fcn.0045994e
mov ecx, dword [0x42e080]
add esp, 0xc
mov dword [0x42e0a4], ecx
jmp 0x457e3a
mov ecx, dword [0x42e080]
jmp 0x457e3a
mov dword [esp + 0x10], 1
inc ecx
dec dword [0x42e0a8]
mov dword [0x42e080], ecx
mov ebx, 0x106
cmp dword [0x42e0a8], ebx
jae 0x457e70
cmp dword [0x42e08c], 0
jne 0x457e70
call fcn.00457b63
cmp dword [0x42e0a8], ebx
mov ecx, dword [0x42e080]
jb 0x457e54
cmp dword [0x42e0a8], 0
jne 0x457c7e
cmp dword [esp + 0x10], 0
pop esi
pop ebp
pop ebx
je 0x457e9e
movzx eax, byte [ecx + 0x45aa5f]
push eax
push 0
call fcn.0045a147
pop ecx
pop ecx
mov ecx, dword [0x42e080]
mov edx, dword [0x42e0a4]
test edx, edx
jl 0x457eb0
lea eax, [edx + 0x45aa60]
jmp 0x457eb2
xor eax, eax
sub ecx, edx
push 1
push ecx
push eax
call fcn.0045994e
add esp, 0xc
pop edi
pop ecx
ret
Function at 0x457ec3
Capabilities:
Encode data using xor

Disassembly:
push ecx
push edi
xor edi, edi
cmp dword [0x42e0a8], edi
mov dword [0x42e07c], 2
je 0x45808a
mov ecx, dword [0x42e080]
push ebx
push ebp
push esi
mov esi, 0x7fff
mov ebx, 0x3ff
movzx eax, byte [ecx + 0x45aa62]
mov edx, dword [0x42e088]
and eax, esi
and edx, ebx
mov ebp, ecx
shl edx, 5
xor eax, edx
and ebp, esi
movzx edx, word [eax*2 + 0x44aa60]
mov dword [0x42e088], eax
lea eax, [eax*2 + 0x44aa60]
mov word [ebp*2 + 0x43aa60], dx
test edx, edx
mov word [eax], cx
je 0x457f52
mov eax, ecx
sub eax, edx
cmp eax, 0x7efa
ja 0x457f52
push edx
call fcn.00457a26
mov edi, eax
mov eax, dword [0x42e0a8]
cmp edi, eax
pop ecx
jbe 0x457f4c
mov edi, eax
mov ecx, dword [0x42e080]
cmp edi, 3
jb 0x457ff3
sub ecx, dword [0x42e0a0]
lea eax, [edi - 3]
push eax
push ecx
call fcn.0045a147
sub dword [0x42e0a8], edi
cmp edi, dword [0x42e084]
pop ecx
mov dword [esp + 0x14], eax
pop ecx
ja 0x457fc5
mov ecx, dword [0x42e080]
dec edi
movzx eax, byte [ecx + 0x45aa63]
mov edx, dword [0x42e088]
inc ecx
and edx, ebx
and eax, esi
shl edx, 5
xor eax, edx
mov dword [0x42e088], eax
mov bp, word [eax*2 + 0x44aa60]
lea edx, [eax*2 + 0x44aa60]
mov eax, ecx
and eax, esi
dec edi
mov word [eax*2 + 0x43aa60], bp
mov word [edx], cx
jne 0x457f86
jmp 0x458014
mov ecx, dword [0x42e080]
add ecx, edi
xor edi, edi
mov dword [0x42e080], ecx
movzx eax, byte [ecx + 0x45aa60]
movzx edx, byte [ecx + 0x45aa61]
and eax, ebx
and edx, esi
shl eax, 5
xor eax, edx
mov dword [0x42e088], eax
jmp 0x45801b
movzx eax, byte [ecx + 0x45aa60]
push eax
push 0
call fcn.0045a147
dec dword [0x42e0a8]
pop ecx
pop ecx
mov dword [esp + 0x10], eax
mov ecx, dword [0x42e080]
inc ecx
mov dword [0x42e080], ecx
cmp dword [esp + 0x10], 0
je 0x45804f
mov eax, dword [0x42e0a4]
test eax, eax
jl 0x458033
lea edx, [eax + 0x45aa60]
jmp 0x458035
xor edx, edx
sub ecx, eax
push 0
push ecx
push edx
call fcn.0045994e
mov ecx, dword [0x42e080]
add esp, 0xc
mov dword [0x42e0a4], ecx
mov ebp, 0x106
cmp dword [0x42e0a8], ebp
jae 0x458078
cmp dword [0x42e08c], 0
jne 0x458078
call fcn.00457b63
cmp dword [0x42e0a8], ebp
mov ecx, dword [0x42e080]
jb 0x45805c
cmp dword [0x42e0a8], 0
jne 0x457ef0
pop esi
pop ebp
pop ebx
jmp 0x458090
mov ecx, dword [0x42e080]
mov edx, dword [0x42e0a4]
pop edi
test edx, edx
jl 0x4580a3
lea eax, [edx + 0x45aa60]
jmp 0x4580a5
xor eax, eax
sub ecx, edx
push 1
push ecx
push eax
call fcn.0045994e
add esp, 0x10
ret

Function at 0x45b742
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
test ecx, ecx
jne 0x45b74f
or eax, 0xffffffff
jmp 0x45b77d
cmp dword [esp + 8], 0
mov eax, dword [0x42b4a4]
je 0x45b77d
push esi
movzx esi, byte [ecx]
mov edx, eax
and edx, 0xff
xor edx, esi
shr eax, 8
mov edx, dword [edx*4 + 0x42b4a8]
xor eax, edx
inc ecx
dec dword [esp + 0xc]
jne 0x45b75c
pop esi
mov dword [0x42b4a4], eax
not eax
ret
Function at 0x45d1fc
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4285c0
push 0x424ee0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
call dword [0x428240]
mov ebx, eax
mov dword [ebp - 0x30], ebx
push ebx
call dword [0x42824c]
mov dword [ebp - 0x24], eax
push 0xf
push ebx
mov edi, dword [0x428250]
call edi
mov esi, dword [0x428238]
call esi
mov dword [ebp - 0x20], eax
call esi
sub eax, dword [ebp - 0x20]
je 0x45d24d
call esi
mov dword [ebp - 0x20], eax
and dword [ebp - 4], 0
rdtsc
mov dword [ebp - 0x1c], eax
or dword [ebp - 4], 0xffffffff
push dword [ebp - 0x24]
push ebx
call edi
push 0x3c
call dword [0x42823c]
push 0xf
push ebx
call edi
call esi
mov dword [ebp - 0x2c], eax
call esi
sub eax, dword [ebp - 0x2c]
je 0x45d27e
call esi
mov esi, eax
rdtsc
mov dword [ebp - 0x34], eax
push dword [ebp - 0x24]
push ebx
call edi
mov eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0x1c]
sub esi, dword [ebp - 0x20]
xor edx, edx
div esi
mov esi, eax
xor edx, edx
mov ecx, 0x3e8
div ecx
mov ecx, eax
mov eax, esi
xor edx, edx
push 0x64
pop esi
div esi
lea edx, [ecx + ecx*4]
shl edx, 1
sub eax, edx
cmp eax, 5
jb 0x45d2c4
inc ecx
mov eax, ecx
jmp 0x45d2e1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x46563f
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
xor eax, eax
cmp byte [0x47e114], al
je 0x465808
push ebx
push esi
push edi
push 0x42c074
push eax
push eax
push eax
push eax
push eax
push eax
push eax
push eax
push 0x2bc
push 0x5a
push 0x5a
push eax
push 0x1e
call dword [0x4280a0]
push eax
mov dword [ebp - 4], eax
push dword [0x47e184]
call dword [0x42809c]
mov esi, dword [0x4280c0]
push 0xa0a0a
push dword [0x47e184]
call esi
push dword [fcn.0047df68]
mov ecx, fcn.0047df68
call fcn.00473376
mov edi, dword [0x428094]
push eax
push 0x6f
push 0xc
push dword [0x47e184]
call edi
mov ebx, 0xff
push ebx
push dword [0x47e184]
call esi
push dword [fcn.0047df68]
mov ecx, fcn.0047df68
call fcn.00473376
push eax
push 0x6e
push 0xa
push dword [0x47e184]
call edi
mov byte [ebp - 0x38], 0x61
mov byte [ebp - 0x37], 0x84
mov byte [ebp - 0x36], 0x6a
mov byte [ebp - 0x35], 0xb7
mov byte [ebp - 0x34], 0x15
mov byte [ebp - 0x33], 0x42
mov byte [ebp - 0x32], 0x6c
mov byte [ebp - 0x31], 0x9b
mov byte [ebp - 0x30], 0xbf
mov byte [ebp - 0x2f], 0x9e
mov byte [ebp - 0x2e], 0xf3
mov byte [ebp - 0x2d], 0x44
mov byte [ebp - 0x2c], 0x75
mov byte [ebp - 0x2b], 0xa2
mov byte [ebp - 0x2a], 0xbb
mov byte [ebp - 0x29], 0xf2
mov byte [ebp - 0x28], 0x1e
mov byte [ebp - 0x27], 0x43
mov byte [ebp - 0x26], 0x7c
mov byte [ebp - 0x25], 0x31
mov byte [ebp - 0x24], 0x94
mov byte [ebp - 0x23], 0xa
mov byte [ebp - 0x22], 5
mov byte [ebp - 0x21], 0x4d
mov byte [ebp - 0x20], 0x74
mov byte [ebp - 0x1f], 0x3a
mov byte [ebp - 0x1e], 0x1b
mov byte [ebp - 0x1d], 0x48
mov byte [ebp - 0x1c], 0x98
mov byte [ebp - 0x1b], 0x16
mov byte [ebp - 0x1a], 0x63
mov byte [ebp - 0x19], 0xb2
mov byte [ebp - 0x18], 0x9f
mov byte [ebp - 0x17], 0xf4
lea ecx, [ebp - 0x10]
mov byte [ebp - 0x16], 0x74
mov byte [ebp - 0x15], 0xb6
mov byte [ebp - 0x14], 4
mov byte [ebp - 0x13], 0x8f
mov byte [ebp - 0x12], 0xda
call fcn.0047241d
lea eax, [ebp - 0x38]
push 0x27
push eax
lea ecx, [ebp - 0x10]
call fcn.0047269f
lea ecx, [ebp - 0x10]
call fcn.00472938
lea ecx, [ebp - 0x10]
call fcn.00472938
push 0xa0a0a
push dword [0x47e184]
call esi
push dword [ebp - 0x10]
lea ecx, [ebp - 0x10]
call fcn.00473376
push eax
push 0x8d
push 0x13
push dword [0x47e184]
call edi
push ebx
push dword [0x47e184]
call esi
push dword [ebp - 0x10]
lea ecx, [ebp - 0x10]
call fcn.00473376
push eax
push 0x8c
push 0x11
push dword [0x47e184]
call edi
push dword [ebp - 4]
call dword [0x4280b0]
lea ecx, [ebp - 0x10]
call fcn.00472553
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4691ff
Capabilities:
Inspect section memory permissions

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
jne 0x46920c
mov al, 1
pop esi
ret
mov edx, dword [esi]
push 1
pop eax
test al, dl
jne 0x469293
mov ecx, dword [0x47e1ec]
test edx, 0x40000000
je 0x469227
cmp ecx, eax
je 0x469293
test edx, 0x20000000
je 0x469234
cmp ecx, 2
je 0x469293
cmp ecx, eax
jne 0x46925c
mov ecx, dword [0x47e1e4]
cmp ecx, 0x5a
je 0x469257
cmp dword [0x47e1e0], 4
jne 0x469257
neg ecx
sbb ecx, ecx
and ecx, 2
inc ecx
inc ecx
jmp 0x46928b
push 8
pop ecx
jmp 0x46928b
mov ecx, dword [0x47e1e0]
cmp ecx, 4
ja 0x46926b
push 0x10
jmp 0x469259
cmp ecx, 5
jne 0x469286
mov ecx, dword [0x47e1e4]
test ecx, ecx
jne 0x46927e
push 0x20
jmp 0x469259
cmp ecx, eax
jne 0x469286
push 0x40
jmp 0x469259
mov ecx, 0x80
test ecx, edx
jne 0x469293
xor al, al
pop esi
ret
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4692ae
shr edx, 0x1f
and dl, al
push edx
push 0
push dword [esi + 4]
push ecx
call fcn.00468eb5
add esp, 0x10
pop esi
ret