Function at 0x1005b10c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xc
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push edi
mov edi, 0x101af48c
mov ebx, str.__t_n_r
mov eax, esi
call fcn.1005b710
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
mov ecx, esi
call edx
movzx eax, al
add eax, 0xffffffd0
cmp eax, 0x44
ja case.0x1005b06a.50
movzx eax, byte [eax + 0x1005b128]
jmp dword [eax*4 + 0x1005b10c]
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
mov ecx, esi
call eax
mov byte [ebp], 0
pop edi
pop ebp
pop ebx
add esp, 0xc
ret 4
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
mov ecx, esi
call eax
mov byte [ebp], 1
pop edi
pop ebp
pop ebx
add esp, 0xc
ret 4
push str.FALSE
push esi
call fcn.1005b7e0
test al, al
je case.0x1005b06a.50
mov byte [ebp], 0
pop edi
pop ebp
pop ebx
add esp, 0xc
ret 4
push str.TRUE
push esi
call fcn.1005b7e0
test al, al
je case.0x1005b06a.50
pop edi
mov byte [ebp], 1
pop ebp
pop ebx
add esp, 0xc
ret 4
push str.false
jmp 0x1005b0a2
push str.true
push esi
call fcn.1005b7e0
test al, al
jne 0x1005b090
lea ecx, [esp + 0x10]
push str.bool_esm_InStream::readBoolAscii__bool_boolA__:_could_not_read_boolean_from_stream
push ecx
call fcn.100598e0
add esp, 8
push 0x102052fc
lea edx, [esp + 0x14]
push edx
call fcn.1017d044
jno 0x1005b0be
add eax, 0x5b08710
adc byte [ebp - 0x46effa50], bl
mov al, 5
adc ch, dl
mov al, 5
adc ah, bl
mov al, 5
adc bl, ch
mov al, 5
adc byte [eax], al
add dword [esi], eax
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
add al, byte [esi]
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
add eax, dword [esi]
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
add al, 6
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
add eax, 1439485132
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10197b00
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x10218460]
xor eax, esp
mov dword [esp + 0x64], eax
push ebx
push esi
mov eax, dword [0x10218460]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov eax, dword [edi]
mov edx, dword [eax + 0x24]
mov esi, 2
mov ecx, edi
mov byte [edi + 0x10], 0
mov dword [esp + 0x10], esi
call edx
test eax, eax
je 0x1005b282
mov eax, dword [edi]
mov edx, dword [eax + 0x24]
push 1
mov ecx, edi
call edx
lea ecx, [esp + 0x48]
push ecx
mov ebx, eax
call fcn.10005bb0
xor ebx, ebx
lea esi, [esp + 0x20]
mov edx, eax
mov dword [esp + 0x80], ebx
call fcn.1005bc40
lea edx, [esp + 0x10]
push edx
mov ecx, eax
mov byte [esp + 0x84], 1
call fcn.1005d1d0
mov byte [esp + 0x84], bl
add esp, 4
cmp byte [esp + 0x31], bl
mov esi, vtable.ert_TmplArr_char_.0
mov byte [esp + 0x17], al
mov dword [esp + 0x20], esi
je 0x1005b231
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x1005b231
push eax
call fcn.10178e5d
add esp, 4
mov dword [esp + 0x80], 0xffffffff
cmp byte [esp + 0x55], bl
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x31], bl
mov dword [esp + 0x3c], vtable.ert_RefCounter.0
mov dword [esp + 0x44], esi
je 0x1005b26f
mov eax, dword [esp + 0x48]
cmp eax, ebx
je 0x1005b26f
push eax
call fcn.10178e5d
add esp, 4
cmp byte [esp + 0x17], bl
je 0x1005b27e
mov eax, dword [esp + 0x10]
jmp 0x1005b411
mov esi, dword [esp + 0x10]
mov eax, dword [edi]
mov edx, dword [eax + 8]
mov ecx, edi
call edx
test al, al
je 0x1005b299
mov eax, 2
jmp 0x1005b411
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
mov ecx, edi
call edx
mov byte [esp + 0x1c], al
movzx eax, al
cmp eax, 0x4d
ja case.0x1005b2b9.4
movzx eax, byte [eax + 0x1005b450]
jmp dword [eax*4 + 0x1005b430]
mov edx, dword [edi]
mov eax, dword [edx + 0xc]
mov ecx, edi
call eax
mov byte [esp + 0x10], al
movzx esi, al
mov eax, dword [esp + 0x10]
jmp 0x1005b3f7
mov esi, 3
mov byte [edi + 0x10], 1
jmp case.0x1005b2b9.4
mov esi, 4
mov byte [edi + 0x10], 1
jmp case.0x1005b2b9.4
mov esi, 5
mov byte [edi + 0x10], 1
jmp case.0x1005b2b9.4
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
mov ecx, edi
call edx
cmp al, 0x49
mov byte [esp + 0x18], al
jne 0x1005b357
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
mov ecx, edi
call edx
cmp al, 0x2a
mov byte [esp + 0x68], al
jne 0x1005b349
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
mov ecx, edi
call edx
test al, al
mov byte [esp + 0x10], al
jne 0x1005b33b
mov esi, 6
mov ecx, dword [esp + 0x10]
mov eax, dword [edi]
mov edx, dword [eax + 0x18]
push ecx
mov ecx, edi
call edx
mov ecx, dword [esp + 0x68]
mov eax, dword [edi]
mov edx, dword [eax + 0x18]
push ecx
mov ecx, edi
call edx
mov eax, dword [edi]
mov ecx, dword [esp + 0x18]
mov edx, dword [eax + 0x18]
push ecx
jmp 0x1005b3fd
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
mov ecx, edi
call edx
cmp al, 0x4d
mov byte [esp + 0x10], al
jne 0x1005b3ba
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
mov ecx, edi
call edx
test al, al
mov byte [esp + 0x68], al
jne 0x1005b3ac
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
mov ecx, edi
call edx
cmp al, 0x2a
mov byte [esp + 0x18], al
jne 0x1005b39e
mov esi, 6
mov ecx, dword [esp + 0x18]
mov eax, dword [edi]
mov edx, dword [eax + 0x18]
push ecx
mov ecx, edi
call edx
mov ecx, dword [esp + 0x68]
mov eax, dword [edi]
mov edx, dword [eax + 0x18]
push ecx
mov ecx, edi
call edx
mov eax, dword [edi]
mov ecx, dword [esp + 0x10]
mov edx, dword [eax + 0x18]
push ecx
jmp 0x1005b3fd
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
mov ecx, edi
call edx
cmp al, 0x4d
mov byte [esp + 0x18], al
jne 0x1005b3f3
push 0
push 5
lea eax, [esp + 0x70]
push eax
mov ecx, edi
call fcn.10052540
cmp byte [esp + 0x6c], 0
jne 0x1005b3f3
mov esi, 7
mov eax, dword [esp + 0x18]
mov edx, dword [edi]
mov edx, dword [edx + 0x18]
push eax
mov ecx, edi
call edx
mov ecx, dword [esp + 0x1c]
mov eax, dword [edi]
mov edx, dword [eax + 0x18]
push ecx
mov ecx, edi
call edx
mov eax, esi
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.10178e24
mov esp, ebp
pop ebp
ret