joyce8/EMBER2024-capa huggingface dataset:
Function at 0x425dc2
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4f6b10]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [fcn.0041ad7e]
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.0041f38e
mov dword [ebp - 0x14], eax
cmp dword [0x4fcb78], edi
jne 0x425eb3
push 0x800
push edi
push 0x42d298
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x425e40
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x425f93
push 0x42d298
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x425f93
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x425f93
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x4fcb78], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x4fcb7c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x4fcb80], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4fcb88], eax
test eax, eax
je 0x425eb0
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4fcb84], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x425ed8
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x425ecb
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x425eed
push 4
pop eax
jmp 0x425f95
cmp dword [ebp - 0x14], edi
je 0x425eed
push dword [0x4fcb78]
call dword [fcn.0041ad82]
push 3
jmp 0x425ed2
mov eax, dword [0x4fcb84]
mov ebx, dword [fcn.0041ad82]
cmp eax, esi
je 0x425f4b
cmp dword [0x4fcb88], esi
je 0x425f4b
push eax
call ebx
push dword [0x4fcb88]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x425f4b
test eax, eax
je 0x425f4b
call ecx
test eax, eax
je 0x425f40
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 0x425f40
test byte [ebp - 8], 1
jne 0x425f4b
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x425f7b
mov eax, dword [0x4fcb7c]
cmp eax, esi
je 0x425f78
push eax
call ebx
test eax, eax
je 0x425f78
call eax
mov edi, eax
test edi, edi
je 0x425f78
mov eax, dword [0x4fcb80]
cmp eax, esi
je 0x425f78
push eax
call ebx
test eax, eax
je 0x425f78
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x4fcb78]
call ebx
test eax, eax
je 0x425f93
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x425f95
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041f0ef
leave
ret
Function at 0x468b3c
Capabilities:
Get common file path
Set current directory

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004689b3

Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
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 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
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 + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x40810b
sub esp, 0xffffff80
jmp 0x402130
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp int.00401219
Function at 0x10006720
Capabilities:
Delete file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x10040938
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
mov ebx, ecx
push ebp
xor ebp, ebp
cmp dword [ebx + 0x594], ebp
je 0x1000689f
mov eax, dword [ebx + 0x158]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, ebp
push edi
je 0x1000675f
push eax
call esi
lea eax, [ebx + 0x15c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebx + 0x134]
call fcn.1000b010
mov eax, dword [ebx + 0x2c]
cmp eax, ebp
je 0x10006781
push eax
call esi
lea ecx, [ebx + 8]
call fcn.1000b010
mov edi, 0x1004c128
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebx + 0x30]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [ebx + 0x284]
cmp edx, ebp
je 0x100067ea
mov ecx, dword [edx + 0x20]
lea eax, [edx + 0x20]
cmp edx, ecx
je 0x100067e1
mov edx, dword [ecx + 0x20]
cmp ecx, ebp
mov dword [eax], edx
je 0x100067d1
mov eax, dword [ecx]
push 1
call dword [eax]
mov edx, dword [ebx + 0x284]
mov ecx, dword [edx + 0x20]
lea eax, [edx + 0x20]
cmp edx, ecx
jne 0x100067c2
mov eax, dword [ebx + 0x284]
mov dword [eax + 0x24], eax
mov dword [ebx + 0x260], ebp
mov dword [ebx + 0x590], ebp
lea esi, [ebx + 0x290]
mov edi, 0x40
lea ecx, [esi + 4]
push ecx
call fcn.100040a0
mov eax, esi
xor edx, edx
add esp, 4
add esi, 0xc
mov dword [eax], edx
dec edi
mov dword [eax + 4], edx
mov dword [eax + 8], edx
jne 0x10006801
mov ecx, dword [ebx + 0x284]
pop edi
mov dword [ebx + 0x27c], ecx
mov ecx, dword [ebx + 0x598]
cmp ecx, ebp
mov dword [ebx + 0x28c], ebp
mov dword [ebx + 0x59c], ebp
mov dword [ebx + 0x280], ebp
pop esi
je 0x1000684f
mov edx, dword [ecx]
push 3
call dword [edx]
mov eax, dword [ebx + 0x6bc]
mov dword [ebx + 0x598], ebp
cmp eax, ebp
mov dword [ebx + 0x5a0], ebp
mov dword [ebx + 0x6a8], ebp
je 0x1000689f
lea ecx, [esp + 8]
call fcn.1000a400
mov eax, dword [ebx + 0x6bc]
lea ecx, [esp + 8]
push eax
mov dword [esp + 0x2c], ebp
call fcn.1000a5b0
lea ecx, [esp + 8]
mov dword [ebx + 0x6bc], ebp
mov dword [esp + 0x28], 0xffffffff
call fcn.1000a440
mov ecx, dword [esp + 0x20]
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret

Function at 0x10007310
Capabilities:
Delete file

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov esi, ecx
push edi
call fcn.10012080
add esp, 4
test eax, eax
jne 0x10007331
call fcn.100120a0
pop edi
xor eax, eax
pop esi
ret 4
mov eax, dword [esi + 0x590]
test eax, eax
jne 0x10007353
lea eax, [esi + 0x30]
push eax
push edi
call fcn.10036180
add esp, 8
test eax, eax
jne 0x10007353
mov ecx, esi
call fcn.10006720
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x1000736a
call fcn.100120a0
pop edi
xor eax, eax
pop esi
ret 4
pop edi
mov eax, 1
pop esi
ret 4
Function at 0x10007d90
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
test ebx, ebx
je 0x10007dec
mov eax, dword [esp + 0x10]
test eax, eax
je 0x10007dec
xor edi, edi
push edi
push 0x10000080
push 3
push edi
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x10007dec
lea eax, [esp + 0x14]
push edi
push eax
push 0x11c
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10007ddf
mov edi, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
xor eax, eax
pop ebx
ret
Function at 0x10008d80
Capabilities:
Move file

Disassembly:
sub esp, 0x104
xor eax, eax
lea edx, [esp]
push ebx
push ebp
mov ebp, ecx
push esi
push edi
or ecx, 0xffffffff
lea edi, [ebp + 0x30]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x118]
lea esi, [esp + 0x10]
mov eax, edi
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x10008de5
test cl, cl
je 0x10008de1
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x10008de5
add eax, 2
add esi, 2
test cl, cl
jne 0x10008dbd
xor eax, eax
jmp 0x10008dea
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x10008e00
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x104
ret 4
mov eax, dword [ebp + 0x590]
test eax, eax
je 0x10008e1f
push edi
mov ecx, ebp
call fcn.10008ea0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x104
ret 4
mov eax, dword [ebp + 0x260]
test eax, eax
je 0x10008e32
push 0
mov ecx, ebp
call fcn.10008ea0
mov ecx, ebp
call fcn.10006720
lea eax, [esp + 0x10]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
je 0x10008e71
mov esi, dword [ebp + 0x6c0]
xor ecx, ecx
test esi, esi
sete cl
push ecx
push edi
mov ecx, ebp
call fcn.10007e00
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x104
ret 4
mov edi, dword [ebp + 0x6c0]
xor edx, edx
test edi, edi
sete dl
lea eax, [esp + 0x10]
push edx
push eax
mov ecx, ebp
call fcn.10007e00
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x104
ret 4
Function at 0x10009860
Capabilities:
Get common file path

Disassembly:
sub esp, 0x208
mov edx, ecx
or ecx, 0xffffffff
xor eax, eax
push ebx
push esi
push edi
mov edi, 0x1004c128
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea ebx, [esp + 0xc]
mov eax, ecx
mov esi, edi
mov edi, ebx
add edx, 0x5a4
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x100098c6
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea ebx, [esp + 0xc]
mov edx, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x10046c28
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x110]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0xc]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
pop edi
dec ecx
pop esi
pop ebx
jne 0x10009912
lea ecx, [esp]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov edx, dword [esp + 0x20c]
lea eax, [esp + 0x104]
push edx
push 0
lea ecx, [esp + 8]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
add esp, 0x208
ret 4

Function at 0x1000a240
Capabilities:
Read file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
push ebp
push esi
push edi
mov edi, dword [esp + 0x18]
mov ebp, ecx
lea eax, [esp + 0x10]
push 0
push eax
lea ecx, [esp + 0x20]
push 4
push ecx
push edi
call ebx
test eax, eax
jne 0x1000a275
call fcn.100120a0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret 4
mov eax, dword [esp + 0x18]
test eax, eax
je 0x1000a2db
lea esi, [ebp + 4]
push eax
push esi
call fcn.100040c0
add esp, 8
test eax, eax
jne 0x1000a296
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 4
push esi
call fcn.10004120
add esp, 4
test eax, eax
jne 0x1000a2ab
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 4
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x10]
push 0
push edx
push ecx
push eax
push edi
call ebx
test eax, eax
jne 0x1000a2ce
call fcn.100120a0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret 4
push esi
call fcn.10004140
mov eax, dword [esp + 0x1c]
add esp, 4
pop edi
mov dword [ebp + 8], eax
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret 4
Function at 0x1000a2f0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x14]
push ebx
xor ebx, ebx
push esi
cmp eax, ebx
push edi
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ebx
je 0x1000a31a
add ecx, 4
push ecx
call fcn.10004160
add esp, 4
mov dword [esp + 0x20], eax
jmp 0x1000a31e
mov dword [esp + 0x20], ebx
mov edi, dword [esp + 0x1c]
push 1
push ebx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov esi, eax
cmp esi, 0xffffffff
jne 0x1000a344
call fcn.100120a0
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0xc
ret 8
mov eax, dword [esp + 0x20]
push ebp
push ebx
lea ecx, [esi + eax + 4]
push ecx
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LockFile]
mov ebp, dword [sym.imp.KERNEL32.dll_WriteFile]
lea edx, [esp + 0x18]
push ebx
push edx
lea eax, [esp + 0x2c]
push 4
push eax
push edi
call ebp
test eax, eax
jne 0x1000a379
call fcn.100120a0
jmp 0x1000a3ba
mov eax, dword [esp + 0x24]
test eax, eax
je 0x1000a3b2
mov ecx, dword [esp + 0x10]
add ecx, 4
push ecx
call fcn.10004120
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x1000a3ba
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x18]
push 0
push edx
push eax
push ebx
push edi
call ebp
test eax, eax
jne 0x1000a3b2
call fcn.100120a0
jmp 0x1000a3ba
mov dword [esp + 0x14], 1
mov ecx, dword [esp + 0x24]
push 0
lea edx, [esi + ecx + 4]
push edx
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_UnlockFile]
test ebx, ebx
pop ebp
je 0x1000a3e4
mov eax, dword [esp + 0xc]
add eax, 4
push eax
call fcn.10004140
add esp, 4
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebx
add esp, 0xc
ret 8
Function at 0x1000a650
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10041448
push 0x10035ce8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
mov esi, ecx
push str.MUTEX_ArcAbmFileOpenedLog
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [esi + 4], eax
test eax, eax
jne 0x1000a69c
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x1388
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1000a6d1
cmp eax, 0x80
je 0x1000a6be
cmp eax, 0x102
jne 0x1000a779
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 0
xor ebx, ebx
mov dword [ebp - 0x20], ebx
push str.ArcAbmFileOpenedLog
push 0x10800
push ebx
push 4
push ebx
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov dword [esi + 8], eax
test eax, eax
jne 0x1000a71b
push 0xffffffffffffffff
lea eax, [ebp - 0x10]
push eax
call fcn.100354fa
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1000a730
mov ebx, 1
mov dword [ebp - 0x20], ebx
push 0
push 0
push 0
push 0xf001f
mov ecx, dword [esi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
mov dword [esi + 0x14], edi
test edi, edi
je 0x1000a76d
mov dword [esi + 0x10], edi
lea edx, [edi + 4]
mov dword [esi + 0xc], edx
test ebx, ebx
jne 0x1000a76d
mov ecx, 0x4200
xor eax, eax
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0x10]
mov dword [eax], 1
mov dword [ebp - 4], 0xffffffff
call fcn.1000a78f
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000ab10
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x10
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 4]
test eax, eax
jne 0x1000ab2b
call fcn.100120a0
pop esi
xor eax, eax
pop ebx
add esp, 0x10
ret
mov eax, dword [esi + 0x24]
push 1
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ebx, eax
cmp ebx, 0xffffffff
mov dword [esp + 0xc], ebx
jne 0x1000ab53
call fcn.100120a0
pop esi
xor eax, eax
pop ebx
add esp, 0x10
ret
mov eax, dword [esi + 8]
push ebp
lea ebp, [esi + 8]
mov ecx, dword [esi + 0x24]
lea eax, [eax + eax*2]
push edi
shl eax, 2
push 0
lea eax, [eax + ebx + 0xc]
push eax
push 0
push ebx
push ecx
mov dword [esp + 0x30], eax
call dword [sym.imp.KERNEL32.dll_LockFile]
mov eax, dword [esi + 0x24]
lea edx, [esp + 0x18]
push 0
push edx
push 0xc
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edi, eax
mov eax, dword [esp + 0x18]
cmp eax, 0xc
jne 0x1000ac85
test edi, edi
je 0x1000ac85
mov eax, dword [ebp]
xor ebx, ebx
test eax, eax
jle 0x1000ac5a
xor edi, edi
mov dword [esp + 0x10], edi
jmp 0x1000abbd
mov edi, dword [esp + 0x10]
mov ecx, dword [esi + 0x20]
add ecx, 0x14
cmp ebx, ecx
jl 0x1000ac24
cmp edi, 0xc00000
jg 0x1000ac1f
mov eax, 0x66666667
imul ebx
sar edx, 3
mov eax, edx
shr eax, 0x1f
lea eax, [edx + eax + 1]
lea eax, [eax + eax*4]
shl eax, 2
cmp eax, 0x100000
mov dword [esi + 0x20], eax
jle 0x1000abf9
mov dword [esi + 0x20], 0xfffec
mov eax, dword [esi + 0x20]
mov edx, dword [esi + 0x14]
sub eax, 0x14
push 4
push 0x1000
push 0x1e0
lea ecx, [eax + eax*2]
lea eax, [edx + ecx*4]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x1000ac24
call fcn.100120a0
mov edx, dword [esi + 0x14]
mov eax, dword [esi + 0x24]
lea ecx, [esp + 0x18]
push 0
push ecx
add edx, edi
push 0xc
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edi, eax
test edi, edi
je 0x1000ac7c
mov ecx, dword [esp + 0x10]
mov eax, dword [ebp]
inc ebx
add ecx, 0xc
cmp ebx, eax
mov dword [esp + 0x10], ecx
jl 0x1000abb9
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esi + 0x24]
push 0
push ecx
push 0
push ebx
push edx
call dword [sym.imp.KERNEL32.dll_UnlockFile]
mov eax, edi
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x10
ret
call fcn.100120a0
xor edi, edi
jmp 0x1000ac5a
call fcn.100120a0
xor edi, edi
jmp 0x1000ac5e
Function at 0x1000ac90
Capabilities:
Read file on windows

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 4]
test eax, eax
jne 0x1000acab
call fcn.100120a0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
mov ecx, dword [esi + 0x24]
lea eax, [esp + 0x10]
push 0
lea ebx, [esi + 8]
push eax
push 0xc
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1000acd3
call fcn.100120a0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
mov eax, dword [ebx]
xor edi, edi
test eax, eax
jle 0x1000ad7c
mov ebp, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
xor ebx, ebx
mov edx, dword [esi + 0x20]
add edx, 0x14
cmp edi, edx
jl 0x1000ad4a
cmp ebx, 0xc00000
jg 0x1000ad45
mov eax, 0x66666667
imul edi
sar edx, 3
mov eax, edx
shr eax, 0x1f
lea eax, [edx + eax + 1]
lea eax, [eax + eax*4]
shl eax, 2
cmp eax, 0x100000
mov dword [esi + 0x20], eax
jle 0x1000ad23
mov dword [esi + 0x20], 0xfffec
mov eax, dword [esi + 0x20]
mov edx, dword [esi + 0x14]
sub eax, 0x14
push 4
push 0x1000
push 0x1e0
lea ecx, [eax + eax*2]
lea eax, [edx + ecx*4]
push eax
call ebp
test eax, eax
jne 0x1000ad4a
call fcn.100120a0
mov eax, dword [esi + 0x24]
lea ecx, [esp + 0x10]
push 0
push ecx
mov ecx, dword [esi + 0x14]
mov edx, ebx
add edx, ecx
push 0xc
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1000acc6
mov eax, dword [esi + 8]
inc edi
add ebx, 0xc
cmp edi, eax
jl 0x1000ace7
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret
Function at 0x1000cf60
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 8
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0xc]
test eax, eax
je case.0x1000d041.25
test byte [esi + 0x40], 0x80
jne case.0x1000d041.25
mov ebp, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
call ebp
test al, 0xf0
je 0x1000cf97
mov cl, byte [esi + 0x40]
mov eax, 1
test al, cl
jne 0x1000cf99
xor eax, eax
mov ecx, dword [0x1004c4b8]
test ecx, ecx
je 0x1000d029
call fcn.10011240
mov esi, eax
call fcn.1000cf30
test eax, eax
je case.0x1000d041.25
test esi, esi
je case.0x1000d041.25
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je case.0x1000d041.25
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je case.0x1000d041.25
lea ecx, [esp + 0xc]
push ecx
push esi
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je case.0x1000d041.25
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
and edx, 0xffff
and eax, 0xffff
shl edx, 0x10
or edx, eax
push edx
push 0
push 0x200
push esi
call dword [sym.imp.USER32.dll_SendMessageA]
pop edi
pop esi
pop ebp
add esp, 8
ret 0xc
mov edi, dword [esp + 0x1c]
lea ecx, [edi - 0x10]
cmp ecx, 0x5e
ja case.0x1000d041.25
xor edx, edx
mov dl, byte [ecx + 0x1000d140]
jmp dword [edx*4 + 0x1000d118]
cmp dword [esi + 0x3c], 0xffffffff
jne case.0x1000d041.25
mov eax, dword [esi + 0x38]
pop edi
mov dword [esi + 0x3c], eax
pop esi
pop ebp
add esp, 8
ret 0xc
test eax, eax
jne case.0x1000d041.21
push eax
push 2
push 0x115
mov ecx, esi
call sym.AlbumBase.dll_protected_virtual:_void___thiscall_CAbmMan::OnScroll_unsigned_int__unsigned_int__long_int_
push 0
push edi
mov ecx, esi
call sym.AlbumBase.dll_private:_void___thiscall_CAbmMan::DoLRUD_unsigned_int__int_
pop edi
pop esi
pop ebp
add esp, 8
ret 0xc
test eax, eax
jne case.0x1000d041.21
push eax
push 3
jmp 0x1000d068
test eax, eax
jne case.0x1000d041.21
push eax
push 6
jmp 0x1000d068
test eax, eax
jne case.0x1000d041.21
push eax
push 7
jmp 0x1000d068
push eax
push edi
mov ecx, esi
call sym.AlbumBase.dll_private:_void___thiscall_CAbmMan::DoLRUD_unsigned_int__int_
pop edi
pop esi
pop ebp
add esp, 8
ret 0xc
mov eax, dword [esi + 0x6c]
test eax, eax
jne case.0x1000d041.25
push 0
push esi
push 0x46a
push 0
call dword [sym.imp.USER32.dll_SendMessageA]
pop edi
pop esi
pop ebp
add esp, 8
ret 0xc
push 0x10
call ebp
mov ecx, dword [esi + 0x6c]
push 0
push esi
push 0x46a
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
pop edi
pop esi
pop ebp
add esp, 8
ret 0xc
push 0x11
call ebp
test al, 0xf0
je case.0x1000d041.25
mov edx, dword [esi + 0x6c]
push 0
push esi
push 0x46a
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
pop edi
pop esi
pop ebp
add esp, 8
ret 0xc