joyce8/EMBER2024-capa huggingface dataset:
Function at 0x116f9df0
Capabilities:
Hash data using sha224

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], 0xc1059ed8
mov dword [eax + 8], 0x367cd507
mov dword [eax + 0x10], 0x3070dd17
mov dword [eax + 0x18], 0xf70e5939
mov dword [eax + 0x20], 0xffc00b31
mov dword [eax + 0x28], 0x68581511
mov dword [eax + 0x30], 0x64f98fa7
mov dword [eax + 0x38], 0xbefa4fa4
mov dword [eax + 0x40], ecx
mov dword [eax + 0x48], ecx
mov dword [eax + 4], 0xcbbb9d5d
mov dword [eax + 0xc], 0x629a292a
mov dword [eax + 0x14], 0x9159015a
mov dword [eax + 0x1c], 0x152fecd8
mov dword [eax + 0x24], 0x67332667
mov dword [eax + 0x2c], 0x8eb44a87
mov dword [eax + 0x34], 0xdb0c2e0d
mov dword [eax + 0x3c], 0x47b5481d
mov dword [eax + 0x44], ecx
mov dword [eax + 0x4c], ecx
mov dword [eax + 0xd0], ecx
mov dword [eax + 0xd4], 0x30
mov eax, 1
ret

Function at 0x116f9e90
Capabilities:
Hash data using sha256

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], 0xf3bcc908
mov dword [eax + 8], 0x84caa73b
mov dword [eax + 0x10], 0xfe94f82b
mov dword [eax + 0x18], 0x5f1d36f1
mov dword [eax + 0x20], 0xade682d1
mov dword [eax + 0x28], 0x2b3e6c1f
mov dword [eax + 0x30], 0xfb41bd6b
mov dword [eax + 0x38], 0x137e2179
mov dword [eax + 0x40], ecx
mov dword [eax + 0x48], ecx
mov dword [eax + 4], 0x6a09e667
mov dword [eax + 0xc], 0xbb67ae85
mov dword [eax + 0x14], 0x3c6ef372
mov dword [eax + 0x1c], 0xa54ff53a
mov dword [eax + 0x24], 0x510e527f
mov dword [eax + 0x2c], 0x9b05688c
mov dword [eax + 0x34], 0x1f83d9ab
mov dword [eax + 0x3c], 0x5be0cd19
mov dword [eax + 0x44], ecx
mov dword [eax + 0x4c], ecx
mov dword [eax + 0xd0], ecx
mov dword [eax + 0xd4], 0x40
mov eax, 1
ret
Function at 0x117024a0
Capabilities:
Allocate thread local storage
Set thread local storage value

Disassembly:
mov eax, dword [0x117c0484]
push ebx
mov ebx, dword [esp + 0x10]
push esi
test eax, eax
push edi
jne 0x117024c2
mov eax, dword [0x117c0c0c]
test eax, eax
jne 0x117024c2
mov eax, dword [0x117c121c]
test eax, eax
je 0x117024c6
test ebx, ebx
je 0x11702500
mov eax, dword [0x117afed4]
or esi, 0xffffffff
cmp eax, esi
jne 0x11702500
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, esi
mov dword [0x117afed4], eax
je 0x11702500
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x11702500
mov eax, dword [0x117afed4]
push eax
call dword [sym.imp.KERNEL32.dll_TlsFree]
mov dword [0x117afed4], esi
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
push ebx
push esi
push edi
call fcn.117142f0
add esp, 0xc
test eax, eax
je 0x11702543
mov ecx, dword [esp + 0x1c]
push ecx
push ebx
push esi
push edi
call fcn.11730ba0
add esp, 0x10
test eax, eax
je 0x11702543
push ebx
push esi
push edi
call fcn.1173fed0
add esp, 0xc
test eax, eax
je 0x11702543
pop edi
pop esi
mov eax, 1
pop ebx
ret
pop edi
pop esi
xor eax, eax
pop ebx
ret
Function at 0x117148f0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x3ec
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
push ebp
push esi
xor ebp, ebp
push edi
mov dword [0x117c0478], ebp
call ebx
mov dword [0x117c0480], eax
mov ecx, 0xf7
xor eax, eax
lea edi, [esp + 0x1d]
mov byte [esp + 0x1c], 0
mov esi, dword [esp + 0x41c]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
cmp esi, ebp
stosb byte es:[edi], al
je 0x11714a2c
mov ecx, 0xf8
lea edi, [esp + 0x1c]
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x1c]
push eax
call fcn.1171b7e0
mov esi, dword [esp + 0x408]
mov ebx, dword [esp + 0x414]
mov ebp, dword [esp + 0x410]
mov edi, dword [esp + 0x40c]
add esp, 4
mov dword [esp + 0x10], eax
test esi, esi
jne 0x11714995
test edi, edi
jne 0x11714995
test ebp, ebp
jne 0x11714995
test ebx, ebx
jne 0x11714995
mov ecx, dword [esp + 0x414]
test ecx, ecx
jne 0x11714995
mov ecx, dword [esp + 0x418]
test ecx, ecx
je 0x11714a21
cmp eax, 3
jne 0x11714a21
mov ecx, dword [esp + 0x4c]
lea edx, [esp + 0x1c]
push ecx
push 0x30
push edx
call fcn.1174eb40
add esp, 0xc
test eax, eax
je 0x11714a1d
mov eax, dword [esp + 0x40]
test esi, esi
je 0x117149c5
mov ecx, eax
and ecx, 1
mov dword [esi], ecx
test edi, edi
je 0x117149d0
mov edx, eax
and edx, 2
mov dword [edi], edx
test ebp, ebp
je 0x117149dc
mov ecx, eax
and ecx, 4
mov dword [ebp], ecx
test ebx, ebx
je 0x117149fb
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov dword [ebx], edx
mov edx, dword [esp + 0x34]
mov dword [ebx + 4], ecx
mov ecx, dword [esp + 0x38]
mov dword [ebx + 8], edx
mov dword [ebx + 0xc], ecx
mov ecx, dword [esp + 0x414]
test ecx, ecx
je 0x11714a0d
mov edx, eax
and edx, 8
mov dword [ecx], edx
mov ecx, dword [esp + 0x418]
test ecx, ecx
je 0x11714a1d
and eax, 0x10
mov dword [ecx], eax
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3ec
ret
mov esi, dword [esp + 0x400]
lea eax, [esp + 0x10]
push 1
push eax
mov dword [esp + 0x18], ebp
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push esi
call ebp
push 0
push 0
push 0
push esi
mov dword [esp + 0x28], eax
call ebp
cmp esi, 0xffffffff
je 0x11714abd
lea ecx, [esp + 0x1c]
test ecx, ecx
je 0x11714abd
push esi
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
jne 0x11714ad8
mov ecx, 0xd
xor eax, eax
lea edi, [esp + 0x1c]
lea edx, [esp + 0x14]
rep stosd dword es:[edi], eax
xor edi, edi
lea eax, [esp + 0x1c]
push edi
push edx
push 0x34
push eax
push esi
mov dword [esp + 0x28], edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x11714ab6
mov dword [0x117c0478], 0xd
mov dword [0x117c047c], 0x29f7
call ebx
mov dword [0x117c0480], eax
jmp 0x11714ada
mov edi, 1
jmp 0x11714ada
mov dword [0x117c0478], 1
mov dword [0x117c047c], 0x29ea
call ebx
mov dword [0x117c0480], eax
xor edi, edi
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x10]
push 0
push ecx
push edx
push esi
call ebp
test edi, edi
jne 0x1171493e
mov dword [0x117c0478], 0xf
mov dword [0x117c047c], 0x1b63
call ebx
pop edi
pop esi
mov dword [0x117c0480], eax
pop ebp
xor eax, eax
pop ebx
add esp, 0x3ec
ret
Function at 0x11714c30
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x3ec
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
push ebp
push esi
push edi
xor edi, edi
mov dword [0x117c0478], edi
call ebx
mov esi, dword [esp + 0x400]
mov ebp, dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [0x117c0480], eax
lea eax, [esp + 0x10]
push 1
push eax
push edi
push esi
mov dword [esp + 0x20], edi
call ebp
push edi
push edi
push edi
push esi
mov dword [esp + 0x28], eax
call ebp
mov ecx, 0xf7
xor eax, eax
lea edi, [esp + 0x1d]
mov byte [esp + 0x1c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
cmp esi, 0xffffffff
stosb byte es:[edi], al
je 0x11714cf5
lea ecx, [esp + 0x1c]
test ecx, ecx
je 0x11714cf5
push esi
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
jne 0x11714d10
mov ecx, 0xf8
xor eax, eax
lea edi, [esp + 0x1c]
lea edx, [esp + 0x14]
rep stosd dword es:[edi], eax
xor edi, edi
lea eax, [esp + 0x1c]
push edi
push edx
push 0x3e0
push eax
push esi
mov dword [esp + 0x28], edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x11714cee
mov dword [0x117c0478], 0xd
mov dword [0x117c047c], 0x29f7
call ebx
mov dword [0x117c0480], eax
jmp 0x11714d12
mov edi, 1
jmp 0x11714d12
mov dword [0x117c0478], 1
mov dword [0x117c047c], 0x29ea
call ebx
mov dword [0x117c0480], eax
xor edi, edi
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x10]
push 0
push ecx
push edx
push esi
call ebp
test edi, edi
jne 0x11714d4d
mov dword [0x117c0478], 0xf
mov dword [0x117c047c], 0x1bcd
call ebx
pop edi
pop esi
mov dword [0x117c0480], eax
pop ebp
xor eax, eax
pop ebx
add esp, 0x3ec
ret
lea eax, [esp + 0x1c]
push eax
call fcn.1171b7e0
add esp, 4
cmp eax, 3
jne 0x11714dc4
mov ecx, dword [esp + 0x4c]
lea edx, [esp + 0x1c]
push ecx
push 0x30
push edx
call fcn.1174eb40
add esp, 0xc
test eax, eax
je 0x11714da9
mov eax, dword [esp + 0x404]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
pop edi
mov dword [eax], ecx
mov ecx, dword [esp + 0x30]
pop esi
pop ebp
mov dword [eax + 4], edx
mov edx, dword [esp + 0x2c]
pop ebx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov eax, 1
add esp, 0x3ec
ret
mov dword [0x117c0478], 0x1c
mov dword [0x117c047c], 0x1bdb
call ebx
mov dword [0x117c0480], eax
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x3ec
ret
Function at 0x11722d70
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x3e4
push ebx
push ebp
mov ebp, dword [esp + 0x3f0]
push esi
xor ebx, ebx
push edi
push ebx
push ebx
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ecx, 0xf7
xor eax, eax
lea edi, [esp + 0x15]
mov byte [esp + 0x14], bl
rep stosd dword es:[edi], eax
mov esi, dword [esp + 0x3fc]
stosw word es:[edi], ax
cmp esi, ebx
stosb byte es:[edi], al
je 0x11722e0d
mov ecx, 0xf8
lea edi, [esp + 0x14]
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x14]
test eax, eax
je 0x11722e00
push 0x10
lea ecx, [esp + 0x18]
push 0x117aff78
push ecx
call fcn.116c2300
add esp, 0xc
test eax, eax
je 0x11722def
push 0x10
lea edx, [esp + 0x18]
push 0x117aff8c
push edx
call fcn.116c2300
add esp, 0xc
test eax, eax
jne 0x11722e00
cmp dword [esp + 0x48], ebx
jne 0x11722e00
cmp dword [esp + 0x70], ebx
jne 0x11722e00
mov ebx, 1
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x3e4
ret
cmp ebp, 0xffffffff
je 0x11722e82
lea eax, [esp + 0x14]
test eax, eax
je 0x11722e82
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
jne 0x11722ea1
mov ecx, 0xf8
xor eax, eax
lea edi, [esp + 0x14]
push ebx
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x14]
lea edx, [esp + 0x18]
push ecx
push 0x3e0
push edx
push ebp
mov dword [esp + 0x24], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x11722db7
mov dword [0x117c0478], 0xd
mov dword [0x117c047c], 0x29f7
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
mov dword [0x117c0480], eax
pop ebp
xor eax, eax
pop ebx
add esp, 0x3e4
ret
mov dword [0x117c0478], 1
mov dword [0x117c047c], 0x29ea
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x117c0480], eax
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x3e4
ret
Function at 0x11723060
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x34
push esi
push edi
xor edx, edx
mov ecx, 0xb
xor eax, eax
lea edi, [esp + 0xd]
mov byte [esp + 0xc], dl
mov esi, dword [esp + 0x44]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
cmp esi, edx
mov dword [esp + 8], edx
stosb byte es:[edi], al
je 0x11723097
mov ecx, 0xc
lea edi, [esp + 0xc]
rep movsd dword es:[edi], dword [esi]
jmp 0x1172315b
mov esi, dword [esp + 0x40]
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [esp + 0x4c]
push 1
push eax
push edx
push esi
mov dword [esp + 0x5c], edx
call ebp
push 0
push 0
push 0
push esi
mov ebx, eax
call ebp
cmp esi, 0xffffffff
je 0x11723129
lea ecx, [esp + 0x14]
test ecx, ecx
je 0x11723129
push esi
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
jne 0x11723148
mov ecx, 0xc
xor eax, eax
lea edi, [esp + 0x14]
lea edx, [esp + 0x48]
rep stosd dword es:[edi], eax
xor edi, edi
lea eax, [esp + 0x14]
push edi
push edx
push 0x30
push eax
push esi
mov dword [esp + 0x5c], edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x11723122
mov dword [0x117c0478], 0xd
mov dword [0x117c047c], 0x29f7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x117c0480], eax
jmp 0x1172314a
mov edi, 1
jmp 0x1172314a
mov dword [0x117c0478], 1
mov dword [0x117c047c], 0x29ea
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x117c0480], eax
xor edi, edi
lea ecx, [esp + 0x4c]
push 0
push ecx
push ebx
push esi
call ebp
pop ebp
pop ebx
test edi, edi
je 0x1172316a
test byte [esp + 0x30], 0x20
je 0x1172316a
mov dword [esp + 8], 1
mov eax, dword [esp + 8]
pop edi
pop esi
add esp, 0x34
ret
Function at 0x1173b2d0
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x11771928
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
push ebx
push ebp
push esi
xor esi, esi
push edi
mov dword [0x117c0c00], esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, dword [esp + 0x80]
mov edi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [0x117c0c08], eax
lea eax, [esp + 0x10]
push 1
push eax
push esi
push ebx
mov dword [esp + 0x20], esi
call edi
push esi
push esi
push 0x40
push ebx
mov dword [esp + 0x2c], eax
call edi
mov ecx, 0x13
xor eax, eax
lea edi, [esp + 0x24]
mov dword [esp + 0x20], esi
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x80]
mov dword [esp + 0x14], esi
call fcn.11699310
mov edx, dword [esp + 0x84]
xor ecx, ecx
push 0xffffffffffffffff
mov dword [esp + 0x7c], esi
mov cx, word [edx + 0x3e]
push ecx
lea ecx, [esp + 0x88]
call fcn.11699520
lea ecx, [esp + 0x80]
call fcn.11699510
lea ecx, [esp + 0x80]
mov esi, eax
call fcn.11699c30
cmp ebx, 0xffffffff
mov ebp, eax
je 0x1173b462
test ebp, ebp
je 0x1173b462
test esi, esi
je 0x1173b462
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
jne 0x1173b3fb
mov ecx, esi
xor eax, eax
mov edx, ecx
mov edi, ebp
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push 0
and ecx, 3
mov dword [esp + 0x1c], 0
rep stosb byte es:[edi], al
lea eax, [esp + 0x1c]
push eax
push esi
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1173b47b
mov dword [0x117c0c00], 0xd
mov dword [0x117c0c04], 0x224e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x117c0c08], eax
lea ecx, [esp + 0x80]
mov dword [esp + 0x78], 0xffffffff
call fcn.11699470
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x10]
push 0
push eax
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
test eax, eax
pop ebx
jne 0x1173b532
mov dword [0x117c0c00], 0xf
mov dword [0x117c0c04], 0x2e79
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x117c0c08], eax
xor eax, eax
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
add esp, 0x6c
ret
mov dword [0x117c0c00], 1
mov dword [0x117c0c04], 0x2241
jmp 0x1173b3f0
lea ecx, [esp + 0x80]
call fcn.11699510
push eax
lea ecx, [esp + 0x84]
call fcn.11699c30
mov ecx, dword [esp + 0x88]
push eax
push ecx
call fcn.1173c9e0
add esp, 0xc
test eax, eax
je 0x1173b3fb
lea ecx, [esp + 0x80]
call fcn.11699c10
mov edx, 0x50
cmp word [eax + 4], dx
jne 0x1173b3fb
mov ecx, 0x14
mov esi, eax
lea edi, [esp + 0x20]
rep movsd dword es:[edi], dword [esi]
cmp word [esp + 0x24], dx
jne 0x1173b3fb
cmp word [esp + 0x30], 0x38
jne 0x1173b3fb
mov esi, dword [esp + 0x20]
mov dword [esp + 0x20], 0
push esi
push edx
lea edx, [esp + 0x28]
push edx
call fcn.1174eb40
add esp, 0xc
mov dword [esp + 0x20], esi
test eax, eax
je 0x1173b3fb
mov edi, dword [esp + 0x88]
mov ecx, 0x14
lea esi, [esp + 0x20]
mov dword [esp + 0x14], 1
rep movsd dword es:[edi], dword [esi]
jmp 0x1173b3fb
mov ecx, dword [esp + 0x60]
mov eax, 1
mov dword fs:[0], ecx
add esp, 0x6c
ret
Function at 0x1173b550
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x11771948
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
push ebp
push esi
xor esi, esi
push edi
mov dword [0x117c0c00], esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, dword [esp + 0x64]
mov edi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [0x117c0c08], eax
lea eax, [esp + 0x10]
push 1
push eax
push esi
push ebx
mov dword [esp + 0x20], esi
call edi
push esi
push esi
push 0x90
push ebx
mov dword [esp + 0x28], eax
call edi
mov ecx, 0xd
xor eax, eax
lea edi, [esp + 0x20]
mov dword [esp + 0x1c], esi
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x64]
mov dword [esp + 0x14], esi
call fcn.11699310
mov edx, dword [esp + 0x6c]
xor ecx, ecx
push 0xffffffffffffffff
mov dword [esp + 0x60], esi
mov cx, word [edx + 0x10]
push ecx
lea ecx, [esp + 0x6c]
call fcn.11699520
lea ecx, [esp + 0x64]
call fcn.11699510
lea ecx, [esp + 0x64]
mov esi, eax
call fcn.11699c30
cmp ebx, 0xffffffff
mov ebp, eax
je 0x1173b6d0
test ebp, ebp
je 0x1173b6d0
test esi, esi
je 0x1173b6d0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
jne 0x1173b66c
mov ecx, esi
xor eax, eax
mov edx, ecx
mov edi, ebp
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push 0
and ecx, 3
mov dword [esp + 0x70], 0
rep stosb byte es:[edi], al
lea eax, [esp + 0x70]
push eax
push esi
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1173b6e9
mov dword [0x117c0c00], 0xd
mov dword [0x117c0c04], 0x224e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x117c0c08], eax
lea ecx, [esp + 0x64]
mov dword [esp + 0x5c], 0xffffffff
call fcn.11699470
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x10]
push 0
push eax
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
test eax, eax
pop ebx
jne 0x1173b785
mov dword [0x117c0c00], 0xf
mov dword [0x117c0c04], 0x2ead
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x117c0c08], eax
xor eax, eax
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
add esp, 0x50
ret
mov dword [0x117c0c00], 1
mov dword [0x117c0c04], 0x2241
jmp 0x1173b661
lea ecx, [esp + 0x64]
call fcn.11699510
push eax
lea ecx, [esp + 0x68]
call fcn.11699c30
mov ecx, dword [esp + 0x6c]
push eax
push ecx
call fcn.1173c9e0
add esp, 0xc
test eax, eax
je 0x1173b66c
lea ecx, [esp + 0x64]
call fcn.11699c10
mov edx, 0x38
cmp word [eax + 4], dx
jne 0x1173b66c
mov ecx, 0xe
mov esi, eax
lea edi, [esp + 0x1c]
rep movsd dword es:[edi], dword [esi]
cmp word [esp + 0x20], dx
jne 0x1173b66c
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x1c], 0
push esi
push edx
lea edx, [esp + 0x24]
push edx
call fcn.1174eb40
add esp, 0xc
mov dword [esp + 0x1c], esi
test eax, eax
je 0x1173b66c
mov edi, dword [esp + 0x70]
mov ecx, 0xe
lea esi, [esp + 0x1c]
mov dword [esp + 0x14], 1
rep movsd dword es:[edi], dword [esi]
jmp 0x1173b66c
mov ecx, dword [esp + 0x44]
mov eax, 1
mov dword fs:[0], ecx
add esp, 0x50
ret
Function at 0x1173b7a0
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x11771968
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
xor ebp, ebp
mov dword [0x117c0c00], ebp
call edi
mov esi, dword [esp + 0x2c]
mov ebx, dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [0x117c0c08], eax
lea eax, [esp + 0x14]
push 1
push eax
push ebp
push esi
mov dword [esp + 0x24], ebp
call ebx
lea ecx, [esp + 0x10]
mov dword [esp + 0x18], eax
mov dword [esp + 0x2c], ebp
call fcn.11699310
push ebp
push ebp
push 0xc8
push esi
mov dword [esp + 0x34], ebp
call ebx
mov edx, dword [esp + 0x34]
xor ecx, ecx
push 0xffffffffffffffff
mov cx, word [edx + 0x12]
push ecx
lea ecx, [esp + 0x18]
call fcn.11699520
lea ecx, [esp + 0x10]
call fcn.11699510
lea ecx, [esp + 0x10]
mov ebx, eax
call fcn.11699c30
cmp esi, 0xffffffff
mov ebp, eax
je 0x1173b8a6
test ebp, ebp
je 0x1173b8a6
test ebx, ebx
je 0x1173b8a6
push esi
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
jne 0x1173b95f
mov ecx, ebx
xor eax, eax
mov edx, ecx
mov edi, ebp
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push 0
and ecx, 3
mov dword [esp + 0x38], 0
rep stosb byte es:[edi], al
lea eax, [esp + 0x38]
push eax
push ebx
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1173b8c6
mov dword [0x117c0c00], 0xd
mov dword [0x117c0c04], 0x224e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x117c0c08], eax
jmp 0x1173b95f
mov dword [0x117c0c00], 1
mov dword [0x117c0c04], 0x2241
call edi
mov dword [0x117c0c08], eax
jmp 0x1173b95f
lea ecx, [esp + 0x10]
call fcn.11699510
push eax
lea ecx, [esp + 0x14]
call fcn.11699c30
mov ecx, dword [esp + 0x34]
push eax
push ecx
call fcn.1173c9e0
add esp, 0xc
test eax, eax
je 0x1173b95f
lea ecx, [esp + 0x10]
call fcn.11699c10
mov edi, eax
cmp word [edi], 1
jne 0x1173b95f
xor edx, edx
xor ecx, ecx
mov dx, word [edi + 0xe]
mov cx, word [edi + 0xc]
imul edx, ecx
mov eax, dword [edi + 4]
add edx, 0x10
cmp eax, edx
jne 0x1173b95f
mov ebx, dword [edi + 8]
mov dword [edi + 8], 0
push ebx
push eax
push edi
call fcn.1174eb40
add esp, 0xc
mov dword [edi + 8], ebx
test eax, eax
je 0x1173b95f
mov edi, dword [esp + 0x38]
lea edx, [esp + 0x10]
push edx
mov ecx, edi
call fcn.116994a0
mov ecx, edi
call fcn.11699c10
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov dword [esp + 0x2c], 1
mov dword [ecx], eax
add eax, 0x10
mov dword [edx], eax
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x14]
push 0
push eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
test eax, eax
pop ebx
jne 0x1173b9bf
mov dword [0x117c0c00], 0xf
mov dword [0x117c0c04], 0x2ee2
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [esp]
mov dword [0x117c0c08], eax
mov dword [esp + 0x14], 0xffffffff
call fcn.11699470
xor eax, eax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
lea ecx, [esp]
mov dword [esp + 0x14], 0xffffffff
call fcn.11699470
mov ecx, dword [esp + 0xc]
mov eax, 1
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x11741030
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x24
push ebx
push ebp
push esi
xor ebp, ebp
push edi
mov dword [0x117c1210], ebp
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x117c1218], eax
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x15]
mov byte [esp + 0x14], 0
mov esi, dword [esp + 0x3c]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
cmp esi, ebp
stosb byte es:[edi], al
je 0x11741074
mov ecx, 8
lea edi, [esp + 0x14]
rep movsd dword es:[edi], dword [esi]
jmp 0x117410dd
mov esi, dword [esp + 0x38]
mov edi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [esp + 0x10]
push 1
push eax
push ebp
push esi
mov dword [esp + 0x20], ebp
call edi
push ebp
push ebp
push ebp
push esi
mov ebx, eax
call edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
jne 0x117410ce
lea ecx, [esp + 0x3c]
push 0
push ecx
lea edx, [esp + 0x1c]
push 0x20
push edx
push esi
mov dword [esp + 0x50], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x117410ce
cmp dword [esp + 0x3c], 0x20
jne 0x117410ce
mov ebp, 1
lea eax, [esp + 0x10]
push 0
push eax
push ebx
push esi
call edi
test ebp, ebp
je 0x11741111
lea ecx, [esp + 0x14]
push ecx
call fcn.11740be0
add esp, 4
test eax, eax
je 0x11741130
mov ecx, dword [esp + 0x40]
mov eax, 1
test ecx, ecx
je 0x11741132
mov bl, byte [esp + 0x1b]
xor edx, edx
cmp bl, 0xe
pop edi
setne dl
pop esi
pop ebp
mov dword [ecx], edx
pop ebx
add esp, 0x24
ret
mov dword [0x117c1210], 0xf
mov dword [0x117c1214], 0x2f6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x117c1218], eax
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret