joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40c2b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44b116
mov eax, dword fs:[0]
push eax
sub esp, 0x354
mov eax, dword [0x458050]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi]
xor ecx, ecx
mov dword [edi + 4], 0
mov word [eax], cx
cmp byte [0x45a151], cl
jne 0x40c35a
lea eax, [ebp - 0x128]
push eax
push 0x114
mov byte [ebp - 0x128], cl
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
test eax, eax
je 0x40c40d
cmp eax, 0x114
jae 0x40c40d
lea edx, [ebp - 0x128]
lea ecx, [ebp - 0x360]
mov byte [ebp - 0x14], 0
call fcn.004097b0
mov dword [ebp - 4], 0
push eax
mov ecx, edi
call fcn.00409300
push dword [ebp - 0x360]
call fcn.0043f238
add esp, 4
mov al, 1
jmp 0x40c40f
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
xor eax, eax
mov word [ebp - 0x354], ax
lea eax, [ebp - 0x354]
push eax
push 0x114
call ebx
mov esi, eax
test esi, esi
je 0x40c40d
cmp esi, 0x114
jae 0x40c3a4
xor eax, eax
mov word [ebp - 0x12c], ax
lea eax, [ebp - 0x354]
push eax
mov ecx, edi
call fcn.00409280
mov al, 1
jmp 0x40c40f
lea ecx, [ebp - 0x360]
call fcn.00409120
mov dword [ebp - 4], 1
cmp esi, dword [ebp - 0x358]
jbe 0x40c3ca
push esi
lea ecx, [ebp - 0x360]
call fcn.00408f20
push dword [ebp - 0x360]
push esi
call ebx
mov ebx, eax
test ebx, ebx
je 0x40c3ff
push esi
lea ecx, [ebp - 0x360]
call fcn.0040b7f0
cmp dword [ebp - 0x35c], ebx
jne 0x40c3ff
lea eax, [esi - 1]
cmp eax, ebx
jne 0x40c3ff
lea eax, [ebp - 0x360]
jmp 0x40c33d
push dword [ebp - 0x360]
call fcn.0043f238
add esp, 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043e8e6
mov esp, ebp
pop ebp
ret
Function at 0x40c4b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44b14b
mov eax, dword fs:[0]
push eax
sub esp, 0x354
mov eax, dword [0x458050]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp byte [0x45a151], 0
jne 0x40c53a
lea eax, [ebp - 0x128]
push eax
push 0x114
mov byte [ebp - 0x128], 0
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea edx, [ebp - 0x128]
lea ecx, [ebp - 0x360]
mov edi, eax
call fcn.004097b0
push eax
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.00409300
mov dword [ebp - 4], 0xffffffff
push dword [ebp - 0x360]
call fcn.0043f238
add esp, 4
jmp 0x40c565
xor eax, eax
mov word [ebp - 0x354], ax
lea eax, [ebp - 0x354]
push eax
push 0x114
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edi, eax
lea eax, [ebp - 0x354]
push eax
mov ecx, esi
call fcn.00409280
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x40c5a1
mov eax, dword [esi]
movzx eax, word [eax + ecx*2 - 2]
cmp eax, 0x5c
je 0x40c5a1
cmp eax, 0x2f
je 0x40c5a1
cmp dword [esi + 8], ecx
jne 0x40c589
mov ecx, esi
call fcn.00408f90
mov ecx, dword [esi + 4]
mov eax, dword [esi]
mov edx, 0x5c
mov word [eax + ecx*2], dx
inc ecx
xor edx, edx
mov word [eax + ecx*2], dx
mov dword [esi + 4], ecx
test edi, edi
je 0x40c5b1
cmp edi, 0x114
jae 0x40c5b1
mov al, 1
jmp 0x40c5b3
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043e8e6
mov esp, ebp
pop ebp
ret
Function at 0x40cfb0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0x45a151], 0
jne 0x40cfe6
mov edx, ecx
push esi
lea ecx, [ebp - 0xc]
call fcn.004096f0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push dword [ebp - 0xc]
mov esi, eax
call fcn.0043f238
add esp, 4
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
or ecx, 0xffffffff
cmp eax, 0xffffffff
cmovne ecx, eax
mov eax, ecx
mov esp, ebp
pop ebp
ret

Function at 0x40d9f0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 4], ecx
mov dword [ebx], 0
mov edx, 0x400000
mov edi, edi
push 0
lea eax, [ebp + 0x10]
push eax
mov eax, esi
cmp esi, 0x400000
cmova eax, edx
push eax
push edi
push dword [ecx]
mov dword [ebp + 0x10], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp + 0x10]
add dword [ebx], ecx
test eax, eax
je 0x40da58
test ecx, ecx
je 0x40da4d
add edi, ecx
sub esi, ecx
mov ecx, dword [ebp - 4]
mov edx, 0x400000
jne 0x40da10
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 0xc
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x40da70
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 4], ecx
mov dword [ebx], 0
mov edx, 0x400000
mov edi, edi
push 0
mov eax, esi
cmp esi, 0x400000
cmova eax, edx
lea edx, [ebp + 0x10]
push edx
push eax
push edi
push dword [ecx]
mov dword [ebp + 0x10], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp + 0x10]
add dword [ebx], ecx
test eax, eax
je 0x40dad8
test ecx, ecx
je 0x40dacd
add edi, ecx
sub esi, ecx
mov ecx, dword [ebp - 4]
mov edx, 0x400000
jne 0x40da90
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 0xc
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x41aae0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push edi
mov edi, ecx
mov esi, 1
mov eax, dword [edi + 4]
test eax, eax
je 0x41ab04
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
jmp 0x41ab15
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [edi + 4], eax
test eax, eax
jne 0x41ab2f
call ebx
test eax, eax
mov ecx, esi
cmovne ecx, eax
test ecx, ecx
je 0x41ab2f
pop edi
pop esi
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 8]
test eax, eax
je 0x41ab3f
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
jmp 0x41ab50
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [edi + 8], eax
test eax, eax
jne 0x41ab61
call ebx
test eax, eax
mov ecx, esi
cmovne ecx, eax
test ecx, ecx
jne 0x41ab26
cmp dword [edi + 0xc], 0
mov byte [edi + 0x10], 0
je 0x41ab74
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 4]
push eax
push 0
push edi
push 0x41aa90
push 0
push 0
call fcn.0043eecd
add esp, 0x18
mov dword [edi + 0xc], eax
test eax, eax
je 0x41ab9e
xor esi, esi
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call ebx
test eax, eax
cmovne esi, eax
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x420940
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44c247
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x458050]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 0x10], 0
mov dword [esi], 0x45322c
mov dword [esi + 4], 0x4531f8
mov dword [esi + 8], 0x45320c
mov dword [esi + 0xc], 0x4531e4
mov byte [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [ebp - 4], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov byte [ebp - 4], 2
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
push 8
mov dword [esi + 0x44], 0
call fcn.0043f0fa
xor ecx, ecx
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 3
mov word [eax], cx
mov byte [ebp - 4], 3
push 8
mov dword [esi + 0x50], ecx
call fcn.0043f0fa
xor ecx, ecx
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], 0
mov dword [esi + 0x58], 3
add esp, 8
mov word [eax], cx
lea ecx, [esi + 0x60]
mov byte [ebp - 4], 4
call fcn.0040ba90
mov dword [esi + 0x98], 0
mov dword [esi + 0x9c], 0
mov dword [esi + 0xa0], 0
mov dword [esi + 0xa4], 0xffffffff
mov dword [esi + 0xa8], 0xffffffff
mov dword [esi + 0xac], 0
mov dword [esi + 0xb0], 0x54fffc
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x422f20
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44c28e
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x458050]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 2
push dword [esi + 0xcc]
call fcn.0043f238
push dword [esi + 0xc0]
call fcn.0043f238
push dword [esi + 0x9c]
call fcn.0043f238
push dword [esi + 0x90]
call fcn.0043f238
push dword [esi + 0x30]
call fcn.0043f238
push dword [esi + 0x24]
call fcn.0043f238
push dword [esi + 0x18]
call fcn.0043f238
mov ecx, dword [esi + 0xc]
add esp, 0x1c
test ecx, ecx
je 0x422fa4
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov byte [ebp - 4], 1
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x422fb5
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov byte [ebp - 4], 0
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x422fc6
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [esi]
test ecx, ecx
je 0x422fd9
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4240e0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44c648
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x458050]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [esi + 0x14]
xor ecx, ecx
lea eax, [edi + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0043f0fa
mov ebx, eax
mov eax, edi
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x14]
inc eax
add eax, eax
push eax
push dword [esi + 0x10]
mov dword [ebp - 0x24], ebx
push ebx
mov dword [ebp - 0x20], edi
call fcn.00443b00
add esp, 0x10
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [ebp - 0x18], ecx
cmp dword [eax + 4], ecx
jbe 0x42427d
mov esi, edi
mov eax, dword [eax]
mov ecx, dword [eax + ecx*4]
mov eax, esi
mov edx, dword [ecx + 4]
sub eax, edi
mov dword [ebp - 0x14], ecx
cmp edx, eax
jbe 0x4241ed
lea ecx, [edi + edx]
mov eax, ecx
shr eax, 1
add eax, 0x10
add eax, ecx
and eax, 0xfffffff0
dec eax
cmp eax, edi
jb 0x424191
cmp eax, 0x3ffffffe
jbe 0x424196
mov eax, 0x3ffffffe
cmp eax, edi
jbe 0x42429a
mov ecx, eax
sub ecx, edi
cmp ecx, edx
jb 0x42429a
dec eax
mov dword [ebp - 0x10], eax
xor ecx, ecx
inc eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0043f0fa
lea ecx, [edi*2 + 2]
push ecx
mov esi, eax
push ebx
push esi
call fcn.00443b00
push ebx
call fcn.0043f238
mov ecx, dword [ebp - 0x14]
mov ebx, esi
mov esi, dword [ebp - 0x10]
add esp, 0x14
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x1c], esi
mov eax, dword [ecx + 4]
lea eax, [eax*2 + 2]
push eax
push dword [ecx]
lea eax, [ebx + edi*2]
push eax
call fcn.00443b00
mov eax, dword [ebp - 0x14]
add esp, 0xc
add edi, dword [eax + 4]
cmp byte [0x45a151], 0
mov dword [ebp - 0x20], edi
jne 0x424239
mov edx, ebx
lea ecx, [ebp - 0x30]
call fcn.004096f0
push 0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push dword [ebp - 0x30]
call fcn.0043f238
add esp, 4
jmp 0x424242
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp esi, edi
jne 0x424257
lea ecx, [ebp - 0x24]
call fcn.00408f90
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x18]
mov eax, 0x5c
mov word [ebx + edi*2], ax
inc edi
xor eax, eax
mov word [ebx + edi*2], ax
mov eax, dword [ebp + 8]
inc ecx
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x18], ecx
cmp ecx, dword [eax + 4]
jb 0x424163
push ebx
call fcn.0043f238
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x4547c8
lea eax, [ebp + 8]
push eax
mov dword [ebp + 8], 0x13329ac
call fcn.004424aa
int3
Function at 0x4249c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44c749
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x458050]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [edi + 4], 0
mov dword [ebp - 4], 0
mov dword [edi], 0x453374
mov dword [edi + 8], 0
push 8
mov dword [edi + 0xc], 0
call fcn.0043f0fa
xor ecx, ecx
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 3
add esp, 4
mov word [eax], cx
mov dword [edi + 0x30], ecx
mov dword [edi + 0x44], ecx
lea ecx, [edi + 0x48]
mov byte [ebp - 4], 2
call fcn.00408630
mov word [edi + 0x60], 0
mov dword [edi + 0x68], 1
mov dword [edi + 0x6c], 0
mov dword [edi + 0x70], 0
mov dword [edi + 0x74], 0
push 0
push 0
push 1
mov byte [ebp - 4], 3
push 0
mov dword [edi + 0x78], 0xffffffff
mov dword [edi + 0x40], 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [edi + 0x44], eax
test eax, eax
jne 0x424ab2
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
mov ecx, 1
cmovne ecx, eax
test ecx, ecx
je 0x424ab2
push 0x4547c8
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x10], 0x145ecb
call fcn.004424aa
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4256e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44c6fd
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x458050]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 8], 0
mov dword [esi], 0x4533a8
mov dword [esi + 4], 0x4533c8
mov dword [esi + 0xc], 0
mov dword [ebp - 4], 0
push 8
mov dword [esi + 0x10], 0
call fcn.0043f0fa
xor ecx, ecx
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 3
mov word [eax], cx
mov byte [ebp - 4], 1
push 8
mov dword [esi + 0x1c], ecx
call fcn.0043f0fa
xor ecx, ecx
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 3
mov word [eax], cx
mov byte [ebp - 4], 2
push 8
mov dword [esi + 0x28], ecx
call fcn.0043f0fa
xor ecx, ecx
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 3
mov word [eax], cx
mov dword [esi + 0x4c], ecx
mov byte [ebp - 4], 4
push 8
mov dword [esi + 0x50], ecx
call fcn.0043f0fa
xor ecx, ecx
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], 0
mov dword [esi + 0x58], 3
add esp, 0x10
mov word [eax], cx
lea ecx, [esi + 0x68]
mov byte [ebp - 4], 5
call fcn.004249c0
mov byte [ebp - 4], 6
push 8
mov dword [esi + 0xec], 0
call fcn.0043f0fa
add esp, 4
mov dword [esi + 0xec], eax
xor ecx, ecx
mov dword [esi + 0xf0], 0
mov dword [esi + 0xf4], 3
mov word [eax], cx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x426200
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x458050]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, ecx
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
xor edx, edx
mov dword [ebp - 0x84], 0x420041
mov dword [ebp - 0x80], 0x440043
mov dword [ebp - 0x7c], 0x460045
mov dword [ebp - 0x78], 0x480047
mov dword [ebp - 0x74], 0x4a0049
mov dword [ebp - 0x70], 0x4c004b
mov dword [ebp - 0x6c], 0x4e004d
mov dword [ebp - 0x68], 0x50004f
mov dword [ebp - 0x64], 0x520051
mov dword [ebp - 0x60], 0x540053
mov dword [ebp - 0x5c], 0x560055
mov dword [ebp - 0x58], 0x580057
mov dword [ebp - 0x54], 0x5a0059
mov dword [ebp - 0x50], 0x620061
mov dword [ebp - 0x4c], 0x640063
mov dword [ebp - 0x48], 0x660065
mov dword [ebp - 0x44], 0x680067
mov dword [ebp - 0x40], 0x6a0069
mov dword [ebp - 0x3c], 0x6c006b
mov dword [ebp - 0x38], 0x6e006d
mov dword [ebp - 0x34], 0x70006f
mov dword [ebp - 0x30], 0x720071
mov dword [ebp - 0x2c], 0x740073
mov dword [ebp - 0x28], 0x760075
mov dword [ebp - 0x24], 0x780077
mov dword [ebp - 0x20], 0x7a0079
mov dword [ebp - 0x1c], 0x310030
mov dword [ebp - 0x18], 0x330032
mov dword [ebp - 0x14], 0x350034
mov dword [ebp - 0x10], 0x370036
mov dword [ebp - 0xc], 0x390038
mov dword [ebp - 8], 0x2f002b
test esi, esi
jle 0x42633d
lea esp, [esp]
movzx ecx, word [edi + edx*2]
xor eax, eax
cmp word [ebp + eax*2 - 0x84], cx
je 0x426338
inc eax
cmp eax, 0x40
jb 0x426316
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043e8e6
mov esp, ebp
pop ebp
ret
inc edx
cmp edx, esi
jl 0x426310
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov al, 1
pop esi
call fcn.0043e8e6
mov esp, ebp
pop ebp
ret
Function at 0x426420
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44cbb0
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x458050]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push esi
push edi
mov eax, dword [0x458050]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x2c], ecx
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
lea esi, [edi + 0x80]
push esi
mov dword [esp + 0x1c], eax
push 0x452508
mov dword [esp + 0x20], 0
call dword [0x452508]
mov ebx, eax
mov dword [esp + 0x14], ebx
test ebx, ebx
jne 0x4264a4
push 0x4547c8
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x18], 1
call fcn.004424aa
mov dword [esp + 0x18], esi
push edi
mov dword [esp + 0x7c], 0
push dword [esp + 0x14]
lea esi, [ebx + 0x80]
push esi
call fcn.00443b00
mov eax, dword [0x458f30]
mov dword [ebx], eax
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
add esp, 0xc
mov edx, esi
push edi
mov ecx, ebx
mov dword [ebx + 0x20], 0x6a09e667
mov dword [ebx + 0x24], 0xbb67ae85
mov dword [ebx + 0x28], 0x3c6ef372
mov dword [ebx + 0x2c], 0xa54ff53a
mov dword [ebx + 0x30], 0x510e527f
mov dword [ebx + 0x34], 0x9b05688c
mov dword [ebx + 0x38], 0x1f83d9ab
mov dword [ebx + 0x3c], 0x5be0cd19
call fcn.00408420
xorps xmm0, xmm0
lea edx, [esp + 0x48]
mov ecx, ebx
mov byte [esp + 0x48], 0
movq qword [esp + 0x49], xmm0
movq qword [esp + 0x51], xmm0
movq qword [esp + 0x59], xmm0
mov dword [esp + 0x61], 0
mov word [esp + 0x65], 0
mov byte [esp + 0x67], 0
call fcn.004084d0
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x28]
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
call fcn.0043e670
lea eax, [edi + 0x80]
push eax
push 0
push ebx
mov byte [esp + 0x84], 1
call fcn.00443090
add esp, 0xc
lea edx, [esp + 0x20]
lea ecx, [esp + 0x30]
call fcn.00426390
cmp dword [eax + 0x14], 0x10
jb 0x4265ae
mov eax, dword [eax]
cmp dword [esp + 0x44], 0x10
mov edi, dword [esp + 0x2c]
mov ecx, 0x10
mov esi, eax
rep movsd dword es:[edi], dword [esi]
jb 0x4265ce
push dword [esp + 0x30]
call fcn.0043f23d
add esp, 4
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4265df
push eax
call fcn.0043f23d
add esp, 4
push ebx
push 0x452508
mov dword [esp + 0x80], 0xffffffff
call dword [0x45250c]
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.0043e8e6
mov esp, ebp
pop ebp
ret 8
Function at 0x426620
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x458050]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
mov esi, edx
mov dword [ebp - 0x214], ecx
call fcn.00443090
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocStringLen
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x426708
push ebx
lea eax, [ebp - 0x210]
push eax
push edi
mov dword [ebp - 0x210], 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4266bf
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x4266d1
mov eax, dword [ebp - 0x210]
xor ecx, ecx
add ecx, ebx
adc eax, 0
mov dword [esi], ecx
mov dword [esi + 4], eax
push dword [esi]
mov dword [ebp - 0x218], 0
call fcn.0043f0fa
mov ecx, dword [ebp - 0x214]
add esp, 4
mov dword [ecx], eax
push 0
lea ecx, [ebp - 0x218]
push ecx
push dword [esi]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0043e8e6
mov esp, ebp
pop ebp
ret
Function at 0x4447a7
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x458050]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
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.00441d2f
mov dword [ebp - 0x14], eax
cmp dword [0x45a0f4], edi
jne 0x444898
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x444825
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x444978
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x444978
push 0x450e28
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x444978
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x45a0f4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x45a0f8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x45a0fc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x45a104], eax
test eax, eax
je 0x444895
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x45a100], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x4448bd
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4448b0
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x4448d2
push 4
pop eax
jmp 0x44497a
cmp dword [ebp - 0x14], edi
je 0x4448d2
push dword [0x45a0f4]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x4448b7
mov eax, dword [0x45a100]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x444930
cmp dword [0x45a104], esi
je 0x444930
push eax
call ebx
push dword [0x45a104]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x444930
test eax, eax
je 0x444930
call ecx
test eax, eax
je 0x444925
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 0x444925
test byte [ebp - 8], 1
jne 0x444930
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x444960
mov eax, dword [0x45a0f8]
cmp eax, esi
je 0x44495d
push eax
call ebx
test eax, eax
je 0x44495d
call eax
mov edi, eax
test edi, edi
je 0x44495d
mov eax, dword [0x45a0fc]
cmp eax, esi
je 0x44495d
push eax
call ebx
test eax, eax
je 0x44495d
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x45a0f4]
call ebx
test eax, eax
je 0x444978
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x44497a
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043e8e6
leave
ret