joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41e6b0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
push str.WaitForConsumeQueue_n
mov esi, ecx
mov ebx, 1
call fcn.0045f780
add esp, 4
lea edi, [esi + 0xf44]
mov dword [ebp - 0xc], edi
push edi
call dword [sym.imp.KERNEL30.dll_EnterCriticalSection]
cmp dword [esi + 0x1014], 0
je 0x41e6ee
push ecx
mov ecx, esi
call fcn.004258d0
cmp dword [esi + 0x100c], 0
jne 0x41e7e0
nop dword [eax + eax]
test ebx, ebx
je 0x41e7dd
mov ecx, esi
call fcn.00424d30
test eax, eax
jne 0x41e7d0
lea eax, [esi + 0xcf4]
cmp dword [eax + 4], eax
jne 0x41e759
lea eax, [esi + 0xd18]
cmp dword [eax + 4], eax
jne 0x41e759
lea eax, [esi + 0xd00]
cmp dword [eax + 4], eax
jne 0x41e759
lea eax, [esi + 0xd0c]
cmp dword [eax + 4], eax
jne 0x41e759
cmp dword [esi + 0xdc0], 0
jne 0x41e759
cmp dword [esi + 0x1030], 1
je 0x41e759
xor ebx, ebx
jmp 0x41e7d0
xor edi, edi
mov dword [ebp - 4], 1
xorps xmm0, xmm0
movlpd qword [ebp - 0x18], xmm0
cmp dword [esi + 0x1004], edi
je 0x41e79d
mov edi, dword [esi + 0x10]
call dword [sym.imp.KERNEL30.dll_GetLastError]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL30.dll_TlsGetValue]
push ebx
mov edi, eax
call dword [sym.imp.KERNEL30.dll_SetLastError]
test edi, edi
je 0x41e79d
call fcn.00461690
mov ebx, eax
mov dword [ebp - 8], edx
jmp 0x41e7a6
mov eax, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 8], eax
push 0x64
lea ecx, [esi + 0xf40]
call fcn.0045ea50
test edi, edi
je 0x41e7cd
mov eax, dword [edi]
or eax, dword [edi + 4]
je 0x41e7cd
call fcn.00461690
sub eax, ebx
sbb edx, dword [ebp - 8]
add dword [edi], eax
adc dword [edi + 4], edx
mov ebx, dword [ebp - 4]
cmp dword [esi + 0x100c], 0
je 0x41e700
mov edi, dword [ebp - 0xc]
push edi
call dword [sym.imp.KERNEL30.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x422c80
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x4db06c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, ecx
mov ecx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x10c], ecx
mov eax, dword [esi + 0x8cc]
mov dword [ebp - 0x118], eax
xor eax, eax
mov dword [ebp - 0x110], eax
mov byte [edi + 0x10], al
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov edx, dword [ebp + 0x10]
nop word [eax + eax]
mov eax, dword [esi + 0x8cc]
cmp edx, eax
cmovb eax, edx
lea edx, [edi + 0x1c]
push edx
lea edx, [edi + 0xc]
mov dword [edi + 8], eax
push edx
push eax
push ebx
push ecx
call dword [sym.imp.KERNEL30.dll_ReadFile]
test eax, eax
jne 0x422dfa
call dword [sym.imp.KERNEL30.dll_GetLastError]
test byte [esi + 0x6bc], 2
mov dword [ebp - 0x114], eax
je 0x422d22
push str.read_1
push ebx
push edi
push esi
call fcn.00422be0
mov eax, dword [ebp - 0x114]
add esp, 0x10
cmp eax, 0x5aa
jne 0x422d8b
mov ecx, dword [esi + 0x8cc]
mov eax, ecx
mov edx, dword [ebp + 0x10]
cmp edx, ecx
cmovb eax, edx
cmp eax, 0x100000
jbe 0x422dd1
lea eax, [ecx - 1]
mov dword [ebp - 0x110], 1
mov ecx, dword [ebp - 0x10c]
and eax, 0xfff00000
test byte [esi + 0x6bc], 2
mov dword [esi + 0x8cc], eax
je 0x422cd0
push eax
push str.read_2_maxReadSize_d
push ebx
push edi
push esi
call fcn.00422be0
mov ecx, dword [ebp - 0x10c]
add esp, 0x14
jmp 0x422cc4
cmp eax, 0x3e5
jne 0x422dd1
cmp dword [ebp - 0x110], 0
mov byte [edi + 0x10], 1
je 0x422dfa
push 1
push edi
push dword [ebp - 0x10c]
mov ecx, esi
call fcn.004189f0
mov ecx, dword [esi + 0x6bc]
and ecx, 2
cmp eax, 1
je 0x422de6
test ecx, ecx
je 0x422dd1
push str.read_wait_err
push ebx
push edi
push esi
call fcn.00422be0
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00487555
mov esp, ebp
pop ebp
ret 0x10
test ecx, ecx
je 0x422dfa
push str.read_manual_wait_OK
push ebx
push edi
push esi
call fcn.00422be0
add esp, 0x10
test byte [esi + 0x6bc], 2
je 0x422e13
push str.read_OK
push ebx
push edi
push esi
call fcn.00422be0
add esp, 0x10
mov eax, dword [esi + 0x8cc]
mov ecx, dword [ebp - 0x118]
cmp eax, ecx
je 0x422e51
shr eax, 0x14
push eax
shr ecx, 0x14
lea eax, [ebp - 0x108]
push ecx
push 0x52
push str.Reduce_MaxIO__c__size___dMB_____dMB_
push eax
call fcn.0040e140
add esp, 0x14
lea eax, [ebp - 0x108]
mov ecx, esi
push 0xffffffffffffffff
push eax
call fcn.0041a930
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00487555
mov esp, ebp
pop ebp
ret 0x10
Function at 0x423ff0
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, dword [edi + 0x1c]
movzx ebx, word [edi + 0x2a]
mov eax, dword [esi + 0x874]
test cl, 0x10
je 0x4240f7
test eax, eax
je 0x4240ae
test cl, 1
je 0x424034
push 0x10
lea eax, [edi + 0x20]
push eax
call dword [sym.imp.KERNEL30.dll_SetFileAttributesW]
mov eax, dword [esi + 0x874]
test eax, eax
je 0x4240ae
mov edx, dword [esi + 0x7a0]
lea ecx, [edi + 0x20]
or edx, dword [esi + 0x8b0]
call fcn.0045cd40
test eax, eax
jne 0x4240ae
mov eax, dword [esi + 0xb60]
add dword [eax + 0xf0], 1
adc dword [eax + 0xf4], 0
cmp dword [esi + 0x8b0], 0
je 0x424084
call dword [sym.imp.KERNEL30.dll_GetLastError]
cmp eax, 0x91
jne 0x424084
mov dword [esi + 0x8b0], 0
cmp ebx, 0x3a
mov ecx, 0x28
mov eax, 0x2e
cmove eax, ecx
mov ecx, esi
push 0
add eax, edi
push eax
push str.RemoveDirectory_move_
call fcn.0041a620
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0xb60]
add dword [eax + 0x58], 1
adc dword [eax + 0x5c], 0
cmp dword [esi + 0x864], 0
je 0x4241df
test dword [edi + 0x1c], 0x400
je 0x4240e7
mov eax, dword [esi + 0x6a0]
and eax, 0x4000
or eax, 0
mov eax, 0x2a
je 0x4240ec
mov eax, 0x22
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
jmp 0x4241bd
test eax, eax
je 0x424169
test cl, 1
je 0x424115
push 0x80
lea eax, [edi + 0x20]
push eax
call dword [sym.imp.KERNEL30.dll_SetFileAttributesW]
mov eax, dword [esi + 0x874]
test eax, eax
je 0x424169
mov edx, dword [esi + 0x7a0]
lea ecx, [edi + 0x20]
call fcn.0045cf00
test eax, eax
jne 0x424169
mov eax, dword [esi + 0xb60]
mov ecx, 0x28
push 0
add dword [eax + 0xf8], 1
adc dword [eax + 0xfc], 0
cmp ebx, 0x3a
mov eax, 0x2e
cmove eax, ecx
mov ecx, esi
add eax, edi
push eax
push str.DeleteFile_move_
call fcn.0041a620
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0xb60]
add dword [eax + 0x60], 1
adc dword [eax + 0x64], 0
mov ecx, dword [esi + 0xb60]
mov eax, dword [edi + 8]
add dword [ecx + 0x68], eax
mov eax, dword [edi + 0xc]
adc dword [ecx + 0x6c], eax
cmp dword [esi + 0x864], 0
je 0x4241df
test dword [edi + 0x1c], 0x400
je 0x4241b0
mov eax, dword [esi + 0x6a0]
and eax, 0x4000
or eax, 0
mov eax, 0x28
je 0x4241b5
mov eax, 0x20
push 0
push dword [edi + 0xc]
push dword [edi + 8]
push dword [edi + 0x14]
cmp ebx, 0x3a
push dword [edi + 0x10]
push ecx
push eax
mov ecx, 0x28
mov eax, 0x2e
cmove eax, ecx
mov ecx, esi
add eax, edi
push eax
call fcn.00417da0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4258d0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov esi, ecx
xor eax, eax
push edi
cmp dword [esi + 0x1030], 1
lea ebx, [esi + 0xcf4]
sete al
mov dword [ebp - 8], eax
mov ecx, dword [ebx + 4]
cmp ecx, ebx
jne 0x42592e
lea eax, [esi + 0xd18]
cmp dword [eax + 4], eax
jne 0x42592e
lea eax, [esi + 0xd00]
cmp dword [eax + 4], eax
jne 0x42592e
lea eax, [esi + 0xd0c]
cmp dword [eax + 4], eax
jne 0x42592e
cmp dword [esi + 0xdc0], 0
jne 0x42592e
cmp dword [esi + 0x1030], 1
jne 0x425a91
mov edx, dword [esi + 0x100c]
test edx, edx
jne 0x425a97
cmp ecx, ebx
je 0x4259aa
lea edx, [esi + 0xd00]
cmp dword [edx + 4], edx
jne 0x42595e
mov eax, dword [ebx]
mov dword [edx], eax
mov eax, dword [ebx + 4]
mov dword [edx + 4], eax
mov dword [eax], edx
mov eax, dword [edx]
mov dword [eax + 4], edx
jmp 0x425973
mov eax, dword [edx]
mov dword [eax + 4], ecx
mov ecx, dword [ebx + 4]
mov eax, dword [edx]
mov dword [ecx], eax
mov eax, dword [ebx]
mov dword [eax + 4], edx
mov eax, dword [ebx]
mov dword [edx], eax
mov eax, dword [ebx + 8]
add dword [edx + 8], eax
push ecx
lea ecx, [esi + 0xf40]
mov dword [ebx], ebx
mov dword [ebx + 4], ebx
mov dword [ebx + 8], 0
call fcn.0045eba0
cmp dword [ebp - 8], 0
je 0x4259aa
cmp dword [esi + 0x1030], 2
je 0x4259aa
mov dword [esi + 0x1030], 1
mov ecx, esi
call fcn.00424d30
test eax, eax
jne 0x425a28
xor edi, edi
xorps xmm0, xmm0
movlpd qword [ebp - 0x14], xmm0
cmp dword [esi + 0x1004], edi
je 0x4259f2
mov edi, dword [esi + 0x10]
call dword [sym.imp.KERNEL30.dll_GetLastError]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL30.dll_TlsGetValue]
push ebx
mov edi, eax
call dword [sym.imp.KERNEL30.dll_SetLastError]
test edi, edi
je 0x4259f2
call fcn.00461690
mov ebx, eax
mov dword [ebp - 0xc], edx
jmp 0x4259fb
mov eax, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
push 0x64
lea ecx, [esi + 0xf40]
call fcn.0045ea50
test edi, edi
je 0x425a22
mov eax, dword [edi]
or eax, dword [edi + 4]
je 0x425a22
call fcn.00461690
sub eax, ebx
sbb edx, dword [ebp - 0xc]
add dword [edi], eax
adc dword [edi + 4], edx
lea ebx, [esi + 0xcf4]
cmp dword [ebp - 8], 0
je 0x4258f0
cmp dword [ebx + 4], ebx
jne 0x4258f0
lea eax, [esi + 0xd18]
cmp dword [eax + 4], eax
jne 0x4258f0
lea eax, [esi + 0xd00]
cmp dword [eax + 4], eax
jne 0x4258f0
cmp dword [esi + 0xdc0], 0
je 0x4258f0
cmp dword [esi + 0x1030], 2
je 0x425a79
mov dword [esi + 0x1030], 1
push ecx
lea ecx, [esi + 0xf40]
mov dword [ebp - 8], 0
call fcn.0045eba0
jmp 0x4258f0
mov edx, dword [esi + 0x100c]
xor eax, eax
test edx, edx
pop edi
pop esi
sete al
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x427a00
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
cmp dword [ebp + 8], 0
push ebx
push esi
push edi
mov esi, ecx
jle 0x427af7
nop word [eax + eax]
xor ecx, ecx
cmp dword [esi + 0x7f4], 0
mov dword [esp + 0xc], ecx
jle 0x427a3c
mov eax, dword [esi + 0x7f8]
mov eax, dword [eax]
mov edi, dword [eax + 0x10]
jmp 0x427a3e
xor edi, edi
push SysReAllocString
push ecx
push str.dname__d
call fcn.00463290
mov ecx, dword [esi + 0x840]
add esp, 8
mov edx, edi
push eax
call fcn.00462880
add esp, 8
mov ebx, eax
push dword [esi + 0x840]
call dword [sym.imp.KERNEL30.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x427aed
test al, 0x10
je 0x427aed
mov eax, dword [esi + 0x840]
xor edi, edi
push edi
add ebx, ebx
add eax, ebx
push str._fname__d
push eax
call fcn.0040e140
add esp, 0xc
push dword [esi + 0x840]
call dword [sym.imp.KERNEL30.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x427ae3
test al, 0x10
jne 0x427ae3
push dword [esi + 0x840]
mov ecx, esi
call fcn.004275f0
test eax, eax
je 0x427ae3
mov eax, dword [esi + 0x840]
inc edi
push edi
add eax, ebx
push str._fname__d
push eax
call fcn.0040e140
add esp, 0xc
push dword [esi + 0x840]
call dword [sym.imp.KERNEL30.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x427aa5
mov ecx, dword [esp + 0xc]
inc ecx
jmp 0x427a22
sub dword [ebp + 8], 1
jne 0x427a20
lea edi, [esi + 0xf44]
push edi
call dword [sym.imp.KERNEL30.dll_EnterCriticalSection]
push 0
push 0
push 0
push 0
push 0
push 0x30
mov ecx, esi
call fcn.004245b0
test eax, eax
je 0x427b3a
cmp dword [esi + 0x100c], 0
jne 0x427b2e
push eax
push 0x12
mov ecx, esi
call fcn.00424b60
push ecx
lea ecx, [esi + 0xf40]
call fcn.0045eba0
push edi
call dword [sym.imp.KERNEL30.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x427c80
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push edi
mov edi, 1
push dword [esi + 0x844]
call dword [sym.imp.KERNEL30.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x427d7c
mov eax, dword [esi + 0x844]
xor edx, edx
mov ecx, dword [ebp + 8]
mov word [eax + ecx*2 - 2], dx
push dword [esi + 0x844]
call dword [sym.imp.KERNEL30.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x427d7c
cmp dword [esi + 0x694], 2
jne 0x427cd9
xor eax, eax
pop edi
pop esi
pop ecx
pop ebp
ret 4
mov ecx, dword [ebp + 8]
add ecx, 0xfffffffe
cmp ecx, 9
jl 0x427cff
mov eax, dword [esi + 0x844]
lea eax, [eax + ecx*2]
add eax, 0xfffffffe
cmp word [eax], 0x5c
je 0x427cff
dec ecx
sub eax, 2
cmp ecx, 9
jge 0x427cf0
xor eax, eax
cmp ecx, 9
cmovge eax, ecx
test eax, eax
je 0x427d17
push eax
mov ecx, esi
call fcn.00427c80
mov edi, eax
jmp 0x427d19
xor edi, edi
cmp dword [esi + 0x874], 0
je 0x427d38
push 0
push dword [esi + 0x844]
call dword [sym.imp.KERNEL30.dll_CreateDirectoryW]
test eax, eax
jne 0x427d38
xor edi, edi
jmp 0x427d7c
cmp dword [esi + 0x868], 0
jne 0x427d4a
cmp dword [esi + 0x864], 0
je 0x427d6e
mov eax, dword [esi + 0x844]
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push ecx
mov ecx, dword [esi + 0x85c]
push 2
lea eax, [eax + ecx*2]
mov ecx, esi
push eax
call fcn.00417da0
mov eax, dword [esi + 0xb60]
add dword [eax + 0x20], 1
adc dword [eax + 0x24], 0
mov eax, dword [esi + 0x844]
mov edx, 0x5c
mov ecx, dword [ebp + 8]
mov word [eax + ecx*2 - 2], dx
mov eax, edi
pop edi
pop esi
pop ecx
pop ebp
ret 4

Function at 0x428230
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, ecx
mov ecx, dword [ebp + 8]
test ecx, ecx
js 0x428290
mov edx, dword [edi + 0xdc0]
mov eax, dword [edi + 0x844]
add edx, 0xe8
push esi
lea esi, [eax + ecx*2]
movzx eax, word [edx]
test ax, ax
je 0x428273
mov ecx, eax
nop dword [eax]
mov word [esi], cx
lea edx, [edx + 2]
movzx eax, word [edx]
add esi, 2
mov ecx, eax
test ax, ax
jne 0x428260
movzx eax, word [esi - 2]
lea ecx, [esi - 2]
add eax, 0x2800
mov edx, 0x3ff
cmp ax, dx
cmova ecx, esi
xor eax, eax
pop esi
mov word [ecx], ax
cmp dword [edi + 0x874], 0
jne 0x4282a3
mov eax, 1
pop edi
pop ebp
ret 8
mov eax, dword [edi + 0x844]
pop edi
mov dword [ebp + 0xc], eax
mov dword [ebp + 8], eax
pop ebp
jmp dword [sym.imp.KERNEL30.dll_MoveFileW]
Function at 0x428ce0
Capabilities:
Set thread local storage value
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x4db06c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x14]
mov ebx, ecx
mov dword [ebp - 0x120], eax
mov ecx, 1
mov eax, dword [ebp + 0xc]
push edi
mov edx, dword [ebx + 0x8d4]
xor edi, edi
mov dword [ebp - 0x124], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10c], edx
mov dword [ebp - 0x11c], edi
mov dword [ebp - 0x110], ecx
mov byte [esi + 0x10], 0
mov dword [esi + 8], eax
mov dword [esi + 0xc], edi
test eax, eax
je 0x428e6c
mov ecx, eax
mov dword [ebp - 0x114], 0
mov eax, dword [ebx + 0x8d4]
lea edx, [esi + 0x1c]
sub ecx, edi
cmp ecx, eax
push edx
cmovae ecx, eax
lea eax, [ebp - 0x114]
push eax
mov eax, dword [ebp - 0x124]
push ecx
add eax, edi
mov dword [ebp - 0x128], ecx
push eax
push dword [ebp - 0x120]
call dword [sym.imp.KERNEL30.dll_WriteFile]
test eax, eax
jne 0x428e11
call dword [sym.imp.KERNEL30.dll_GetLastError]
push eax
push dword [ebx + 0x14]
mov dword [ebp - 0x118], eax
call dword [sym.imp.KERNEL30.dll_TlsSetValue]
push dword [ebp - 0x118]
call dword [sym.imp.KERNEL30.dll_SetLastError]
mov eax, dword [ebp - 0x118]
cmp eax, 0x5aa
jne 0x428dec
mov ecx, dword [ebx + 0x8d4]
mov eax, ecx
cmp dword [ebp + 0x10], ecx
cmovb eax, dword [ebp + 0x10]
cmp eax, 0x100000
jbe 0x428e5b
lea eax, [ecx - 1]
mov dword [ebp - 0x11c], 1
and eax, 0xfff00000
mov dword [ebx + 0x8d4], eax
jmp 0x428e20
cmp eax, 0x3e5
jne 0x428e5b
cmp dword [ebp - 0x11c], 0
je 0x428e47
push 1
push esi
push dword [ebp - 0x120]
mov ecx, ebx
call fcn.004189f0
cmp eax, 1
jne 0x428e32
mov eax, dword [ebp - 0x114]
add edi, eax
add dword [esi + 0x24], eax
adc dword [esi + 0x28], 0
mov eax, dword [ebp + 0x10]
cmp edi, eax
jb 0x428d41
mov ecx, 1
jmp 0x428e66
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00487555
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ebp - 0x128]
mov ecx, 1
mov dword [esi + 8], eax
mov byte [esi + 0x10], 1
jmp 0x428e63
xor ecx, ecx
mov dword [ebp - 0x110], ecx
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp - 0x10c]
cmp byte [esi + 0x10], 0
jne 0x428e86
cmp edi, eax
jne 0x428e7e
mov dword [esi + 0xc], edi
mov dword [esi + 8], eax
jmp 0x428e86
xor ecx, ecx
mov dword [ebp - 0x110], ecx
mov eax, dword [ebx + 0x8d4]
cmp eax, edx
je 0x428ec4
shr eax, 0x14
push eax
shr edx, 0x14
lea eax, [ebp - 0x108]
push edx
push 0x57
push str.Reduce_MaxIO__c__size___dMB_____dMB_
push eax
call fcn.0040e140
add esp, 0x14
lea eax, [ebp - 0x108]
mov ecx, ebx
push 0xffffffffffffffff
push eax
call fcn.0041a930
mov ecx, dword [ebp - 0x110]
mov eax, ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00487555
mov esp, ebp
pop ebp
ret 0x10
Function at 0x42d1a0
Capabilities:
Check mutex on windows

Disassembly:
mov eax, dword fs:[0x2c]
push esi
mov esi, ecx
mov edx, dword [eax]
mov eax, dword [0x4f3e74]
cmp eax, dword [edx + 4]
jle 0x42d1ef
push 0x4f3e74
call fcn.00487731
add esp, 4
cmp dword [0x4f3e74], 0xffffffff
jne 0x42d1ef
push str.FastCopyLm
push 0
push 0
call dword [sym.imp.KERNEL30.dll_CreateMutexA]
push 0x4f3e74
mov dword [0x4f3e70], eax
call fcn.004876e7
add esp, 4
test esi, esi
pop esi
je 0x42d203
push 0xffffffffffffffff
push dword [0x4f3e70]
call dword [sym.imp.KERNEL30.dll_WaitForSingleObject]
ret
push dword [0x4f3e70]
call dword [sym.imp.KERNEL30.dll_ReleaseMutex]
ret
Function at 0x42e120
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4db06c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0
push 0x23
mov edi, ecx
push edi
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x206
lea eax, [ebp - 0x20a]
push 0
push eax
call fcn.0048b570
lea eax, [ebp - 0x20c]
mov esi, str._icrosof
mov edx, eax
add esp, 0xc
mov ecx, 0x103
sub esi, edx
nop
movzx edx, word [esi + eax]
test dx, dx
je 0x42e184
mov word [eax], dx
dec ecx
add eax, 2
test ecx, ecx
jg 0x42e170
xor ecx, ecx
mov ebx, 0x4d
mov word [eax], cx
mov edx, edi
mov eax, 0x74
mov word [ebp - 0x20c], bx
mov word [ebp - 0x1fc], ax
mov ecx, edi
lea eax, [ebp - 0x20c]
push SysReAllocString
push eax
call fcn.00462880
lea eax, [ebp - 0x20c]
mov esi, str._rypt
mov edx, eax
add esp, 8
mov ecx, 0x103
sub esi, edx
nop dword [eax]
movzx edx, word [esi + eax]
test dx, dx
je 0x42e1e4
mov word [eax], dx
dec ecx
add eax, 2
test ecx, ecx
jg 0x42e1d0
xor ecx, ecx
mov edx, edi
mov word [eax], cx
mov eax, 0x43
mov word [ebp - 0x20c], ax
mov ecx, edi
mov eax, 0x6f
mov word [ebp - 0x202], ax
lea eax, [ebp - 0x20c]
push SysReAllocString
push eax
call fcn.00462880
lea eax, [ebp - 0x20c]
mov esi, 0x4c9aac
mov edx, eax
add esp, 8
mov ecx, 0x103
sub esi, edx
nop dword [eax]
movzx edx, word [esi + eax]
test dx, dx
je 0x42e244
mov word [eax], dx
dec ecx
add eax, 2
test ecx, ecx
jg 0x42e230
xor ecx, ecx
mov edx, edi
mov word [eax], cx
mov eax, 0x52
mov word [ebp - 0x20c], ax
mov ecx, edi
mov eax, 0x41
mov word [ebp - 0x208], ax
lea eax, [ebp - 0x20c]
push SysReAllocString
push eax
call fcn.00462880
lea eax, [ebp - 0x20c]
mov esi, str._achine_ey
mov edx, eax
add esp, 8
mov ecx, 0x103
sub esi, edx
nop dword [eax]
movzx edx, word [esi + eax]
test dx, dx
je 0x42e2a4
mov word [eax], dx
dec ecx
add eax, 2
test ecx, ecx
jg 0x42e290
xor ecx, ecx
mov edx, edi
mov word [eax], cx
mov eax, 0x4b
mov word [ebp - 0x1fe], ax
mov ecx, edi
mov eax, 0x73
mov word [ebp - 0x20c], bx
mov word [ebp - 0x1f8], ax
lea eax, [ebp - 0x20c]
push SysReAllocString
push eax
call fcn.00462880
push SysReAllocString
push 0x4c1430
mov edx, edi
mov ecx, edi
call fcn.00462880
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00487555
mov esp, ebp
pop ebp
ret
Function at 0x42e6a0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x228
mov eax, dword [0x4db06c]
xor eax, esp
mov dword [esp + 0x224], eax
push esi
push edi
push 0
mov eax, ecx
mov esi, edx
push 0x23
push eax
push 0
mov dword [esp + 0x1c], eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov ecx, dword [esp + 0xc]
xor edx, edx
push SysReAllocString
push str.FastCopyLabFastCopy_
call fcn.00462880
add esp, 8
xorps xmm0, xmm0
movaps xmmword [esp + 0x10], xmm0
cmp esi, 4
je 0x42e716
cmp esi, 2
jne 0x42e706
lea ecx, [esp + 0x10]
call fcn.00467240
jmp 0x42e71f
cmp esi, 3
jne 0x42e716
lea ecx, [esp + 0x10]
call fcn.00467400
jmp 0x42e71f
lea ecx, [esp + 0x10]
call fcn.004675f0
push 0x208
lea eax, [esp + 0x24]
push 0
push eax
call fcn.0048b570
add esp, 0xc
lea eax, [esp + 0x20]
mov edx, 0x10
lea ecx, [esp + 0x10]
push eax
call fcn.00462a40
add esp, 4
cmp esi, 4
jne 0x42e768
lea edi, [esp + 0x20]
add edi, 0xfffffffe
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x42e755
mov eax, dword [str.fsbfb]
jmp 0x42e7b1
cmp esi, 1
jne 0x42e787
lea edi, [esp + 0x20]
add edi, 0xfffffffe
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x42e774
mov eax, dword [0x4c9afc]
jmp 0x42e7b1
cmp esi, 2
je 0x42e791
cmp esi, 3
jne 0x42e7b3
lea edi, [esp + 0x20]
add edi, 0xfffffffe
nop dword [eax + eax]
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x42e7a0
mov eax, dword [0x4c9b00]
mov dword [edi], eax
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x20]
push SysReAllocString
push eax
xor edx, edx
call fcn.00462880
mov ecx, dword [esp + 0x234]
add esp, 8
pop edi
pop esi
xor ecx, esp
call fcn.00487555
mov esp, ebp
pop ebp
ret

Function at 0x42ea70
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x4db06c]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x214]
call fcn.0042e6a0
push 0
push 0
push 3
push 0
push 3
push SysReAllocString
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL30.dll_CreateFileW]
mov esi, eax
test esi, esi
je 0x42ead0
cmp esi, 0xffffffff
je 0x42ead0
push 0
push edi
push dword [edi]
push ebx
push esi
call dword [sym.imp.KERNEL30.dll_ReadFile]
mov edi, eax
jmp 0x42ead2
xor edi, edi
test esi, esi
je 0x42eae2
cmp esi, 0xffffffff
je 0x42eae2
push esi
call dword [sym.imp.KERNEL30.dll_CloseHandle]
mov ecx, dword [ebp - 8]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00487555
mov esp, ebp
pop ebp
ret