Function at 0x10054760
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a3153
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x248
mov dword [ebp - 0x28], 0
mov eax, dword fs:[0x30]
push esi
push edi
mov dword [ebp - 4], 0
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov esi, dword [eax + 0x18]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x14], esi
mov ecx, dword [esi + 0x3c]
mov ecx, dword [ecx + esi + 0x78]
add ecx, esi
mov dword [ebp - 0x30], ecx
cmp ecx, esi
je 0x10054836
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x10054836
mov ecx, dword [ecx + 0x20]
lea ecx, [ecx + edx*4]
add ecx, esi
mov edi, dword [ecx - 4]
sub ecx, 4
add edi, esi
mov dword [ebp - 0x2c], ecx
mov ecx, 0x4cb511f5
dec edx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x24], edx
mov cl, byte [edi]
inc edi
test cl, cl
je 0x1005482f
mov eax, dword [ebp - 0x1c]
movsx esi, cl
lea edi, [edi + 1]
sub cl, 0x41
mov edx, esi
or edx, 0x20
cmp cl, 0x19
mov cl, byte [edi - 1]
cmova edx, esi
xor edx, eax
imul eax, edx, 0x1000193
test cl, cl
jne 0x100547f7
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x5ec8d941
mov eax, dword [ebp - 0x20]
je 0x1005483d
mov esi, dword [eax + 0x18]
mov ecx, dword [ebp - 0x2c]
test edx, edx
jne 0x100547d6
mov eax, dword [eax]
jmp 0x100547ae
mov eax, dword [ebp - 0x30]
mov esi, dword [ebp - 0x14]
mov ecx, dword [eax + 0x1c]
mov eax, dword [eax + 0x24]
add ecx, esi
add eax, esi
movzx eax, word [eax + edx*2]
mov eax, dword [ecx + eax*4]
lea ecx, [ebp - 0x258]
push ecx
add eax, esi
push 0x104
call eax
mov edi, dword [ebx + 8]
lea ecx, [ebp - 0x258]
xorps xmm0, xmm0
lea esi, [edi + 0x14]
lea edx, [ecx + 1]
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [esi], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10054886
sub ecx, edx
lea eax, [ebp - 0x258]
push ecx
push eax
mov ecx, edi
call fcn.1000f500
push 1
push 0x100ab464
mov ecx, edi
mov dword [ebp - 4], 0
mov dword [ebp - 0x28], 1
call fcn.1000e370
call fcn.10082f33
cdq
mov ecx, 0x98967f
idiv ecx
lea eax, [ebp - 0x138]
push edx
push eax
call fcn.10030510
add esp, 8
mov edx, eax
mov dword [ebp - 0x18], 0x80a82ce3
mov dword [ebp - 0x14], 0x92221139
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x18], 0xb563e00e
mov dword [ebp - 0x14], 0xbbeeaa18
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x18], 0xe7d846cd
mov dword [ebp - 0x14], 0x92221139
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], 0xb563e00e
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x14], 0xbbeeaa18
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
movaps xmm1, xmmword [ebp - 0x40]
mov dword [ebp - 0x44], ecx
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x48], eax
lea edi, [ecx + 1]
xorps xmm1, xmmword [ebp - 0x50]
mov dword [ebp - 4], 1
movaps xmmword [ebp - 0x40], xmm1
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10054960
sub ecx, edi
lea eax, [ebp - 0x40]
push ecx
push eax
mov ecx, edx
call fcn.1000e370
cmp dword [eax + 0x14], 0xf
mov ecx, dword [eax + 0x10]
jbe 0x10054980
mov eax, dword [eax]
mov edi, dword [ebx + 8]
push ecx
push eax
mov ecx, edi
call fcn.1000e370
mov ecx, dword [ebp - 0x124]
mov byte [ebp - 4], 0
cmp ecx, 0xf
jbe 0x100549cd
mov edx, dword [ebp - 0x138]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100549c3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10054c37
lea esi, [edi + 0x14]
push ecx
push edx
call fcn.1007c0dd
add esp, 8
lea eax, [ebp - 0x68]
push 0x100ed098
push eax
call fcn.10076ad0
add esp, 8
cmp dword [esi], 0xf
mov esi, dword [ebx + 8]
mov dword [ebp - 4], 2
jbe 0x100549ef
mov edi, dword [esi]
lea ecx, [ebp - 0xb0]
mov dword [ebp - 0x118], 0x100ab33c
call fcn.100101b0
mov eax, dword [ebp - 0x118]
push 0
mov byte [ebp - 4], 3
mov dword [ebp - 0x28], 3
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x118]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x11c], eax
lea ecx, [ebp - 0x118]
mov eax, dword [ebp - 0x118]
add ecx, dword [eax + 4]
lea eax, [ebp - 0x114]
push eax
call fcn.10015050
mov eax, dword [ebp - 0x118]
mov dword [ebp - 4], 5
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ofstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x118]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x11c], eax
lea ecx, [ebp - 0x114]
call fcn.10024f00
push 0x40
push 0x22
push edi
lea ecx, [ebp - 0x114]
mov byte [ebp - 4], 6
call fcn.10056a50
test eax, eax
jne 0x10054ae0
mov eax, dword [ebp - 0x118]
mov ecx, dword [eax + 4]
xor eax, eax
cmp dword [ebp + ecx - 0xe0], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ebp + ecx - 0x10c]
and eax, 0x17
mov dword [ebp + ecx - 0x10c], eax
mov ecx, dword [ebp + ecx - 0x108]
and ecx, eax
jne 0x10054bec
mov ecx, dword [0x100ed0a8]
lea eax, [ebp - 0x68]
shr ecx, 1
cmp dword [ebp - 0x54], 0xf
push 0
cmova eax, dword [ebp - 0x68]
push ecx
push eax
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 7
call fcn.1001f5e0
lea ecx, [ebp - 0x118]
call fcn.10056400
cmp dword [0x100ed0ac], 0xf
mov eax, 0x100ed098
mov dword [0x100ed0a8], 0
cmova eax, dword [0x100ed098]
mov byte [eax], 0
mov eax, dword [ebp - 0x118]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ofstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x118]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x11c], eax
lea ecx, [ebp - 0x114]
call fcn.10010740
mov eax, dword [ebp - 0x118]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x118]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x11c], eax
lea eax, [ebp - 0xb0]
mov byte [ebp - 4], 8
push eax
mov dword [ebp - 0xb0], vtable.std::ios_base.0
call fcn.1007b897
mov ecx, dword [ebp - 0x54]
add esp, 4
cmp ecx, 0xf
jbe 0x10054bd7
mov edx, dword [ebp - 0x68]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10054bcd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10054c37
push ecx
push edx
call fcn.1007c0dd
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
test cl, 4
je 0x10054bf8
mov esi, str.ios_base::badbit_set
jmp 0x10054c08
test cl, 2
mov esi, str.ios_base::failbit_set
mov eax, str.ios_base::eofbit_set
cmove esi, eax
lea eax, [ebp - 0x120]
push 1
push eax
call fcn.10015950
add esp, 8
lea ecx, [ebp - 0x14c]
push eax
push esi
call fcn.10010620
push 0x100e7ef8
lea eax, [ebp - 0x14c]
push eax
call fcn.1007d847
call fcn.1008173f
int3