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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100e1e80
mov eax, dword fs:[0]
push eax
sub esp, 0x78
push ebx
push esi
push edi
mov eax, dword [0x1010bb90]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
lea edi, [esp + 0x38]
call fcn.10018a60
push eax
mov dword [esp + 0x94], 0
call fcn.1000ec40
mov dword [esp + 0x94], 0xffffffff
mov edi, dword [esp + 0x3c]
add esp, 4
mov dword [esp + 0x2c], eax
test edi, edi
je 0x10013883
push 0
lea ecx, [esp + 0x34]
call fcn.100afbd0
mov eax, dword [edi + 4]
test eax, eax
jbe 0x10013861
cmp eax, 0xffffffff
jae 0x10013861
dec eax
mov dword [edi + 4], eax
mov esi, dword [edi + 4]
neg esi
sbb esi, esi
not esi
lea ecx, [esp + 0x30]
and esi, edi
call fcn.100afbf8
test esi, esi
je 0x10013883
mov eax, dword [esi]
mov edx, dword [eax]
push 1
mov ecx, esi
call edx
mov esi, dword [esp + 0x2c]
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
push 0x25
mov ecx, esi
call edx
mov edi, dword [ebp + 8]
mov bl, al
mov al, byte [edi + 0x50]
mov byte [esp + 0x30], al
mov ecx, dword [esp + 0x30]
push ecx
mov byte [esp + 0x2c], bl
mov edx, dword [esp + 0x2c]
push esi
mov esi, dword [ebp + 0xc]
push edx
push esi
mov byte [esp + 0x2a], 1
mov dword [esp + 0x34], 0xffffffff
call fcn.10017f90
add esp, 0x10
push eax
push edi
call fcn.10017d70
xor eax, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x1c], eax
mov byte [esp + 0x1b], al
mov dword [esp + 0x20], eax
push 1
lea eax, [esp + 0x18]
push eax
push esi
xor eax, eax
mov byte [esp + 0x20], bl
call fcn.10016580
mov esi, eax
cmp esi, 0xffffffff
je 0x10013bb0
mov byte [esp + 0x14], bl
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x10013911
mov eax, dword [ebp + 8]
add eax, 0x34
jmp 0x1001391e
mov ecx, dword [ebp + 8]
imul eax, eax, 0x64
mov edx, dword [ecx + 4]
lea eax, [eax + edx - 0x44]
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebx + 0x18]
add ebx, 4
mov dword [esp + 0x30], ebx
cmp edi, 0x10
jb 0x10013934
mov edx, dword [ebx]
jmp 0x10013936
mov edx, ebx
cmp edi, 0x10
jb 0x1001393f
mov ecx, dword [ebx]
jmp 0x10013941
mov ecx, ebx
mov dl, byte [edx + esi + 1]
cmp dl, byte [ecx + esi]
jne 0x100139df
cmp edi, 0x10
jb 0x10013957
mov ecx, dword [ebx]
jmp 0x10013959
mov ecx, ebx
mov dword [esp + 0x44], ecx
mov edx, 0xfffffffc
lea ecx, [ecx + esi + 1]
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], ecx
cmp edi, 0x10
jb 0x10013977
mov ecx, dword [ebx]
jmp 0x10013979
mov ecx, ebx
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x4c], ecx
add ecx, edx
mov edx, dword [eax + 0x18]
mov dword [esp + 0x4c], ecx
cmp edx, 0x10
jb 0x10013998
mov edi, dword [eax + 4]
jmp 0x1001399b
lea edi, [eax + 4]
mov ecx, dword [eax + 0x14]
add edi, ecx
cmp edx, 0x10
jb 0x100139aa
mov edx, dword [eax + 4]
jmp 0x100139ad
lea edx, [eax + 4]
mov ebx, dword [esp + 0x44]
push ebx
mov ebx, dword [esp + 0x44]
push ebx
mov ebx, dword [esp + 0x54]
push ebx
mov ebx, dword [esp + 0x54]
push ebx
add ecx, edx
push edi
mov edx, 0xfffffffc
mov edi, edx
push edi
push ecx
push edx
call fcn.1001a7f0
add esi, 2
mov dword [esp + 0x1c], esi
jmp 0x10013b8c
cmp esi, dword [esp + 0x1c]
je 0x10013a74
cmp edi, 0x10
jb 0x100139f2
mov ecx, dword [ebx]
jmp 0x100139f4
mov ecx, ebx
mov dword [esp + 0x54], ecx
add ecx, esi
mov edx, 0xfffffffc
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], ecx
cmp edi, 0x10
jb 0x10013a10
mov ecx, dword [ebx]
jmp 0x10013a12
mov ecx, ebx
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x5c], ecx
add ecx, edx
mov edx, dword [eax + 0x18]
mov dword [esp + 0x5c], ecx
cmp edx, 0x10
jb 0x10013a31
mov edi, dword [eax + 4]
jmp 0x10013a34
lea edi, [eax + 4]
mov ecx, dword [eax + 0x14]
add edi, ecx
cmp edx, 0x10
jb 0x10013a43
mov edx, dword [eax + 4]
jmp 0x10013a46
lea edx, [eax + 4]
mov ebx, dword [esp + 0x54]
push ebx
mov ebx, dword [esp + 0x54]
push ebx
mov ebx, dword [esp + 0x64]
push ebx
mov ebx, dword [esp + 0x64]
push ebx
add ecx, edx
push edi
mov edx, 0xfffffffc
mov edi, edx
push edi
push ecx
push edx
call fcn.1001a7f0
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x1c], esi
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 0x18]
inc esi
cmp edx, 0x10
jb 0x10013a84
mov eax, dword [ebx]
jmp 0x10013a86
mov eax, ebx
mov edi, dword [esp + 0x20]
mov dword [esp + 0x34], eax
imul edi, edi, 0x64
add eax, esi
mov ecx, 0xfffffffc
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], eax
mov eax, dword [ebp + 8]
mov cl, byte [eax + 0x50]
mov byte [esp + 0x3c], cl
mov ecx, dword [eax + 4]
add ecx, edi
cmp edx, 0x10
jb 0x10013ab8
mov eax, dword [ebx]
jmp 0x10013aba
mov eax, ebx
mov edx, dword [ebp + 0xc]
mov edx, dword [edx + 0x14]
add edx, eax
mov eax, dword [esp + 0x3c]
push eax
mov dword [esp + 0x70], edx
push esi
lea edx, [esp + 0x70]
push edx
lea eax, [esp + 0x6c]
push eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x78], 0xfffffffc
call fcn.10018120
mov ecx, dword [ebp + 0xc]
add esp, 0x10
cmp dword [ecx + 0x18], 0x10
jb 0x10013af5
mov ebx, dword [ebx]
mov esi, dword [esp + 0x64]
sub esi, ebx
test al, al
je 0x10013b8c
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 4]
mov ecx, dword [eax + edi + 0x60]
add eax, edi
mov dword [esp + 0x1c], esi
test cl, 1
je 0x10013b3e
mov edx, dword [eax + 0x48]
test dl, 0x40
je 0x10013b25
and ecx, 0xfffffffe
jmp 0x10013b3b
and edx, 0xffffff3f
and ecx, 0xfffffffd
or edx, 0x100
mov byte [eax + 0x44], 0x30
mov dword [eax + 0x48], edx
mov dword [eax + 0x60], ecx
mov ecx, dword [eax + 0x60]
test cl, 2
je 0x10013b52
test byte [eax + 0x48], 0x20
je 0x10013b52
and ecx, 0xfffffffd
mov dword [eax + 0x60], ecx
mov edx, dword [ebx + 4]
mov edi, dword [edi + edx]
cmp edi, 0xfffffffd
je 0x10013b8c
cmp edi, 0xffffffff
jne 0x10013b69
mov byte [esp + 0x1a], 0
jmp 0x10013b7f
cmp edi, 0xfffffffe
jne 0x10013b75
mov byte [esp + 0x1b], 1
jmp 0x10013b7f
cmp edi, dword [esp + 0x24]
jle 0x10013b7f
mov dword [esp + 0x24], edi
mov eax, 1
add dword [esp + 0x28], eax
add dword [esp + 0x20], eax
mov ecx, dword [ebp + 0xc]
push 1
lea eax, [esp + 0x18]
push eax
push ecx
mov eax, esi
call fcn.10016580
mov esi, eax
cmp esi, 0xffffffff
jne 0x10013901
cmp dword [esp + 0x20], 0
jne 0x10013bb8
mov ebx, dword [ebp + 8]
add ebx, 0x34
jmp 0x10013bc9
mov eax, dword [esp + 0x20]
mov edx, dword [ebp + 8]
imul eax, eax, 0x64
mov ecx, dword [edx + 4]
lea ebx, [eax + ecx - 0x44]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + 0x18]
mov edi, dword [ecx + 0x14]
add ecx, 4
cmp eax, 0x10
jb 0x10013bde
mov edx, dword [ecx]
jmp 0x10013be0
mov edx, ecx
add edi, edx
mov esi, 0xfffffffc
mov dword [esp + 0x6c], edx
cmp eax, 0x10
jb 0x10013bf2
mov ecx, dword [ecx]
mov eax, dword [esp + 0x1c]
push edi
mov dword [esp + 0x70], ecx
add ecx, eax
push esi
mov edx, esi
push ecx
push edx
mov eax, ebx
call fcn.1001a2f0
mov edi, dword [esp + 0x24]
xor esi, esi
cmp byte [esp + 0x1a], 0
jne 0x10013c7e
cmp edi, esi
jl 0x10013c53
mov ecx, dword [ebp + 8]
test byte [ecx + 0x50], 1
je 0x10013c53
lea ecx, [esp + 0x70]
call fcn.100c0337
mov dword [esp + 0x70], vtable.boost::io::bad_format_string.0
mov dword [esp + 0x7c], edi
mov dword [esp + 0x80], esi
lea ecx, [esp + 0x70]
mov dword [esp + 0x90], 1
call fcn.1000f350
mov ebx, dword [esp + 0x28]
xor edx, edx
cmp ebx, esi
jle 0x10013c79
xor ecx, ecx
mov edi, ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
add eax, ecx
cmp dword [eax], 0xffffffff
jne 0x10013c71
mov dword [eax], edx
inc edx
add ecx, 0x64
sub edi, 1
jne 0x10013c61
lea edi, [edx - 1]
jmp 0x10013c82
mov ebx, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x18]
push 0x20
call eax
sub esp, 0x64
mov ecx, esp
mov dword [ecx], 0xffffffff
mov dword [ecx + 0x18], esi
mov edx, 0xf
mov dword [ecx + 0x1c], edx
mov byte [ecx + 8], 0
mov dword [ecx + 0x38], edx
mov dword [ecx + 0x34], esi
mov byte [ecx + 0x24], 0
mov byte [ecx + 0x54], 0
mov dword [ecx + 0x3c], esi
mov dword [ecx + 0x50], esi
mov dword [ecx + 0x4c], esi
mov dword [ecx + 0x40], 6
mov byte [ecx + 0x44], al
mov dword [ecx + 0x48], 0x201
mov dword [ecx + 0x60], esi
mov esi, dword [ebp + 8]
mov dword [ecx + 0x5c], bind
mov edx, ebx
mov ecx, esi
mov dword [esp + 0xa0], esp
call fcn.10015cf0
cmp byte [esp + 0x1b], 0
je 0x10013cf9
or dword [esi + 0x24], 4
inc edi
cmp byte [esp + 0x1a], 0
mov dword [esi + 0x2c], edi
je 0x10013d0a
or dword [esi + 0x24], 1
jmp 0x10013d0e
and dword [esi + 0x24], 0xfffffffe
mov eax, esi
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8