joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000a779
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push edi
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + 0x14]
mov edx, dword [ebp + 0xc]
lea eax, [edx + ecx + 0x18]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 0xc]
movzx edx, word [ecx + 6]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
sub ecx, 1
mov dword [ebp - 0xc], ecx
test eax, eax
je 0x1000a800
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0xc]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 0x10]
add edx, dword [ecx + 0x14]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 8]
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 0x14]
rep movsb byte es:[edi], byte [esi]
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x24]
and eax, 0x20000000
je 0x1000a7f5
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 0x14]
mov dword [ecx], edx
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
mov edx, dword [ebp - 0x10]
xor dword [ebx], 0xffffffc0
ret 4
in al, dx

Function at 0x1000ad76
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
mov eax, ecx
cdq
idiv dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov al, byte [edx + eax]
xor byte [ecx + str.._._._.._._.__], al
inc ecx
cmp ecx, 0x1000
jl 0x1000ad7b
pop ebp
ret

Function at 0x1000ad98
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 0xc], esi
jle 0x1000adbf
mov eax, dword [ebp + 8]
lea ecx, [esi + eax]
mov eax, esi
cdq
idiv edi
mov eax, dword [ebp + 0x10]
sub eax, edx
mov al, byte [eax + edi - 1]
xor byte [ecx], al
inc esi
cmp esi, dword [ebp + 0xc]
jl 0x1000ada3
pop esi
pop ebp
ret
Function at 0x1000b1ce
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
push str.._._._.._._.__
mov esi, 0x800
push esi
mov ebx, 0x10035020
push ebx
mov edi, 0x1000
call fcn.1000ad98
add esp, 0xc
xor eax, eax
xor byte [eax + 0x10035020], 0x8a
inc eax
cmp eax, esi
jl 0x1000b1f7
push esi
lea eax, [ebp - 0x10]
push ebx
push eax
call fcn.10006fff
lea eax, [ebp - 0x10]
push eax
call fcn.1000705b
movzx edi, ax
add esp, 0x10
test di, di
jle 0x1000b2c6
lea eax, [ebp - 0x10]
push eax
call fcn.1000705b
movzx esi, ax
lea eax, [ebp - 0x10]
push eax
call fcn.1000705b
movsx ebx, di
pop ecx
pop ecx
movzx ecx, ax
mov eax, dword [0x100417e8]
shl ebx, 3
lea edi, [ebx + eax]
movsx eax, si
dec eax
mov word [edi], si
je 0x1000b291
dec eax
je 0x1000b27b
dec eax
jne 0x1000b2a6
movsx eax, cx
push eax
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.10007086
pop ecx
pop ecx
push eax
push dword [edi + 4]
call fcn.1001db30
add esp, 0xc
jmp 0x1000b2a6
lea eax, [ebp - 0x10]
push eax
call fcn.10007018
pop ecx
mov ecx, dword [0x100417e8]
mov dword [ebx + ecx + 4], eax
jmp 0x1000b2a6
lea eax, [ebp - 0x10]
push eax
call fcn.1000705b
pop ecx
mov ecx, dword [0x100417e8]
mov word [ebx + ecx + 4], ax
lea eax, [ebp - 0x10]
push eax
call fcn.1000705b
movzx edi, ax
pop ecx
test di, di
jg 0x1000b226
mov esi, 0x800
mov ebx, 0x10035020
push esi
push 0
push ebx
call fcn.1001ed20
add esp, 0xc
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1000b975
Capabilities:
Encode data using xor

Disassembly:
cmp byte [ecx], 0
mov eax, 0x52964ee9
je 0x1000b996
push esi
movzx edx, word [ecx]
mov esi, eax
movzx edx, dx
ror esi, 8
add esi, edx
inc ecx
xor eax, esi
cmp byte [ecx], 0
jne 0x1000b980
pop esi
ret
Function at 0x10009410
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10023d4b
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x1003406c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
push str.asio_hw_fun47
mov dword [ebp - 0x228], eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
mov dword [ebp - 0x21c], esi
test esi, esi
jne 0x10009490
xorps xmm0, xmm0
mov dword [ebp - method.std::exception.virtual_0], vtable.std::bad_alloc.0
push 0x10033194
lea eax, [ebp - 0x244]
movq qword [ebp - 0x240], xmm0
push eax
mov dword [ebp - 0x240], str.bad_allocation
call fcn.1000f434
mov dword [ebp - 4], 0
movups xmm0, xmmword [str.LdnIndexDataArray]
mov eax, dword [0x1003145c]
push 0x1e4
movups xmmword [ebp - 0x218], xmm0
mov dword [ebp - 0x1f8], eax
lea eax, [ebp - 0x1f4]
movups xmm0, xmmword [0x1003144c]
push 0
push eax
movups xmmword [ebp - 0x208], xmm0
call fcn.1000f4b0
mov eax, dword [edi + 4]
lea edx, [ebp - 0x224]
add esp, 0xc
mov dword [ebp - 0x224], 0
xor bl, bl
mov ecx, dword [eax]
push 0
push edx
push 0
push esi
push eax
call dword [ecx + 0x4c]
test eax, eax
js 0x100095d0
mov eax, dword [ebp - 0x224]
lea edx, [ebp - 0x220]
push edx
mov dword [ebp - 0x220], 0
push 0
mov ecx, dword [eax]
push eax
call dword [ecx + 0x3c]
test eax, eax
js 0x100095c4
push dword [ebp - 0x228]
mov eax, 8
mov word [ebp - 0x238], ax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push 8
mov dword [ebp - 0x230], eax
lea edx, [ebp - 0x238]
mov eax, dword [ebp - 0x220]
push edx
push 0
lea edx, [ebp - 0x218]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x14]
test eax, eax
js 0x100095ab
mov eax, dword [edi]
lea edx, [ebp - 0x228]
push 0
push edx
push dword [ebp - 0x220]
mov dword [ebp - 0x228], 0
mov ecx, dword [eax]
push 0
push 0
push esi
push dword [edi + 8]
push eax
call dword [ecx + 0x60]
test eax, eax
js 0x100095a0
push str._ASUSWMIManager___BurstWriteSIO__ExecMethod_Successful.
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov bl, 1
jmp 0x100095ab
push str._ASUSWMIManager___BurstWriteSIO__ExecMethod_failed.
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea eax, [ebp - 0x238]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 0x220]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [ebp - 0x224]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1000c5be
mov esp, ebp
pop ebp
ret 4
Function at 0x10009e40
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10023d4b
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x1003406c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
push str.asio_hw_fun26
mov dword [ebp - 0x228], eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
mov dword [ebp - 0x21c], esi
test esi, esi
jne 0x10009ec0
xorps xmm0, xmm0
mov dword [ebp - method.std::exception.virtual_0], vtable.std::bad_alloc.0
push 0x10033194
lea eax, [ebp - 0x244]
movq qword [ebp - 0x240], xmm0
push eax
mov dword [ebp - 0x240], str.bad_allocation
call fcn.1000f434
mov dword [ebp - 4], 0
movups xmm0, xmmword [str.BankIndexDataArray]
mov eax, dword [0x10030268]
mov dword [ebp - 0x1f8], eax
mov ax, word [0x1003026c]
movups xmmword [ebp - 0x218], xmm0
push 0x1e2
movups xmm0, xmmword [0x10030258]
mov word [ebp - 0x1f4], ax
lea eax, [ebp - 0x1f2]
push 0
push eax
movups xmmword [ebp - 0x208], xmm0
call fcn.1000f4b0
mov eax, dword [edi + 4]
lea edx, [ebp - 0x224]
add esp, 0xc
mov dword [ebp - 0x224], 0
xor bl, bl
mov ecx, dword [eax]
push 0
push edx
push 0
push esi
push eax
call dword [ecx + 0x4c]
test eax, eax
js 0x1000a00d
mov eax, dword [ebp - 0x224]
lea edx, [ebp - 0x220]
push edx
mov dword [ebp - 0x220], 0
push 0
mov ecx, dword [eax]
push eax
call dword [ecx + 0x3c]
test eax, eax
js 0x1000a001
push dword [ebp - 0x228]
mov eax, 8
mov word [ebp - 0x238], ax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push 8
mov dword [ebp - 0x230], eax
lea edx, [ebp - 0x238]
mov eax, dword [ebp - 0x220]
push edx
push 0
lea edx, [ebp - 0x218]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x14]
test eax, eax
js 0x10009fe8
mov eax, dword [edi]
lea edx, [ebp - 0x228]
push 0
push edx
push dword [ebp - 0x220]
mov dword [ebp - 0x228], 0
mov ecx, dword [eax]
push 0
push 0
push esi
push dword [edi + 8]
push eax
call dword [ecx + 0x60]
test eax, eax
js 0x10009fdd
push str._ASUSWMIManager___BurstWriteEC__ExecMethod_Successful.
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov bl, 1
jmp 0x10009fe8
push str._ASUSWMIManager___BurstWriteEC__ExecMethod_failed.
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea eax, [ebp - 0x238]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 0x220]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [ebp - 0x224]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1000c5be
mov esp, ebp
pop ebp
ret 4
Function at 0x1000b190
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x1003406c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 0x14]
push edi
push dword [ebp + 0x10]
push eax
push dword [ebp + 8]
call fcn.10002900
mov ecx, eax
call fcn.1000b4b0
call fcn.10002900
mov dword [eax], 7
call fcn.10002900
mov esi, eax
mov dword [ebp - 8], 0
lea eax, [ebp - 0xc]
push eax
push 0
push esi
push 0x10002af0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 4], eax
test eax, eax
je 0x1000b211
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 8]
push eax
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.10002900
mov edx, eax
xor ecx, ecx
cmp dword [edx + 0x2c], ecx
jbe 0x1000b23b
nop
mov eax, dword [edx + 0x24]
mov esi, dword [edx + 0x20]
sub eax, esi
sar eax, 2
cmp eax, ecx
jbe 0x1000b254
mov al, byte [esi + ecx*4]
mov byte [ecx + edi], al
inc ecx
cmp ecx, dword [edx + 0x2c]
jb 0x1000b220
cmp dword [ebp - 8], 0
mov ecx, dword [ebp - 4]
sete al
xor ecx, ebp
pop edi
pop esi
call fcn.1000c5be
mov esp, ebp
pop ebp
ret 0x10
push str.invalid_vector_T__subscript
call fcn.1000bd0f
int3

Function at 0x1000b260
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x1003406c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push dword [ebp + 8]
call fcn.10002900
mov ecx, eax
call fcn.1000b4b0
call fcn.10002900
mov dword [eax], 8
call fcn.10002900
mov esi, eax
mov dword [ebp - 8], 0
lea eax, [ebp - 0xc]
push eax
push 0
push esi
push 0x10002af0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 4], eax
test eax, eax
je 0x1000b2df
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 8]
push eax
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor eax, eax
cmp dword [ebp - 8], eax
pop esi
sete al
xor ecx, ebp
call fcn.1000c5be
mov esp, ebp
pop ebp
ret 0x10

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

Disassembly:
pushal
call 0x43100c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x403e6a
sub eax, 0x403e10
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x431030
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43101e
nop
popal
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x45d820
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4787ae
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x49a324]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
mov edx, eax
shr edx, 0x10
test edx, edx
je 0x45d89a
cmp word [eax], 0x3c
je 0x45d89a
mov ecx, dword fs:[0x2c]
mov edx, dword [0xe323f4]
mov edx, dword [ecx + edx*4]
mov ecx, dword [0xe321f8]
cmp ecx, dword [edx + 4]
jg 0x45d9a7
jmp 0x45d881
mov eax, dword [ebp + 8]
mov ecx, dword [0xe321f4]
push eax
call fcn.00415bb0
mov ecx, eax
mov eax, dword [ebp + 8]
test ecx, ecx
cmovne eax, ecx
mov dword [ebp + 8], eax
mov ecx, eax
shr ecx, 0x10
test ecx, ecx
je 0x45d8f5
cmp word [eax], 0x3c
mov ecx, esi
jne 0x45d8cf
push eax
call fcn.004308c0
test al, al
jne 0x45d983
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
push 0
push eax
call fcn.004309d0
test al, al
jne 0x45d983
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov ebx, dword [esi + 0x148]
test ebx, ebx
jne 0x45d909
call fcn.00406030
mov ebx, eax
mov eax, dword [ebp + 8]
push dword [ebp + 0xc]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x45d8b9
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x45d946
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebp + 0x10]
push 0
push edi
push ebx
mov dword [esi + 0x140], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
mov ecx, esi
call fcn.00430df0
test al, al
je 0x45d8b9
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x144], eax
push dword [ebp + 0x18]
mov ecx, esi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.0045c6b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
push 0xe321f8
call fcn.0045f4e7
add esp, 4
cmp dword [0xe321f8], 0xffffffff
jne 0x45d87e
push 0x1f8
mov dword [ebp - 4], 0
call fcn.0045edc2
mov edi, eax
add esp, 4
mov dword [ebp - 0x10], edi
mov byte [ebp - 4], 1
test edi, edi
je 0x45d9fb
push 0x1f8
push 0
push edi
call fcn.00461a60
add esp, 0xc
mov ecx, edi
call fcn.00415880
jmp 0x45d9ff
xor eax, eax
jmp 0x45d9ff
push 0xe321f8
mov dword [0xe321f4], eax
mov dword [ebp - 4], 0xffffffff
call fcn.0045f49d
add esp, 4
jmp 0x45d87e
Function at 0x45e2c0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x45e305
cmp byte [ebp + 8], 0
je 0x45e2f9
cmp byte [ebp + 0xc], 0
mov ecx, 1
mov eax, 4
cmovne eax, ecx
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebp
ret 8
xor eax, eax
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebp
ret 8

Function at 0x470812
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00470691

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

Disassembly:
pushal
mov eax, section..pdata
nop
mov ebx, 0x40de38
nop
nop
mov ecx, 0x44ec2281
nop
nop
test eax, eax
nop
nop
je 0x43304e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x433024
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x690717a4
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x433084
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x401170
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ecx, 0x38b8
xor esi, esi
lea ecx, [ecx]
mov eax, 0x66666667
imul ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jne 0x401180
mov eax, dword [ebp + 8]
test eax, eax
je 0x4012de
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x4012de
cmp eax, ecx
jae 0x4012de
mov ecx, 0x66ba
mov eax, 0xb60b60b7
imul ecx
add edx, ecx
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jne 0x4011b6
xor edi, edi
lea ecx, [ecx]
inc edi
mov eax, 0x66666667
imul edi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*4]
add ecx, ecx
mov eax, edi
sub eax, ecx
jne 0x4011ee
inc edi
cmp edi, 0x4904
jl 0x4011d0
mov edx, 0xe3
mov ecx, 0x5a6c
lea edi, [edx - 0x6d]
mov eax, 6
jmp 0x401210
cmp eax, 0xe3
cmovg eax, edx
dec ecx
jne 0x401210
mov eax, dword [ebp + 0xc]
sub eax, dword [ebp + 8]
mov ecx, 0x2eeb
mov dword [ebp + 0xc], eax
mov edx, 0x77
mov eax, 0x35
cmp eax, 0x77
cmovg eax, edx
dec ecx
jne 0x401233
mov ecx, 0x7bf0
mov eax, 0xcb8727c1
imul ecx
add edx, ecx
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jne 0x401241
mov ebx, 0x67c4
jmp 0x401260
mov eax, 0x1a6d01a7
imul ebx
sar edx, 4
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
jne 0x401260
mov ebx, 0x6d
inc esi
mov eax, 0x2aaaaaab
imul esi
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
add ecx, ecx
mov eax, esi
sub eax, ecx
jne 0x401293
inc esi
cmp esi, 0x3626
jl 0x401278
mov eax, 0x230e
mov ecx, 0x69
cmp ebx, ecx
cmovg ebx, ecx
dec eax
jne 0x4012a5
mov eax, 0x7f11
mov ecx, 0xc4
cmp edi, ecx
cmovg edi, ecx
dec eax
jne 0x4012b7
mov ebx, dword [ebp + 0xc]
xor ecx, ecx
test ebx, ebx
je 0x4012de
mov edx, dword [ebp + 8]
jmp 0x4012d0
mov al, byte [ecx + edx + 1]
add al, 0x13
xor byte [ecx + edx], al
inc ecx
cmp ecx, ebx
jb 0x4012d0
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x4027a0
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
xor edx, edx
push ebx
push esi
push edi
mov ecx, 0x8fd
lea edi, [edx + 0x6d]
mov ebx, 0x215e
inc edx
mov eax, edx
and eax, 0x80000003
jns 0x4027c7
dec eax
or eax, 0xfffffffc
inc eax
jne 0x4027cc
add edx, 2
cmp edx, 0x60a4
jl 0x4027b8
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4029a0
cmp dword [ebp + 0x10], 0
jne 0x4027ef
cmp dword [ebp + 0x18], 0
je 0x4029b3
mov ecx, dword [eax + 0x3c]
add ecx, eax
mov dword [ebp - 4], ecx
mov ecx, 0x2987
lea esp, [esp]
mov eax, 0x8c08c08d
imul ecx
add edx, ecx
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jne 0x402800
mov eax, dword [ebp + 0xc]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4029b3
mov edx, dword [ebp - 4]
cmp dword [edx], 0x4550
jne 0x4029b3
mov ecx, 0x1c
mov eax, 0x49ff
mov dword [ebp - 4], ecx
cmp edi, ecx
cmovl edi, ecx
dec eax
jne 0x402842
mov edi, dword [edx + 0x7c]
mov dword [ebp - 0x14], edi
mov ecx, 0x9ca
mov eax, 0x8d
lea ebx, [ebx]
cmp eax, 0x1c
cmovg eax, dword [ebp - 4]
dec ecx
jne 0x402860
test edi, edi
je 0x4029b3
mov ecx, dword [edx + 0x78]
mov edi, dword [ebp + 0xc]
add ecx, edi
mov dword [ebp - 4], ecx
mov esi, 0x377
mov eax, 0x22b63cbf
imul esi
sar edx, 5
mov esi, edx
shr esi, 0x1f
add esi, edx
jne 0x402882
mov esi, 0x5525
mov ecx, 0x2353
nop
mov eax, 0x6bca1af3
imul ecx
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jne 0x4028a0
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0x20]
add eax, edi
mov dword [ebp - 8], eax
mov eax, dword [ecx + 0x24]
add eax, edi
mov dword [ebp - 0xc], eax
mov eax, dword [ecx + 0x1c]
add eax, edi
mov dword [ebp - 0x10], eax
mov ecx, 0x840
mov eax, 0x63e7063f
imul ecx
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jne 0x4028d3
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp - 4]
mov eax, edx
shr eax, 0x10
test eax, eax
je 0x4029b3
xor edi, edi
cmp dword [ecx + 0x18], edi
jbe 0x402923
mov eax, dword [ebp - 8]
mov eax, dword [eax + edi*4]
add eax, dword [ebp + 0xc]
push eax
push edx
call fcn.004030d0
add esp, 8
test eax, eax
jne 0x402941
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 0x10]
inc edi
cmp edi, dword [eax + 0x18]
jb 0x402900
mov eax, 0xb21642c9
imul esi
add edx, esi
sar edx, 7
mov esi, edx
shr esi, 0x1f
add esi, edx
jne 0x402923
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0xc]
mov ecx, 0xc30
movzx esi, word [eax + edi*2]
mov edx, 0x40
mov eax, 0x47
cmp eax, 0x40
cmovl eax, edx
dec ecx
jne 0x402957
mov eax, 0x88888889
imul ebx
add edx, ebx
sar edx, 4
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
jne 0x402960
mov ecx, dword [ebp - 0x10]
mov eax, esi
mov ecx, dword [ecx + eax*4]
add ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
cmp ecx, eax
jbe 0x40298e
add eax, dword [ebp - 0x14]
cmp ecx, eax
jb 0x4029b3
pop edi
pop esi
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0x4c346405
imul ecx
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jne 0x4029a0
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x403460
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
jbe 0x4034bd
mov eax, dword [ebp + 8]
push ebx
push esi
mov ecx, dword [ebp + 0xc]
inc edi
mov bh, byte [edi + ecx - 1]
inc byte [eax]
movzx esi, byte [eax]
movzx edx, byte [esi + eax + 2]
movzx ecx, byte [eax + 1]
add esi, eax
add ecx, edx
movzx edx, cl
mov byte [eax + 1], cl
movzx ecx, byte [edx + eax + 2]
mov bl, byte [esi + 2]
mov byte [esi + 2], cl
mov byte [edx + eax + 2], bl
movzx ecx, byte [esi + 2]
mov edx, dword [ebp + 0xc]
add cl, bl
movzx ecx, cl
movzx ecx, byte [ecx + eax + 2]
xor cl, bh
mov byte [edi + edx - 1], cl
cmp edi, dword [ebp + 0x10]
jb 0x403470
pop esi
pop ebx
pop edi
pop ebp
ret
Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x430072
mov ebx, 0x408ed0
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x335d6789
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x430060
nop
mov eax, str.Ei
cmp eax, 0
nop
nop
nop
nop
je 0x4300d2
nop
nop
nop
mov ebx, 0x42e1d0
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x456a2bd9
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219