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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
xor eax, eax
mov dword [ebp - 4], eax
mov ecx, edi
test edi, edi
jne 0x49a18e
xor ebx, ebx
mov dword [ebp - 8], ebx
jmp 0x49a1a4
cmp byte [edi], al
je 0x49a197
inc ecx
cmp byte [ecx], al
jne 0x49a192
sub ecx, edi
and ecx, 0x3fffffff
mov ebx, ecx
mov dword [ebp - 8], ecx
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x14]
xor esi, esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], ecx
test ecx, ecx
jle 0x49a2a5
jmp 0x49a1c3
mov edi, dword [ebp + 0xc]
cmp esi, 2
jge 0x49a1cb
xor esi, 1
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x49a22b
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x10]
mov edx, esi
shl edx, 4
mov edi, dword [edx + eax]
mov dl, byte [ecx]
test dl, dl
je 0x49a20d
jmp 0x49a1f0
movzx eax, byte [edi]
movzx edx, dl
mov dl, byte [edx + 0x505a70]
cmp dl, byte [eax + 0x505a70]
jne 0x49a20d
mov dl, byte [ecx + 1]
inc ecx
inc edi
test dl, dl
jne 0x49a1f0
movzx ecx, byte [ecx]
movzx edx, byte [edi]
movzx edx, byte [edx + 0x505a70]
movzx ecx, byte [ecx + 0x505a70]
sub ecx, edx
mov eax, dword [ebp - 4]
jne 0x49a295
mov edi, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x10]
add esi, esi
mov esi, dword [eax + esi*8 + 0xc]
cmp dword [esi + 0x14], 0
je 0x49a278
xor eax, eax
mov edx, ebx
mov ecx, edi
test ebx, ebx
jle 0x49a26e
jmp 0x49a250
movzx edi, byte [ecx]
movzx edi, byte [edi + 0x505a70]
lea ebx, [eax*8]
xor edi, ebx
dec edx
xor eax, edi
inc ecx
test edx, edx
jg 0x49a250
mov ebx, dword [ebp - 8]
mov edi, dword [ebp + 0xc]
xor edx, edx
div dword [esi + 8]
jmp 0x49a27a
xor edx, edx
push ebx
push edi
lea eax, [esi + 8]
call fcn.00468f60
add esp, 8
test eax, eax
je 0x49a2ac
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
test eax, eax
jne 0x49a2a5
mov esi, dword [ebp - 0xc]
inc esi
mov dword [ebp - 0xc], esi
cmp esi, dword [ebp - 0x10]
jl 0x49a1c0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x49a295
Function at 0x49a350
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
push ebx
push esi
xor esi, esi
mov dword [ebp - 8], esi
mov ecx, eax
test eax, eax
jne 0x49a36d
xor ebx, ebx
mov dword [ebp - 0xc], ebx
jmp 0x49a385
cmp byte [eax], 0
je 0x49a378
inc ecx
cmp byte [ecx], 0
jne 0x49a372
sub ecx, eax
and ecx, 0x3fffffff
mov ebx, ecx
mov dword [ebp - 0xc], ecx
mov ecx, dword [edx + 0x14]
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], ecx
test ecx, ecx
jle 0x49a467
mov ecx, dword [edx + 0x10]
mov dword [ebp - 0x10], ecx
push edi
nop
mov ecx, eax
cmp eax, 2
jge 0x49a3aa
xor ecx, 1
mov edx, dword [ebp + 0xc]
shl ecx, 4
add ecx, dword [ebp - 0x10]
mov edi, dword [ecx + 0xc]
test edx, edx
je 0x49a3fa
mov esi, dword [ecx]
mov cl, byte [edx]
test cl, cl
je 0x49a3e2
movzx eax, byte [esi]
movzx ecx, cl
mov cl, byte [ecx + 0x505a70]
cmp cl, byte [eax + 0x505a70]
jne 0x49a3df
mov cl, byte [edx + 1]
inc edx
inc esi
test cl, cl
jne 0x49a3c2
mov eax, dword [ebp - 4]
movzx edx, byte [edx]
movzx ecx, byte [esi]
movzx ecx, byte [ecx + 0x505a70]
movzx edx, byte [edx + 0x505a70]
sub edx, ecx
jne 0x49a456
cmp dword [edi + 0x24], 0
lea esi, [edi + 0x18]
je 0x49a434
mov ecx, dword [ebp + 8]
xor eax, eax
mov edx, ebx
test ebx, ebx
jle 0x49a42e
mov edi, edi
movzx edi, byte [ecx]
movzx edi, byte [edi + 0x505a70]
lea ebx, [eax*8]
xor edi, ebx
dec edx
xor eax, edi
inc ecx
test edx, edx
jg 0x49a410
mov ebx, dword [ebp - 0xc]
xor edx, edx
div dword [esi]
jmp 0x49a436
xor edx, edx
mov eax, dword [ebp + 8]
push ebx
push eax
mov eax, esi
call fcn.00468f60
add esp, 8
test eax, eax
je 0x49a46d
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
test eax, eax
jne 0x49a466
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp eax, dword [ebp - 0x14]
jl 0x49a3a0
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 8], 0
jmp 0x49a453
Function at 0x49c520
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x5365f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x3c], ecx
mov ecx, dword [esi]
mov dword [ebp - 0x40], edx
mov edx, dword [ecx + 0x10]
add eax, eax
mov eax, dword [edx + eax*8]
mov dword [ebp - 0x28], eax
mov eax, 1
push edi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], eax
jmp 0x49c563
mov esi, dword [ebp - 0x30]
push eax
push str.sqlite_stat_d
lea ecx, [ebp - 0x1c]
push ecx
push 0x18
call fcn.00467200
mov ecx, dword [esi]
xor ebx, ebx
add esp, 0x10
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x24], ebx
lea eax, [ebp - 0x1c]
cmp byte [ebp - 0x1c], bl
je 0x49c595
lea esp, [esp]
inc eax
cmp byte [eax], bl
jne 0x49c590
lea edx, [ebp - 0x1c]
sub eax, edx
and eax, 0x3fffffff
mov edi, eax
mov eax, dword [ecx + 0x14]
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x38], eax
cmp eax, ebx
jle 0x49c6b1
jmp 0x49c5ba
mov ecx, dword [ebp - 0x34]
mov edx, ebx
cmp ebx, 2
jge 0x49c5c4
xor edx, 1
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x49c61b
mov ecx, dword [ecx + 0x10]
mov esi, edx
add esi, esi
mov esi, dword [ecx + esi*8]
mov ecx, eax
mov cl, byte [ecx]
test cl, cl
je 0x49c600
lea ecx, [ecx]
movzx ebx, byte [esi]
movzx ecx, cl
mov cl, byte [ecx + 0x505a70]
cmp cl, byte [ebx + 0x505a70]
jne 0x49c5fd
mov cl, byte [eax + 1]
inc eax
inc esi
test cl, cl
jne 0x49c5e0
mov ebx, dword [ebp - 0x20]
movzx eax, byte [eax]
movzx ecx, byte [esi]
movzx ecx, byte [ecx + 0x505a70]
movzx eax, byte [eax + 0x505a70]
sub eax, ecx
jne 0x49c67d
mov ecx, dword [ebp - 0x34]
mov ecx, dword [ecx + 0x10]
add edx, edx
mov esi, dword [ecx + edx*8 + 0xc]
cmp dword [esi + 0x14], 0
je 0x49c65d
xor eax, eax
mov edx, edi
lea ecx, [ebp - 0x1c]
test edi, edi
jle 0x49c656
movzx edi, byte [ecx]
movzx edi, byte [edi + 0x505a70]
lea ebx, [eax*8]
xor edi, ebx
dec edx
xor eax, edi
inc ecx
test edx, edx
jg 0x49c635
mov ebx, dword [ebp - 0x20]
mov edi, dword [ebp - 0x44]
xor edx, edx
div dword [esi + 8]
jmp 0x49c65f
xor edx, edx
lea eax, [ebp - 0x1c]
push edi
push eax
lea eax, [esi + 8]
call fcn.00468f60
add esp, 8
test eax, eax
je 0x49c6d2
mov eax, dword [eax + 8]
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x49c690
inc ebx
mov dword [ebp - 0x20], ebx
cmp ebx, dword [ebp - 0x38]
jl 0x49c5b7
cmp dword [ebp - 0x24], 0
je 0x49c6b1
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x3c]
push ecx
mov ecx, dword [ebp - 0x28]
push edx
mov edx, dword [ebp - 0x30]
lea eax, [ebp - 0x1c]
push eax
push ecx
push str.DELETE_FROM__Q._s_WHERE__s_Q
push edx
call fcn.0049a0d0
add esp, 0x18
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp eax, 3
jle 0x49c560
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004d5564
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x24], 0
jmp 0x49c67d
Function at 0x49eeb0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov edx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [edx]
xor esi, esi
mov dword [ebp - 8], edi
mov dword [ebp - 4], esi
lea esp, [esp]
test edi, edi
je 0x49ef68
cmp byte [edi], 0
mov eax, edi
je 0x49eee6
nop
inc eax
cmp byte [eax], 0
jne 0x49eee0
sub eax, edi
and eax, 0x3fffffff
cmp dword [ebx + 0x1a8], 0
lea ecx, [ebx + 0x19c]
mov esi, eax
je 0x49ef41
xor eax, eax
mov edx, esi
mov ecx, edi
test esi, esi
jle 0x49ef31
jmp 0x49ef10
movzx edi, byte [ecx]
movzx edi, byte [edi + 0x505a70]
lea ebx, [eax*8]
xor edi, ebx
dec edx
xor eax, edi
inc ecx
test edx, edx
jg 0x49ef10
mov ebx, dword [ebp + 8]
mov edi, dword [ebp - 8]
xor edx, edx
div dword [ebx + 0x19c]
lea ecx, [ebx + 0x19c]
jmp 0x49ef43
xor edx, edx
push esi
push edi
mov eax, ecx
call fcn.00468f60
add esp, 8
test eax, eax
je 0x49ef5e
mov eax, dword [eax + 8]
mov esi, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
jmp 0x49ef6b
mov esi, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
xor eax, eax
jmp 0x49ef6b
mov eax, dword [ebx + 8]
test eax, eax
je 0x49ef7d
movzx ecx, byte [esi + 0x506318]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4 - 0x14]
cmp dword [eax + 0xc], 0
jne 0x49ef9c
inc esi
mov dword [ebp - 4], esi
cmp esi, 3
jl 0x49eed0
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [eax]
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov ecx, dword [eax + 0xc]
pop edi
pop esi
mov dword [edx + 0xc], ecx
mov dword [edx + 0x10], 0
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4a4e00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push ebx
xor eax, eax
test dword [edx + 0x18], 0x4000000
push esi
push edi
mov dword [ebp - 4], eax
je 0x4a4f46
mov ecx, dword [ebp + 0xc]
mov edi, dword [ecx + 0x24]
test edi, edi
je 0x4a4e66
lea ebx, [ebx]
mov eax, dword [edi + 0x14]
test eax, eax
jle 0x4a4e5c
lea edx, [edi + 0x24]
mov esi, eax
lea esp, [esp]
mov ecx, dword [edx]
cmp ecx, 0x1f
jle 0x4a4e4c
or eax, 0xffffffff
jmp 0x4a4e53
mov eax, 1
shl eax, cl
or dword [ebp - 4], eax
add edx, 8
dec esi
jne 0x4a4e40
mov edi, dword [edi + 4]
test edi, edi
jne 0x4a4e30
mov ecx, dword [ebp + 0xc]
mov esi, dword [ecx]
mov eax, esi
test esi, esi
jne 0x4a4e75
xor edi, edi
mov dword [ebp - 8], edi
jmp 0x4a4e92
cmp byte [esi], 0
je 0x4a4e86
lea ebx, [ebx]
inc eax
cmp byte [eax], 0
jne 0x4a4e80
sub eax, esi
and eax, 0x3fffffff
mov edi, eax
mov dword [ebp - 8], eax
mov ebx, dword [ecx + 0x44]
add ebx, 0x38
cmp dword [ebx + 0xc], 0
mov dword [ebp - 0xc], ebx
je 0x4a4ed7
xor eax, eax
mov edx, edi
mov ecx, esi
test edi, edi
jle 0x4a4ed1
jmp 0x4a4eb0
movzx edi, byte [ecx]
movzx edi, byte [edi + 0x505a70]
lea ebx, [eax*8]
xor edi, ebx
dec edx
xor eax, edi
inc ecx
test edx, edx
jg 0x4a4eb0
mov edi, dword [ebp - 8]
mov ebx, dword [ebp - 0xc]
xor edx, edx
div dword [ebx]
jmp 0x4a4ed9
xor edx, edx
push edi
push esi
mov eax, ebx
call fcn.00468f60
xor ebx, ebx
add esp, 8
cmp eax, ebx
je 0x4a4f43
mov edi, dword [eax + 8]
cmp edi, ebx
je 0x4a4f43
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
lea eax, [ebp - 8]
push eax
push edi
push ecx
push edx
xor eax, eax
mov dword [ebp - 8], ebx
call fcn.004a33b0
mov eax, dword [ebp - 8]
add esp, 0x10
cmp eax, ebx
je 0x4a4f3c
mov ecx, dword [eax + 0x24]
cmp ecx, ebx
jle 0x4a4f3c
mov edx, dword [eax + 4]
mov esi, ecx
nop
mov ecx, dword [edx]
cmp ecx, 0x1f
jle 0x4a4f2c
or eax, 0xffffffff
jmp 0x4a4f33
mov eax, 1
shl eax, cl
or dword [ebp - 4], eax
add edx, 4
dec esi
jne 0x4a4f20
mov edi, dword [edi + 0xc]
cmp edi, ebx
jne 0x4a4ef2
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4c9ad0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp byte [edi + 0x18], 0
push ebx
push esi
je 0x4c9b94
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea esi, [edi + 0xa58]
push 0
mov eax, 0x517384
call fcn.004027c0
mov edx, dword [ebp + 8]
lea ecx, [ebp + 0xc]
push ecx
push edx
lea eax, [edi + 0x23c]
push 0x400
push eax
call fcn.004d61fe
add esp, 0x10
cmp byte [edi + 0x19], 0
je 0x4c9b22
mov ecx, edi
call fcn.004c9ba0
cmp dword [edi + 0xa4c], 0
je 0x4c9b58
cmp dword [edi + 0xa50], 8
lea eax, [edi + 0xa3c]
jb 0x4c9b3c
mov eax, dword [eax]
mov ecx, eax
lea ebx, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x4c9b41
sub ecx, ebx
sar ecx, 1
push ecx
mov ecx, esi
call fcn.004021b0
lea eax, [edi + 0x23c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4c9b61
sub eax, edx
sar eax, 1
push eax
lea eax, [edi + 0x23c]
mov ecx, esi
call fcn.004021b0
cmp dword [esi + 0x14], 8
jb 0x4c9b86
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4d0d10
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x5365f0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
push ebx
push esi
mov dword [ebp - 0x210], edx
je 0x4d0d7a
mov esi, dword [edx]
cmp esi, dword [edx + 4]
je 0x4d0dcf
lea esp, [esp]
mov eax, dword [esi]
lea ecx, [eax + 0x1c]
mov ebx, 8
cmp dword [ecx + 0x14], ebx
jb 0x4d0d51
mov ecx, dword [ecx]
cmp dword [eax + 0x14], ebx
jb 0x4d0d58
mov eax, dword [eax]
test edi, edi
je 0x4d0d70
push ecx
mov ecx, dword [ebp + 8]
push ecx
mov edx, eax
mov ecx, edi
call fcn.004d07e0
mov edx, dword [ebp - 0x210]
add esi, 4
cmp esi, dword [edx + 4]
jne 0x4d0d40
jmp 0x4d0dcf
mov ebx, dword [edx]
cmp ebx, dword [edx + 4]
je 0x4d0dcf
mov esi, dword [ebx]
cmp dword [esi + 0x14], 8
jb 0x4d0d8d
mov eax, dword [esi]
jmp 0x4d0d8f
mov eax, esi
push eax
push edi
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov edx, 8
cmp dword [esi + 0x14], edx
jb 0x4d0da5
mov ecx, dword [esi]
jmp 0x4d0da7
mov ecx, esi
cmp dword [esi + 0x30], edx
lea eax, [esi + 0x1c]
jb 0x4d0db1
mov eax, dword [eax]
test edi, edi
je 0x4d0dc1
push ecx
push 0
mov edx, eax
mov ecx, edi
call fcn.004d07e0
mov edx, dword [ebp - 0x210]
add ebx, 4
cmp ebx, dword [edx + 4]
jne 0x4d0d81
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x20a]
push ecx
mov word [ebp - 0x20c], ax
call fcn.004da450
push str.AEGpoBkp
lea edx, [ebp - 0x20c]
push str.SoftwareAEBackup_s
push edx
mov edx, 0x104
call fcn.004ca340
add esp, 0x18
cmp dword [ebp + 8], 0
pop esi
pop ebx
jne 0x4d0e1e
lea eax, [ebp - 0x20c]
push eax
push edi
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 1
call fcn.004d5564
mov esp, ebp
pop ebp
ret 4

Function at 0x4d25a0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor ecx, ecx
sub esp, 0xc
cmp eax, ecx
je 0x4d2668
cmp edi, ecx
je 0x4d2668
push ecx
push ecx
push ecx
push edi
mov dword [eax], ecx
mov byte [ebp - 1], cl
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x4d2668
push ebx
push esi
lea ebx, [ebp - 8]
mov eax, edi
call fcn.004d2700
mov esi, eax
test esi, esi
je 0x4d2603
mov ecx, dword [ebp - 8]
push 0
lea eax, [ebp - 0xc]
push eax
push ecx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
mov al, 1
jne 0x4d2606
mov al, byte [ebp - 1]
mov ecx, dword [ebp - 0xc]
cmp ecx, 4
jbe 0x4d2635
test al, al
je 0x4d2635
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
add esi, 2
mov dword [edx], esi
test eax, eax
je 0x4d2658
add ecx, 0xfffffffe
mov dword [eax], ecx
xor eax, eax
mov ecx, edx
cmp dword [ecx], eax
pop esi
setne al
pop ebx
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x4d2658
push esi
call fcn.004d632b
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov eax, dword [ebp + 0xc]
add esp, 4
test eax, eax
je 0x4d2658
mov dword [eax], 0
mov ecx, dword [ebp + 8]
xor eax, eax
cmp dword [ecx], eax
pop esi
setne al
pop ebx
mov esp, ebp
pop ebp
ret
xor al, al
mov esp, ebp
pop ebp
ret
Function at 0x4d2670
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
test ebx, ebx
je 0x4d26ed
mov eax, dword [ebp + 8]
cmp dword [eax], 0
je 0x4d26ed
test esi, esi
je 0x4d26ed
push 0
push 0
push 0
push esi
mov byte [ebp - 1], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0xfeff
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x4d26ed
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x4d26ed
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea ecx, [ebp - 8]
push ecx
push 2
lea edx, [ebp - 0xc]
push edx
push esi
call edi
test eax, eax
je 0x4d26e5
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push 0
lea eax, [ebp - 8]
push eax
push edx
push ebx
push esi
call edi
test eax, eax
mov al, 1
jne 0x4d26e8
mov al, byte [ebp - 1]
pop edi
mov esp, ebp
pop ebp
ret
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x4d2700
Capabilities:
Get file size

Disassembly:
test eax, eax
jne 0x4d2705
ret
push esi
push 0
push eax
mov dword [ebx], 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4d2720
xor eax, eax
pop esi
ret
push edi
add esi, 2
push esi
call fcn.004d4853
mov edi, eax
add esp, 4
test edi, edi
jne 0x4d2736
pop edi
pop esi
ret
push esi
push 0
push edi
call fcn.004da450
add esp, 0xc
mov eax, edi
pop edi
mov dword [ebx], esi
pop esi
ret
Function at 0x4d4450
Capabilities:
Encrypt data using blowfish

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
mov dword [ebp - 4], 0
jmp 0x4d4469
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 4
jge 0x4d44b1
mov dword [ebp - 0x18], 0
jmp 0x4d4481
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 0x100
jge 0x4d44af
mov edx, dword [ebp - 4]
shl edx, 0xa
mov eax, dword [ebp - 4]
shl eax, 0xa
mov ecx, dword [ebp + 8]
lea eax, [ecx + eax + 0x48]
mov ecx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x18]
mov edx, dword [edx + esi*4 + 0x500668]
mov dword [eax + ecx*4], edx
jmp 0x4d4478
jmp 0x4d4460
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0
jmp 0x4d44ca
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x12
jge 0x4d4535
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
jmp 0x4d44e9
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 4
jge 0x4d451d
mov edx, dword [ebp - 0x14]
shl edx, 8
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 0x18]
movzx ecx, byte [eax]
or edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0x18]
add edx, 1
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp + 0x10]
jl 0x4d451b
mov dword [ebp - 0x18], 0
jmp 0x4d44e0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx*4 + 0x500620]
xor edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [ecx + eax*4], edx
jmp 0x4d44c1
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
jmp 0x4d4555
mov edx, dword [ebp - 4]
add edx, 2
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0x12
jge 0x4d458a
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004d4250
add esp, 0xc
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
mov dword [ecx + eax*4], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 8]
mov dword [ecx + eax*4 + 4], edx
jmp 0x4d454c
mov dword [ebp - 4], 0
jmp 0x4d459c
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 4
jge 0x4d4602
mov dword [ebp - 0x18], 0
jmp 0x4d45b4
mov ecx, dword [ebp - 0x18]
add ecx, 2
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 0x100
jge 0x4d4600
lea edx, [ebp - 8]
push edx
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004d4250
add esp, 0xc
mov edx, dword [ebp - 4]
shl edx, 0xa
mov eax, dword [ebp + 8]
lea ecx, [eax + edx + 0x48]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
mov dword [ecx + edx*4], eax
mov ecx, dword [ebp - 4]
shl ecx, 0xa
mov edx, dword [ebp + 8]
lea eax, [edx + ecx + 0x48]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 8]
mov dword [eax + ecx*4 + 4], edx
jmp 0x4d45ab
jmp 0x4d4593
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4d5564
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x5365f0]
jne 0x4d556e
repz ret
jmp fcn.004dd30b
Function at 0x4e2805
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x4e282c
call fcn.004d7695
mov dword [eax], esi
call fcn.004d7682
push 0x16
pop esi
mov dword [eax], esi
call fcn.004dd59b
mov eax, esi
jmp 0x4e2881
test dword [ebp + 0xc], 0xfffffff9
jne 0x4e2812
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4e2859
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004d76a8
pop ecx
call fcn.004d7682
mov eax, dword [eax]
jmp 0x4e2881
test al, 0x10
jne 0x4e287f
test al, 1
je 0x4e287f
test byte [ebp + 0xc], 2
je 0x4e287f
call fcn.004d7695
mov dword [eax], 5
call fcn.004d7682
mov dword [eax], 0xd
jmp 0x4e2850
xor eax, eax
pop esi
pop ebp
ret

Function at 0x4ec99d
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x5365f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004ddfc8
and dword [ebp - 0x14], 0
cmp dword [0x53992c], 0
mov dword [ebp - 0x18], eax
jne 0x4eca50
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4ecaf8
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x4ecaf8
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x53992c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x539930], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x539934], eax
call edi
push eax
call esi
mov dword [0x53993c], eax
test eax, eax
je 0x4eca50
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x539938], eax
mov eax, dword [0x539938]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4ecaa9
cmp dword [0x53993c], ecx
je 0x4ecaa9
push eax
call esi
push dword [0x53993c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4ecaa9
test ebx, ebx
je 0x4ecaa9
call edi
test eax, eax
je 0x4ecaa0
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4ecaa0
test byte [ebp - 8], 1
jne 0x4ecaa9
or dword [ebp + 0x10], 0x200000
jmp 0x4ecadc
mov eax, dword [0x539930]
cmp eax, dword [ebp - 0x18]
je 0x4ecadc
push eax
call esi
test eax, eax
je 0x4ecadc
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4ecadc
mov eax, dword [0x539934]
cmp eax, dword [ebp - 0x18]
je 0x4ecadc
push eax
call esi
test eax, eax
je 0x4ecadc
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x53992c]
call esi
test eax, eax
je 0x4ecaf8
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4ecafa
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004d5564
leave
ret