joyce8/EMBER2024-capa huggingface dataset:
Function at 0x460460
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov eax, ecx
mov dword [ebp - 4], 0
push edi
lea ecx, [ebp - 4]
mov dword [ebp - 0xc], eax
push ecx
push eax
mov edi, edx
mov dword [ebp - 8], 0
xor bl, bl
mov dword [ebp - 0x10], 0
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [ebp - 4], eax
test eax, eax
jne 0x4604a0
pop edi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push eax
call fcn.004e1b5b
add esp, 4
mov esi, eax
push esi
push dword [ebp - 4]
push 0
push dword [ebp - 0xc]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x4604fb
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
push 0x597154
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x4604fb
mov ecx, dword [ebp - 8]
mov bl, 1
movzx eax, word [ecx + 0xa]
mov word [edi], ax
movzx eax, word [ecx + 8]
mov word [edi + 2], ax
movzx eax, word [ecx + 0xe]
mov word [edi + 4], ax
movzx eax, word [ecx + 0xc]
mov word [edi + 6], ax
test esi, esi
je 0x460508
push esi
call fcn.004e1b56
add esp, 4
pop esi
pop edi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x460c20
Capabilities:
Link many functions at runtime

Disassembly:
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push edi
mov edi, ecx
push str.Wintrust.dll
mov word [edi], 0
call esi
push str.Crypt32.dll
mov dword [edi + 4], eax
call esi
mov ecx, dword [edi + 4]
mov dword [edi + 8], eax
test ecx, ecx
je 0x460d2c
test eax, eax
je 0x460d2c
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.WinVerifyTrust
push ecx
call esi
push str.WTHelperProvDataFromStateData
push dword [edi + 4]
mov dword [edi + 0xc], eax
call esi
push str.WTHelperGetProvSignerFromChain
push dword [edi + 4]
mov dword [edi + 0x10], eax
call esi
push str.CertNameToStrW
push dword [edi + 8]
mov dword [edi + 0x14], eax
call esi
push str.CryptMsgClose
push dword [edi + 8]
mov dword [edi + 0x18], eax
call esi
push str.CryptMsgGetParam
push dword [edi + 8]
mov dword [edi + 0x20], eax
call esi
push str.CertCloseStore
push dword [edi + 8]
mov dword [edi + 0x1c], eax
call esi
push str.CertFindCertificateInStore
push dword [edi + 8]
mov dword [edi + 0x24], eax
call esi
push str.CertFreeCertificateContext
push dword [edi + 8]
mov dword [edi + 0x28], eax
call esi
push str.CertGetNameStringW
push dword [edi + 8]
mov dword [edi + 0x2c], eax
call esi
push str.CryptQueryObject
push dword [edi + 8]
mov dword [edi + 0x30], eax
call esi
cmp dword [edi + 0xc], 0
mov dword [edi + 0x34], eax
je 0x460d2c
cmp dword [edi + 0x10], 0
je 0x460d2c
cmp dword [edi + 0x14], 0
je 0x460d2c
cmp dword [edi + 0x18], 0
je 0x460d2c
cmp dword [edi + 0x20], 0
je 0x460d2c
cmp dword [edi + 0x1c], 0
je 0x460d2c
cmp dword [edi + 0x24], 0
je 0x460d2c
cmp dword [edi + 0x28], 0
je 0x460d2c
cmp dword [edi + 0x2c], 0
je 0x460d2c
cmp dword [edi + 0x30], 0
je 0x460d2c
test eax, eax
je 0x460d2c
mov byte [edi], 1
mov eax, edi
pop edi
pop esi
ret
Function at 0x461910
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x530629
mov eax, dword fs:[0]
push eax
sub esp, 0x150
mov eax, dword [0x5c6150]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x154], edi
mov dword [edi + 4], fcn.004e1b5b
mov dword [edi + 8], fcn.004e1ae7
mov dword [edi + 0xc], fcn.004e1b56
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0x8000
mov dword [edi], vtable.t_heap.0
mov dword [ebp - 0x158], edi
mov dword [ebp - 0x154], edi
mov dword [edi + 0x18], 0
mov byte [edi + 0x1c], 1
lea esi, [edi + 0x20]
mov dword [ebp - 4], 0
mov dword [ebp - 0x15c], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0044ba70
mov dword [esi], eax
xor eax, eax
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 7
mov word [edi + 0x28], ax
mov dword [edi + 0x40], eax
mov dword [ebp - 4], 1
mov dword [edi + 0x48], 0xffffffff
mov dword [edi + 0x4c], 0xffffffff
mov dword [edi + 0x50], eax
mov dword [edi + 0x54], 1
cmp dword [edi + 0x40], eax
jne 0x461a86
lea ecx, [ebp - 0x150]
call fcn.00462be0
mov byte [ebp - 4], 2
cmp dword [ebp - 0x14c], 0
je 0x461a5d
cmp byte [ebp - 0x34], 0
lea eax, [ebp - 0x144]
cmove eax, dword [ebp - 0x148]
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x461a5d
shr eax, 4
not al
and al, 1
je 0x461a5d
cmp byte [ebp - 0x34], 0
lea eax, [ebp - 0x144]
lea ecx, [ebp - 0x28]
cmove eax, dword [ebp - 0x148]
add eax, 4
push eax
call fcn.00413470
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
push eax
mov ecx, edi
call fcn.0046e6e0
lea ecx, [ebp - 0x28]
call fcn.004134c0
cmp byte [ebp - 0x34], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x461a86
mov eax, dword [ebp - 0x148]
lea ecx, [ebp - 0x144]
cmp eax, ecx
je 0x461a86
push eax
call fcn.004e1b56
add esp, 4
mov eax, edi
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.004d6cfd
mov esp, ebp
pop ebp
ret
Function at 0x462690
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53073b
mov eax, dword fs:[0]
push eax
sub esp, 0x350
mov eax, dword [0x5c6150]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp byte [0x5d2339], 0
je 0x4626ce
xor eax, eax
jmp 0x46285f
call fcn.0045ecf0
test al, al
jne 0x4626c7
call fcn.00465a10
test al, al
je 0x4626c7
call fcn.00464730
test al, al
je 0x462708
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push str.CheckSig1
push eax
call fcn.0046ef50
mov ecx, eax
call fcn.0046f0d0
mov ecx, eax
call fcn.0046f440
push 0
push 0
push 0
push 0
push 0
push esi
lea ecx, [ebp - 0x134]
call fcn.00451610
mov dword [ebp - 4], 0
lea eax, [ebp - 0x128]
cmp byte [ebp - 0x18], 0
cmove eax, dword [ebp - 0x12c]
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x46282f
shr eax, 4
not al
and al, 1
je 0x46282f
push str.CheckSig1
call fcn.004645d0
add esp, 4
cmp byte [0x5debe4], 0
jne 0x462809
push 0x114
lea eax, [ebp - 0x248]
push 0
push eax
call fcn.004d9fe0
push 0x114
lea eax, [ebp - 0x35c]
push 0
push eax
call fcn.004d9fe0
add esp, 0x18
lea edx, [ebp - 0x35c]
lea ecx, [ebp - 0x248]
call fcn.0045e9f0
mov eax, dword [ebp - 0x244]
cmp eax, 6
ja 0x4627db
jne 0x462802
mov ecx, dword [ebp - 0x240]
cmp ecx, 2
jb 0x462802
movzx eax, byte [0x5debdc]
cmp ecx, 3
mov edx, 1
cmovae eax, edx
mov byte [0x5debdc], al
jmp 0x4627e2
mov byte [0x5debdc], 1
mov eax, dword [ebp - 0x358]
cmp eax, 0xa
jae 0x4627fb
cmp eax, 6
jne 0x462802
cmp dword [ebp - 0x354], 3
jb 0x462802
mov byte [0x5debdc], 1
mov byte [0x5debe4], 1
sub esp, 8
mov ecx, esi
cmp byte [0x5debdc], 0
je 0x462823
call fcn.00462450
add esp, 8
mov esi, eax
jmp 0x462834
call fcn.00461e00
add esp, 8
mov esi, eax
jmp 0x462834
mov esi, 1
cmp byte [ebp - 0x18], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x46285d
mov eax, dword [ebp - 0x12c]
lea ecx, [ebp - 0x128]
cmp eax, ecx
je 0x46285d
push eax
call fcn.004e1b56
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d6cfd
mov esp, ebp
pop ebp
ret
Function at 0x463f40
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5309eb
mov eax, dword fs:[0]
push eax
sub esp, 0x36c
mov eax, dword [0x5c6150]
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 dword [ebp - 0x378], ecx
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x370]
call fcn.0045c820
mov dword [ebp - method.t_fileRead.1.virtual_0], vtable.t_fileRead.1.0
mov dword [ebp - 0x1c], vtable.t_fileRead.0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push 0
push esi
push edi
lea ecx, [ebp - 0x370]
mov dword [ebp - 4], 0
call fcn.0045c980
test al, al
je 0x46404e
lea eax, [ebp - 0x374]
mov dword [ebp - 0x374], 0
push eax
push dword [ebp - 0x36c]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, 0xffffffff
jne 0x463ff5
call ebx
test eax, eax
je 0x463ff5
xor esi, esi
lea eax, [ebp - 0x374]
mov dword [ebp - 0x18], esi
push eax
push dword [ebp - 0x36c]
mov dword [ebp - 0x374], 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x464024
call ebx
test eax, eax
je 0x464024
xor esi, esi
mov ebx, dword [ebp - 0x378]
push esi
mov dword [ebx + 8], esi
call fcn.004e1b5b
add esp, 4
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x1c]
push dword [ebx + 8]
push eax
push edi
call fcn.00469aa0
test al, al
je 0x46404e
mov bl, 1
jmp 0x46406a
mov ecx, edi
call fcn.00450c80
push 0x597610
push 0x5971f4
push eax
call fcn.00450580
add esp, 0xc
xor bl, bl
lea ecx, [ebp - 0x370]
mov dword [ebp - method.t_fileRead.1.virtual_0], vtable.t_fileRead.1.0
mov dword [ebp - 0x1c], vtable.t_byteStreamRead.0
call fcn.0045c8c0
mov al, bl
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.004d6cfd
mov esp, ebp
pop ebp
ret 8
Function at 0x464360
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x530a41
mov eax, dword fs:[0]
push eax
sub esp, 0x5ac
mov eax, dword [0x5c6150]
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 esi, dword [ebp + 8]
lea ecx, [ebp - 0x260]
mov ebx, dword [ebp + 0xc]
push 0
push 0
push 0
push 0
push 0
push str..sgbak
call fcn.00451610
lea eax, [ebp - 0x260]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x138]
mov ecx, ebx
push eax
call fcn.00451d20
cmp byte [ebp - 0x144], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x4643f8
mov eax, dword [ebp - 0x258]
lea ecx, [ebp - 0x254]
cmp eax, ecx
je 0x4643f8
push eax
call fcn.004e1b56
add esp, 4
push ecx
lea ecx, [ebp - 0x5b8]
call fcn.0045c820
mov dword [ebp - method.t_fileWrite.virtual_0], vtable.t_fileWrite.0
mov dword [ebp - method.t_fileWrite.1.virtual_0], vtable.t_fileWrite.1.0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x12c]
cmp byte [ebp - 0x1c], 0
push 0x80
cmove eax, dword [ebp - 0x130]
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 1
lea eax, [ebp - 0x138]
push eax
push esi
lea ecx, [ebp - 0x5b8]
call fcn.0045c980
test al, al
jne 0x464466
mov ecx, esi
call fcn.00450c80
push 0x5a1d14
jmp 0x464519
push dword [edi + 0x10]
lea ecx, [ebp - 0x264]
push dword [edi + 8]
push esi
call fcn.0045d100
test al, al
jne 0x46448d
mov ecx, esi
call fcn.00450c80
push 0x5a1cec
jmp 0x464519
lea ecx, [ebp - 0x5b8]
call fcn.0045ce70
cmp byte [ebp - 0x1c], 0
lea eax, [ebp - 0x12c]
cmove eax, dword [ebp - 0x130]
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x46450d
shr eax, 4
not al
and al, 1
je 0x46450d
push 0
push ebx
push esi
lea ecx, [ebp - 0x138]
call fcn.00452d20
test al, al
jne 0x4644e2
mov ecx, esi
call fcn.00450c80
push 0x5a1d14
jmp 0x464519
push dword [edi + 8]
call fcn.004e1b56
add esp, 4
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov bl, 1
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
jmp 0x464529
mov ecx, esi
call fcn.00450c80
push 0x5a1cd4
push 0x5971f4
push eax
call fcn.00450580
add esp, 0xc
xor bl, bl
lea ecx, [ebp - 0x5b8]
mov dword [ebp - method.t_fileWrite.virtual_0], vtable.t_fileWrite.0
mov dword [ebp - method.t_byteStreamWrite.virtual_0], vtable.t_byteStreamWrite.0
call fcn.0045c8c0
cmp byte [ebp - 0x1c], 0
mov dword [ebp - 0x138], vtable.t_str.0
jne 0x464571
mov eax, dword [ebp - 0x130]
lea ecx, [ebp - 0x12c]
cmp eax, ecx
je 0x464571
push eax
call fcn.004e1b56
add esp, 4
mov al, bl
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.004d6cfd
mov esp, ebp
pop ebp
ret 8
Function at 0x465780
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x530b6b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x150
mov eax, dword [0x5c6150]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
mov dword [ebp - 0x150], edi
mov ecx, dword [ebx + 8]
mov dword [ebp - 0x158], ecx
lea ecx, [ebp - 0x13c]
mov dword [ebp - method.t_reg.virtual_0], vtable.t_reg.0
call fcn.0044fd40
push 8
lea ecx, [ebp - 0x134]
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x140], reloc.WS2_32.dll_bind
mov dword [ebp - 0x138], 7
call fcn.00450b00
cmp byte [ebp - 0x20], 0
lea eax, [ebp - 0x130]
movups xmm0, xmmword [str.MACHINE]
cmove eax, dword [ebp - 0x134]
movups xmmword [eax + 4], xmm0
push 1
push 0
push 0
push esi
push edi
lea ecx, [ebp - 0x148]
mov dword [ebp - 4], 0
call fcn.0044f620
test al, al
jne 0x465855
mov ecx, edi
jmp 0x465962
mov edi, dword [ebp - 0x158]
push 0x105
lea ecx, [edi + 8]
mov dword [edi + 0x120], 0x105
call fcn.00450b00
cmp byte [edi + 0x11c], 0
lea eax, [edi + 0xc]
jne 0x465881
mov eax, dword [edi + 8]
lea ecx, [ebp - 0x15c]
mov dword [ebp - 0x154], 0
push ecx
add eax, 4
mov dword [ebp - 0x15c], 0x208
push eax
lea eax, [ebp - 0x154]
push eax
push 0
push 0
push dword [ebp - 0x144]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x465905
cmp byte [ebp - 0x20], 0
lea edi, [ebp - 0x130]
mov ecx, dword [ebp - 0x150]
cmove edi, dword [ebp - 0x134]
push eax
call fcn.00450c80
mov ecx, eax
call fcn.00450ff0
mov ecx, dword [ebp - 0x150]
call fcn.00450c80
push 0x59d0a8
mov esi, eax
push 0x5971f4
push esi
call fcn.00450580
add esp, 0xc
lea ecx, [edi + 4]
push ecx
jmp 0x465943
cmp dword [ebp - 0x154], 1
je 0x465983
cmp byte [ebp - 0x20], 0
lea edi, [ebp - 0x130]
mov ecx, dword [ebp - 0x150]
cmove edi, dword [ebp - 0x134]
call fcn.00450c80
push 0x59d0b8
mov esi, eax
push 0x5971f4
push esi
call fcn.00450580
add esp, 0xc
lea edx, [edi + 4]
push edx
push 0x5971f4
push esi
call fcn.00450580
mov ecx, dword [ebp - 0x158]
add esp, 0xc
call fcn.0044ff00
mov ecx, dword [ebp - 0x150]
call fcn.00450c80
push 0x5a1ea8
push 0x5971f4
push eax
call fcn.00450580
add esp, 0xc
mov byte [ebp - 0x149], 0
jmp 0x465991
mov ecx, edi
call fcn.004502b0
mov byte [ebp - 0x149], 1
mov eax, dword [ebp - 0x144]
mov dword [ebp - method.t_reg.virtual_0], vtable.t_reg.0
test eax, eax
je 0x4659ac
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [ebp - 0x20], 0
mov dword [ebp - 0x144], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x4659df
mov eax, dword [ebp - 0x134]
lea ecx, [ebp - 0x130]
cmp eax, ecx
je 0x4659df
push eax
call fcn.004e1b56
add esp, 4
mov al, byte [ebp - 0x149]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004d6cfd
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x466980
Capabilities:
Create thread
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x530d97
mov eax, dword fs:[0]
push eax
sub esp, 0x13c
mov eax, dword [0x5c6150]
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 dword [ebp - 0x144], edi
mov dword [ebp - 0x148], edi
call fcn.0044fd40
lea ebx, [edi + 0x124]
mov dword [ebp - 4], 0
mov ecx, ebx
call fcn.0044fd40
lea ecx, [ebp - 0x138]
mov dword [edi + 0x248], 0
call fcn.0044fd40
mov byte [ebp - 0x13c], 0
mov dword [ebp - 0x140], 0
lea edx, [ebp - 0x138]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x140]
call fcn.0045fdf0
test al, al
je 0x466b44
cmp byte [ebp - 0x1c], 0
lea esi, [ebp - 0x12c]
mov ecx, edi
cmove esi, dword [ebp - 0x130]
add esi, 4
push esi
call fcn.0044ff70
push 0x597154
push 0x5971f4
push edi
call fcn.00450580
add esp, 0xc
push str.verify.ini
push 0x5971f4
push edi
call fcn.00450580
add esp, 0xc
mov ecx, ebx
push esi
call fcn.0044ff70
push 0x597154
push 0x5971f4
push ebx
call fcn.00450580
add esp, 0xc
push str.sign.ini
push 0x5971f4
push ebx
call fcn.00450580
add esp, 0xc
push 0x234
call fcn.004d7188
add esp, 4
mov dword [ebp - 0x144], eax
push str.Localcs_logsignature
push 5
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.00460ad0
cmp byte [0x5d2339], 0
mov dword [edi + 0x24c], eax
jne 0x466ac9
cmp byte [0x5d4372], 0
je 0x466ac9
mov al, 1
jmp 0x466acb
xor al, al
test al, al
je 0x466b44
cmp dword [0x5c92e4], 0
je 0x466b2e
push 0xc
call fcn.004e1b5b
mov esi, eax
add esp, 4
mov dword [esi], 0x467190
mov dword [esi + 4], edi
cmp dword [0x5c92e4], 0
jne 0x466afa
xor eax, eax
jmp 0x466b06
push dword [0x5c92ec]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [esi + 8], eax
test eax, eax
je 0x466b21
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
push esi
push 0
push 0x48c790
jmp 0x466b36
push esi
call fcn.004e1b56
add esp, 4
xor eax, eax
jmp 0x466b3e
push edi
push 0
push 0x467190
call fcn.004e3782
add esp, 0xc
mov dword [edi + 0x248], eax
lea ecx, [ebp - 0x140]
call fcn.00450c20
cmp byte [ebp - 0x1c], 0
mov dword [ebp - 0x138], vtable.t_str.0
jne 0x466b78
mov eax, dword [ebp - 0x130]
lea ecx, [ebp - 0x12c]
cmp eax, ecx
je 0x466b78
push eax
call fcn.004e1b56
add esp, 4
mov eax, edi
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.004d6cfd
mov esp, ebp
pop ebp
ret
Function at 0x467df0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, edi
mov dword [ebp - 4], ecx
cmp dword [edi + 0x14], 0x10
mov ebx, dword [edi + 0x10]
mov dword [ebp + 0xc], ebx
jb 0x467e0f
mov esi, dword [edi]
xor ecx, ecx
mov edx, 0x811c9dc5
test ebx, ebx
je 0x467e31
nop word [eax + eax]
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x467e20
mov ebx, dword [ebp - 4]
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0xc]
and eax, edx
mov ebx, dword [ebx + 4]
mov esi, dword [ecx + eax*8]
add eax, eax
mov edx, dword [ecx + eax*4]
inc eax
mov dword [ebp - 4], edx
lea eax, [ecx + eax*4]
mov dword [ebp - 8], eax
cmp edx, ebx
jne 0x467e59
mov eax, ebx
jmp 0x467e5d
mov eax, dword [eax]
mov eax, dword [eax]
cmp esi, eax
je 0x467ecc
cmp dword [edi + 0x14], 0x10
mov edx, edi
jb 0x467e6b
mov edx, dword [edi]
cmp dword [esi + 0x1c], 0x10
lea ecx, [esi + 8]
jb 0x467e77
mov ecx, dword [esi + 8]
push dword [ebp + 0xc]
push edx
push dword [esi + 0x18]
push ecx
call fcn.0042ce60
add esp, 0x10
test al, al
jne 0x467e95
mov esi, dword [esi]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
jmp 0x467e51
cmp dword [esi + 0x1c], 0x10
lea ecx, [esi + 8]
jb 0x467ea1
mov ecx, dword [esi + 8]
cmp dword [edi + 0x14], 0x10
jb 0x467ea9
mov edi, dword [edi]
push dword [esi + 0x18]
push ecx
push dword [ebp + 0xc]
push edi
call fcn.0042ce60
add esp, 0x10
test al, al
mov eax, dword [ebp + 8]
cmove esi, ebx
pop edi
mov dword [eax], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword [eax], ebx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4690f0
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53100b
mov eax, dword fs:[0]
push eax
sub esp, 0x360
mov eax, dword [0x5c6150]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x36c]
call fcn.0045c820
mov dword [ebp - method.t_fileWrite.virtual_0], vtable.t_fileWrite.0
mov dword [ebp - 0x18], vtable.t_fileWrite.1.0
mov dword [ebp - 4], 0
lea eax, [edi + 0xc]
cmp byte [edi + 0x11c], 0
jne 0x469159
mov eax, dword [edi + 8]
push 0x80
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 1
push edi
push ebx
lea ecx, [ebp - 0x36c]
call fcn.0045c980
test al, al
je 0x4691d1
push 2
push 0x59cf98
push ebx
lea ecx, [ebp - 0x18]
call fcn.0045d100
test al, al
je 0x4691d1
push dword [esi + 0xc]
lea ecx, [ebp - 0x18]
push dword [esi + 4]
push ebx
call fcn.0045d100
test al, al
je 0x4691d1
lea ecx, [ebp - 0x36c]
call fcn.0045ce70
push dword [esi + 4]
call fcn.004e1b56
add esp, 4
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov bl, 1
mov dword [esi + 0xc], 0
jmp 0x4691d3
xor bl, bl
lea ecx, [ebp - 0x36c]
mov dword [ebp - method.t_fileWrite.virtual_0], vtable.t_fileWrite.0
mov dword [ebp - 0x18], vtable.t_byteStreamWrite.0
call fcn.0045c8c0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004d6cfd
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4693f0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5309eb
mov eax, dword fs:[0]
push eax
sub esp, 0x36c
mov eax, dword [0x5c6150]
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]
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
test eax, eax
je 0x469449
push eax
call fcn.004e1b56
add esp, 4
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
push ecx
lea ecx, [ebp - 0x370]
call fcn.0045c820
mov dword [ebp - method.t_fileRead.1.virtual_0], vtable.t_fileRead.1.0
mov dword [ebp - 0x1c], vtable.t_fileRead.0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push 0
push esi
push ebx
lea ecx, [ebp - 0x370]
mov dword [ebp - 4], 0
call fcn.0045c980
test al, al
je 0x4695e0
lea eax, [ebp - 0x374]
mov dword [ebp - 0x374], 0
push eax
push dword [ebp - 0x36c]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x378], eax
cmp eax, 0xffffffff
jne 0x4694ce
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x4694c8
xor eax, eax
jmp 0x4694ce
mov eax, dword [ebp - 0x378]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x378]
push eax
push dword [ebp - 0x36c]
mov dword [ebp - 0x378], 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x374], eax
cmp eax, 0xffffffff
jne 0x469513
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x46950d
xor eax, eax
mov dword [ebp - 0x374], eax
jmp 0x469513
mov eax, dword [ebp - 0x374]
add eax, 4
push eax
call fcn.004e1b5b
add esp, 4
mov dword [ebp - 0x378], eax
test eax, eax
jne 0x46954c
mov dword [edi + 0x24], 2
lea edi, [esi + 0xc]
cmp byte [esi + 0x11c], al
jne 0x46953e
mov edi, dword [esi + 8]
mov ecx, ebx
call fcn.00450c80
push 0x5a2040
jmp 0x469582
push dword [ebp - 0x374]
lea ecx, [ebp - 0x1c]
push eax
push ebx
call fcn.00469aa0
test al, al
jne 0x4695a6
mov dword [edi + 0x24], 3
cmp byte [esi + 0x11c], 0
lea edi, [esi + 0xc]
jne 0x469576
mov edi, dword [esi + 8]
mov ecx, ebx
call fcn.00450c80
push 0x5a0f58
mov esi, eax
push 0x5971f4
push esi
call fcn.00450580
add esp, 0xc
lea ecx, [edi + 4]
push ecx
push 0x5971f4
push esi
call fcn.00450580
add esp, 0xc
jmp 0x4695e7
lea ecx, [ebp - 0x370]
call fcn.0045ce70
push dword [ebp + 0x14]
mov eax, dword [ebp - 0x374]
xor edx, edx
mov ecx, dword [ebp - 0x378]
push eax
push ecx
push ebx
mov dword [ecx + eax], edx
mov ecx, edi
call fcn.004696e0
test al, al
jne 0x4695dc
mov dword [edi + 0x24], 4
jmp 0x469567
mov bl, 1
jmp 0x4695e9
mov dword [edi + 0x24], 1
xor bl, bl
lea ecx, [ebp - 0x370]
mov dword [ebp - method.t_fileRead.1.virtual_0], vtable.t_fileRead.1.0
mov dword [ebp - 0x1c], vtable.t_byteStreamRead.0
call fcn.0045c8c0
mov al, bl
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.004d6cfd
mov esp, ebp
pop ebp
ret 0x10