joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c7cb0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x8e000]
push edi
jmp 0x4c7cca
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4c7cd1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4c7cc0
mov eax, 1
add ebx, ebx
jne 0x4c7ce3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4c7cf4
jne 0x4c7d13
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4c7d13
dec eax
add ebx, ebx
jne 0x4c7d00
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4c7cd8
add ebx, ebx
jne 0x4c7d0f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4c7d65
xor ecx, ecx
sub eax, 3
jb 0x4c7d2b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4c7d9a
sar eax, 1
mov ebp, eax
jmp 0x4c7d36
add ebx, ebx
jne 0x4c7d36
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4c7d04
inc ecx
add ebx, ebx
jne 0x4c7d44
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4c7d04
add ebx, ebx
jne 0x4c7d51
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4c7d46
jne 0x4c7d62
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4c7d46
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4c7d84
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4c7d76
jmp 0x4c7cc6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4c7d84
add edi, ecx
jmp 0x4c7cc6
pop esi
mov edi, esi
mov ecx, 0x4ad8
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4c7da2
cmp byte [edi], 0xe
jne 0x4c7da2
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 0x4c7da7
lea edi, [esi + 0xc4000]
mov eax, dword [edi]
or eax, eax
je 0x4c7e1f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xca758]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xca888]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4c7dd4
mov ecx, edi
jns 0x4c7e03
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 + 0xca890]
or eax, eax
je 0x4c7e19
mov dword [ebx], eax
add ebx, 4
jmp 0x4c7df1
call dword [esi + 0xca88c]
mov ebp, dword [esi + 0xca894]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
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 0x4c7e53
sub esp, 0xffffff80
jmp 0x469d96
Function at 0x10001090
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14c
mov eax, dword [0x1001c004]
xor eax, esp
mov dword [esp + 0x148], eax
push ebx
push esi
push edi
lea eax, [esp + 0x10]
mov ebx, edx
push eax
push str.Voobly_ModsAOCLocal_ModsEmpire_WarsEW_Arabia_1v1
xor esi, esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x100010e4
cmp ebx, esi
je 0x100010fe
lea eax, [esp + 0x10]
inc esi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x100010c8
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, 0x10018558
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x148]
xor ecx, esp
call fcn.10002194
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x154]
lea eax, [esp + 0x3c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10002194
mov esp, ebp
pop ebp
ret

Function at 0x10001120
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14c
mov eax, dword [0x1001c004]
xor eax, esp
mov dword [esp + 0x148], eax
push ebx
push esi
push edi
lea eax, [esp + 0x10]
xor esi, esi
push eax
push str.Voobly_ModsAOCLocal_ModsEmpire_WarsEW_Arabia_1v1
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x10001174
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileA]
nop dword [eax]
lea eax, [esp + 0x10]
inc esi
push eax
push edi
call ebx
test eax, eax
jne 0x10001160
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esp + 0x154]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10002194
mov esp, ebp
pop ebp
ret
Function at 0x10001690
Capabilities:
Allocate or change rwx memory
Create thread
Execute shellcode via indirect call
Inject thread
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
lea eax, [ebp - 8]
mov byte [ebp - 1], 0xe9
push eax
push 1
lea eax, [ebp - 1]
mov ebx, ecx
push eax
push 0x502127
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov esi, dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push eax
call esi
mov eax, 0x10001190
sub eax, 0x50212c
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push eax
push 4
lea eax, [ebp - 0xc]
push eax
push 0x502128
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x10]
push eax
push 0x40
push 1
push 0x50212c
call esi
mov eax, 0x50212c
mov byte [eax], 0x90
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x10]
push 1
push 0x50212c
call esi
push 0
push 0
push ebx
push 0x10001680
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4027e0
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov dword [esp], 0x408044
call sym._EnterCriticalSection_4
mov ebx, dword [0x40803c]
sub esp, 4
test ebx, ebx
je 0x40282b
nop
mov eax, dword [ebx]
mov dword [esp], eax
call sym._TlsGetValue_4
sub esp, 4
mov esi, eax
call sym._GetLastError_0
test eax, eax
jne 0x402824
test esi, esi
je 0x402824
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x402800
mov dword [esp], 0x408044
call sym._LeaveCriticalSection_4
sub esp, 4
add esp, 0x14
pop ebx
pop esi
ret

Function at 0x402a10
Capabilities:
Write file on windows

Disassembly:
push esi
push ebx
sub esp, 0x14
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x17
mov dword [esp + 4], 1
lea esi, [esp + 0x24]
mov dword [esp], str.Mingw_runtime_failure:_n
lea ebx, [eax + 0x40]
mov dword [esp + 0xc], ebx
call sym._fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._vfprintf
call sym._abort
lea esi, [esi]

Function at 0x402a60
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
push edi
mov edi, ecx
push esi
push ebx
mov ebx, eax
mov esi, edx
sub esp, 0x4c
lea eax, [esp + 0x24]
mov dword [esp + 8], 0x1c
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._VirtualQuery_12
sub esp, 0xc
test eax, eax
je 0x402b38
mov eax, dword [esp + 0x38]
cmp eax, 0x40
je 0x402a9e
cmp eax, 4
jne 0x402ac0
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call sym._memcpy
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x30]
lea ebp, [esp + 0x20]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], ebp
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
mov edx, dword [esp + 0x38]
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
mov dword [esp + 0x1c], edx
call sym._memcpy
mov edx, dword [esp + 0x1c]
cmp edx, 0x40
je 0x402aae
cmp edx, 4
je 0x402aae
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1c
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
call fcn.00402a10
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x40925b7
nop
nop
nop
nop
test eax, eax
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x430024
nop
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42e1d0
mov ecx, 0x32075de6
nop
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x430084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
popal
nop
nop
jmp 0x401219

Function at 0x112d9058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.112d91a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x112d907e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x112d906a
add dl, dl
jne 0x112d9089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x112d90dc
xor eax, eax
add dl, dl
jne 0x112d9096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x112d917d
add dl, dl
jne 0x112d90a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x112d90b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x112d90bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x112d90c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x112d90d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x112d9075
mov eax, 1
add dl, dl
jne 0x112d90ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x112d90f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x112d90e1
sub eax, ebx
mov ebx, 1
jne 0x112d9128
mov ecx, 1
add dl, dl
jne 0x112d910e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x112d9119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x112d9105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x112d9075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x112d913f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x112d914a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x112d9136
cmp eax, 0x7d00
jae 0x112d916d
cmp eax, 0x500
jb 0x112d9168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x112d9075
cmp eax, 0x7f
ja 0x112d9170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x112d9075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x112d919e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x112d9075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x4147ca
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4241dc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.004133be
mov dword [ebp - 0x14], eax
cmp dword [0x425db8], edi
jne 0x4148bb
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x414848
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x41499b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x41499b
push 0x41d1a4
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41499b
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x425db8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x425dbc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x425dc0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x425dc8], eax
test eax, eax
je 0x4148b8
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x425dc4], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x4148e0
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4148d3
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x4148f5
push 4
pop eax
jmp 0x41499d
cmp dword [ebp - 0x14], edi
je 0x4148f5
push dword [0x425db8]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x4148da
mov eax, dword [0x425dc4]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x414953
cmp dword [0x425dc8], esi
je 0x414953
push eax
call ebx
push dword [0x425dc8]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x414953
test eax, eax
je 0x414953
call ecx
test eax, eax
je 0x414948
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x414948
test byte [ebp - 8], 1
jne 0x414953
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x414983
mov eax, dword [0x425dbc]
cmp eax, esi
je 0x414980
push eax
call ebx
test eax, eax
je 0x414980
call eax
mov edi, eax
test edi, edi
je 0x414980
mov eax, dword [0x425dc0]
cmp eax, esi
je 0x414980
push eax
call ebx
test eax, eax
je 0x414980
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x425db8]
call ebx
test eax, eax
je 0x41499b
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x41499d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040e855
leave
ret
Function at 0x45e700
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x35000]
push edi
jmp 0x45e71a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x45e721
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x45e710
mov eax, 1
add ebx, ebx
jne 0x45e733
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x45e728
jne 0x45e744
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x45e728
xor ecx, ecx
sub eax, 3
jb 0x45e758
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x45e7ca
mov ebp, eax
add ebx, ebx
jne 0x45e763
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x45e770
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x45e794
inc ecx
add ebx, ebx
jne 0x45e780
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x45e775
jne 0x45e791
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x45e775
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x45e7b4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x45e7a5
jmp 0x45e716
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x45e7b4
add edi, ecx
jmp 0x45e716
pop esi
lea edi, [esi + 0x5a000]
mov ecx, 4
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x45e7d6
mov eax, dword [edi]
mov bl, byte [edi + 4]
xchg ah, al
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 0x45e7db
lea edi, [esi + 0x5b000]
mov eax, dword [edi]
or eax, eax
je 0x45e843
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x5e25c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x5e2e4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x45e801
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x5e2ec]
or eax, eax
je 0x45e83d
mov dword [ebx], eax
add ebx, 4
jmp 0x45e81e
call dword [esi + 0x5e2e8]
mov ebp, dword [esi + 0x5e2f0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
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 0x45e877
sub esp, 0xffffff80
jmp 0x401e70
Function at 0x10009b96
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
push ebx
push edi
mov ebx, 0x126
push ebx
call fcn.10009df4
mov edi, eax
pop ecx
test edi, edi
je 0x10009c04
push esi
push 0x22
lea eax, [ebp - 0x50]
xor esi, esi
push eax
push esi
push 0x1001ddbc
push 0x34
push 0x2732
call dword [0x1001a060]
test eax, eax
jne 0x10009bda
mov eax, esi
inc eax
cmp eax, 0x14
jb 0x10009bd2
jmp 0x10009be2
mov ecx, esi
inc ecx
cmp ecx, 0x22
jb 0x10009bdc
mov edx, 0x1001f660
sub edx, edi
mov eax, esi
lea ecx, [esi + edi]
and eax, 0xf
mov al, byte [eax + 0x1001dbf8]
xor al, byte [edx + ecx]
inc esi
mov byte [ecx], al
cmp esi, ebx
jb 0x10009be9
mov eax, edi
pop esi
pop edi
pop ebx
leave
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 8], edx
mov ebx, dword [edi + 0x3c]
mov eax, dword [ebx + edi + 0x78]
test eax, eax
je 0x1000a039
lea ecx, [eax + edi]
mov eax, dword [ecx + 0x24]
mov edx, dword [ecx + 0x20]
add eax, edi
mov dword [ebp - 0x14], eax
add edx, edi
mov eax, dword [ecx + 0x1c]
mov ecx, dword [ecx + 0x18]
add eax, edi
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], ecx
test ecx, ecx
je 0x1000a039
mov esi, dword [edx + eax*4]
add esi, edi
push 0
push esi
call fcn.1000db16
pop ecx
mov edx, eax
mov ecx, esi
call fcn.1000f2f3
xor eax, 0x218fe95b
cmp eax, dword [ebp - 8]
mov eax, dword [ebp - 4]
pop ecx
je 0x1000a040
mov edx, dword [ebp - 0x10]
inc eax
mov dword [ebp - 4], eax
cmp eax, dword [ebp - 0xc]
jb 0x1000a008
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov ecx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x18]
movzx eax, word [ecx + eax*2]
mov ecx, dword [ebx + edi + 0x78]
add ecx, edi
mov esi, dword [esi + eax*4]
add esi, edi
cmp esi, ecx
jb 0x1000a0ad
mov eax, dword [ebx + edi + 0x7c]
add eax, ecx
cmp esi, eax
jae 0x1000a0ad
xor eax, eax
mov cl, byte [esi + eax]
cmp cl, 0x2e
je 0x1000a07b
test cl, cl
je 0x1000a07b
mov byte [ebp + eax - 0x58], cl
inc eax
cmp eax, 0x40
jb 0x1000a065
cmp byte [eax + esi], 0
mov dword [ebp + eax - 0x58], 0x6c6c642e
mov byte [ebp + eax - 0x54], 0
je 0x1000a091
inc esi
add esi, eax
lea eax, [ebp - 0x58]
push eax
call dword [0x1001a084]
test eax, eax
je 0x1000a039
push esi
push eax
call dword [0x1001a070]
test eax, eax
je 0x1000a039
jmp 0x1000a03b
mov eax, esi
jmp 0x1000a03b
Function at 0x1000a0b1
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, dword [esi + 0x3c]
mov eax, dword [eax + esi + 0x78]
test eax, eax
je 0x1000a106
mov edx, dword [eax + esi + 0x20]
xor edi, edi
mov ebx, dword [eax + esi + 0x24]
add edx, esi
mov ecx, dword [eax + esi + 0x1c]
add ebx, esi
mov eax, dword [eax + esi + 0x18]
add ecx, esi
mov dword [ebp - 4], edx
mov dword [ebp - 8], ecx
mov dword [ebp + 8], eax
test eax, eax
je 0x1000a106
mov edx, dword [edx + edi*4]
mov ecx, dword [ebp + 0xc]
add edx, esi
call fcn.1000d000
test eax, eax
je 0x1000a10d
mov edx, dword [ebp - 4]
inc edi
cmp edi, dword [ebp + 8]
jb 0x1000a0ec
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
movzx eax, word [ebx + edi*2]
mov ecx, dword [ebp - 8]
mov eax, dword [ecx + eax*4]
add eax, esi
jmp 0x1000a108

Function at 0x1000a8cc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, edi
mov dword [ebp - 4], ecx
cmp edi, edx
jae 0x1000a8f6
mov ebx, dword [ebp + 8]
mov eax, esi
and eax, 0x7f
mov al, byte [eax + ebx]
cmp al, byte [esi + ecx]
je 0x1000a920
inc esi
cmp esi, edx
jb 0x1000a8e4
push 0x22
lea eax, [ebp - 0x54]
xor ebx, ebx
push eax
push ebx
push 0x1001ddd0
push 0x172
push 0xdc
call dword [0x1001a060]
test eax, eax
jne 0x1000a95e
inc ebx
cmp ebx, 0x14
jb 0x1000a918
jmp 0x1000a964
sub esi, edi
je 0x1000a8f6
lea eax, [esi + 1]
push eax
call fcn.10009df4
pop ecx
mov ecx, eax
mov dword [ebp + 0x10], ecx
test ecx, ecx
jne 0x1000a93e
mov eax, 0x1002107e
jmp 0x1000a96b
mov edx, ecx
mov ecx, dword [ebp - 4]
sub edx, edi
mov eax, edi
and eax, 0x7f
mov al, byte [eax + ebx]
xor al, byte [edi + ecx]
mov byte [edx + edi], al
inc edi
sub esi, 1
jne 0x1000a945
mov ecx, dword [ebp + 0x10]
jmp 0x1000a969
inc ebx
cmp ebx, 0x22
jb 0x1000a95e
mov ecx, 0x1002107e
mov eax, ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1000a970
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov ebx, edi
cmp esi, edx
jae 0x1000a9ab
mov ecx, dword [ebp + 8]
mov eax, esi
and eax, 0x7f
mov al, byte [eax + ecx]
mov ecx, dword [ebp - 4]
cmp al, byte [esi + ecx]
je 0x1000a9a4
inc esi
cmp esi, edx
jb 0x1000a987
mov esi, dword [ebp + 0x10]
jmp 0x1000a9ab
mov ebx, esi
mov esi, dword [ebp + 0x10]
sub ebx, esi
push 0x22
lea eax, [ebp - 0x54]
push eax
push edi
push 0x1001dde0
push 0xb4
push 0x7d3
call dword [0x1001a060]
test eax, eax
jne 0x1000a9d5
mov eax, edi
inc eax
cmp eax, 0x14
jb 0x1000a9cd
jmp 0x1000a9dd
mov ecx, edi
inc ecx
cmp ecx, 0x22
jb 0x1000a9d7
lea eax, [ebx*2 + 2]
push eax
call fcn.10009df4
pop ecx
mov ecx, eax
test ecx, ecx
jne 0x1000a9f8
mov eax, 0x100210ac
jmp 0x1000aa1c
test ebx, ebx
je 0x1000aa1a
mov edx, dword [ebp + 8]
mov eax, esi
and eax, 0x7f
mov al, byte [eax + edx]
mov edx, dword [ebp - 4]
xor al, byte [esi + edx]
movzx eax, al
mov word [ecx + edi*2], ax
inc edi
inc esi
cmp edi, ebx
jb 0x1000a9fc
mov eax, ecx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1000b6b8
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi]
inc eax
push eax
call fcn.10009df4
mov edx, eax
pop ecx
test edx, edx
je 0x1000b6e9
xor ecx, ecx
cmp dword [esi], ecx
jbe 0x1000b6e9
mov eax, ecx
and eax, 3
mov al, byte [eax + esi + 0x108]
xor al, byte [esi + ecx + 4]
mov byte [ecx + edx], al
inc ecx
cmp ecx, dword [esi]
jb 0x1000b6d1
mov eax, edx
pop esi
ret