joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
je 0x42e072
nop
nop
nop
nop
nop
mov ebx, 0x407ef8
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x794b63c5
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x42e060
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
je 0x42e0d2
nop
nop
nop
nop
mov ebx, 0x42cd70
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0xe22cf9
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
loop 0x42e0c0
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x407d9c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004033fc
xor eax, eax
push ebp
push 0x407e75
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp byte [eax], 0x5c
jne 0x407dd4
mov eax, dword [ebp - 4]
call fcn.004071d0
jmp 0x407ddc
mov eax, dword [ebp - 4]
call fcn.00407bd4
call fcn.00404ae8
mov esi, eax
test esi, esi
jle 0x407e28
mov ebx, 1
lea edx, [ebp - 8]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 8]
cmp byte [eax], 0x5c
jne 0x407e12
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 0xc]
call fcn.004071d0
jmp 0x407e24
lea edx, [ebp - 0x10]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 0x10]
call fcn.00407bd4
inc ebx
dec esi
jne 0x407dec
push 1
push dword [ebp - 4]
push 0x407e8c
lea edx, [ebp - 0x18]
xor eax, eax
call fcn.00406f34
push dword [ebp - 0x18]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.004032cc
mov eax, dword [ebp - 0x14]
call fcn.0040340c
push eax
call sub.kernel32.dll_WinExec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407e7c
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.004030b8
ret

Function at 0x503b67
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
mov dword [0x505076], ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x505298], eax
mov dword [0x505220], 0x5032dd
mov dword [0x50521c], 2
jmp 0x503b97
mov dword [0x505224], 0
mov dword [0x505228], 0
mov dword [0x505218], 0x30
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x50522c], eax
mov dword [0x505240], 0x504088
mov dword [0x505238], 0xf
mov dword [0x50506e], eax
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadIconA]
mov dword [0x505230], eax
mov dword [0x505244], eax
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
mov dword [0x505234], eax
push 0x505218
call dword [sym.imp.USER32.dll_RegisterClassExA]
push 0
push dword [0x50506e]
push 0
push 0
push 0x1e5
push 0x21e
push 0xffffe52a
push 0xfffff588
push 0x40000
push 0x5040d1
push 0x504088
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x505290], eax
push 5
push dword [0x505290]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x505290]
call dword [sym.imp.USER32.dll_UpdateWindow]
jmp 0x503c6a
push 0
push 0
push 0
push 0x505248
call dword [sym.imp.USER32.dll_GetMessageA]
or eax, eax
je 0x503c97
push 0x505248
call dword [sym.imp.USER32.dll_TranslateMessage]
push 0x505248
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x503c6a
mov eax, dword [0x505250]
jmp 0x503ca4
call 0x502b16
ret
Function at 0x100010e3
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffffc
push dword [ebp + 8]
push 0
push 0
call sub.kernel32.dll_CreateMutexA
mov dword [ebp - 4], eax
or eax, eax
je 0x10001115
call sub.kernel32.dll_GetLastError
cmp eax, 0xb7
jne 0x10001115
push dword [ebp - 4]
call fcn.100010c6
push 0
pop dword [ebp - 4]
mov eax, dword [ebp - 4]
leave
ret 4

Function at 0x10001134
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffac
push 0x44
lea eax, [ebp - 0x44]
push eax
call fcn.1000111c
push 0x10
lea eax, [ebp - 0x54]
push eax
call fcn.1000111c
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x44]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push dword [ebp + 8]
push 0
call sub.kernel32.dll_CreateProcessA
lea edi, [ebp - 0x54]
push dword [edi]
push dword [edi + 4]
call sub.kernel32.dll_CloseHandle
call sub.kernel32.dll_CloseHandle
leave
ret 4

Function at 0x40c470
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x9000]
push edi
or ebp, 0xffffffff
jmp 0x40c492
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40c499
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40c488
mov eax, 1
add ebx, ebx
jne 0x40c4ab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40c4a0
jne 0x40c4bc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40c4a0
xor ecx, ecx
sub eax, 3
jb 0x40c4d0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40c542
mov ebp, eax
add ebx, ebx
jne 0x40c4db
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40c4e8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40c50c
inc ecx
add ebx, ebx
jne 0x40c4f8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40c4ed
jne 0x40c509
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40c4ed
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40c52c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40c51d
jmp 0x40c48e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40c52c
add edi, ecx
jmp 0x40c48e
pop esi
mov edi, esi
mov ecx, 4
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40c54a
cmp byte [edi], 1
jne 0x40c54a
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 eax, ebx
loop 0x40c54f
lea edi, [esi + 0xa000]
mov eax, dword [edi]
or eax, eax
je 0x40c5c7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xd70c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xd748]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40c57c
mov ecx, edi
jns 0x40c5ab
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 + 0xd74c]
or eax, eax
je 0x40c5c1
mov dword [ebx], eax
add ebx, 4
jmp 0x40c599
call dword [esi + 0xd750]
popal
jmp 0x401128
Function at 0x409631
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41a344]
jne 0x40963b
repz ret
jmp fcn.0040e01c

Function at 0x41224c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41a344]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040b6bf
and dword [ebp - 0x14], 0
cmp dword [0x46b60c], 0
mov dword [ebp - 0x18], eax
jne 0x4122ff
push 0x403774
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4123a7
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x403768
push ebx
call edi
test eax, eax
je 0x4123a7
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x403758
push ebx
mov dword [0x46b60c], eax
call edi
push eax
call esi
push 0x403744
push ebx
mov dword [0x46b610], eax
call edi
push eax
call esi
push 0x403728
push ebx
mov dword [0x46b614], eax
call edi
push eax
call esi
mov dword [0x46b61c], eax
test eax, eax
je 0x4122ff
push 0x403710
push ebx
call edi
push eax
call esi
mov dword [0x46b618], eax
mov eax, dword [0x46b618]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x412358
cmp dword [0x46b61c], ecx
je 0x412358
push eax
call esi
push dword [0x46b61c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x412358
test ebx, ebx
je 0x412358
call edi
test eax, eax
je 0x41234f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x41234f
test byte [ebp - 8], 1
jne 0x412358
or dword [ebp + 0x10], 0x200000
jmp 0x41238b
mov eax, dword [0x46b610]
cmp eax, dword [ebp - 0x18]
je 0x41238b
push eax
call esi
test eax, eax
je 0x41238b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41238b
mov eax, dword [0x46b614]
cmp eax, dword [ebp - 0x18]
je 0x41238b
push eax
call esi
test eax, eax
je 0x41238b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x46b60c]
call esi
test eax, eax
je 0x4123a7
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4123a9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00409631
leave
ret
Function at 0x4141c0
Capabilities:
Delete directory
Delete file
Get disk information
Read .ini file

Disassembly:
mov eax, 0x1400
call fcn.00413820
cmp dword [0x80b764], 0x37
jne 0x414251
push 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetNamedPipeHandleStateA]
push 0x403f68
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
lea eax, [esp + 0x804]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x403fc4
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea ecx, [esp]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetTapePosition]
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
push 0
lea edx, [esp + 0xc04]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointW]
mov eax, dword [0x80c348]
mov edx, dword [0x8087c4]
mov cl, byte [eax + esi + 0x38d6]
mov byte [edx + esi], cl
add esp, 0x1400
ret
Function at 0x402850
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x50
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x34], 0
mov word [ebp - 0x42], 0x1304
mov dword [ebp - 0x18], 0xfffff000
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x40], 0x1000
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x10], 0x4550
mov esi, dword [ebp - 0x10]
mov dword [ebp - 0x38], 0x5a4d
mov edi, dword [ebp - 0x38]
mov word [ebp - 0x26], 0x70a
mov byte [ebp - 0x11], 1
mov bl, byte [ebp - 0x11]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x1d], 0x3b
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x3c], 0
cmp eax, 0
mov byte [ebp - 0x49], bl
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x5c], edi
jne 0x4028de
mov dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x2c], eax
jmp 0x4029fe
lea eax, [ebp - 0x3c]
lea ecx, [ebp - 0x1d]
mov dl, byte [ebp - 0x1d]
mov dh, cl
or dl, dh
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 0x1d], dl
sub eax, ecx
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x34]
add eax, 0
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x1c]
mov cx, word [eax]
mov dl, byte [ebp - 0x1d]
or dl, 0x41
mov byte [ebp - 0x1d], dl
movzx eax, cx
mov esi, dword [ebp - 0x5c]
cmp eax, esi
jne 0x40298b
mov eax, dword [ebp - 0x1c]
mov cx, word [ebp - 0x26]
xor cx, 0x58e7
mov word [ebp - 0x26], cx
mov eax, dword [eax + 0x3c]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x58]
cmp dword [edx + eax], esi
jne 0x402966
lea eax, [ebp - 0x3c]
mov ecx, dword [ebp - 0x34]
and ecx, eax
mov dx, word [ebp - 0x42]
and dx, 0x1e73
mov word [ebp - 0x42], dx
mov dword [ebp - 0x34], ecx
mov eax, dword [ebp - 0x34]
and eax, 0
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x30], eax
jmp 0x4029fe
mov al, 0
lea ecx, [ebp - 0x42]
mov edx, dword [ebp - 0x3c]
add edx, 0
mov dword [ebp - 0x3c], edx
mov si, word [ebp - 0x26]
mov di, cx
sub di, si
mov word [ebp - 0x26], di
sub al, byte [ebp - 0x1d]
mov byte [ebp - 0x1d], al
lea eax, [ebp - 0x26]
mov ecx, 0
lea edx, [ebp - 0x2c]
mov si, word [ebp - 0x42]
mov di, dx
xor si, di
mov word [ebp - 0x42], si
mov edx, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x54]
sub edx, ebx
mov esi, dword [ebp - 0x50]
and edx, esi
sub ecx, dword [ebp - 0x34]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x34], ecx
mov di, word [ebp - 0x42]
and di, ax
mov word [ebp - 0x26], di
mov eax, 0
mov cl, 0x26
mov edx, dword [ebp - 0x34]
sub cl, byte [ebp - 0x1d]
mov byte [ebp - 0x1d], cl
mov word [ebp - 0x26], 0x746d
sub eax, edx
mov dword [ebp - 0x34], eax
mov cl, byte [ebp - 0x49]
test cl, 1
jne 0x402901
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x30], 0
mov ecx, dword [ebp - 0x3c]
or ecx, eax
mov dword [ebp - 0x3c], ecx
lea eax, [ebp - 0x34]
mov ecx, dword [ebp - 0x34]
xor ecx, eax
mov dword [ebp - 0x34], ecx
mov eax, dword [ebp - 0x30]
add esp, 0x50
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1336331
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x24
push ebx
push ebp
push edi
push dword [esp + 0x40]
mov eax, 0x1001f4f0
mov ebp, ecx
push dword [esp + 0x40]
push eax
push dword [esp + 0x40]
push edx
push ebp
call fcn.01347212
push ebp
push eax
call fcn.01347212
mov dword [esp + 0x44], 0x5cefa3
xor edi, edi
mov dword [esp + 0x48], edi
xor edx, edx
mov dword [esp + 0x4c], edi
mov dword [esp + 0x38], 0x7d9c
shl dword [esp + 0x38], 0xe
xor dword [esp + 0x38], 0x1f6778e3
mov dword [esp + 0x2c], 0x53b9
mov eax, dword [esp + 0x2c]
push 0x61
pop ecx
div ecx
xor edx, edx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x2c]
push 0x77
pop ecx
div ecx
xor edx, edx
mov dword [esp + 0x2c], eax
xor dword [esp + 0x2c], 0x50fb9346
xor dword [esp + 0x2c], 0x50fbacaf
mov dword [esp + 0x34], 0x7927
mov eax, dword [esp + 0x34]
push 0x7d
pop ecx
div ecx
mov dword [esp + 0x34], eax
xor dword [esp + 0x34], 0x4ef3
mov dword [esp + 0x30], 0x89b5
add dword [esp + 0x30], 0xffff0e32
xor dword [esp + 0x30], 0xffffb118
mov eax, dword [0x1001f4f0]
mov edx, dword [0x1001f4f4]
xor edx, eax
mov dword [esp + 0x3c], eax
mov eax, edx
mov dword [esp + 0x40], edx
and eax, 0xfffffffc
mov ecx, edx
add eax, 4
mov ebx, edx
and cl, 3
cmovne ebx, eax
mov eax, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
add esp, 0x14
mov eax, dword [esp + 0x18]
mov edx, ebx
mov eax, dword [esp + 0x24]
call fcn.01347368
add esp, 0xc
mov dword [esp + 0x18], eax
test eax, eax
je 0x1336485
shr ebx, 2
push esi
mov esi, 0x1001f4f8
lea ecx, [ebx*4 + 0x1001f4f8]
xor ebx, ebx
mov edx, ecx
sub edx, esi
add edx, 3
shr edx, 2
cmp ecx, esi
cmovb edx, ebx
test edx, edx
je 0x1336479
mov ebx, dword [esp + 0x20]
mov ecx, eax
sub ecx, esi
mov eax, dword [esi]
xor eax, ebx
inc edi
mov dword [ecx + esi], eax
lea esi, [esi + 4]
cmp edi, edx
jb 0x1336466
mov eax, dword [esp + 0x1c]
pop esi
test ebp, ebp
je 0x1336485
mov ecx, dword [esp + 0x20]
mov dword [ebp], ecx
pop edi
pop ebp
pop ebx
add esp, 0x24
ret
Function at 0x133672d
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x18
push ebx
push esi
push edi
push dword [esp + 0x28]
mov esi, edx
push esi
push ecx
call fcn.01347212
mov dword [esp + 0x18], 0xb0ed
lea edi, [esi + 4]
or dword [esp + 0x18], 0x5a3290f4
xor edx, edx
mov eax, dword [esp + 0x18]
push 0x7e
pop ecx
div ecx
mov dword [esp + 0x18], eax
shr dword [esp + 0x18], 8
xor dword [esp + 0x18], 0xe9a5
mov dword [esp + 0x24], 0x8b45
add dword [esp + 0x24], 0xffffcba7
xor dword [esp + 0x24], 0x18cc
mov dword [esp + 0x1c], 0x76d6
or dword [esp + 0x1c], 0x4f67e9bf
xor dword [esp + 0x1c], 0xc0638bc8
xor dword [esp + 0x1c], 0x8f046c56
mov dword [esp + 0x20], 0xbb60
add dword [esp + 0x20], 0xffff5ee5
xor dword [esp + 0x20], 0x7a56
mov ecx, dword [esi]
mov eax, dword [edi]
add edi, 4
xor eax, ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], eax
lea esi, [eax + 1]
mov eax, esi
mov ecx, esi
and eax, 0xfffffffc
add eax, 4
and cl, 3
cmovne esi, eax
mov eax, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
lea edx, [esi + esi]
call fcn.01347368
mov ebx, eax
add esp, 0xc
mov dword [esp + 0x18], ebx
test ebx, ebx
je 0x1336870
shr esi, 2
xor eax, eax
push ebp
xor ebp, ebp
mov edx, ebx
lea ecx, [edi + esi*4]
mov esi, ecx
sub esi, edi
add esi, 3
shr esi, 2
cmp edi, ecx
cmova esi, eax
test esi, esi
je 0x1336865
mov ebx, dword [esp + 0x20]
mov ecx, dword [edi]
lea edi, [edi + 4]
xor ecx, ebx
movzx eax, cl
mov word [edx], ax
mov eax, ecx
shr eax, 8
lea edx, [edx + 8]
movzx eax, al
mov word [edx - 6], ax
shr ecx, 0x10
movzx eax, cl
shr ecx, 8
inc ebp
mov word [edx - 4], ax
movzx eax, cl
mov word [edx - 2], ax
cmp ebp, esi
jb 0x133682c
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
xor ecx, ecx
pop ebp
mov word [ebx + eax*2], cx
pop edi
pop esi
mov eax, ebx
pop ebx
add esp, 0x18
ret
Function at 0x133a474
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0x14]
push esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push edx
push ecx
call fcn.01347212
add esp, 0x18
mov dword [ebp - 4], 0x6bf2
mov eax, dword [ebp - 4]
xor edx, edx
push 0x17
pop ecx
div ecx
mov dword [ebp - 4], eax
xor dword [ebp - 4], 0x5ba
cmp dword [ebp + 0xc], 0x40
jae 0x133a4b5
xor eax, eax
jmp 0x133a4da
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x133a4b1
mov eax, dword [esi + 0x3c]
add eax, esi
cmp dword [eax], 0x4550
jne 0x133a4b1
movzx edx, word [eax + 0x18]
xor esi, esi
mov ecx, dword [ebp - 4]
cmp edx, ecx
cmovne eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x133c526
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x28
push ebx
push esi
push edi
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push edx
push ecx
call fcn.01347212
and dword [esp + 0x40], 0
lea edi, [edx + 4]
mov dword [esp + 0x34], 0x4d5289
mov dword [esp + 0x38], 0xb3472
mov dword [esp + 0x3c], 0x74fd0c
mov dword [esp + 0x28], 0x970c
or dword [esp + 0x28], 0x46aa7c01
xor dword [esp + 0x28], 0x46aafa45
mov dword [esp + 0x24], 0x7a0e
or dword [esp + 0x24], 0x1828b09d
xor dword [esp + 0x24], 0x1828cfe6
mov dword [esp + 0x20], 0x23fd
imul eax, dword [esp + 0x20], 0x55
mov dword [esp + 0x20], eax
xor dword [esp + 0x20], 0xbb90b
mov dword [esp + 0x1c], 0xd2d6
add dword [esp + 0x1c], 0x962a
shl dword [esp + 0x1c], 0xc
xor dword [esp + 0x1c], 0x16900a39
mov ecx, dword [edx]
mov eax, dword [edi]
add edi, 4
xor eax, ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], eax
lea esi, [eax + 1]
mov eax, esi
mov ecx, esi
and eax, 0xfffffffc
add eax, 4
and cl, 3
cmovne esi, eax
mov eax, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
add esp, 4
mov eax, dword [esp + 0x20]
mov edx, esi
mov eax, dword [esp + 0x24]
call fcn.01347368
mov ebx, eax
add esp, 0xc
mov dword [esp + 0x18], ebx
test ebx, ebx
je 0x133c662
shr esi, 2
xor eax, eax
push ebp
xor ebp, ebp
mov edx, ebx
lea ecx, [edi + esi*4]
mov esi, ecx
sub esi, edi
add esi, 3
shr esi, 2
cmp edi, ecx
cmova esi, eax
test esi, esi
je 0x133c659
mov ebx, dword [esp + 0x20]
mov ecx, dword [edi]
lea edi, [edi + 4]
xor ecx, ebx
mov byte [edx], cl
mov eax, ecx
shr eax, 8
lea edx, [edx + 4]
shr ecx, 0x10
mov byte [edx - 3], al
mov byte [edx - 2], cl
shr ecx, 8
inc ebp
mov byte [edx - 1], cl
cmp ebp, esi
jb 0x133c630
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
pop ebp
mov byte [ebx + eax], 0
pop edi
pop esi
mov eax, ebx
pop ebx
add esp, 0x28
ret
Function at 0x133d350
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push dword [ebp + 0xc]
mov ebx, ecx
push dword [ebp + 8]
push edx
push ebx
call fcn.01347212
mov dword [ebp - 8], 0x87fb
add esp, 0x10
or dword [ebp - 8], 0x220f5406
xor dword [ebp - 8], 0x220fd7ff
mov dword [ebp - 4], 0xbeeb
shr dword [ebp - 4], 0xb
shr dword [ebp - 4], 9
imul eax, dword [ebp - 4], 0x2e
mov dword [ebp - 4], eax
xor dword [ebp - 4], 6
mov dword [ebp - 4], 0x81aa
add dword [ebp - 4], 0xe086
xor dword [ebp - 4], 0xd2c0dd39
xor dword [ebp - 4], 0x4bcda799
xor dword [ebp - 4], 0x990c1880
cmp byte [ebx], 0
je 0x133d428
push esi
push edi
mov edi, dword [ebp - 8]
mov dword [ebp - 4], 0xbeeb
shr dword [ebp - 4], 0xb
shr dword [ebp - 4], 9
imul eax, dword [ebp - 4], 0x2e
mov dword [ebp - 4], eax
xor dword [ebp - 4], 6
mov cl, byte [ebp - 4]
mov esi, dword [ebp - 8]
mov dword [ebp - 4], 0x81aa
add dword [ebp - 4], 0xe086
xor dword [ebp - 4], 0xd2c0dd39
xor dword [ebp - 4], 0x4bcda799
xor dword [ebp - 4], 0x990c1880
shl esi, cl
mov cl, byte [ebp - 4]
mov edx, dword [ebp - 8]
movsx eax, byte [ebx]
mov dword [ebp - 8], eax
add dword [ebp - 8], esi
shl edx, cl
add dword [ebp - 8], edx
sub dword [ebp - 8], edi
inc ebx
cmp byte [ebx], 0
jne 0x133d3c1
pop edi
pop esi
mov eax, dword [ebp - 8]
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1341b94
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
push dword [esp + 0x38]
mov ebx, edx
push dword [esp + 0x38]
push dword [esp + 0x38]
push ebx
push ecx
call fcn.01347212
mov dword [esp + 0x28], 0xaa4d
xor esi, esi
or dword [esp + 0x28], 0xd63cada4
add esp, 0x14
shl dword [esp + 0x14], 0xf
mov ebp, esi
shl dword [esp + 0x14], 2
xor dword [esp + 0x14], 0x5fda5f92
mov dword [esp + 0x10], 0x9877
add dword [esp + 0x10], 0x52c7
shr dword [esp + 0x10], 0xb
shr dword [esp + 0x10], 9
xor dword [esp + 0x10], 0x2f3d
mov dword [esp + 0x18], 0x1d09
add dword [esp + 0x18], 0xffff2e3f
imul eax, dword [esp + 0x18], 0x3b
mov dword [esp + 0x18], eax
xor dword [esp + 0x18], 0xffd66976
mov eax, dword [ebx + 0x3c]
mov dword [esp + 0x28], eax
mov edi, dword [eax + ebx + 0x78]
add edi, ebx
mov eax, dword [edi + 0x1c]
mov ecx, dword [edi + 0x20]
add eax, ebx
mov dword [esp + 0x24], eax
add ecx, ebx
mov eax, dword [edi + 0x24]
add eax, ebx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
cmp dword [edi + 0x18], esi
jbe 0x1341ca4
push dword [esp + 0x18]
mov ecx, dword [ecx + ebp*4]
push dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
add ecx, ebx
call fcn.0133d350
xor eax, 0x5a80eae
pop ecx
pop ecx
cmp eax, dword [esp + 0x34]
je 0x1341c78
mov ecx, dword [esp + 0x1c]
inc ebp
cmp ebp, dword [edi + 0x18]
jb 0x1341c49
jmp 0x1341ca4
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
movzx eax, word [eax + ebp*2]
mov esi, dword [esi + eax*4]
add esi, ebx
cmp esi, edi
jb 0x1341ca4
mov eax, dword [esp + 0x28]
mov eax, dword [eax + ebx + 0x7c]
add eax, edi
cmp esi, eax
jae 0x1341ca4
mov ecx, esi
call fcn.01341125
mov esi, eax
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret