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

Disassembly:
push ebx
push ebp
push edi
mov edi, eax
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x10]
add eax, eax
add eax, eax
xor ecx, ecx
test eax, eax
jle 0x47589e
nop
mov ebx, ecx
and ebx, 0x80000003
jns 0x47587f
dec ebx
or ebx, 0xfffffffc
inc ebx
mov eax, ecx
cdq
and edx, 3
add eax, edx
mov dl, byte [ecx + edi]
sar eax, 2
add eax, esi
mov byte [eax + ebx*4], dl
mov eax, dword [esi + 0x10]
add eax, eax
inc ecx
add eax, eax
cmp ecx, eax
jl 0x475870
lea ebp, [esi + 4]
mov eax, ebp
lea ecx, [esi + 0x3d]
mov edi, 4
jmp 0x4758b0
movzx edx, byte [ecx - 1]
xor byte [eax - 4], dl
movzx edx, byte [ecx]
xor byte [eax], dl
movzx edx, byte [ecx + 1]
xor byte [eax + 4], dl
movzx edx, byte [ecx + 2]
xor byte [eax + 8], dl
inc eax
add ecx, 4
sub edi, 1
jne 0x4758b0
mov eax, dword [esi + 0x18]
lea ebx, [edi + 1]
dec eax
cmp eax, ebx
jl 0x47592e
lea edi, [esi + 0x4e]
mov eax, esi
call fcn.00475b40
push esi
call fcn.00475be0
push esi
call fcn.00475d80
mov ecx, edi
mov eax, ebp
mov edi, 4
lea ecx, [ecx]
movzx edx, byte [ecx - 2]
xor byte [eax - 4], dl
movzx edx, byte [ecx - 1]
xor byte [eax], dl
movzx edx, byte [ecx]
xor byte [eax + 4], dl
movzx edx, byte [ecx + 1]
xor byte [eax + 8], dl
add ecx, 4
inc eax
sub edi, 1
jne 0x475900
mov eax, dword [esi + 0x18]
inc ebx
dec eax
cmp ebx, eax
mov edi, ecx
jle 0x4758e1
mov eax, esi
call fcn.00475b40
push esi
call fcn.00475be0
mov ecx, dword [esi + 0x18]
shl ecx, 4
mov eax, ebp
lea ecx, [ecx + esi + 0x3e]
mov edi, 4
lea esp, [esp]
movzx edx, byte [ecx - 2]
xor byte [eax - 4], dl
movzx edx, byte [ecx - 1]
xor byte [eax], dl
movzx edx, byte [ecx]
xor byte [eax + 4], dl
movzx edx, byte [ecx + 1]
xor byte [eax + 8], dl
add ecx, 4
inc eax
sub edi, 1
jne 0x475950
mov eax, dword [esi + 0x10]
add eax, eax
add eax, eax
xor ecx, ecx
test eax, eax
jle 0x4759b2
mov edi, ecx
and edi, 0x80000003
jns 0x47598f
dec edi
or edi, 0xfffffffc
inc edi
mov eax, ecx
cdq
and edx, 3
add eax, edx
sar eax, 2
add eax, esi
mov dl, byte [eax + edi*4]
mov eax, dword [esp + 0x10]
mov byte [ecx + eax], dl
mov edx, dword [esi + 0x10]
add edx, edx
inc ecx
add edx, edx
cmp ecx, edx
jl 0x475980
pop edi
pop ebp
pop ebx
ret 4
Function at 0x4759c0
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebx
push esi
mov esi, eax
xor eax, eax
push edi
mov edi, ecx
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov eax, dword [edi + 0x10]
add eax, eax
add eax, eax
xor ecx, ecx
test eax, eax
jle 0x475a10
mov ebx, ecx
and ebx, 0x80000003
jns 0x4759f1
dec ebx
or ebx, 0xfffffffc
inc ebx
mov eax, ecx
cdq
and edx, 3
add eax, edx
mov dl, byte [ecx + esi]
sar eax, 2
add eax, edi
mov byte [eax + ebx*4], dl
mov eax, dword [edi + 0x10]
add eax, eax
inc ecx
add eax, eax
cmp ecx, eax
jl 0x4759e2
mov ecx, dword [edi + 0x18]
lea ebx, [edi + 4]
shl ecx, 4
mov eax, ebx
lea ecx, [ecx + edi + 0x3e]
mov esi, 4
movzx edx, byte [ecx - 2]
xor byte [eax - 4], dl
movzx edx, byte [ecx - 1]
xor byte [eax], dl
movzx edx, byte [ecx]
xor byte [eax + 4], dl
movzx edx, byte [ecx + 1]
xor byte [eax + 8], dl
add ecx, 4
inc eax
sub esi, 1
jne 0x475a24
mov eax, dword [edi + 0x18]
dec eax
cmp eax, 1
jl 0x475ab3
mov ecx, eax
shl ecx, 4
push ebp
lea ebp, [ecx + edi + 0x3e]
mov dword [esp + 0x10], eax
mov edi, edi
push edi
call fcn.00475cb0
mov eax, edi
call fcn.00475b90
mov eax, ebx
mov ecx, ebp
mov esi, 4
jmp 0x475a80
movzx edx, byte [ecx - 2]
xor byte [eax - 4], dl
movzx edx, byte [ecx - 1]
xor byte [eax], dl
movzx edx, byte [ecx]
xor byte [eax + 4], dl
movzx edx, byte [ecx + 1]
xor byte [eax + 8], dl
add ecx, 4
inc eax
sub esi, 1
jne 0x475a80
call fcn.00475eb0
sub ebp, 0x10
sub dword [esp + 0x10], 1
jne 0x475a60
pop ebp
push edi
call fcn.00475cb0
mov eax, edi
call fcn.00475b90
mov eax, ebx
lea ecx, [edi + 0x3d]
mov esi, 4
lea ebx, [ebx]
movzx edx, byte [ecx - 1]
xor byte [eax - 4], dl
movzx edx, byte [ecx]
xor byte [eax], dl
movzx edx, byte [ecx + 1]
xor byte [eax + 4], dl
movzx edx, byte [ecx + 2]
xor byte [eax + 8], dl
inc eax
add ecx, 4
sub esi, 1
jne 0x475ad0
mov eax, dword [edi + 0x10]
add eax, eax
add eax, eax
xor ecx, ecx
test eax, eax
jle 0x475b32
mov esi, ecx
and esi, 0x80000003
jns 0x475b0f
dec esi
or esi, 0xfffffffc
inc esi
mov eax, ecx
cdq
and edx, 3
add eax, edx
sar eax, 2
add eax, edi
mov dl, byte [eax + esi*4]
mov eax, dword [esp + 0x14]
mov byte [ecx + eax], dl
mov edx, dword [edi + 0x10]
add edx, edx
inc ecx
add edx, edx
cmp ecx, edx
jl 0x475b00
pop edi
pop esi
pop ebx
pop ecx
ret 4

Function at 0x475b40
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
add eax, 4
mov ecx, 4
jmp 0x475b50
movzx edx, byte [eax - 4]
movzx edx, byte [edx + 0x53ce00]
mov byte [eax - 4], dl
movzx edx, byte [eax]
movzx edx, byte [edx + 0x53ce00]
mov byte [eax], dl
movzx edx, byte [eax + 4]
movzx edx, byte [edx + 0x53ce00]
mov byte [eax + 4], dl
movzx edx, byte [eax + 8]
movzx edx, byte [edx + 0x53ce00]
mov byte [eax + 8], dl
inc eax
sub ecx, 1
jne 0x475b50
ret
Function at 0x475b90
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
add eax, 4
mov ecx, 4
jmp 0x475ba0
movzx edx, byte [eax - 4]
movzx edx, byte [edx + 0x53cf00]
mov byte [eax - 4], dl
movzx edx, byte [eax]
movzx edx, byte [edx + 0x53cf00]
mov byte [eax], dl
movzx edx, byte [eax + 4]
movzx edx, byte [edx + 0x53cf00]
mov byte [eax + 4], dl
movzx edx, byte [eax + 8]
movzx edx, byte [edx + 0x53cf00]
mov byte [eax + 8], dl
inc eax
sub ecx, 1
jne 0x475ba0
ret
Function at 0x47d0e0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x5384a8]
jne 0x47d0ea
repz ret
jmp fcn.0048ed10

Function at 0x47fb20
Capabilities:
Delete file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x47fb3f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
jmp 0x47fb46
mov dword [ebp - 4], 0
cmp dword [ebp - 4], 0
je 0x47fb5d
mov ecx, dword [ebp - 4]
push ecx
call fcn.00488980
add esp, 4
or eax, 0xffffffff
jmp 0x47fb5f
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x4bcd2d
Capabilities:
Encrypt or decrypt via wincrypt

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 0x10], 0
jne 0x4bcd69
push 1
push 0x14
call fcn.004be4fc
add esp, 8
mov dword [ebp - 4], eax
push 0x14
push 0
mov eax, dword [ebp - 4]
push eax
call fcn.0048f390
add esp, 0xc
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
mov dword [ecx], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [eax + 4], ecx
jmp 0x4bcd6f
mov edx, dword [ebp + 0x10]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x30]
mov dword [eax + 8], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 8]
mov dword [eax + 0x10], edx
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
je 0x4bcda9
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
push edx
call fcn.004be4d2
add esp, 4
mov eax, dword [ebp - 4]
mov dword [eax + 0xc], 0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
shl edx, 1
push edx
mov eax, dword [ebp - 4]
add eax, 0x10
push eax
push 0
push 0
push 1
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptEncrypt]
test eax, eax
je 0x4bcde9
push 1
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
add eax, 0x10
push eax
call fcn.004be4fc
add esp, 8
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x4bcf42
Capabilities:
Encrypt data using rc4 via winapi
Hash data using sha1
Hash data using sha1 via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], 0
cmp dword [ebp + 8], 0
je 0x4bcf5b
cmp dword [ebp + 0xc], 0
jne 0x4bcf5f
xor eax, eax
jmp 0x4bcfcc
call fcn.004bcfd0
test eax, eax
jne 0x4bcf6d
or eax, 0xffffffff
jmp 0x4bcfcc
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x8004
mov ecx, dword [0x5413b4]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x4bcfc9
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x4bcfbf
lea edx, [ebp - 4]
push edx
push 0
mov eax, dword [ebp - 8]
push eax
push 0x6801
mov ecx, dword [0x5413b4]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x4bcfd0
Capabilities:
Create new key via cryptacquirecontext

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x5413b4], 0
je 0x4bcfe3
mov eax, 1
jmp 0x4bd020
push 0
push 1
push 0x5399c4
push 0
push 0x5413b4
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x4bd01b
push 8
push 1
push str.Microsoft_Enhanced_Cryptographic_Provider_v1.0
push 0
push 0x5413b4
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x4bd01b
xor eax, eax
jmp 0x4bd020
mov eax, 1
pop ebp
ret
Function at 0x4ceadd
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
push eax
call fcn.004ceb85
add esp, 4
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0
cmp dword [ebp - 0xc], 0
je 0x4ceb42
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4ceb34
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp edx, 3
jge 0x4ceb34
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 1
test ecx, ecx
jne 0x4ceaff
mov edx, dword [ebp - 0xc]
push edx
call fcn.004be4d2
add esp, 4
jmp 0x4ceb77
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4ceb77
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
cmp ecx, 3
jge 0x4ceb77
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, 1
test eax, eax
jne 0x4ceb42
mov eax, dword [ebp - 4]
neg eax
sbb eax, eax
and eax, 0xa
mov esp, ebp
pop ebp
ret

Function at 0x4cec59
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
call fcn.004ceb85
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4cec9e
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor edx, edx
cmp eax, 0xffffffff
setne dl
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
push eax
call fcn.004be4d2
add esp, 4
jmp 0x4cecb3
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor edx, edx
cmp eax, 0xffffffff
setne dl
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x4cef72
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3b0
cmp dword [0x5413e4], 0
je 0x4cefa4
push 0x118
mov eax, dword [0x5413e4]
push eax
lea ecx, [ebp - 0x13c]
push ecx
call fcn.00486650
add esp, 0xc
mov byte [ebp - 0x24], 0
jmp 0x4cf01f
call fcn.004cec0d
test eax, eax
je 0x4cf00d
lea edx, [ebp - 0x3ac]
push edx
push 0x118
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x3ac]
push eax
call fcn.004cf116
add esp, 4
mov dword [ebp - 0x3b0], eax
cmp dword [ebp - 0x3b0], 0
je 0x4cf00b
push 0x118
mov ecx, dword [ebp - 0x3b0]
push ecx
lea edx, [ebp - 0x13c]
push edx
call fcn.00486650
add esp, 0xc
mov byte [ebp - 0x24], 0
mov eax, dword [ebp - 0x3b0]
push eax
call fcn.004be4d2
add esp, 4
jmp 0x4cf01f
lea ecx, [ebp - 0x13c]
push ecx
push 0x118
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea edx, [ebp - 0x13c]
push edx
call fcn.004888f0
add esp, 4
mov dword [ebp - 4], eax
jmp 0x4cf03c
mov eax, dword [ebp - 4]
sub eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jle 0x4cf054
mov ecx, dword [ebp - 4]
movsx edx, byte [ebp + ecx - 0x13d]
cmp edx, 0x5c
jne 0x4cf054
jmp 0x4cf033
mov eax, dword [ebp - 4]
mov byte [ebp + eax - 0x13c], 0
lea ecx, [ebp - 0x13c]
push ecx
push str._s_sqlite_
mov edx, dword [ebp + 8]
push edx
call fcn.0047fe00
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
call fcn.004888f0
add esp, 4
mov dword [ebp - 0x140], eax
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x140]
push ecx
push 0xf
call fcn.004dbeb0
add esp, 8
mov dword [ebp - 4], 0
jmp 0x4cf0be
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x140]
add eax, 1
mov dword [ebp - 0x140], eax
cmp dword [ebp - 4], 0xf
jge 0x4cf0ed
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x140]
xor eax, eax
mov al, byte [ecx]
xor edx, edx
mov ecx, 0x3e
div ecx
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x140]
mov cl, byte [edx + str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]
mov byte [eax], cl
jmp 0x4cf0a6
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x140]
mov byte [edx], 0
mov eax, dword [ebp + 8]
push eax
call fcn.004cec59
add esp, 4
test eax, eax
jne 0x4cf10b
jmp 0x4cf110
jmp 0x4cf05f
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x4cf3cc
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [ebp + 8], 0
jne 0x4cf3dc
xor eax, eax
jmp 0x4cf457
call fcn.004cec0d
test eax, eax
jne 0x4cf3fc
mov eax, dword [ebp + 8]
push eax
call fcn.004888f0
add esp, 4
cmp eax, 0x104
jbe 0x4cf3fc
xor eax, eax
jmp 0x4cf457
mov ecx, dword [ebp + 8]
push ecx
call fcn.004ceb85
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4cf42c
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
push eax
call fcn.004be4d2
add esp, 4
jmp 0x4cf439
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x4cf443
xor eax, eax
jmp 0x4cf457
mov edx, dword [ebp - 8]
and edx, 0x10
cmp edx, 0x10
je 0x4cf452
xor eax, eax
jmp 0x4cf457
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x4cfa54
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x5413ec], 0
jne 0x4cfa9e
call fcn.004cf9cc
cmp dword [0x5413ec], 0
jne 0x4cfa99
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x5413d8], eax
cmp dword [0x5413d8], 0xffffffff
jne 0x4cfa8f
call fcn.004cf9de
xor eax, eax
jmp 0x4cfb43
mov dword [0x5413ec], 1
call fcn.004cf9de
mov eax, dword [0x5413d8]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
jle 0x4cfafb
cmp dword [ebp - 4], 0
jne 0x4cfaf9
push 0xc
call fcn.004cea90
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4cfaf9
mov ecx, dword [ebp - 4]
mov edx, dword [0x512528]
mov dword [ecx], edx
mov eax, dword [0x51252c]
mov dword [ecx + 4], eax
mov edx, dword [0x512530]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [0x5413d8]
push ecx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
jmp 0x4cfb40
cmp dword [ebp - 4], 0
je 0x4cfb40
cmp dword [ebp + 8], 0
jge 0x4cfb40
push 0xc
push 0x512528
mov edx, dword [ebp - 4]
push edx
call fcn.004a35f0
add esp, 0xc
test eax, eax
jne 0x4cfb40
mov eax, dword [ebp - 4]
push eax
call fcn.004ceac5
add esp, 4
push 0
mov ecx, dword [0x5413d8]
push ecx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x4dcb35
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [ebp + 0xc], 2
jge 0x4dcb4b
mov eax, 0x17
jmp 0x4dcbfd
mov eax, dword [ebp + 8]
xor ecx, ecx
mov cl, byte [eax]
xor edx, edx
mov dl, byte [ecx + 0x5123b0]
mov eax, edx
shl eax, 2
mov ecx, dword [ebp + 8]
add ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx - 1]
xor ecx, ecx
mov cl, byte [edx + 0x5123b0]
imul ecx, ecx, 3
xor eax, ecx
xor eax, dword [ebp + 0xc]
cdq
mov ecx, 0x7f
idiv ecx
mov dword [ebp - 4], edx
mov edx, dword [ebp - 4]
xor eax, eax
mov al, byte [edx + str.Pk_]
sub eax, 1
mov dword [ebp - 8], eax
jmp 0x4dcba9
mov ecx, dword [ebp - 8]
xor edx, edx
mov dl, byte [ecx + 0x512ae4]
sub edx, 1
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 0
jl 0x4dcbf8
mov eax, dword [ebp - 8]
xor ecx, ecx
mov cl, byte [eax + 0x512b58]
cmp ecx, dword [ebp + 0xc]
jne 0x4dcbf6
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
xor edx, edx
mov dx, word [ecx*2 + 0x512bcc]
add edx, str.ABORTABLEFTEMPORARYADDATABASELECTHENDEFAULTRANSACTIONATURALTERAISEACHECKEYAFTEREFERENCESCAPELSEXCEPTRIGGEREGEXPLAINITIALLYANALYZEXCLUSIVEXISTSTATEMENTANDEFERRABLEATTACHAVINGLOBEFOREIGNOREINDEXAUTOINCREMENTBEGINNERENAMEBETWEENOTNULLIKEBYCASCADEFERREDELETECASECASTCOLLATECOLUMNCOMMITCONFLICTCONSTRAINTERSECTCREATECROSSCURRENT_DATECURRENT_TIMESTAMPLANDESCDETACHDISTINCTDROPRAGMATCHFAILIMITFROMFULLGROUPDATEIFIMMEDIATEINSERTINSTEADINTOFFSETISNULLJOINORDEREPLACEOUTERESTRICTPRIMARYQUERYRIGHTROLLBACKROWHENUNIONUNIQUEUSINGVACUUMVALUESVIEWHERE
push edx
call fcn.004be9a4
add esp, 0xc
test eax, eax
jne 0x4dcbf6
mov eax, dword [ebp - 8]
xor ecx, ecx
mov cl, byte [eax + 0x512cb4]
mov eax, ecx
jmp 0x4dcbfd
jmp 0x4dcb98
mov eax, 0x17
mov esp, ebp
pop ebp
ret
Function at 0x4e3c90
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 8], 0
jne 0x4e3ca1
xor eax, eax
jmp 0x4e3df5
push 1
push 0x44
call fcn.004be410
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4e3cbd
xor eax, eax
jmp 0x4e3df5
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dl, byte [ecx + 5]
mov byte [eax + 5], dl
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
call fcn.004e38e4
add esp, 4
mov edx, dword [ebp - 4]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
push ecx
call fcn.004e3a1c
add esp, 4
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
push ecx
call fcn.004e3770
add esp, 4
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x14]
push ecx
call fcn.004e38e4
add esp, 4
mov edx, dword [ebp - 4]
mov dword [edx + 0x14], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x18]
push ecx
call fcn.004e3770
add esp, 4
mov edx, dword [ebp - 4]
mov dword [edx + 0x18], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1c]
push ecx
call fcn.004e38e4
add esp, 4
mov edx, dword [ebp - 4]
mov dword [edx + 0x1c], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dl, byte [ecx + 4]
mov byte [eax + 4], dl
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x20]
push ecx
call fcn.004e3c90
add esp, 4
mov edx, dword [ebp - 4]
mov dword [edx + 0x20], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x28]
push ecx
call fcn.004e3770
add esp, 4
mov edx, dword [ebp - 4]
mov dword [edx + 0x28], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x2c]
push ecx
call fcn.004e3770
add esp, 4
mov edx, dword [ebp - 4]
mov dword [edx + 0x2c], eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x30], 0xffffffff
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x34], 0xffffffff
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov cl, byte [eax + 6]
mov byte [edx + 6], cl
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov cl, byte [eax + 7]
mov byte [edx + 7], cl
mov edx, dword [ebp - 4]
mov byte [edx + 8], 0
mov eax, dword [ebp - 4]
mov byte [eax + 9], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x24], 0
mov edx, dword [ebp - 4]
mov dword [edx + 0x38], 0xffffffff
mov eax, dword [ebp - 4]
mov dword [eax + 0x3c], 0xffffffff
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x40], 0xffffffff
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x125a65c
Capabilities:
Encode data using xor

Disassembly:
jmp 0x125a666
pushal
call 0x125a66c
pop ebp
sub ebp, 0x10
sub ebp, 0xe5a65c
jmp 0x125a682
mov eax, 0xe5a65c
add eax, ebp
add eax, 0x4c
mov ecx, 0x58d
mov edx, 0xa5afaff
xor byte [eax], dl
inc eax
dec ecx
jne 0x125a699
jmp 0x125a6ac
je 0x125a6e0
je 0x125a726
ret
fist dword [edi + 0xcb16f5d]
pop ss
cli
invalid
int1
cmp edi, edi
invalid
Function at 0xe138c0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x9d9015
lea edi, [esi - 0x5d8015]
push edi
or ebp, 0xffffffff
jmp 0xe138e2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xe138e9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xe138d8
mov eax, 1
add ebx, ebx
jne 0xe138fb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xe1390c
jne 0xe1392b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xe1392b
dec eax
add ebx, ebx
jne 0xe13918
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0xe138f0
add ebx, ebx
jne 0xe13927
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0xe1397d
xor ecx, ecx
sub eax, 3
jb 0xe13943
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xe139b2
sar eax, 1
mov ebp, eax
jmp 0xe1394e
add ebx, ebx
jne 0xe1394e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xe1391c
inc ecx
add ebx, ebx
jne 0xe1395c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xe1391c
add ebx, ebx
jne 0xe13969
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xe1395e
jne 0xe1397a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xe1395e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xe1399c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xe1398e
jmp 0xe138de
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xe1399c
add edi, ecx
jmp 0xe138de
pop esi
mov edi, esi
mov ecx, 0x13ed9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0xe139ba
cmp byte [edi], 0x2b
jne 0xe139ba
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 0xe139bf
lea edi, [esi + 0x9f8000]
mov eax, dword [edi]
or eax, eax
je 0xe13a2e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xa27a8c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xa27ab4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xe139ec
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xa27abc]
or eax, eax
je 0xe13a28
mov dword [ebx], eax
add ebx, 4
jmp 0xe13a09
call dword [esi + 0xa27ab8]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0xe13a68
cmp al, 0xef
ja 0xe13a52
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0xe13a34
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
or eax, eax
jne 0xe13a41
mov eax, dword [edi]
add edi, 4
jmp 0xe13a41
mov ebp, dword [esi + 0xa27ac0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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 0xe13a9c
sub esp, 0xffffff80
jmp 0x46e1f0