joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001cc37
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp byte [esi + 0x2d], 0
jne 0x1001ccba
push ebx
mov ebx, dword [ebp + 0x10]
push edi
push 0
lea eax, [ebp + 0x10]
push eax
push ebx
push dword [ebp + 0xc]
push dword [esi + 0x30]
call dword [sym.imp.kernel32.dll_ReadFile]
mov edi, dword [ebp + 0x10]
cmp edi, ebx
je 0x1001cc84
mov byte [esi + 0x2d], 0xff
test edi, edi
je 0x1001cc84
cmp edi, ebx
jge 0x1001cc84
mov eax, dword [ebp + 0xc]
mov ecx, ebx
sub ecx, edi
push ecx
add eax, edi
push 0
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
cmp dword [esi + 0x18], 0
je 0x1001ccb4
add dword [esi + 0x1c], ebx
cmp dword [esi + 0x1c], 0xffff
jle 0x1001ccb4
xor eax, eax
mov word [esi + 0x1e], ax
mov eax, dword [esi]
push esi
call dword [eax + 0x2c]
mov ecx, dword [esi + 0x18]
mov edx, dword [ecx]
push 1
push dword [esi + 0x20]
push eax
push ecx
call dword [edx + 0xc]
mov edi, dword [ebp + 0x10]
mov eax, edi
pop edi
pop ebx
jmp 0x1001cccc
push dword [ebp + 0x10]
push 0
push dword [ebp + 0xc]
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
pop esi
pop ebp
ret 0xc

Function at 0x1001cf62
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x310
mov eax, dword [0x100268b0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push edi
mov edi, dword [ebp + 0xc]
cmp byte [0x100269c0], al
je 0x1001cf99
push ebx
push dword [ebp + 0x10]
push edi
push esi
call dword [sym.imp.kernel32.dll_GetTempFileNameW]
jmp 0x1001cffd
push 0x103
push eax
mov byte [ebp - 0x108], al
lea eax, [ebp - 0x107]
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
lea eax, [ebp - 0x310]
push eax
push esi
call fcn.10003bf0
lea eax, [ebp - 0x20c]
push eax
push edi
call fcn.10003bf0
lea eax, [ebp - 0x108]
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x310]
push eax
call dword [sym.imp.kernel32.dll_GetTempFileNameA]
mov esi, eax
push ebx
lea eax, [ebp - 0x108]
push eax
call fcn.10003bf0
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001ddeb
leave
ret 0x10

Function at 0x1001d00e
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x100268b0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x100269c0], 0
push esi
mov esi, dword [ebp + 0xc]
je 0x1001d03a
push esi
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_GetTempPathW]
jmp 0x1001d06b
lea eax, [ebp - 0x108]
push eax
push 0x104
call dword [sym.imp.kernel32.dll_GetTempPathA]
test eax, eax
je 0x1001d069
push dword [ebp + 8]
lea eax, [ebp - 0x108]
push esi
push eax
call fcn.10003bf0
push esi
call dword [sym.imp.kernel32.dll_lstrlenW]
jmp 0x1001d06b
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1001ddeb
leave
ret 8
Function at 0x1001d106
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x100268b0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x100269c0], 0
mov eax, dword [ebp + 8]
je 0x1001d12e
push eax
call dword [sym.imp.kernel32.dll_DeleteFileW]
jmp 0x1001d148
lea ecx, [ebp - 0x108]
push ecx
push eax
call fcn.10003bf0
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.kernel32.dll_DeleteFileA]
mov ecx, dword [ebp - 4]
test eax, eax
setne al
xor ecx, ebp
call fcn.1001ddeb
leave
ret 4

Function at 0x1001ddeb
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100268b0]
jne 0x1001ddf5
repz ret
jmp fcn.1001e62c

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

Disassembly:
pushal
nop
call 0x43000c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x403d6f
sub eax, 0x403d15
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x430030
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43001e
nop
popal
nop
nop
nop
nop
jmp loc.00401219
Function at 0x3001e5e1
Capabilities:
Set thread local storage value

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
cmp ecx, edx
jb 0x3001e602
mov eax, dword [eax + 8]
cmp ecx, eax
jb 0x3001e602
cmp edx, eax
jb 0x3001e602
add eax, 0x10000
cmp eax, ecx
jae 0x3001e62d
mov eax, dword [0x30036514]
push 0
push eax
call dword [sym.imp.kernel32.dll_TlsSetValue]
push 0
push 0x35636561
call fcn.3002bff0
push 0
push 0
push 1
push 0xe0000001
call dword [sym.imp.kernel32.dll_RaiseException]
ret
Function at 0x3002bff0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x3002bfff
pop dword [ebp - 0x38]
mov eax, 0x3002bfff
sub dword [ebp - 0x38], eax
push 0x40
push 0x1000
push 0x3eba9
push 0
mov eax, 0x9564f5fe
sub eax, 0x6564e4fa
add eax, dword [ebp - 0x38]
call dword [eax]
mov ecx, 0x5523
mov edx, eax
mov ebx, 0xc58c7e4f
sub ebx, 0x95856e4f
add ebx, dword [ebp - 0x38]
mov esi, 0xff6d40fd
add esi, 0x56c94929
add dword [ebp - 0x20], edi
mov edi, dword [ebx]
mov dword [ebp - 0x10], 0x81006585
add edi, esi
xor dword [ebp - 0x34], 0x95f9cb83
mov dword [edx], edi
sub dword [ebp - 0x30], 0xe85c6cd9
add edx, 0x3c1ed321
add edx, 0xc3e12ce3
add ebx, 0x1a62e3a6
sub ebx, 0x1a62e3a2
loop 0x3002c053
add eax, 0xf886e9b2
sub eax, 0xf885a253
xor ebx, ebx
add ebx, eax
add eax, 0x921d50ce
add eax, 0x6de2af37
mov ecx, 0x8f60afab
add ecx, 0xa09f5055
add ecx, dword [ebp - 0x38]
call ebx
leave
ret

Function at 0x300320dd
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x3001c404]
jne 0x30032809
ret
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x3006bc60], eax
mov dword [0x3006bc5c], ecx
mov dword [0x3006bc58], edx
mov dword [0x3006bc54], ebx
mov dword [0x3006bc50], esi
mov dword [0x3006bc4c], edi
mov word [0x3006bc78], ss
mov word [0x3006bc6c], cs
mov word [0x3006bc48], ds
mov word [0x3006bc44], es
mov word [0x3006bc40], fs
mov word [0x3006bc3c], gs
pushfd
pop dword [0x3006bc70]
mov eax, dword [ebp]
mov dword [0x3006bc64], eax
mov eax, dword [ebp + 4]
mov dword [0x3006bc68], eax
lea eax, [ebp + 8]
mov dword [0x3006bc74], eax
mov eax, dword [ebp - 0x320]
mov dword [0x3006bbb0], 0x10001
mov eax, dword [0x3006bc68]
mov dword [0x3006bb64], eax
mov dword [0x3006bb58], 0xc0000409
mov dword [0x3006bb5c], 1
mov eax, dword [0x3001c404]
mov dword [ebp - 0x328], eax
mov eax, dword [0x30067144]
mov dword [ebp - 0x324], eax
call dword [sym.imp.kernel32.dll_IsDebuggerPresent]
mov dword [0x3006bba8], eax
push 1
call sub.MSVCR80.dll__crt_debugger_hook
pop ecx
push 0
call dword [sym.imp.kernel32.dll_SetUnhandledExceptionFilter]
push 0x3001c424
call dword [sym.imp.kernel32.dll_UnhandledExceptionFilter]
cmp dword [0x3006bba8], 0
jne 0x300328f9
push 1
call sub.MSVCR80.dll__crt_debugger_hook
pop ecx
push 0xc0000409
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.kernel32.dll_TerminateProcess]
leave
ret
Function at 0x30032398
Capabilities:
Terminate process

Disassembly:
push 0x10
push 0x30033f10
call fcn.3003260e
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov dword [ebp - 0x1c], ebx
mov edi, 0x3006be98
push ebx
push esi
push edi
call dword [sym.imp.kernel32.dll_InterlockedCompareExchange]
cmp eax, ebx
je 0x30032188
cmp eax, esi
jne 0x3003217b
xor esi, esi
inc esi
mov dword [ebp - 0x1c], esi
jmp 0x3003218b
push 0x3e8
call dword [sym.imp.kernel32.dll_Sleep]
jmp 0x30032162
xor esi, esi
inc esi
mov eax, dword [0x3006be94]
cmp eax, esi
jne 0x3003219e
push 0x1f
call sub.MSVCR80.dll__amsg_exit
pop ecx
jmp 0x300321d9
mov eax, dword [0x3006be94]
test eax, eax
jne 0x300321d3
mov dword [0x3006be94], esi
push 0x3000130c
push 0x30001300
call sub.MSVCR80.dll__initterm_e
pop ecx
pop ecx
test eax, eax
je 0x300321d9
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x300322b0
mov dword [0x3006bb50], esi
mov eax, dword [0x3006be94]
cmp eax, esi
jne 0x300321fd
push 0x300012fc
push 0x300012e4
call sub.MSVCR80.dll__initterm
pop ecx
pop ecx
mov dword [0x3006be94], 2
cmp dword [ebp - 0x1c], ebx
jne 0x3003220a
push ebx
push edi
call dword [sym.imp.kernel32.dll_InterlockedExchange]
cmp dword [0x3006bea4], ebx
je 0x3003222b
push 0x3006bea4
call fcn.300329cc
pop ecx
test eax, eax
je 0x3003222b
push ebx
push 2
push ebx
call dword [0x3006bea4]
mov eax, dword [0x3006bb38]
mov ecx, dword [sym.imp.MSVCR80.dll___winitenv]
mov dword [ecx], eax
push dword [0x3006bb38]
push dword [0x3006bb3c]
push dword [0x3006bb34]
call fcn.3002bff0
add esp, 0xc
mov dword [0x3006bb4c], eax
cmp dword [0x3006bb40], ebx
jne 0x30032296
push eax
call dword [sym.imp.MSVCR80.dll_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x20], ecx
push eax
push ecx
call sub.MSVCR80.dll__XcptFilter
pop ecx
pop ecx
ret
cmp dword [0x3006bb50], ebx
jne 0x300322a4
call dword [sym.imp.MSVCR80.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x3006bb4c]
call fcn.30032653
ret
call fcn.3002bff0
jmp 0x30032140
Function at 0x5d2b90
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xe4000]
push edi
jmp 0x5d2baa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x5d2bb1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5d2ba0
mov eax, 1
add ebx, ebx
jne 0x5d2bc3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x5d2bd4
jne 0x5d2bf3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5d2bf3
dec eax
add ebx, ebx
jne 0x5d2be0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x5d2bb8
add ebx, ebx
jne 0x5d2bef
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x5d2c45
xor ecx, ecx
sub eax, 3
jb 0x5d2c0b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x5d2c7a
sar eax, 1
mov ebp, eax
jmp 0x5d2c16
add ebx, ebx
jne 0x5d2c16
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5d2be4
inc ecx
add ebx, ebx
jne 0x5d2c24
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5d2be4
add ebx, ebx
jne 0x5d2c31
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x5d2c26
jne 0x5d2c42
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x5d2c26
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x5d2c64
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x5d2c56
jmp 0x5d2ba6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x5d2c64
add edi, ecx
jmp 0x5d2ba6
pop esi
mov edi, esi
mov ecx, 0x5094
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x5d2c82
cmp byte [edi], 0x27
jne 0x5d2c82
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 0x5d2c87
lea edi, [esi + 0x1ce000]
mov eax, dword [edi]
or eax, eax
je 0x5d2cff
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x23b8f0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x23b9c8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x5d2cb4
mov ecx, edi
jns 0x5d2ce3
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 + 0x23b9d0]
or eax, eax
je 0x5d2cf9
mov dword [ebx], eax
add ebx, 4
jmp 0x5d2cd1
call dword [esi + 0x23b9cc]
mov ebp, dword [esi + 0x23b9d4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
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 0x5d2d33
sub esp, 0xffffff80
jmp 0x4b1876
Function at 0x6bdc60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x8c
mov eax, dword [0x7972c4]
mov dword [esp + 0x34], eax
mov edx, dword [esp + 0xa0]
mov dword [0x7972c4], edx
call fcn.00787f69
mov dword [esp + 0x30], eax
call fcn.00787f69
mov dword [esp + 0x3c], eax
call fcn.006b9126
mov ebx, eax
cmp dword [eax + 4], 0
sete cl
movzx ecx, cl
mov ebp, ecx
jne 0x6bdcb5
cmp dword [eax + 0x18c], 0
je 0x6bdcb5
call fcn.00785ce3
cmp dword [ebx + 0xdc], 0
jne 0x6bdcc7
cmp dword [ebx + 0xe0], 0
je 0x6bdceb
mov dword [esp], 0x6b2494
call fcn.00781092
mov edx, dword [esp + 0xa4]
mov dword [edx], eax
mov eax, 0
mov esi, 0
jmp 0x6be1d9
test ebp, ebp
je 0x6bdf99
mov dword [esp + 0x78], 0
lea eax, [ebx + 0x188]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x184]
mov dword [esp], eax
call fcn.0077eb05
test eax, eax
jns 0x6bdd3b
mov dword [esp], 0x6b24e4
call fcn.00781092
mov ecx, dword [esp + 0xa4]
mov dword [ecx], eax
mov eax, 0
mov esi, 0
jmp 0x6be1d9
cmp dword [0x7974ec], 0
jne 0x6bdeab
mov dword [esp + 0x7c], 0
test ebx, ebx
jne 0x6bdde9
mov dword [esp], 0x6ad5a3
call fcn.0077e2fe
mov dword [esp + 0x1c], 0x6b2460
mov dword [esp + 0x18], 0x6b5124
mov dword [esp + 0x14], 0x16c2
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x6ad5b8
mov dword [esp + 8], 0x6b5116
mov dword [esp + 4], 0x1000
mov dword [esp], 3
call fcn.0077d2e6
mov dword [esp], 0x6ad5a3
call fcn.0077e2fe
mov dword [esp + 0x14], 0x6b2460
mov dword [esp + 0x10], 0x6b5124
mov dword [esp + 0xc], 0x16c2
mov dword [esp + 8], eax
mov dword [esp + 4], 0x6ad5e4
mov eax, dword [0x79e604]
add eax, 0x40
mov dword [esp], eax
call 0x911fa0
mov esi, 0
jmp 0x6bdfa5

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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov ebx, dword [esp + 0x70]
call 0x7a8d45
mov dword [esp + 0x40], 0
cmp word [ebx + 0x4a], 0
jne 0x6ca1a3
call fcn.00783241
mov dword [ebx + 0x24], eax
mov al, byte [ebx + 5]
and eax, 0xf
sub eax, 3
cmp eax, 0xc
ja 0x6c93b6
jmp dword [eax*4 + 0x6b71d8]
mov dword [esp + 0x34], 0xffffffff
mov dword [esp + 0x38], 0
jmp fcn.006c93d0
mov eax, 0
jmp fcn.006ca1cb
Function at 0x72456d
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov dword [esp + 0x4c], eax
mov dword [esp + 0x48], edx
mov edi, ecx
mov edx, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
mov eax, ecx
sub eax, edx
cmp dword [esp + 0x48], 0x13
je 0x7245ad
mov dword [esp + 0x2c], 0
mov byte [esp + 0x2b], 0x2b
mov ebp, 0x28
mov dword [esp + 0x3c], 0x14
jmp 0x7245c7
mov dword [esp + 0x2c], 1
mov byte [esp + 0x2b], 0x2d
mov ebp, 0x2b
mov dword [esp + 0x3c], 0x20
test eax, eax
jle 0x724738
mov dword [esp + 0x44], edx
test edx, edx
jns 0x7245df
mov dword [esp + 0x44], 0
mov edx, dword [edi + 4]
mov dword [esp + 0x24], ecx
cmp ecx, edx
jle 0x7245ee
mov dword [esp + 0x24], edx
lea edx, [ebp + 1]
imul eax, edx
add eax, 8
mov dword [esp + 0x38], eax
mov dword [esp], eax
call fcn.00780dd5
mov dword [esp + 0x30], eax
mov word [eax], 0x2f64
add eax, 2
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x44]
cmp dword [esp + 0x24], eax
jle 0x7246a4
mov esi, eax
shl esi, 2
mov ebx, dword [esp + 0x40]
mov dword [esp + 0x20], eax
lea edx, [ebp + 1]
mov dword [esp + 0x34], edx
cmp dword [esp + 0x2c], 0
je 0x72464f
mov eax, dword [edi]
mov eax, dword [eax + esi]
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.0079ae3d
jmp 0x724676
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xc], eax
mov eax, dword [edi]
mov eax, dword [eax + esi]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
sub eax, ebx
add eax, dword [esp + 0x38]
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.007822cb
mov eax, ebp
mov dl, byte [esp + 0x2b]
mov byte [ebx + ebp], dl
add ebx, dword [esp + 0x34]
inc dword [esp + 0x20]
add esi, 4
mov edx, dword [esp + 0x20]
cmp dword [esp + 0x24], edx
jg 0x724635
inc eax
mov edx, dword [esp + 0x24]
sub edx, dword [esp + 0x44]
imul eax, edx
add dword [esp + 0x40], eax
mov eax, dword [esp + 0x40]
mov word [eax - 1], 0x7a2e
mov byte [eax + 1], 0
cmp dword [esp + 0x4c], 0
je 0x724700
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov eax, dword [esp + 0x30]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
movzx eax, byte [esp + 0x48]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
call fcn.00718029
jmp 0x724725
mov eax, dword [esp + 0x78]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
movzx eax, byte [esp + 0x48]
mov dword [esp], eax
call fcn.007181b5
cmp dword [esp + 0x30], 0
je 0x724738
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call 0x911fb0
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x78b77d
Capabilities:
Encode data using xor

Disassembly:
push edi
push esi
push ebx
sub esp, 0x20
mov ebx, dword [esp + 0x30]
mov edi, dword [esp + 0x34]
test ebx, ebx
jne 0x78b824
mov dword [esp], 0x6f0ae0
call fcn.0077e2fe
mov dword [esp + 0x1c], 0x6f0cb9
mov dword [esp + 0x18], 0x6f1125
mov dword [esp + 0x14], 0x470
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x6f0b0c
mov dword [esp + 8], 0x6f111a
mov dword [esp + 4], 0x1000
mov dword [esp], 3
call fcn.0077d2e6
mov dword [esp], 0x6f0ae0
call fcn.0077e2fe
mov dword [esp + 0x14], 0x6f0cb9
mov dword [esp + 0x10], 0x6f1125
mov dword [esp + 0xc], 0x470
mov dword [esp + 8], eax
mov dword [esp + 4], 0x6f0b38
mov eax, dword [0x79e604]
add eax, 0x40
mov dword [esp], eax
call 0x911fa0
call 0x911fa8
test edi, edi
jne 0x78b8bd
mov dword [esp], 0x6f0ae0
call fcn.0077e2fe
mov dword [esp + 0x1c], 0x6f0cbd
mov dword [esp + 0x18], 0x6f1125
mov dword [esp + 0x14], 0x471
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x6f0b0c
mov dword [esp + 8], 0x6f111a
mov dword [esp + 4], 0x1000
mov dword [esp], 3
call fcn.0077d2e6
mov dword [esp], 0x6f0ae0
call fcn.0077e2fe
mov dword [esp + 0x14], 0x6f0cbd
mov dword [esp + 0x10], 0x6f1125
mov dword [esp + 0xc], 0x471
mov dword [esp + 8], eax
mov dword [esp + 4], 0x6f0b38
mov eax, dword [0x79e604]
add eax, 0x40
mov dword [esp], eax
call 0x911fa0
call 0x911fa8
mov cl, byte [edi]
movzx eax, cl
shl eax, 7
test cl, cl
je 0x78b8f3
mov esi, edi
lea edx, [eax + eax*4]
lea edx, [edx + edx*4]
lea edx, [edx + edx*4]
lea edx, [edx + edx*4]
lea edx, [edx + edx*4]
lea edx, [edx + edx*4]
shl edx, 5
add edx, eax
lea edx, [eax + edx*2]
movzx eax, cl
xor eax, edx
inc esi
mov cl, byte [esi]
test cl, cl
jne 0x78b8cb
jmp 0x78b8f5
mov esi, edi
mov ecx, dword [ebx]
test ecx, ecx
je 0x78b93a
sub esi, edi
xor eax, esi
mov edx, 0
div dword [ebx + 4]
lea esi, [ecx + edx*4]
mov ebx, dword [esi]
test ebx, ebx
je 0x78b92b
mov dword [esp + 4], edi
mov eax, dword [ebx + 0xc]
mov dword [esp], eax
call 0x912008
test eax, eax
je 0x78b92b
mov esi, ebx
mov ebx, dword [ebx]
test ebx, ebx
jne 0x78b910
test esi, esi
je 0x78b941
mov eax, dword [esi]
test eax, eax
je 0x78b948
mov eax, dword [eax + 8]
jmp 0x78b94d
mov eax, 0
jmp 0x78b94d
mov eax, 0
jmp 0x78b94d
mov eax, 0
add esp, 0x20
pop ebx
pop esi
pop edi
ret
Function at 0x78bb1e
Capabilities:
Encode data using xor

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x2c
mov ebp, dword [esp + 0x40]
mov edi, dword [esp + 0x44]
test ebp, ebp
jne 0x78bbc6
mov dword [esp], 0x6f0ae0
call fcn.0077e2fe
mov dword [esp + 0x1c], 0x6f0cb9
mov dword [esp + 0x18], 0x6f115a
mov dword [esp + 0x14], 0x498
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x6f0b0c
mov dword [esp + 8], 0x6f114c
mov dword [esp + 4], 0x1000
mov dword [esp], 3
call fcn.0077d2e6
mov dword [esp], 0x6f0ae0
call fcn.0077e2fe
mov dword [esp + 0x14], 0x6f0cb9
mov dword [esp + 0x10], 0x6f115a
mov dword [esp + 0xc], 0x498
mov dword [esp + 8], eax
mov dword [esp + 4], 0x6f0b38
mov eax, dword [0x79e604]
add eax, 0x40
mov dword [esp], eax
call 0x911fa0
call 0x911fa8
test edi, edi
jne 0x78bc5f
mov dword [esp], 0x6f0ae0
call fcn.0077e2fe
mov dword [esp + 0x1c], 0x6f0cbd
mov dword [esp + 0x18], 0x6f115a
mov dword [esp + 0x14], 0x499
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x6f0b0c
mov dword [esp + 8], 0x6f114c
mov dword [esp + 4], 0x1000
mov dword [esp], 3
call fcn.0077d2e6
mov dword [esp], 0x6f0ae0
call fcn.0077e2fe
mov dword [esp + 0x14], 0x6f0cbd
mov dword [esp + 0x10], 0x6f115a
mov dword [esp + 0xc], 0x499
mov dword [esp + 8], eax
mov dword [esp + 4], 0x6f0b38
mov eax, dword [0x79e604]
add eax, 0x40
mov dword [esp], eax
call 0x911fa0
call 0x911fa8
mov cl, byte [edi]
movzx eax, cl
shl eax, 7
test cl, cl
je 0x78bc95
mov ebx, edi
lea edx, [eax + eax*4]
lea edx, [edx + edx*4]
lea edx, [edx + edx*4]
lea edx, [edx + edx*4]
lea edx, [edx + edx*4]
lea edx, [edx + edx*4]
shl edx, 5
add edx, eax
lea edx, [eax + edx*2]
movzx eax, cl
xor eax, edx
inc ebx
mov cl, byte [ebx]
test cl, cl
jne 0x78bc6d
jmp 0x78bc97
mov ebx, edi
mov ecx, dword [ebp]
test ecx, ecx
je 0x78bd08
sub ebx, edi
xor eax, ebx
mov edx, 0
div dword [ebp + 4]
lea esi, [ecx + edx*4]
mov ebx, dword [esi]
test ebx, ebx
je 0x78bcce
mov dword [esp + 4], edi
mov eax, dword [ebx + 0xc]
mov dword [esp], eax
call 0x912008
test eax, eax
je 0x78bcce
mov esi, ebx
mov ebx, dword [ebx]
test ebx, ebx
jne 0x78bcb3
test esi, esi
je 0x78bd0f
mov ebx, dword [esi]
test ebx, ebx
je 0x78bd16
mov eax, dword [ebx]
mov dword [esi], eax
mov dword [ebx], 0
dec dword [ebp + 8]
mov esi, dword [ebx + 8]
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x78bcfe
mov dword [esp], eax
call 0x911fb0
mov dword [ebx + 0xc], 0
mov dword [esp], ebx
call 0x911fb0
jmp 0x78bd1b
mov esi, 0
jmp 0x78bd1b
mov esi, 0
jmp 0x78bd1b
mov esi, 0
mov eax, esi
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x78e974
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
push edi
push esi
push ebx
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
test edx, edx
je 0x78e9aa
mov eax, 0
movzx ebx, byte [esi + edx - 1]
movzx ecx, byte [edi + edx - 1]
mov ebp, ecx
xor ebp, ebx
dec ebp
sar ebp, 8
and eax, ebp
sub ebx, ecx
add eax, ebx
dec edx
jne 0x78e98d
jmp 0x78e9af
mov eax, 0
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x78e9b4
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push edi
push esi
push ebx
mov edi, dword [esp + 0x18]
test edi, edi
je 0x78e9e1
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov ebx, 0
mov al, byte [ecx]
xor al, byte [edx]
mov esi, eax
inc edx
inc ecx
and esi, 0xff
or ebx, esi
dec edi
jne 0x78e9cc
jmp 0x78e9e6
mov ebx, 0
dec ebx
shr ebx, 8
mov eax, ebx
and eax, 1
pop ebx
pop esi
pop edi
ret
Function at 0x4016d7
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.004015cb
mov dword [ebp - 0xc], eax
mov dword [esp + 0x10], 0x40
mov dword [esp + 0xc], 0x3000
mov eax, dword [ebp + 0x10]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
call eax
sub esp, 0x14
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x40173a
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
mov dword [esp + 4], eax
mov dword [esp], str.____Error_allocating_memory_in_process:__ld__n
call fcn.00401530
lea eax, [ebp - 0x14]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x10]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
call eax
sub esp, 0x14
test eax, eax
je 0x401772
mov eax, dword [ebp - 0x14]
cmp dword [ebp + 0x10], eax
je 0x401789
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
mov dword [esp + 4], eax
mov dword [esp], str.____Error_writing_data_to_process:__ld_n
call fcn.00401530
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov eax, dword [ebp - 0x10]
leave
ret