joyce8/EMBER2024-capa huggingface dataset:
Function at 0x468504
Capabilities:
Hash data using sha1

Disassembly:
mov edx, dword [esp + 4]
xor eax, eax
push edi
push 0x50
pop ecx
lea edi, [edx + 0x28]
rep stosd dword es:[edi], eax
and dword [edx + 4], eax
and dword [edx], eax
mov dword [edx + 8], 0x67452301
mov dword [edx + 0xc], 0xefcdab89
mov dword [edx + 0x10], 0x98badcfe
mov dword [edx + 0x14], 0x10325476
mov dword [edx + 0x18], 0xc3d2e1f0
pop edi
ret

Function at 0x46857a
Capabilities:
Encode data using xor
Hash data using sha1

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x18
push ebx
push ebp
push esi
push edi
lea ebx, [edx + 0x28]
push 0x40
mov ecx, ebx
pop esi
mov eax, dword [ecx + 0x34]
xor eax, dword [ecx + 0x20]
xor eax, dword [ecx + 8]
xor eax, dword [ecx]
lea ecx, [ecx + 4]
rol eax, 1
mov dword [ecx + 0x3c], eax
dec esi
jne 0x46858d
mov ecx, dword [edx + 0xc]
mov eax, dword [edx + 8]
mov edi, dword [edx + 0x10]
mov ebp, dword [edx + 0x14]
mov dword [esp + 0x18], ecx
mov ecx, dword [edx + 0x18]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x24], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x1c], 0x14
mov esi, dword [esp + 0x10]
mov ecx, eax
mov eax, ebp
rol ecx, 5
xor eax, edi
mov dword [esp + 0x10], ebp
and eax, edx
add esi, 0x5a827999
xor eax, ebp
mov ebp, edi
add ecx, eax
mov edi, edx
add ecx, dword [ebx]
lea ebx, [ebx + 4]
mov edx, dword [esp + 0x14]
add esi, ecx
ror edi, 2
mov eax, esi
dec dword [esp + 0x1c]
mov dword [esp + 0x14], eax
jne 0x4685ce
mov eax, dword [esp + 0x2c]
mov ebx, edx
push 0x14
add eax, 0x78
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x14]
pop ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
mov eax, ebp
rol esi, 5
xor eax, edi
add edx, 0x6ed9eba1
xor eax, ebx
add esi, eax
mov eax, dword [esp + 0x1c]
add esi, dword [eax]
add eax, 4
add esi, edx
mov dword [esp + 0x1c], eax
mov edx, ebp
mov ebp, edi
mov edi, ebx
mov ebx, dword [esp + 0x14]
ror edi, 2
dec dword [esp + 0x20]
mov dword [esp + 0x14], esi
jne 0x468625
mov eax, dword [esp + 0x2c]
add eax, 0xc8
mov dword [esp + 0x10], edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
mov ecx, edi
rol esi, 5
or ecx, ebx
mov eax, edi
and eax, ebx
and ecx, ebp
or ecx, eax
add esi, 0x8f1bbcdc
mov eax, dword [esp + 0x20]
add ecx, edx
mov edx, ebp
mov ebp, edi
mov edi, ebx
mov ebx, dword [esp + 0x14]
ror edi, 2
add esi, dword [eax]
add eax, 4
add esi, ecx
mov dword [esp + 0x20], eax
dec dword [esp + 0x1c]
mov dword [esp + 0x14], esi
jne 0x468671
mov ecx, dword [esp + 0x2c]
push 0x14
mov dword [esp + 0x14], edx
add ecx, 0x118
pop edx
rol esi, 5
mov eax, ebp
xor eax, edi
add esi, 0xca62c1d6
add esi, dword [esp + 0x10]
xor eax, ebx
add eax, dword [ecx]
lea ecx, [ecx + 4]
mov dword [esp + 0x10], ebp
add esi, eax
mov ebp, edi
mov edi, ebx
mov ebx, dword [esp + 0x14]
ror edi, 2
mov dword [esp + 0x14], esi
dec edx
jne 0x4686bf
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
add eax, esi
add dword [edx + 0x10], edi
add dword [edx + 0x14], ebp
add dword [edx + 0xc], ebx
pop edi
pop esi
mov dword [edx + 8], eax
mov eax, dword [esp + 8]
add dword [edx + 0x18], eax
pop ebp
pop ebx
add esp, 0x18
ret
Function at 0x46f16b
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov edx, dword [esp + 8]
test edx, edx
jne 0x46f176
xor eax, eax
ret
mov ecx, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
not ecx
mov ebx, 0xff
cmp esi, 8
jb 0x46f233
push edi
mov edi, esi
shr edi, 3
movzx eax, byte [edx]
sub esi, 8
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x4df7a0]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x4df7a0]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x4df7a0]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x4df7a0]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x4df7a0]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x4df7a0]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x4df7a0]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x4df7a0]
dec edi
jne 0x46f196
pop edi
test esi, esi
je 0x46f24c
movzx eax, byte [edx]
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x4df7a0]
inc edx
dec esi
jne 0x46f237
not ecx
pop esi
mov eax, ecx
pop ebx
ret
Function at 0x471408
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x517490]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
and dword [ebp - 0x68], 0
and dword [ebp - 0x6c], 0
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
push 8
pop ecx
push dword [ebp + 0xc]
mov esi, 0x4e07f8
lea edi, [ebp - 0x64]
push eax
lea eax, [ebp - 0x6c]
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.00471463
push ebx
lea eax, [ebp - 0x6c]
push 0x20
push eax
call fcn.00471fff
mov ecx, dword [ebp - 4]
add esp, 0x18
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.004b94b6
mov esp, ebp
pop ebp
ret
Function at 0x47220f
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 4]
and dword [eax + 4], 0
and dword [eax], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
mov dword [eax + 0x18], 0xc3d2e1f0
ret
Function at 0x47365a
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x14]
and dword [esp + 4], 0
push ebx
push ebp
mov ebx, dword [eax]
push esi
mov esi, dword [esp + 0x24]
push edi
push 4
pop edi
mov dword [esi + 0xa0], ebx
mov ebp, dword [eax + 4]
mov dword [esi + 0xa4], ebp
mov ecx, dword [eax + 8]
mov dword [esi + 0xa8], ecx
mov eax, dword [eax + 0xc]
mov dword [esp + 0x1c], ecx
lea ecx, [esi + 0x98]
mov dword [esp + 0x18], ecx
lea ecx, [esi + 0x90]
mov dword [esi + 0xac], eax
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x10], eax
mov dword [esp + 0x24], ecx
push 3
push eax
call fcn.00402520
mov edx, dword [esp + 0x1c]
pop ecx
pop ecx
mov ecx, dword [esp + 0x18]
xor eax, dword [edx + 0x4e0fa0]
add edx, edi
xor ebx, eax
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x24]
xor ebp, ebx
sub dword [esp + 0x24], 0x10
xor esi, ebp
mov dword [eax], ebx
mov eax, dword [esp + 0x10]
mov dword [ecx - 4], ebp
xor eax, esi
mov dword [ecx], esi
mov dword [ecx + 4], eax
sub ecx, 0x10
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], ecx
cmp edx, 0x28
jb 0x4736b4
mov esi, dword [esp + 0x28]
push dword [esi + edi*4]
call fcn.00402aa1
mov dword [esi + edi*4], eax
inc edi
pop ecx
cmp edi, 0x28
jb 0x473705
and dword [esi + 0xf0], 0
and byte [esi + 0xf2], 0xfe
xor eax, eax
pop edi
mov byte [esi + 0xf0], 0xa0
pop esi
pop ebp
pop ebx
add esp, 0x10
ret

Function at 0x473736
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ecx
mov eax, dword [esp + 0xc]
and dword [esp], 0
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1c]
push edi
mov edi, dword [eax]
mov dword [esi], edi
mov ebx, dword [eax + 4]
mov dword [esi + 4], ebx
mov ebp, dword [eax + 8]
mov dword [esi + 8], ebp
mov eax, dword [eax + 0xc]
mov dword [esp + 0x1c], eax
mov dword [esi + 0xc], eax
lea eax, [esi + 0x14]
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x14], eax
push 3
push esi
call fcn.00402520
pop ecx
pop ecx
mov ecx, dword [esp + 0x10]
xor eax, dword [ecx + 0x4e0fa0]
add ecx, 4
xor edi, eax
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x14]
xor ebx, edi
xor ebp, ebx
xor esi, ebp
mov dword [eax - 4], edi
mov dword [eax], ebx
mov dword [eax + 4], ebp
mov dword [eax + 8], esi
add eax, 0x10
mov dword [esp + 0x14], eax
cmp ecx, 0x24
jb 0x47376d
push 3
push esi
mov dword [esp + 0x24], esi
call fcn.00402520
xor eax, dword [0x4e0fc4]
mov esi, dword [esp + 0x28]
xor edi, eax
mov eax, dword [esp + 0x24]
xor ebx, edi
pop ecx
xor ebp, ebx
and dword [esi + 0xf0], 0
xor eax, ebp
or byte [esi + 0xf2], 1
pop ecx
mov dword [esi + 0xa0], edi
pop edi
mov dword [esi + 0xa4], ebx
mov dword [esi + 0xa8], ebp
mov dword [esi + 0xac], eax
xor eax, eax
mov byte [esi + 0xf0], 0xa0
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret

Function at 0x4738c1
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
and dword [eax + 4], 0
and dword [eax], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
ret
Function at 0x4743ce
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
xor ebx, ebx
movzx edi, byte [ebx + 0x5274e0]
mov ecx, edi
mov edx, edi
shr edx, 1
and ecx, 3
xor edx, edi
mov eax, edi
shr eax, 2
shr edx, 1
movzx esi, byte [ecx + 0x5167e0]
xor esi, eax
movzx eax, byte [ecx + 0x5167e4]
xor edx, eax
xor esi, edi
xor edx, edi
imul eax, edx, 0x10100
add eax, esi
shl eax, 8
add eax, edi
shl edi, 0x10
mov dword [ebx*4 + 0x5275e0], eax
imul eax, edx, 0x1000100
add eax, esi
add edi, eax
mov dword [ebx*4 + 0x527de0], edi
movzx edi, byte [ebx + 0x5273e0]
mov ecx, edi
mov edx, edi
and ecx, 3
shr edx, 1
xor edx, edi
mov eax, edi
shr eax, 2
shr edx, 1
movzx esi, byte [ecx + 0x5167e0]
xor esi, eax
movzx eax, byte [ecx + 0x5167e4]
xor edx, eax
xor esi, edi
xor edx, edi
mov ecx, edi
imul eax, edx, 0x101
shl ecx, 8
add ecx, esi
shl edx, 8
shl ecx, 0x10
add edx, edi
shl edx, 8
add ecx, eax
imul eax, esi, 0x1000001
mov dword [ebx*4 + 0x5279e0], ecx
add edx, eax
mov dword [ebx*4 + 0x5281e0], edx
inc ebx
cmp ebx, 0x100
jb 0x4743d3
pop edi
pop esi
pop ebx
ret
Function at 0x475d26
Capabilities:
Decrypt data using aes via x86 extensions
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x188
mov eax, dword [0x517490]
xor eax, esp
mov dword [esp + 0x184], eax
mov edx, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0x10], ecx
push esi
mov esi, dword [ebp + 8]
mov dword [esp + 0x10], esi
push edi
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x1c], edi
test dl, 0xf
je 0x475d8b
lea eax, [esp + 0x80]
mov esi, edx
neg eax
lea ecx, [esp + 0x80]
and eax, 0xf
add eax, ecx
push 0x3d
pop ecx
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x1c]
jmp 0x475d8d
mov eax, edx
movdqa xmm0, xmmword [eax + 0x50]
mov edx, dword [ebp + 0x10]
movdqa xmm3, xmmword [eax]
movdqa xmm4, xmmword [eax + 0x10]
movdqa xmm5, xmmword [eax + 0x20]
movdqa xmm6, xmmword [eax + 0x30]
movdqa xmm7, xmmword [eax + 0x40]
movdqu xmm2, xmmword [ecx]
sar edx, 4
movdqa xmmword [esp + 0x70], xmm0
movdqa xmm0, xmmword [eax + 0x60]
movdqa xmmword [esp + 0x20], xmm0
movdqa xmm0, xmmword [eax + 0x70]
movdqa xmmword [esp + 0x50], xmm0
movdqa xmm0, xmmword [eax + 0x80]
movdqa xmmword [esp + 0x30], xmm0
movdqa xmm0, xmmword [eax + 0x90]
movdqa xmmword [esp + 0x40], xmm0
movdqa xmm0, xmmword [eax + 0xa0]
movdqa xmmword [esp + 0x60], xmm0
test edx, edx
jle 0x475e5d
sub edi, esi
movdqu xmm1, xmmword [esi]
movdqa xmm0, xmm1
pxor xmm0, xmm3
aesdec xmm0, xmm4
aesdec xmm0, xmm5
aesdec xmm0, xmm6
aesdec xmm0, xmm7
aesdec xmm0, xmmword [esp + 0x70]
aesdec xmm0, xmmword [esp + 0x20]
aesdec xmm0, xmmword [esp + 0x50]
aesdec xmm0, xmmword [esp + 0x30]
aesdec xmm0, xmmword [esp + 0x40]
aesdeclast xmm0, xmmword [esp + 0x60]
pxor xmm0, xmm2
movdqa xmm2, xmm1
movdqu xmmword [edi + esi], xmm0
lea esi, [esi + 0x10]
dec edx
jne 0x475e00
movdqu xmmword [ecx], xmm2
mov ecx, dword [esp + 0x18c]
pop edi
pop esi
xor ecx, esp
call fcn.004b94b6
mov esp, ebp
pop ebp
ret

Function at 0x476a24
Capabilities:
Clear file content

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
xor ebp, ebp
mov eax, dword [ebx + 0x24]
test eax, eax
jle 0x476a61
push esi
cdq
push edi
mov edi, eax
mov esi, edx
mov ecx, edi
mov eax, esi
add ecx, dword [esp + 0x18]
push esi
adc eax, dword [esp + 0x20]
sub ecx, 1
push edi
sbb eax, ebp
push eax
push ecx
call fcn.004bff00
push esi
push edi
push edx
push eax
call fcn.004c08a0
pop edi
pop esi
jmp 0x476a69
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push edx
push eax
push ebx
call fcn.004910c2
add esp, 0xc
test eax, eax
je 0x476a87
push 0x802d
push dword [ebx + 0x20]
push str.winTruncate1
jmp 0x476aaa
push dword [ebx + 8]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x476ab9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x8030
push dword [ebx + 0x20]
mov dword [ebx + 0x14], eax
push str.winTruncate2
push 0x60a
call fcn.004b6a97
mov ebp, eax
add esp, 0x10
mov eax, ebp
pop ebp
pop ebx
ret
Function at 0x476d3c
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push edi
push eax
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
jne 0x476d82
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x476d82
push 0x808c
push dword [esi + 0x20]
mov dword [esi + 0x14], eax
push str.winFileSize
push 0x70a
call fcn.004b6a97
add esp, 0x10
jmp 0x476d96
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov edx, dword [ebp - 4]
add ecx, edi
adc edx, 0
mov dword [eax], ecx
mov dword [eax + 4], edx
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4785fc
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push esi
push dword [ebp + 0xc]
call fcn.004843d2
mov esi, eax
pop ecx
test esi, esi
jne 0x47861c
push 7
pop eax
jmp 0x4786b7
push ebx
push edi
call fcn.00489f80
xor edi, edi
inc edi
test eax, eax
je 0x478653
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x47867a
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, eax
test edi, edi
jne 0x47867a
lea eax, [ebp - 4]
push eax
call fcn.00490c6f
pop ecx
test eax, eax
jne 0x47862a
jmp 0x47867a
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x47867a
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edi, eax
test edi, edi
jne 0x47867a
lea eax, [ebp - 4]
push eax
call fcn.00490c6f
pop ecx
test eax, eax
jne 0x478653
xor ebx, ebx
test edi, edi
sete bl
test ebx, ebx
je 0x4786a3
push 0x85f9
push dword [ebp + 0xc]
push str.winDelete
push 0xa0a
call fcn.004b6a97
add esp, 0x10
mov ebx, eax
jmp 0x4786ac
push dword [ebp - 4]
call fcn.0048a96a
pop ecx
push esi
call fcn.004bb566
pop ecx
pop edi
mov eax, ebx
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x488f78
Capabilities:
Get disk size

Disassembly:
push ebp
lea ebp, [esp - 0x94]
sub esp, 0x114
mov eax, dword [0x517490]
xor eax, ebp
mov dword [ebp + 0x90], eax
mov eax, dword [ebp + 0xa0]
lea ecx, [ebp - 0x78]
push esi
push edi
push ecx
push 0x104
push eax
push dword [ebp + 0x9c]
mov edi, 0x200
mov dword [ebp - 0x80], edi
call fcn.0047bc6f
add esp, 0x10
test eax, eax
jne 0x489048
lea eax, [ebp - 0x78]
push eax
call fcn.004843d2
mov esi, eax
pop ecx
test esi, esi
je 0x48904b
push ebx
call fcn.00489f80
test eax, eax
mov eax, esi
je 0x489011
xor ecx, ecx
cmp word [esi], cx
je 0x488ffb
cmp word [eax], 0x5c
je 0x488ff6
add eax, 2
cmp word [eax], cx
jne 0x488fe6
jmp 0x488ffb
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x7c]
push eax
push eax
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x7c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
jmp 0x48903a
cmp byte [esi], 0
je 0x489026
cmp byte [eax], 0x5c
je 0x489023
inc eax
cmp byte [eax], 0
jne 0x489016
jmp 0x489026
mov byte [eax], 0
lea eax, [ebp - 0x7c]
push eax
push eax
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x7c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
push esi
mov ebx, eax
call fcn.004bb566
pop ecx
test ebx, ebx
pop ebx
je 0x48904b
mov edi, dword [ebp - 0x80]
mov ecx, dword [ebp + 0x90]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.004b94b6
lea esp, [ebp + 0x94]
pop ebp
ret
Function at 0x489064
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x314
mov eax, dword [0x517490]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x528610]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
test eax, eax
je 0x4890a2
push eax
push 0x4e5400
lea eax, [ebp - 0x10c]
push eax
push 0xe6
call fcn.0047b458
add esp, 0x10
jmp 0x48911d
call fcn.00489f80
mov esi, 0xe6
test eax, eax
je 0x4890e5
lea eax, [ebp - 0x314]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x314]
push eax
call fcn.004b3e02
mov edi, eax
pop ecx
test edi, edi
jne 0x489101
push 7
pop eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b94b6
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x210]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0x210]
push eax
call fcn.004b3445
jmp 0x4890ca
push edi
push 0x4e5400
lea eax, [ebp - 0x10c]
push eax
push esi
call fcn.0047b458
push edi
call fcn.004bb566
add esp, 0x14
push str.etilqs_
call fcn.004a6b98
mov edx, eax
lea eax, [ebp - 0x10c]
push eax
call fcn.004a6b98
add edx, 0x11
add eax, edx
mov edx, dword [ebp + 8]
pop ecx
pop ecx
cmp eax, edx
jl 0x489148
xor eax, eax
inc eax
jmp 0x4890d4
lea eax, [ebp - 0x10c]
push eax
call fcn.004a6b98
pop ecx
test eax, eax
je 0x489169
lea ecx, [ebp - 0x10c]
cmp byte [ecx + eax - 1], 0x5c
jne 0x489169
dec eax
jne 0x48915f
cmp eax, 0x105
jae 0x4891c9
mov byte [ebp + eax - 0x10c], 0
lea eax, [ebp - 0x10c]
push eax
push str._setilqs_
lea eax, [edx - 0x11]
push ebx
push eax
call fcn.0047b458
push ebx
call fcn.004a6b98
mov esi, eax
lea ecx, [ebx + esi]
push ecx
push 0xf
pop edi
push edi
call fcn.0047b70a
add esp, 0x1c
movzx eax, byte [ebx + esi]
xor edx, edx
push 0x3e
pop ecx
div ecx
mov al, byte [edx + str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]
mov byte [ebx + esi], al
inc esi
dec edi
jne 0x4891a6
mov byte [ebx + esi], 0
xor eax, eax
jmp 0x4890d4
call fcn.004b9df5
int3
Function at 0x48de25
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xc
push ebx
mov ebx, dword [esp + 0x14]
xor eax, eax
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x3c]
cmp dword [eax], 0
jne 0x48de54
push dword [ebx + 0x78]
push eax
push ebx
call fcn.0048caf6
add esp, 0xc
mov dword [esp + 4], eax
test eax, eax
jne 0x48df40
mov ecx, dword [ebx + 0x18]
cmp ecx, dword [ebx + 0x24]
jbe 0x48de8e
mov eax, dword [ebx + 0x80]
push 0
cdq
push ecx
push edx
push eax
call fcn.004c08a0
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x3c]
mov dword [esp + 0xc], edx
lea edx, [esp + 8]
push edx
push 5
mov ecx, dword [eax]
push eax
call dword [ecx + 0x28]
mov eax, dword [ebx + 0x18]
add esp, 0xc
mov dword [ebx + 0x24], eax
mov eax, dword [esp + 4]
push ebp
mov ebp, dword [esp + 0x1c]
push esi
push edi
test ebp, ebp
je 0x48df3d
mov esi, dword [ebp + 0xc]
mov dword [esp + 0x14], esi
cmp esi, dword [ebx + 0x18]
ja 0x48df32
test byte [ebp + 0x14], 0x20
jne 0x48df32
mov eax, dword [ebx + 0x80]
lea ecx, [esi - 1]
cdq
push edx
push eax
push 0
push ecx
call fcn.004c08a0
mov dword [esp + 0x20], eax
mov ecx, edx
mov dword [esp + 0x10], ecx
cmp esi, 1
jne 0x48dee9
push ebp
call fcn.0048dde2
mov eax, dword [esp + 0x24]
pop ecx
mov ecx, dword [esp + 0x10]
mov edi, dword [ebp]
push ecx
push eax
push dword [ebx + 0x80]
push edi
push dword [ebx + 0x3c]
call fcn.0049fb8d
add esp, 0x14
mov dword [esp + 0x10], eax
cmp esi, 1
jne 0x48df17
lea esi, [edi + 0x18]
lea edi, [ebx + 0x64]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x14]
cmp esi, dword [ebx + 0x20]
jbe 0x48df1f
mov dword [ebx + 0x20], esi
push dword [ebp]
push esi
push dword [ebx + 0x58]
call fcn.004939ba
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov ebp, dword [ebp + 8]
test eax, eax
je 0x48de99
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x49b600
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x24
push ebx
push ebp
push esi
mov esi, dword [esp + 0x34]
push edi
mov edi, dword [esi + 0x200]
and dword [esi + 0x200], 0
cmp dword [esi + 0x40], 0
mov ebx, dword [esi]
jne 0x49b7a2
test edi, edi
je 0x49b7a2
push dword [edi + 0x14]
mov eax, dword [edi]
push ebx
mov dword [esp + 0x1c], eax
call fcn.004a4a44
mov ebp, dword [esp + 0x44]
mov edx, eax
pop ecx
pop ecx
mov dword [esp + 0x10], edx
mov dword [edi + 0x1c], ebp
jmp 0x49b652
mov dword [ebp + 4], edi
mov ebp, dword [ebp + 0x20]
test ebp, ebp
jne 0x49b64c
mov eax, dword [edi]
push eax
mov dword [esp + 0x20], eax
call fcn.004a6b98
mov dword [esp + 0x24], eax
lea eax, [esp + 0x20]
push eax
push str.trigger
push edx
lea eax, [esp + 0x34]
push esi
push eax
call fcn.0049b84f
add esp, 0x18
test eax, eax
je 0x49b69a
push dword [edi + 0x1c]
lea eax, [esp + 0x28]
push eax
call fcn.0049b980
pop ecx
pop ecx
test eax, eax
jne 0x49b7a6
cmp byte [ebx + 0x7c], 0
jne 0x49b742
push esi
call fcn.0049d3e9
mov dword [esp + 0x1c], eax
pop ecx
test eax, eax
je 0x49b7a6
push dword [esp + 0x10]
push 0
push esi
call fcn.00493e37
mov eax, dword [esp + 0x4c]
push dword [eax + 4]
push dword [eax]
push ebx
call fcn.00497e86
mov ecx, dword [esp + 0x28]
mov esi, eax
push esi
push dword [edi + 4]
cmp ecx, 1
mov edx, str.sqlite_master
push dword [esp + 0x34]
mov eax, str.sqlite_temp_master
cmovne eax, edx
add ecx, ecx
push eax
mov eax, dword [ebx + 8]
push dword [eax + ecx*8]
push str.INSERT_INTO__Q._s_VALUES_trigger__Q__Q_0_CREATE_TRIGGER__q_
push dword [esp + 0x68]
call fcn.0049f7b6
push esi
push ebx
call fcn.00497c57
mov esi, dword [esp + 0x4c]
push esi
push dword [esp + 0x78]
call fcn.004962e9
add esp, 0x44
push dword [esp + 0x14]
push str.typetrigger_AND_name_q
push ebx
call fcn.0049f0cd
push eax
push esi
push dword [esp + 0x2c]
call fcn.004a8fb0
add esp, 0x18
cmp byte [ebx + 0x7c], 0
je 0x49b7a6
mov ecx, dword [esp + 0x10]
mov esi, edi
mov eax, dword [ebx + 8]
add ecx, ecx
push edi
mov edi, dword [esp + 0x18]
push edi
mov edx, dword [eax + ecx*8 + 0xc]
add edx, 0x28
call fcn.004a6b98
pop ecx
push eax
push edi
push edx
call fcn.0049d4d4
mov edi, eax
add esp, 0x10
test edi, edi
je 0x49b777
mov byte [ebx + 0x1e], 1
jmp 0x49b7a6
mov edx, dword [esi + 0x18]
cmp dword [esi + 0x14], edx
jne 0x49b7a6
push dword [esi + 4]
call fcn.004a6b98
push eax
push dword [esi + 4]
lea eax, [edx + 8]
push eax
call fcn.0049d493
add esp, 0x10
mov ecx, dword [eax + 0x40]
mov dword [esi + 0x20], ecx
mov dword [eax + 0x40], esi
jmp 0x49b7a6
mov ebp, dword [esp + 0x3c]
push edi
push ebx
call fcn.00498466
push ebp
push ebx
call fcn.004984ad
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
Function at 0x4b37db
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
xor edi, edi
test esi, esi
jle 0x4b3806
push ebx
mov ebx, dword [esp + 0x10]
movzx eax, byte [ebx]
mov ecx, edi
shl ecx, 3
movzx edx, byte [eax + 0x4e1638]
xor edx, ecx
xor edi, edx
inc ebx
dec esi
test esi, esi
jg 0x4b37ec
pop ebx
mov eax, edi
pop edi
pop esi
ret
Function at 0x4bc244
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
call fcn.004c8fdc
jmp 0x4bc24e
push 0x10
push 0x4f3e80
call fcn.004c0490
call fcn.004c2baa
movzx esi, ax
push 2
call fcn.004c8f96
pop ecx
call fcn.004c7822
test eax, eax
jne 0x4bc27b
push 0x1c
call fcn.004bc330
pop ecx
call fcn.004c76e7
test eax, eax
jne 0x4bc28c
push 0x10
call fcn.004bc330
pop ecx
call fcn.004c9078
and dword [ebp - 4], 0
call fcn.004c8811
test eax, eax
jns 0x4bc2a6
push 0x1b
call fcn.004bc330
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x52adb8], eax
call fcn.004c90b8
mov dword [0x528ee8], eax
call fcn.004c8c5f
test eax, eax
jns 0x4bc2cc
push 8
call fcn.004c10f4
pop ecx
call fcn.004c8e9f
test eax, eax
jns 0x4bc2dd
push 9
call fcn.004c10f4
pop ecx
push 1
call fcn.004c110e
pop ecx
test eax, eax
je 0x4bc2f0
push eax
call fcn.004c10f4
pop ecx
call fcn.004c913d
push esi
push eax
push 0
push 0x400000
call main
mov dword [ebp - 0x20], eax
push eax
call fcn.004c136f
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
push ecx
push eax
call fcn.004c8b08
pop ecx
pop ecx
ret