joyce8/EMBER2024-capa huggingface dataset:
Function at 0x438d60
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x438d6b
xor eax, eax
ret
push esi
mov esi, dword [esp + 8]
push edi
mov edi, dword [esp + 0x14]
cmp edi, 8
not esi
jb 0x438e67
push ebp
mov ebp, edi
shr ebp, 3
jmp 0x438d90
movzx edx, byte [ecx]
xor edx, esi
and edx, 0xff
add ecx, 1
mov eax, esi
shr eax, 8
xor eax, dword [edx*4 + 0x510878]
movzx edx, byte [ecx]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x510878]
movzx edx, byte [ecx + 1]
xor edx, eax
and edx, 0xff
add ecx, 1
shr eax, 8
xor eax, dword [edx*4 + 0x510878]
movzx edx, byte [ecx + 1]
xor edx, eax
add ecx, 1
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x510878]
movzx edx, byte [ecx + 1]
xor edx, eax
add ecx, 1
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x510878]
movzx edx, byte [ecx + 1]
xor edx, eax
add ecx, 1
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x510878]
movzx edx, byte [ecx + 1]
add ecx, 1
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x510878]
movzx edx, byte [ecx + 1]
add ecx, 1
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x510878]
add ecx, 1
sub edi, 8
sub ebp, 1
mov esi, eax
jne 0x438d90
pop ebp
test edi, edi
je 0x438e8c
jmp 0x438e70
movzx eax, byte [ecx]
xor eax, esi
and eax, 0xff
shr esi, 8
xor esi, dword [eax*4 + 0x510878]
add ecx, 1
sub edi, 1
jne 0x438e70
mov eax, esi
pop edi
not eax
pop esi
ret

Function at 0x438ea0
Capabilities:
Hash data with crc32

Disassembly:
mov edx, dword [esp + 4]
mov eax, dword [edx]
movzx ecx, byte [esp + 8]
xor ecx, eax
shr eax, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x510878]
xor ecx, eax
movzx eax, cl
add eax, dword [edx + 4]
mov dword [edx], ecx
mov ecx, dword [edx + 8]
imul eax, eax, 0x8088405
add eax, 1
mov dword [edx + 4], eax
shr eax, 0x18
xor eax, ecx
and eax, 0xff
shr ecx, 8
xor ecx, dword [eax*4 + 0x510878]
mov dword [edx + 8], ecx
ret

Function at 0x439400
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
mov edi, dword [esp + 0x1c]
mov esi, ebx
imul esi, dword [esp + 0x18]
cmp byte [edi], 0
je 0x439442
mov ecx, dword [esp + 0x10]
mov edx, dword [edi + 4]
push 0
lea eax, [esp + 0x18]
push eax
push esi
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x439436
mov byte [edi + 8], 1
mov eax, dword [esp + 0x14]
pop edi
xor edx, edx
pop esi
div ebx
pop ebx
ret
mov ecx, dword [edi + 0x1c]
mov eax, dword [edi + 0x18]
lea edx, [ecx + esi]
cmp edx, eax
jbe 0x439453
sub eax, ecx
mov esi, eax
mov eax, dword [edi + 0x14]
add eax, ecx
mov ecx, dword [esp + 0x10]
push esi
push eax
push ecx
call fcn.0046ed30
add dword [edi + 0x1c], esi
add esp, 0xc
pop edi
mov eax, esi
xor edx, edx
pop esi
div ebx
pop ebx
ret
Function at 0x43a670
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
sub esp, 0x414
mov eax, dword [0x548280]
xor eax, esp
mov dword [esp + 0x410], eax
push ebx
mov ebx, dword [esp + 0x420]
push edi
mov edi, dword [esp + 0x420]
test edi, edi
je 0x43a6ad
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x43a6ad
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
movzx eax, word [ebx]
test ax, ax
je 0x43a78a
mov ecx, ebx
mov edx, ebx
movzx eax, ax
cmp ax, 0x2f
je 0x43a6cc
cmp ax, 0x5c
jne 0x43a6ce
mov ecx, edx
movzx eax, word [edx + 2]
add edx, 2
test ax, ax
jne 0x43a6c0
cmp ecx, ebx
push esi
je 0x43a711
sub ecx, ebx
sar ecx, 1
add ecx, ecx
mov esi, ecx
push esi
lea eax, [esp + 0x218]
push ebx
push eax
call fcn.0046ed30
lea ecx, [esp + 0x220]
push ecx
push edi
mov word [esp + esi + 0x228], 0
call fcn.0043a670
add esp, 0x14
test edi, edi
mov word [esp + 0xc], 0
je 0x43a733
lea edx, [esp + 0xc]
mov eax, edi
sub edx, edi
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x43a724
mov eax, ebx
mov edx, ebx
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43a737
lea edi, [esp + 0xc]
sub eax, edx
add edi, 0xfffffffe
jmp 0x43a750
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x43a750
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea edx, [esp + 0xc]
and ecx, 3
push edx
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
pop esi
jne 0x43a78a
push 0
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [esp + 0x418]
pop edi
pop ebx
xor ecx, esp
call fcn.004632a9
add esp, 0x414
ret
Function at 0x43bfa0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 8
push ebx
push edi
mov edi, dword [esp + 0x14]
xor ebx, ebx
cmp edi, ebx
jne 0x43bfba
pop edi
mov eax, 0xffffff9a
pop ebx
add esp, 8
ret
cmp dword [edi + 0x18], ebx
je 0x43bfaf
cmp dword [edi + 0x7c], ebx
je 0x43bfcd
push edi
call fcn.00439f10
add esp, 4
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x14]
push edx
push edi
call fcn.00439d30
add esp, 0x10
test eax, eax
je 0x43bff4
pop edi
mov eax, 0xffffff99
pop ebx
add esp, 8
ret
push esi
push 0x84
call fcn.004698c8
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x43c035
push 0x4000
call fcn.004698c8
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
add esp, 4
cmp eax, ebx
mov dword [esi], eax
mov dword [esi + 0x44], ecx
mov dword [esi + 0x48], edx
mov dword [esi + 0x4c], ebx
jne 0x43c041
push esi
call fcn.00465474
add esp, 4
pop esi
pop edi
mov eax, 0xffffff98
pop ebx
add esp, 8
ret
mov dword [esi + 0x40], ebx
mov ecx, dword [edi + 0x3c]
xor eax, eax
cmp dword [edi + 0x34], ebx
mov dword [esi + 0x54], ecx
mov dword [esi + 0x50], ebx
mov edx, dword [edi + 0x34]
sete al
mov dword [esi + 0x64], edx
mov ecx, dword [edi]
mov dword [esi + 0x60], ecx
mov edx, dword [edi + 0xc]
mov dword [esi + 0x68], edx
mov dword [esi + 0x18], ebx
cmp eax, ebx
jne 0x43c08d
lea eax, [esi + 4]
push eax
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
call fcn.00439120
add esp, 4
test eax, eax
jne 0x43c08d
mov dword [esi + 0x40], 1
mov ecx, dword [edi + 0x40]
mov dword [esi + 0x58], ecx
mov edx, dword [edi + 0x44]
mov dword [esi + 0x5c], edx
mov al, byte [edi + 0x30]
and al, 1
mov byte [esi + 0x6c], al
mov ecx, dword [edi + 0x30]
shr ecx, 3
test cl, 1
je 0x43c0b7
mov dl, byte [edi + 0x39]
mov byte [esi + 0x80], dl
jmp 0x43c0c0
mov al, byte [edi + 0x3f]
mov byte [esi + 0x80], al
mov cl, byte [esi + 0x6c]
neg cl
push ebp
mov ebp, dword [esp + 0x20]
lea ebx, [esi + 0x70]
mov dword [ebx], 0x12345678
mov dword [esi + 0x74], 0x23456789
mov dword [esi + 0x78], 0x34567890
sbb ecx, ecx
and ecx, 0xc
test ebp, ebp
mov dword [esi + 0x7c], ecx
je 0x43c107
lea ecx, [ecx]
movzx eax, byte [ebp]
test al, al
je 0x43c107
push eax
push ebx
call fcn.00438ea0
add esp, 8
add ebp, 1
jne 0x43c0f0
mov edx, dword [edi + 0x78]
mov eax, dword [esp + 0x14]
lea ecx, [edx + eax + 0x1e]
pop ebp
mov dword [esi + 0x3c], ecx
mov dword [esi + 8], 0
mov dword [edi + 0x7c], esi
pop esi
pop edi
xor eax, eax
pop ebx
add esp, 8
ret
Function at 0x43c3a0
Capabilities:
Get common file path

Disassembly:
push ebx
mov ebx, ecx
cmp dword [ebx], 0
jne 0x43c475
cmp dword [ebx + 4], 0xffffffff
jne 0x43c475
push edi
lea edi, [ebx + 0x244]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov eax, edi
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43c3d0
sub eax, edx
sar eax, 1
movzx eax, word [ebx + eax*2 + 0x242]
cmp ax, 0x5c
je 0x43c409
cmp ax, 0x2f
je 0x43c409
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x43c3f6
mov eax, dword [0x5379fc]
mov dword [edi], eax
mov edi, dword [esp + 0x14]
cmp edi, 1
push esi
mov esi, dword [esp + 0x10]
jne 0x43c434
push 1
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x43c434
pop esi
pop edi
mov eax, 0x2000000
pop ebx
ret 0xc
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push ecx
push edi
push edx
push esi
call fcn.004391d0
add esp, 0x10
test eax, eax
jne 0x43c456
mov eax, dword [esp + 0x18]
pop esi
pop edi
pop ebx
ret 0xc
push eax
call fcn.0043bdd0
add esp, 4
mov dword [ebx], eax
neg eax
sbb eax, eax
pop esi
and eax, 0xfffffe00
pop edi
add eax, 0x200
pop ebx
ret 0xc
mov eax, 0x1000000
pop ebx
ret 0xc
Function at 0x446d60
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp byte [0x559081], 0
je 0x446ed6
push ebx
push esi
push edi
jmp 0x446d80
xor ebx, ebx
cmp byte [0x559081], 0
je 0x446ebe
movzx esi, bl
shl esi, 4
add esi, 0x55e7f0
mov al, byte [esi + 0xc]
test al, al
je 0x446eb1
movzx eax, al
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
cmp byte [esi + 0xd], 0
movzx eax, ax
jne 0x446e37
test eax, 0x8000
je 0x446eb1
mov edi, dword [0x55908c]
mov ecx, edi
mov edx, dword [esi]
mov byte [esi + 0xd], 1
mov eax, dword [edi + 4]
cmp byte [eax + 0xd], 0
jne 0x446e05
jmp 0x446de0
cmp dword [eax + 0x10], edx
jge 0x446dea
mov eax, dword [eax + 8]
jmp 0x446dee
mov ecx, eax
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
je 0x446de0
cmp ecx, edi
je 0x446e05
cmp edx, dword [ecx + 0x10]
jl 0x446e05
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
jmp 0x446e0b
mov dword [ebp - 8], edi
lea eax, [ebp - 8]
mov eax, dword [eax]
cmp eax, edi
je 0x446eb1
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0x446eb1
movzx edx, word [esi + 4]
movzx eax, byte [esi + 0xc]
shl edx, 0x10
push 0
or edx, eax
push edx
push 0x7e9
jmp 0x446ea2
test eax, 0x8000
jne 0x446eb1
mov edi, dword [0x55908c]
mov ecx, edi
mov edx, dword [esi]
mov byte [esi + 0xd], 0
mov eax, dword [edi + 4]
cmp byte [eax + 0xd], 0
jne 0x446e7a
cmp dword [eax + 0x10], edx
jge 0x446e5f
mov eax, dword [eax + 8]
jmp 0x446e63
mov ecx, eax
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
je 0x446e55
cmp ecx, edi
je 0x446e7a
cmp edx, dword [ecx + 0x10]
jl 0x446e7a
mov dword [ebp - 0xc], ecx
lea eax, [ebp - 0xc]
jmp 0x446e80
mov dword [ebp - 0x10], edi
lea eax, [ebp - 0x10]
mov eax, dword [eax]
cmp eax, edi
je 0x446eb1
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0x446eb1
movzx edx, word [esi + 4]
movzx eax, byte [esi + 0xc]
shl edx, 0x10
push 0
or edx, eax
push edx
push 0x7ea
mov eax, dword [ecx]
call dword [eax + 0xdc]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
inc ebx
cmp ebx, 0x100
jb 0x446d82
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [0x559081], 0
jne 0x446d80
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x448270
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2814
call fcn.00476ea0
mov eax, dword [0x548280]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x800
push eax
mov word [ebp - 0x808], ax
lea eax, [ebp - 0x806]
push eax
call fcn.0046f380
lea eax, [ebp - 0x808]
push 0
push eax
call fcn.0047fac0
lea eax, [ebp - 0x2810]
mov dword [ebp - 0x80c], 0
mov dword [ebp - 0x2814], eax
xor eax, eax
mov word [ebp - 0x2810], ax
lea eax, [ebp - 0x808]
push str.client.crk
push eax
lea eax, [ebp - 0x2814]
push 0x5379d0
push eax
call fcn.004461d0
lea eax, [ebp - 0x2810]
push 0
push eax
call fcn.00463c55
add esp, 0x2c
cmp eax, 0xffffffff
je 0x44830f
lea eax, [ebp - 0x2810]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
call fcn.004632a9
mov esp, ebp
pop ebp
ret
Function at 0x44a060
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4fb2f8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x548280]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
test esi, esi
jne 0x44a0aa
xor eax, eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
lea ecx, [esp + 0xc]
call fcn.0047d9c0
push 1
push 0x600000
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0
call fcn.0047da20
push dword [ebp + 0x14]
mov eax, dword [edi]
mov ecx, edi
push dword [esp + 0x14]
push dword [esp + 0x20]
call dword [eax + 0x34]
push eax
lea ecx, [esp + 0x10]
call fcn.0047dc40
push dword [esp + 0x14]
push dword [esp + 0x1c]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
call fcn.0047e8a0
mov esi, dword [esp + 0x28]
xor ecx, ecx
add esp, 0x14
mov dword [esp + 0x28], 0xffffffff
test al, al
cmove esi, ecx
lea ecx, [esp + 0xc]
call fcn.0047d9e0
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x44a130
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4fb2f8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
mov eax, dword [0x548280]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0xc]
call fcn.0047d9c0
push 0
push dword [ebp + 8]
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0
call fcn.0047dab0
test al, al
jne 0x44a184
xor bl, bl
jmp 0x44a197
mov eax, dword [esi]
mov ecx, esi
push dword [esp + 0x14]
push dword [esp + 0x1c]
mov eax, dword [eax + 0x30]
call eax
mov bl, al
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.0047d9e0
mov al, bl
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x44a1c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4fb2f8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
mov eax, dword [0x548280]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0xc]
call fcn.0047d9c0
push 1
push 0x600000
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0
call fcn.0047da20
push dword [ebp + 0xc]
mov eax, dword [esi]
mov ecx, esi
push dword [esp + 0x14]
push dword [esp + 0x20]
call dword [eax + 0x34]
push eax
lea ecx, [esp + 0x10]
call fcn.0047dc40
push 0
push dword [ebp + 8]
lea ecx, [esp + 0x14]
call fcn.0047dba0
mov esi, dword [esp + 0x14]
xor ecx, ecx
test al, al
mov dword [esp + 0x28], 0xffffffff
cmove esi, ecx
lea ecx, [esp + 0xc]
call fcn.0047d9e0
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x44dcf0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, ecx
push dword [edi + 8]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x44dd09
pop edi
mov esp, ebp
pop ebp
ret
mov eax, dword [edi]
mov ecx, edi
push ebx
push esi
mov byte [edi + 0x61], 1
call dword [eax + 0xe0]
mov esi, eax
test esi, esi
jne 0x44dd29
mov esi, dword [0x55f808]
test esi, esi
je 0x44dd37
cmp esi, dword [edi + 8]
je 0x44dd37
push 0
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
push esi
call dword [sym.imp.USER32.dll_GetParent]
mov ebx, dword [sym.imp.USER32.dll_BringWindowToTop]
push esi
test eax, eax
je 0x44dd4d
call ebx
jmp 0x44dd53
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 5
push dword [edi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi + 8]
call ebx
push dword [edi + 8]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x240]
push 0
push dword [edi + 8]
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x44ddc9
test esi, esi
je 0x44ddc9
push 1
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
push 5
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
push esi
call dword [sym.imp.USER32.dll_SetFocus]
push esi
call dword [sym.imp.USER32.dll_GetParent]
push esi
test eax, eax
je 0x44ddc3
call ebx
jmp 0x44ddc9
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, dword [ebp - 4]
pop esi
pop ebx
cmp eax, 0x12
jne 0x44dde3
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov eax, dword [edi + 0x64]
pop edi
mov esp, ebp
pop ebp
ret
cmp eax, 2
jne 0x44ddef
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x30]
mov eax, dword [edi + 0x64]
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x458150
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4fb298
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x548280]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov edi, ecx
lea ecx, [esp + 0x14]
call fcn.0047d9c0
push 1
push 0x9c4000
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0
call fcn.0047da20
push dword [esp + 0x18]
mov esi, dword [esp + 0x24]
push 0
push esi
call fcn.0046f380
push esi
push 2
call fcn.0047e550
mov ecx, dword [esp + 0x2c]
add esp, 0x14
mov edx, dword [edi]
add eax, esi
shr ecx, 1
push ecx
push eax
mov ecx, edi
call dword [edx + 0xc]
add eax, eax
lea ecx, [esp + 0x14]
push eax
call fcn.0047dc40
push 0
push dword [ebp + 8]
lea ecx, [esp + 0x1c]
call fcn.0047dba0
test al, al
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0x14]
setne bl
call fcn.0047d9e0
mov al, bl
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x458480
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1014
call fcn.00476ea0
mov eax, dword [0x548280]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
jne 0x4584b5
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004632a9
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ecx]
push edx
call dword [eax + 0x1c]
test eax, eax
je 0x4584a2
push eax
lea ecx, [ebp - 0x1010]
mov dword [ebp - 0x80c], 0
push esi
mov dword [ebp - 0x1014], ecx
lea eax, [ebp - 0x1014]
xor ecx, ecx
push 0x5379d0
push eax
mov word [ebp - 0x1010], cx
call fcn.00445f30
add esp, 0x10
lea eax, [ebp - 0x1010]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
je 0x458525
lea eax, [ebp - 0x1010]
push eax
call fcn.0047fe50
add esp, 4
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004632a9
mov esp, ebp
pop ebp
ret 8
xor eax, eax
push 0x800
push eax
mov word [ebp - 0x808], ax
lea eax, [ebp - 0x806]
push eax
call fcn.0046f380
add esp, 0xc
lea eax, [ebp - 0x808]
push 0x400
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x458588
lea eax, [ebp - 0x1010]
push eax
lea eax, [ebp - 0x808]
push eax
call fcn.00464fe3
add esp, 8
test eax, eax
jne 0x458588
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004632a9
mov esp, ebp
pop ebp
ret 8
push 0
lea eax, [ebp - 0x1010]
push 0
push eax
call fcn.00480430
mov ecx, dword [ebp - 4]
add esp, 0xc
xor ecx, ebp
pop esi
call fcn.004632a9
mov esp, ebp
pop ebp
ret 8
Function at 0x45aac0
Capabilities:
Get file attributes
Move file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1824
call fcn.00476ea0
mov eax, dword [0x548280]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, ecx
test ebx, ebx
je 0x45acad
test esi, esi
je 0x45acad
mov eax, dword [esi]
test eax, eax
jne 0x45ab38
mov eax, dword [edi]
push esi
push ebx
mov eax, dword [eax + 0x28]
call eax
test al, al
jne 0x45ab1a
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004632a9
mov esp, ebp
pop ebp
ret 8
mov eax, dword [edi]
mov ecx, edi
push esi
push ebx
mov eax, dword [eax + 0x24]
call eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004632a9
mov esp, ebp
pop ebp
ret 8
cmp eax, 1
jne 0x45ab05
add esi, 0x4e
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45ab45
sub ecx, edx
sar ecx, 1
je 0x45acad
lea eax, [ebp - 0x1010]
mov dword [ebp - 0x80c], 0
mov dword [ebp - 0x1014], eax
xor eax, eax
push esi
push ebx
mov word [ebp - 0x1010], ax
lea eax, [ebp - 0x1014]
push 0x5379d0
push eax
call fcn.00445f30
add esp, 0x10
lea eax, [ebp - 0x1010]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
je 0x45abc2
lea eax, [ebp - 0x1010]
push eax
call fcn.0047fe50
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004632a9
mov esp, ebp
pop ebp
ret 8
xor eax, eax
push 0x800
push eax
mov word [ebp - 0x808], ax
lea eax, [ebp - 0x806]
push eax
call fcn.0046f380
add esp, 0xc
lea eax, [ebp - 0x808]
push 0x400
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x45ac16
lea eax, [ebp - 0x1010]
push eax
lea eax, [ebp - 0x808]
push eax
call fcn.00464fe3
add esp, 8
test eax, eax
je 0x45acad
push 0
lea eax, [ebp - 0x1010]
push 0
push eax
call fcn.00480430
add esp, 0xc
test al, al
jne 0x45acaf
push str._bak
lea eax, [ebp - 0x181c]
mov dword [ebp - 0x1018], 0
sub esp, 0x80c
mov dword [ebp - 0x1820], eax
xor eax, eax
lea esi, [ebp - 0x1014]
mov edi, esp
mov word [ebp - 0x181c], ax
lea eax, [ebp - 0x1820]
mov ecx, 0x203
push 0x5379d0
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.00445f30
add esp, 0x818
lea eax, [ebp - 0x181c]
push eax
lea eax, [ebp - 0x1010]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
setne al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004632a9
mov esp, ebp
pop ebp
ret 8
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004632a9
mov esp, ebp
pop ebp
ret 8