joyce8/EMBER2024-capa huggingface dataset:
Function at 0x445369
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x47c944]
jne 0x445373
repz ret
jmp fcn.00449fb3

Function at 0x452732
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.004499c1
and dword [ebp - 4], 0
cmp dword [0x480fe8], 0
mov ebx, eax
jne 0x4527e3
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x452894
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x452894
push eax
call fcn.0044994f
mov dword [esp], 0x4678ec
push edi
mov dword [0x480fe8], eax
call esi
push eax
call fcn.0044994f
mov dword [esp], 0x4678d8
push edi
mov dword [0x480fec], eax
call esi
push eax
call fcn.0044994f
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x480ff0], eax
call esi
push eax
call fcn.0044994f
pop ecx
mov dword [0x480ff8], eax
test eax, eax
je 0x4527e3
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0044994f
pop ecx
mov dword [0x480ff4], eax
mov eax, dword [0x480ff4]
cmp eax, ebx
je 0x45283b
cmp dword [0x480ff8], ebx
je 0x45283b
push eax
call fcn.004499ca
push dword [0x480ff8]
mov esi, eax
call fcn.004499ca
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x45283b
test edi, edi
je 0x45283b
call esi
test eax, eax
je 0x452832
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x452832
test byte [ebp - 0xc], 1
jne 0x45283b
or dword [ebp + 0x10], 0x200000
jmp 0x452874
mov eax, dword [0x480fec]
cmp eax, ebx
je 0x452874
push eax
call fcn.004499ca
pop ecx
test eax, eax
je 0x452874
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x452874
mov eax, dword [0x480ff0]
cmp eax, ebx
je 0x452874
push eax
call fcn.004499ca
pop ecx
test eax, eax
je 0x452874
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x480fe8]
call fcn.004499ca
pop ecx
test eax, eax
je 0x452894
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x452896
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4597f0
Capabilities:
Encrypt data using rc4 prga
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x4761a0
push 0x447e70
mov eax, dword fs:[0]
push eax
add esp, 0xffffffc8
push ebx
push esi
push edi
mov eax, dword [0x47c944]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
cmp dword [ebp + 8], 0
jne 0x45983a
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x1c]
movzx edx, word [ecx]
cmp edx, 0x5a4d
je 0x459870
push 0xc1
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 0x34], 0
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x34]
jmp 0x4599fb
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x24]
cmp dword [edx], 0x4550
je 0x4598a8
push 0xbf
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 0x38], 0
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x38]
jmp 0x4599fb
mov eax, dword [ebp - 0x24]
movzx ecx, word [eax + 0x14]
test ecx, ecx
jne 0x4598d4
push 0xc0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x3c]
jmp 0x4599fb
mov edx, dword [ebp - 0x24]
movzx eax, word [edx + 0x14]
mov ecx, dword [ebp - 0x24]
lea edx, [ecx + eax + 0x18]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x28], 0
jmp 0x4598f7
mov eax, dword [ebp - 0x28]
add eax, 1
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x24]
movzx edx, word [ecx + 6]
cmp dword [ebp - 0x28], edx
jae 0x4599a6
push str..detour
mov eax, dword [ebp - 0x28]
imul eax, eax, 0x28
add eax, dword [ebp - 0x20]
push eax
call fcn.0044a130
add esp, 8
test eax, eax
jne 0x4599a1
mov ecx, dword [ebp - 0x28]
imul ecx, ecx, 0x28
mov edx, dword [ebp - 0x20]
cmp dword [edx + ecx + 0xc], 0
je 0x459942
mov eax, dword [ebp - 0x28]
imul eax, eax, 0x28
mov ecx, dword [ebp - 0x20]
cmp dword [ecx + eax + 0x10], 0
jne 0x459944
jmp 0x4599a6
mov edx, dword [ebp - 0x28]
imul edx, edx, 0x28
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [eax + edx + 0xc]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
cmp dword [eax], 0x40
jb 0x459971
mov ecx, dword [ebp - 0x2c]
cmp dword [ecx + 4], 0x727444
je 0x459973
jmp 0x4599a6
mov edx, dword [ebp - 0x2c]
cmp dword [edx + 8], 0
jne 0x459987
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx]
mov dword [eax + 8], edx
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x40], eax
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x40]
jmp 0x4599fb
jmp 0x4598ee
push 0xc0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 0x44], 0
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x44]
jmp 0x4599fb
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x459cb0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
cmp dword [ecx], 0x678
jne 0x459cd1
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
cmp eax, dword [ebp + 0xc]
jbe 0x459ce3
push 0xc1
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x459e2b
mov dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 8], 0
lea ecx, [ebp - 0x14]
push ecx
push 0x40
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x459e28
lea eax, [ebp - 4]
push eax
push 0x40
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 8]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x459e0c
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 0x1c
push ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x10]
push eax
call fcn.0044a1c0
add esp, 0xc
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 8]
push edx
mov eax, dword [ebp - 0x18]
add eax, 0x5c
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x14]
push edx
call fcn.0044a1c0
add esp, 0xc
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x18], 0
je 0x459de9
lea ecx, [ebp - 0x10]
push ecx
push 0x40
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0xc]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x459de7
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0xc]
push ecx
mov edx, dword [ebp - 0x18]
add edx, 0x664
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x18]
push ecx
call fcn.0044a1c0
add esp, 0xc
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0xc]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [ebp - 8], 1
jmp 0x459df0
mov dword [ebp - 8], 1
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 8]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 8
Function at 0x45a140
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x481098]
mov dword [ebp - 4], eax
jmp 0x45a159
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x45a176
lea eax, [ebp - 8]
push eax
push 0x40
push 0x10000
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x45a150
mov esp, ebp
pop ebp
ret

Function at 0x45a180
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x4810a8], eax
je 0x45a19e
mov eax, 0x10dd
jmp 0x45a27f
mov eax, dword [0x4810b8]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x45a21c
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
movzx eax, byte [edx + 0x36]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x45a1fa
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x10], 0
je 0x45a1fa
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
push eax
call fcn.0045a2f0
add esp, 4
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
push edx
call fcn.0041845e
add esp, 4
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
jmp 0x45a1a6
mov dword [0x4810b8], 0
call fcn.0045a290
mov ecx, dword [0x4810b4]
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0
je 0x45a269
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.0041845e
add esp, 4
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x10], edx
jmp 0x45a234
mov dword [0x4810b4], 0
mov dword [0x4810a8], 0
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x45a7f0
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
cmp dword [eax], 0x52727464
je 0x45a805
xor eax, eax
jmp 0x45a87a
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
add edx, 0x10000
mov dword [ebp - 8], edx
mov eax, dword [ebp + 8]
add eax, 0x48
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 0
jmp 0x45a832
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0x38d
jae 0x45a875
mov edx, dword [ebp - 0x10]
imul edx, edx, 0x48
mov eax, dword [ebp - 0xc]
cmp dword [eax + edx + 0x40], 0
je 0x45a873
mov ecx, dword [ebp - 0x10]
imul ecx, ecx, 0x48
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + ecx + 0x40]
cmp eax, dword [ebp - 4]
jb 0x45a86f
mov ecx, dword [ebp - 0x10]
imul ecx, ecx, 0x48
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + ecx + 0x40]
cmp eax, dword [ebp - 8]
jb 0x45a873
xor eax, eax
jmp 0x45a87a
jmp 0x45a829
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x45a920
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x4810ac], 0
je 0x45a939
mov eax, dword [0x4810ac]
jmp 0x45a9d9
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp dword [ebp + 8], eax
jne 0x45a94b
xor eax, eax
jmp 0x45a9d9
push 8
call fcn.0041842f
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x45a9a1
mov dword [ebp - 4], 8
cmp dword [ebp - 8], 0
je 0x45a98a
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
push edx
call fcn.0041845e
add esp, 4
mov dword [ebp - 8], 0
mov eax, dword [ebp - 4]
mov dword [0x4810ac], eax
mov dword [0x4810b0], 0
mov eax, dword [ebp - 4]
jmp 0x45a9d9
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x45a9bb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
jmp 0x45a96b
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 8]
mov edx, dword [0x4810b4]
mov dword [ecx], edx
mov eax, dword [ebp - 8]
mov dword [0x4810b4], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 4
Function at 0x45b200
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.0045b2d0
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x45b2bc
cmp dword [ebp - 4], 0x50000000
jb 0x45b23c
cmp dword [ebp - 4], 0x80000000
ja 0x45b23c
mov dword [ebp - 4], 0x80010000
jmp 0x45b215
push 0x1c
push 0
lea edx, [ebp - 0x20]
push edx
call fcn.00447b40
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x45b262
jmp 0x45b2bc
cmp dword [ebp - 0x10], 0x10000
jne 0x45b2a5
cmp dword [ebp - 0x14], 0x10000
jb 0x45b2a5
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x45b298
mov eax, dword [ebp - 0x24]
jmp 0x45b2be
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x45b2b7
mov ecx, dword [ebp - 0x20]
add ecx, dword [ebp - 0x14]
push ecx
call fcn.0045b2d0
add esp, 4
mov dword [ebp - 4], eax
jmp 0x45b215
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x45b300
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0xc]
sub eax, 0x10000
push eax
call fcn.0045b3d0
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x45b3c4
cmp dword [ebp - 4], 0x50000000
jb 0x45b341
cmp dword [ebp - 4], 0x80000000
ja 0x45b341
mov dword [ebp - 4], 0x4fff0000
jmp 0x45b31a
push 0x1c
push 0
lea edx, [ebp - 0x20]
push edx
call fcn.00447b40
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x45b367
jmp 0x45b3c4
cmp dword [ebp - 0x10], 0x10000
jne 0x45b3aa
cmp dword [ebp - 0x14], 0x10000
jb 0x45b3aa
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x45b39d
mov eax, dword [ebp - 0x24]
jmp 0x45b3c6
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x45b3bf
mov ecx, dword [ebp - 0x1c]
sub ecx, 0x10000
push ecx
call fcn.0045b3d0
add esp, 4
mov dword [ebp - 4], eax
jmp 0x45b31a
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x45b400
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x4810a8], eax
je 0x45b425
mov eax, 0x10dd
jmp 0x45b5bd
cmp dword [0x4810ac], 0
je 0x45b438
mov eax, dword [0x4810ac]
jmp 0x45b5bd
cmp dword [ebp + 8], 0
jne 0x45b448
mov eax, 6
jmp 0x45b5bd
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jne 0x45b471
mov dword [ebp - 0xc], 6
mov ecx, dword [ebp - 0xc]
mov dword [0x4810ac], ecx
mov edx, dword [ebp + 8]
mov dword [0x4810b0], edx
mov eax, dword [ebp - 0xc]
jmp 0x45b5bd
push 0x18
call fcn.0041842f
add esp, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x45b4ca
mov dword [ebp - 0xc], 8
mov ecx, dword [ebp - 0xc]
mov dword [0x4810ac], ecx
cmp dword [ebp - 0x18], 0
je 0x45b4b9
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
push eax
call fcn.0041845e
add esp, 4
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp + 8]
mov dword [0x4810b0], ecx
mov eax, dword [ebp - 0xc]
jmp 0x45b5bd
push 0
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call fcn.00459e80
mov dword [ebp - 0x10], eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00459e80
mov dword [ebp + 0xc], eax
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx + 0x36]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x40]
sub edx, dword [ebp - 8]
mov dword [ebp - 4], edx
cmp dword [ebp - 8], 0
je 0x45b50a
cmp dword [ebp - 8], 0x1e
jbe 0x45b526
mov dword [ebp - 0xc], 9
cmp dword [0x4810a0], 0
je 0x45b521
jmp 0x45b49a
jmp 0x45b491
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x44]
cmp ecx, dword [ebp + 0xc]
je 0x45b54d
mov dword [ebp - 0xc], 9
cmp dword [0x4810a0], 0
je 0x45b548
jmp 0x45b49a
jmp 0x45b491
mov dword [ebp - 0x14], 0
lea edx, [ebp - 0x14]
push edx
push 0x40
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x45b57a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xc], eax
jmp 0x45b491
mov edx, dword [ebp - 0x18]
mov dword [edx + 4], 1
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp + 8]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
mov dword [edx + 0x10], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 4]
mov dword [ecx + 0xc], edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0x14], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [0x4810b8]
mov dword [edx], eax
mov ecx, dword [ebp - 0x18]
mov dword [0x4810b8], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret 8
Function at 0x9c3560
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x67000d
lea edi, [esi - 0x26f00d]
push edi
or ebp, 0xffffffff
jmp 0x9c3582
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x9c3589
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x9c3578
mov eax, 1
add ebx, ebx
jne 0x9c359b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x9c3590
jne 0x9c35ac
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x9c3590
xor ecx, ecx
sub eax, 3
jb 0x9c35c0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x9c3632
mov ebp, eax
add ebx, ebx
jne 0x9c35cb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x9c35d8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x9c35fc
inc ecx
add ebx, ebx
jne 0x9c35e8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x9c35dd
jne 0x9c35f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x9c35dd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x9c361c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x9c360d
jmp 0x9c357e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x9c361c
add edi, ecx
jmp 0x9c357e
pop esi
mov edi, esi
mov ecx, 0x16bc
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x9c363a
cmp byte [edi], 0x11
jne 0x9c363a
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 0x9c363f
lea edi, [esi + 0x5bf000]
mov eax, dword [edi]
or eax, eax
je 0x9c36ae
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x5c602c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x5c6084]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x9c366c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x5c608c]
or eax, eax
je 0x9c36a8
mov dword [ebx], eax
add ebx, 4
jmp 0x9c3689
call dword [esi + 0x5c6088]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x9c36df
cmp al, 0xef
ja 0x9c36d2
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x9c36b4
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x9c36c1
mov ebp, dword [esi + 0x5c6090]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x197]
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 0x9c3713
sub esp, 0xffffff80
jmp 0x40d67e
Function at 0x414830
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov esi, section..data
lea edi, [esi - 0xa000]
push edi
or ebp, 0xffffffff
add esi, 0x10
push dword [esi]
add esi, 4
jmp 0x41485a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x414861
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x414850
mov eax, 1
add ebx, ebx
jne 0x414873
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x414868
jne 0x414884
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x414868
xor ecx, ecx
sub eax, 3
jb 0x414898
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41490a
mov ebp, eax
add ebx, ebx
jne 0x4148a3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4148b0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4148d4
inc ecx
add ebx, ebx
jne 0x4148c0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4148b5
jne 0x4148d1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4148b5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4148f4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4148e5
jmp 0x414856
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4148f4
add edi, ecx
jmp 0x414856
pop eax
pop esi
push ebx
push esi
mov ebx, eax
add ebx, esi
mov al, byte [esi]
xor al, 1
mov byte [esi], al
inc esi
cmp ebx, esi
jne 0x414912
pop esi
pop ebx
mov edi, esi
mov ecx, 0x38b
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x414926
cmp byte [edi], 6
jne 0x414926
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 0x41492b
lea edi, [esi + 0x12000]
mov eax, dword [edi]
or eax, eax
je 0x4149a3
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x14000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x140d8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x414958
mov ecx, edi
jns 0x414987
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x140e0]
or eax, eax
je 0x41499d
mov dword [ebx], eax
add ebx, 4
jmp 0x414975
call dword [esi + 0x140dc]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x4149d4
cmp al, 0xef
ja 0x4149c7
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x4149a9
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x4149b6
mov ebp, dword [esi + 0x140e4]
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 0x414a08
sub esp, 0xffffff80
jmp 0x402fa7