joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44bd97
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, eax
mov eax, dword [esi + 8]
push edi
mov edi, eax
and edi, 7
je 0x44bdbc
cmp eax, edi
jge 0x44bdb4
mov eax, esi
call fcn.0044b74b
mov ecx, edi
shr dword [esi + 0xc], cl
sub dword [esi + 8], edi
xor ecx, ecx
cmp dword [esi + 8], ecx
jle 0x44bdde
mov al, byte [esi + 0xc]
shr dword [esi + 0xc], 8
add dword [esi + 8], 0xfffffff8
mov byte [ebp + ecx - 4], al
inc ecx
cmp dword [esi + 8], 0
jg 0x44bdc3
cmp ecx, 4
jge 0x44bdfd
mov edi, dword [esi + 4]
mov eax, dword [esi]
cmp eax, edi
jb 0x44bdeb
xor eax, eax
jmp 0x44bdf3
mov dl, byte [eax]
inc eax
mov dword [esi], eax
movzx eax, dl
mov byte [ebp + ecx - 4], al
inc ecx
cmp ecx, 4
jl 0x44bde1
movzx edi, byte [ebp - 3]
movzx eax, byte [ebp - 4]
movzx ecx, byte [ebp - 2]
shl edi, 8
add edi, eax
movzx eax, byte [ebp - 1]
shl eax, 8
add eax, ecx
mov ecx, edi
xor ecx, 0xffff
cmp eax, ecx
je 0x44be2f
mov eax, str.zlib_corrupt
call fcn.004497b7
jmp 0x44be6a
mov eax, dword [esi]
add eax, edi
cmp eax, dword [esi + 4]
jbe 0x44be3f
mov eax, str.read_past_buffer
jmp 0x44be28
mov eax, dword [esi + 0x10]
add eax, edi
cmp eax, dword [esi + 0x18]
jbe 0x44be54
mov ecx, edi
call fcn.0044b776
test eax, eax
je 0x44be6a
push edi
push dword [esi]
push dword [esi + 0x10]
call fcn.004591c0
add dword [esi], edi
add dword [esi + 0x10], edi
xor eax, eax
add esp, 0xc
inc eax
pop edi
pop esi
leave
ret

Function at 0x44f320
Capabilities:
Write file on windows

Disassembly:
push ecx
mov eax, dword [esp + 8]
push ebx
push esi
xor ebx, ebx
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x44f34d
pop esi
lea eax, [ebx + 1]
pop ebx
pop ecx
ret
mov edx, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x1c]
push ebx
lea ecx, [esp + 0x10]
push ecx
push edi
push edx
push esi
mov dword [esp + 0x20], ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [esp + 0xc], edi
pop edi
je 0x44f375
mov ebx, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov eax, ebx
pop ebx
pop ecx
ret
Function at 0x44f800
Capabilities:
Read file on windows

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x14]
mov esi, dword [edi]
test esi, esi
je 0x44f862
push ebx
mov ebx, dword [esp + 0x14]
push ebp
mov ebp, dword [esp + 0x14]
mov dword [edi], 0
lea esp, [esp]
mov eax, 0x400000
cmp esi, 0x400000
ja 0x44f82f
mov eax, esi
mov edx, dword [ebp]
push 0
lea ecx, [esp + 0x20]
push ecx
push eax
push ebx
push edx
mov dword [esp + 0x30], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [esp + 0x1c]
add dword [edi], ecx
add ebx, ecx
sub esi, ecx
test eax, eax
je 0x44f867
test ecx, ecx
je 0x44f860
test esi, esi
ja 0x44f820
pop ebp
pop ebx
pop edi
xor eax, eax
pop esi
ret
pop ebp
pop ebx
pop edi
pop esi
jmp dword [sym.imp.KERNEL32.dll_GetLastError]

Function at 0x451ea0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor edx, edx
mov eax, edx
and eax, 1
dec eax
not eax
and eax, 0xedb88320
mov ecx, edx
shr ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov dword [edx*4 + 0x494080], ecx
inc edx
cmp edx, 0x100
jb 0x451ea2
cmp edx, 0x800
jae 0x451f79
lea esp, [esp]
mov eax, dword [edx*4 + 0x493c80]
mov ecx, eax
and ecx, 0xff
shr eax, 8
xor eax, dword [ecx*4 + 0x494080]
inc edx
mov dword [edx*4 + 0x49407c], eax
cmp edx, 0x800
jb 0x451f50
mov dword [0x493264], 0x452e70
call fcn.00453040
test eax, eax
jne 0x451f96
mov dword [0x493264], 0x452f20
ret
Function at 0x4561a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ecx
mov ecx, dword [esp + 0x14]
push ebp
mov ebp, dword [ecx]
mov ecx, dword [esp + 0x10]
xor eax, eax
and ebp, 7
cmp ecx, 5
jae 0x4561b9
pop ebp
pop ecx
ret
mov edx, dword [esp + 0xc]
push ebx
push esi
mov esi, dword [esp + 0x1c]
add esi, 5
lea edx, [edx + ecx - 4]
push edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], 0xffffffff
mov dword [esp + 0x10], edx
jmp 0x4561e0
mov ecx, dword [esp + 0x18]
lea edi, [eax + ecx]
cmp edi, edx
jae 0x4561fd
jmp 0x4561f0
mov al, byte [edi]
and al, 0xfe
cmp al, 0xe8
je 0x4561fd
inc edi
cmp edi, edx
jb 0x4561f0
mov eax, edi
sub eax, ecx
mov ecx, eax
sub ecx, dword [esp + 0x1c]
cmp edi, edx
jae 0x456312
cmp ecx, 3
jbe 0x456231
xor ebp, ebp
mov cl, byte [edi + 4]
mov dword [esp + 0x1c], eax
test cl, cl
je 0x45626b
cmp cl, 0xff
je 0x45626b
and ebp, 3
add ebp, ebp
or ebp, 1
inc eax
jmp 0x4561e0
dec ecx
shl ebp, cl
and ebp, 7
je 0x456216
movzx ecx, byte [ebp + 0x47bdd0]
mov ebx, edi
sub ebx, ecx
cmp byte [ebp + 0x47bdc8], 0
mov cl, byte [ebx + 4]
je 0x456259
test cl, cl
je 0x456259
cmp cl, 0xff
jne 0x456216
and ebp, 3
add ebp, ebp
mov dword [esp + 0x1c], eax
or ebp, 1
inc eax
jmp 0x4561e0
movzx edx, cl
movzx ecx, byte [edi + 3]
shl edx, 8
or edx, ecx
movzx ecx, byte [edi + 2]
shl edx, 8
or edx, ecx
movzx ecx, byte [edi + 1]
shl edx, 8
or edx, ecx
lea esp, [esp]
cmp dword [esp + 0x28], 0
je 0x45629e
lea ebx, [edx + eax]
add ebx, esi
jmp 0x4562a4
sub edx, eax
sub edx, esi
mov ebx, edx
test ebp, ebp
je 0x4562e4
movzx esi, byte [ebp + 0x47bdd0]
add esi, esi
add esi, esi
add esi, esi
mov ecx, 0x18
sub ecx, esi
mov edx, ebx
shr edx, cl
test dl, dl
je 0x4562c9
cmp dl, 0xff
jne 0x4562e0
mov ecx, 0x20
sub ecx, esi
mov esi, dword [esp + 0x20]
mov edx, 1
shl edx, cl
dec edx
xor edx, ebx
jmp 0x456290
mov esi, dword [esp + 0x20]
mov edx, ebx
shr edx, 0x18
and dl, 1
dec dl
not dl
mov byte [edi + 4], dl
mov edx, ebx
shr edx, 8
mov ecx, ebx
shr ecx, 0x10
mov byte [edi + 2], dl
mov edx, dword [esp + 0x10]
mov byte [edi + 3], cl
mov byte [edi + 1], bl
add eax, 5
jmp 0x4561e0
pop edi
pop esi
pop ebx
cmp ecx, 3
jbe 0x456325
mov ecx, dword [esp + 0x18]
xor ebp, ebp
mov dword [ecx], ebp
pop ebp
pop ecx
ret
dec ecx
shl ebp, cl
mov ecx, dword [esp + 0x18]
and ebp, 7
mov dword [ecx], ebp
pop ebp
pop ecx
ret

Function at 0x459157
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x48e780]
jne 0x459161
repz ret
jmp fcn.0045fffc
Function at 0x469a19
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0045f855
and dword [ebp - 4], 0
cmp dword [0x493f18], 0
mov ebx, eax
jne 0x469aca
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x469b7b
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x469b7b
push eax
call fcn.0045f7e3
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x493f18], eax
call esi
push eax
call fcn.0045f7e3
mov dword [esp], 0x47e354
push edi
mov dword [0x493f1c], eax
call esi
push eax
call fcn.0045f7e3
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x493f20], eax
call esi
push eax
call fcn.0045f7e3
pop ecx
mov dword [0x493f28], eax
test eax, eax
je 0x469aca
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0045f7e3
pop ecx
mov dword [0x493f24], eax
mov eax, dword [0x493f24]
cmp eax, ebx
je 0x469b22
cmp dword [0x493f28], ebx
je 0x469b22
push eax
call fcn.0045f85e
push dword [0x493f28]
mov esi, eax
call fcn.0045f85e
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x469b22
test edi, edi
je 0x469b22
call esi
test eax, eax
je 0x469b19
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x469b19
test byte [ebp - 0xc], 1
jne 0x469b22
or dword [ebp + 0x10], 0x200000
jmp 0x469b5b
mov eax, dword [0x493f1c]
cmp eax, ebx
je 0x469b5b
push eax
call fcn.0045f85e
pop ecx
test eax, eax
je 0x469b5b
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x469b5b
mov eax, dword [0x493f20]
cmp eax, ebx
je 0x469b5b
push eax
call fcn.0045f85e
pop ecx
test eax, eax
je 0x469b5b
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x493f18]
call fcn.0045f85e
pop ecx
test eax, eax
je 0x469b7b
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x469b7d
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10004510
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008ca50
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x100b736c]
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 dword [ebp - 0x10], esp
mov ebx, ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov edi, dword [ebx + 0x18]
movzx eax, byte [edx]
xor eax, 0x811c9dc5
mov esi, dword [ebx + 4]
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 1]
mov dword [ebp - 0x20], ebx
mov dword [ebp - 4], 0
xor ecx, eax
movzx eax, byte [edx + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
and edi, eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x24], edi
mov ecx, dword [eax + edi*8]
cmp esi, ecx
je 0x100045f5
mov esi, dword [eax + edi*8 + 4]
mov esi, dword [esi]
cmp esi, ecx
je 0x100045f5
mov esi, dword [esi + 4]
mov eax, dword [edx]
cmp eax, dword [esi + 8]
jne 0x100045a0
mov edi, dword [ebp + 0x10]
push 0xc
push edi
mov ecx, dword [edi + 4]
mov eax, dword [edi]
mov dword [ecx], eax
mov edx, dword [edi]
mov ecx, dword [edi + 4]
mov dword [edx + 4], ecx
dec dword [ebx + 8]
call fcn.1003c606
mov eax, dword [ebp - 0x18]
add esp, 8
mov dword [eax], esi
mov byte [eax + 4], 0
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.1003c985
mov esp, ebp
pop ebp
ret 0xc
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x1c], edi
mov eax, dword [edi]
cmp esi, eax
je 0x10004622
mov ecx, dword [edi + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], esi
mov ecx, dword [esi + 4]
mov dword [ecx], edi
mov ecx, dword [eax + 4]
mov edx, dword [esi + 4]
mov dword [esi + 4], ecx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov dword [edi + 4], edx
mov eax, dword [ebx + 0xc]
mov edx, dword [ebp - 0x24]
lea ecx, [eax + edx*8]
mov eax, dword [ecx]
cmp eax, dword [ebx + 4]
jne 0x1000463d
mov dword [ecx], edi
mov eax, dword [ebx + 0xc]
mov dword [eax + edx*8 + 4], edi
jmp 0x10004660
cmp eax, esi
jne 0x10004645
mov dword [ecx], edi
jmp 0x10004660
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, edi
je 0x10004660
mov eax, dword [ebx + 0xc]
lea edx, [eax + edx*8]
mov eax, dword [edx + 4]
mov eax, dword [eax + 4]
mov dword [edx + 4], eax
mov ecx, ebx
mov dword [ebp - 4], 2
call fcn.10011b70
mov eax, dword [ebp - 0x18]
mov dword [eax], edi
mov byte [eax + 4], 1
jmp 0x100045d7
Function at 0x100095a0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008d242
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x100b736c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x430], esi
mov dword [ebp - 0x42c], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
push 0x208
push eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x218]
push eax
mov dword [ebp - 0x42c], 1
mov dword [ebp - 0x424], 0x104
call fcn.100644e0
add esp, 0xc
mov dword [ebp - 0x428], 1
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x428]
push eax
push str.local_m2
push 0x10094bc4
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x1000967e
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10009660
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.100141d0
cmp dword [esi + 0x10], 0
jne 0x100096fa
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.100644e0
add esp, 0xc
lea eax, [ebp - 0x420]
push 0x104
push eax
call fcn.10046190
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100096b4
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.100141d0
cmp dword [esi + 0x14], 8
mov eax, esi
mov ecx, dword [esi + 0x10]
jb 0x100096df
mov eax, dword [esi]
add ecx, ecx
push ecx
push eax
push 1
push str.local_m2
push 0x10094bc4
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
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.1003c985
mov esp, ebp
pop ebp
ret
Function at 0x100119b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x10011a09
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x10011a09
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x100119fa
cmp esi, edx
jae 0x10011a09
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x100119e8
cmp esi, edx
jae 0x10011a09
cmp word [esi], 0
je 0x10011a09
mov eax, esi
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret

Function at 0x10015170
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x100b736c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 8], eax
mov ebx, ecx
push edi
mov edi, dword [ebp + 0xc]
movzx eax, byte [edi + 8]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [edi + 9]
xor edx, eax
movzx eax, byte [edi + 0xa]
imul ecx, edx, 0x1000193
xor ecx, eax
movzx eax, byte [edi + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [ebx + 0x18]
and ecx, eax
lea edx, [ecx*8]
mov ecx, dword [ebx + 0xc]
add ecx, edx
mov eax, dword [ecx]
cmp dword [ecx + 4], edi
jne 0x100151f6
cmp eax, edi
jne 0x100151ee
mov eax, dword [ebx + 4]
mov dword [ecx], eax
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 4]
mov dword [edx + ecx + 4], eax
jmp 0x100151fe
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp 0x100151fe
cmp eax, edi
jne 0x10015201
mov eax, dword [edi]
mov dword [ecx], eax
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 4]
mov esi, dword [edi]
push 0xc
push edi
mov dword [eax], esi
mov edx, dword [edi]
mov ecx, dword [edi + 4]
mov dword [edx + 4], ecx
dec dword [ebx + 8]
call fcn.1003c606
mov eax, dword [ebp - 8]
add esp, 8
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
mov dword [eax], esi
pop esi
pop ebx
call fcn.1003c985
mov esp, ebp
pop ebp
ret 8
Function at 0x100156b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008e348
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x100b736c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 8
mov dword [esi + 0x30], 0
mov dword [esi + 8], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0x201
mov dword [esi + 0x18], 6
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0xc], 0
call fcn.1003c5d6
mov edi, eax
add esp, 4
test edi, edi
je 0x10015753
xorps xmm0, xmm0
movq qword [edi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.100212bf
add esp, 4
mov dword [edi + 4], eax
jmp 0x10015755
xor edi, edi
mov eax, dword [ebp + 8]
mov dword [esi + 0x30], edi
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], 0
mov ecx, dword [edi + 4]
mov dword [ebp - 4], 1
mov dword [ebp - 0x10], ecx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 2
push eax
call fcn.10005d50
add esp, 4
mov ecx, eax
mov edx, dword [eax]
push 0x20
call dword [edx + 0x30]
movzx edi, ax
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 4], 3
test ecx, ecx
je 0x100157b5
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x100157b5
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
cmp dword [esi + 0x38], 0
mov dword [ebp - 4], 0xffffffff
mov word [esi + 0x40], di
jne 0x100157d9
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
and eax, 0x13
or eax, 4
mov dword [esi + 0xc], eax
and ecx, eax
jne 0x100157fb
cmp byte [ebp + 0xc], 0
je 0x100157e8
push esi
call fcn.100217e6
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
test cl, 4
je 0x10015807
mov esi, str.ios_base::badbit_set
jmp 0x10015817
test cl, 2
mov esi, str.ios_base::failbit_set
mov eax, str.ios_base::eofbit_set
cmove esi, eax
lea eax, [ebp - 0x1c]
push 1
push eax
call fcn.100158e0
add esp, 8
lea ecx, [ebp - 0x30]
push eax
push esi
call fcn.10006d20
push 0x100aee54
lea eax, [ebp - 0x30]
push eax
call fcn.100646bc
int3

Function at 0x10017360
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x100b736c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov eax, 0x100bb5e4
mov dword [ebp - 0x1c], 0x690077
lea esi, [ebp - 0x1c]
mov dword [ebp - 0x18], 0x77006e
mov dword [ebp - 0x14], 0x72006f
mov edx, 0xd
mov dword [ebp - 0x10], 0x2e0064
sub esi, eax
mov dword [ebp - 0xc], 0x780065
mov dword [ebp - 8], 0x65
nop word [eax + eax]
lea ecx, [edx + 0x7ffffff1]
test ecx, ecx
je 0x100173ce
movzx ecx, word [esi + eax]
test cx, cx
je 0x100173ce
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x100173b0
lea ecx, [eax - 2]
test edx, edx
pop esi
cmovne ecx, eax
xor eax, eax
mov word [ecx], ax
mov eax, 0x100bb5e4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003c985
mov esp, ebp
pop ebp
ret
Function at 0x100173f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x100b736c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov eax, 0x100bb574
mov dword [ebp - 0x20], 0x6c0073
lea esi, [ebp - 0x20]
mov dword [ebp - 0x1c], 0x720062
mov dword [ebp - 0x18], 0x77006f
mov edx, 0xf
mov dword [ebp - 0x14], 0x650073
sub esi, eax
mov dword [ebp - 0x10], 0x2e0072
mov dword [ebp - 0xc], 0x780065
mov dword [ebp - 8], 0x65
lea ecx, [edx + 0x7fffffef]
test ecx, ecx
je 0x1001745f
movzx ecx, word [esi + eax]
test cx, cx
je 0x1001745f
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x10017441
lea ecx, [eax - 2]
test edx, edx
pop esi
cmovne ecx, eax
xor eax, eax
mov word [ecx], ax
mov eax, 0x100bb574
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003c985
mov esp, ebp
pop ebp
ret

Function at 0x10017480
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x100b736c]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x1c], 0x73006d
push esi
mov word [ebp - 8], ax
lea esi, [ebp - 0x1c]
mov eax, 0x100bb480
mov dword [ebp - 0x18], 0x640065
mov dword [ebp - 0x14], 0x650067
mov edx, 0xc
mov dword [ebp - 0x10], 0x65002e
sub esi, eax
mov dword [ebp - 0xc], 0x650078
nop dword [eax]
lea ecx, [edx + 0x7ffffff2]
test ecx, ecx
je 0x100174ee
movzx ecx, word [esi + eax]
test cx, cx
je 0x100174ee
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x100174d0
lea ecx, [eax - 2]
test edx, edx
pop esi
cmovne ecx, eax
xor eax, eax
mov word [ecx], ax
mov eax, 0x100bb480
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003c985
mov esp, ebp
pop ebp
ret

Function at 0x10017510
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x100b736c]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x24], 0x360033
push esi
mov word [ebp - 8], ax
lea esi, [ebp - 0x24]
mov eax, 0x100bb4d0
mov dword [ebp - 0x20], 0x630030
mov dword [ebp - 0x1c], 0x720068
mov edx, 0x10
mov dword [ebp - 0x18], 0x6d006f
sub esi, eax
mov dword [ebp - 0x14], 0x780065
mov dword [ebp - 0x10], 0x65002e
mov dword [ebp - 0xc], 0x650078
nop word [eax + eax]
lea ecx, [edx + 0x7fffffee]
test ecx, ecx
je 0x1001758e
movzx ecx, word [esi + eax]
test cx, cx
je 0x1001758e
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x10017570
lea ecx, [eax - 2]
test edx, edx
pop esi
cmovne ecx, eax
xor eax, eax
mov word [ecx], ax
mov eax, 0x100bb4d0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003c985
mov esp, ebp
pop ebp
ret
Function at 0x100175b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x100b736c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov eax, 0x100bb4f0
mov dword [ebp - 0x20], 0x710071
lea esi, [ebp - 0x20]
mov dword [ebp - 0x1c], 0x720062
mov dword [ebp - 0x18], 0x77006f
mov edx, 0xf
mov dword [ebp - 0x14], 0x650073
sub esi, eax
mov dword [ebp - 0x10], 0x2e0072
mov dword [ebp - 0xc], 0x780065
mov dword [ebp - 8], 0x65
lea ecx, [edx + 0x7fffffef]
test ecx, ecx
je 0x1001761f
movzx ecx, word [esi + eax]
test cx, cx
je 0x1001761f
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x10017601
lea ecx, [eax - 2]
test edx, edx
pop esi
cmovne ecx, eax
xor eax, eax
mov word [ecx], ax
mov eax, 0x100bb4f0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003c985
mov esp, ebp
pop ebp
ret

Function at 0x100176d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x100b736c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov eax, 0x100bb4b0
mov dword [ebp - 0x20], 0x360033
lea esi, [ebp - 0x20]
mov dword [ebp - 0x1c], 0x630030
mov dword [ebp - 0x18], 0x720068
mov edx, 0xf
mov dword [ebp - 0x14], 0x6d006f
sub esi, eax
mov dword [ebp - 0x10], 0x2e0065
mov dword [ebp - 0xc], 0x780065
mov dword [ebp - 8], 0x65
lea ecx, [edx + 0x7fffffef]
test ecx, ecx
je 0x1001773f
movzx ecx, word [esi + eax]
test cx, cx
je 0x1001773f
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x10017721
lea ecx, [eax - 2]
test edx, edx
pop esi
cmovne ecx, eax
xor eax, eax
mov word [ecx], ax
mov eax, 0x100bb4b0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003c985
mov esp, ebp
pop ebp
ret

Function at 0x10017760
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x100b736c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov eax, 0x100bb5b0
mov dword [ebp - 0x24], 0x650077
lea esi, [ebp - 0x24]
mov dword [ebp - 0x20], 0x680063
mov dword [ebp - 0x1c], 0x740061
mov edx, 0x11
mov dword [ebp - 0x18], 0x700061
sub esi, eax
mov dword [ebp - 0x14], 0x650070
mov dword [ebp - 0x10], 0x2e0078
mov dword [ebp - 0xc], 0x780065
mov dword [ebp - 8], 0x65
nop dword [eax + eax]
lea ecx, [edx + 0x7fffffed]
test ecx, ecx
je 0x100177de
movzx ecx, word [esi + eax]
test cx, cx
je 0x100177de
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x100177c0
lea ecx, [eax - 2]
test edx, edx
pop esi
cmovne ecx, eax
xor eax, eax
mov word [ecx], ax
mov eax, 0x100bb5b0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003c985
mov esp, ebp
pop ebp
ret