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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x154
mov eax, dword [0x10141004]
xor eax, esp
mov dword [esp + 0x150], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor ebx, ebx
mov dword [esp + 0x64], eax
xor edi, edi
mov dword [esp + 0x60], edx
push 0x40
lea eax, [esp + 0x74]
mov dword [esp + 0x2c], ebx
mov esi, ecx
mov dword [esp + 0x10], edi
push edi
push eax
mov dword [esp + 0x30], esi
mov dword [esp + 0x50], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x160], ebx
mov byte [esp + 0x164], bl
call fcn.10002790
mov eax, dword [esi + 0x34]
add esp, 0xc
mov dword [esp + 0x34], eax
cmp dword [esp + 0x64], ebx
jne 0x100f2a05
lea eax, [ebx + 7]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x150]
xor ecx, esp
call fcn.100011bc
mov esp, ebp
pop ebp
ret
movzx edx, word [esi + 0x18]
movzx ecx, byte [esi + 0xc]
lea esi, [ecx + edx]
cmp esi, 2
jae 0x100f2a1b
mov dword [esp + 0x48], ebx
jmp 0x100f2a4a
mov eax, dword [esp + 0x60]
test eax, eax
jne 0x100f2a29
mov dword [esp + 0x48], ebx
jmp 0x100f2a40
cmp eax, esi
jne 0x100f2a3b
mov eax, dword [ebp + 0x10]
add esi, 0xfffffffe
add esi, eax
mov dword [esp + 0x48], esi
jmp 0x100f2a43
dec eax
mov dword [esp + 0x48], eax
mov eax, dword [ebp + 0x10]
mov esi, 2
sub esi, eax
lea eax, [esi + 1]
mov dword [esp + 0x50], esi
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x48]
sub eax, ecx
lea ecx, [eax + esi]
cmp ecx, edx
jne 0x100f2a74
mov eax, dword [esp + 0x24]
movzx ecx, byte [eax + 9]
mov eax, dword [eax + 0x38]
add ecx, 8
add ecx, eax
jmp 0x100f2a8f
mov edx, dword [esp + 0x24]
mov eax, dword [edx + 0x40]
mov ax, word [eax + ecx*2]
mov ch, al
mov cl, ah
movzx eax, word [edx + 0x1a]
movzx ecx, cx
and ecx, eax
add ecx, dword [edx + 0x38]
mov dword [esp + 0x54], ecx
mov ecx, dword [ecx]
bswap ecx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x4c], ecx
nop
test edi, edi
jne 0x100f3d4f
mov eax, dword [esp + 0x34]
cmp ecx, dword [eax + 0x30]
jbe 0x100f2ad9
push 0x10130974
push 0x10983
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call sym.SQLite.Interop.dll_SI950480ab972e108d
add esp, 0x14
mov edi, 0xb
jmp 0x100f2b62
mov eax, dword [eax]
lea edx, [esp + 0x40]
push 0
push edx
push ecx
push eax
mov eax, dword [eax + 0xdc]
call eax
mov edi, eax
add esp, 0x10
mov dword [esp + 0xc], edi
test edi, edi
jne 0x100f2b66
mov edx, dword [esp + 0x40]
mov eax, dword [edx + 8]
mov dword [esp + esi*4 + 0xb0], eax
cmp byte [eax], 0
jne 0x100f2b60
mov ecx, dword [edx + 8]
mov edi, dword [esp + 0x58]
cmp edi, dword [ecx + 4]
je 0x100f2b38
mov eax, dword [edx + 4]
cmp edi, 1
mov dword [ecx + 0x38], eax
mov eax, dword [esp + 0x34]
mov dword [ecx + 0x34], eax
setne al
dec al
mov dword [ecx + 0x48], edx
and al, 0x64
mov dword [ecx + 4], edi
mov byte [ecx + 9], al
mov ecx, dword [esp + esi*4 + 0xb0]
call fcn.100f9c10
mov edi, eax
mov dword [esp + 0xc], edi
test edi, edi
je 0x100f2b60
mov ecx, dword [esp + esi*4 + 0xb0]
test ecx, ecx
je 0x100f2b66
call fcn.100f9880
jmp 0x100f2b66
xor edi, edi
mov dword [esp + 0xc], edi
mov dword [esp + 0x1c], edi
test edi, edi
jne 0x100f3d4f
mov ecx, dword [esp + esi*4 + 0xb0]
cmp dword [ecx + 0x14], edi
jge 0x100f2b95
call fcn.100f9e10
mov edi, eax
mov dword [esp + 0xc], edi
mov dword [esp + 0x1c], edi
test edi, edi
jne 0x100f2cd5
mov ecx, dword [esp + esi*4 + 0xb0]
movzx ecx, word [ecx + 0x18]
add ecx, 4
add ebx, ecx
mov ecx, esi
dec esi
mov dword [esp + 0x20], ebx
test ecx, ecx
je 0x100f2cff
mov eax, dword [esp + 0x24]
mov dl, byte [eax + 0xc]
test dl, dl
je 0x100f2c0c
movzx ecx, word [eax + 0x1c]
mov eax, dword [esp + 0x48]
add eax, esi
cmp eax, ecx
jne 0x100f2c0c
mov edx, dword [esp + 0x24]
mov eax, dword [edx + 0x24]
push eax
mov dword [esp + esi*4 + 0x144], eax
push edx
mov ecx, dword [eax]
mov eax, dword [edx + 0x4c]
bswap ecx
mov dword [esp + 0x60], ecx
mov dword [esp + 0x54], ecx
call eax
mov ecx, dword [esp + 0x60]
add esp, 8
movzx eax, ax
mov dword [esp + esi*4 + 0xd0], eax
mov eax, dword [esp + 0x24]
mov byte [eax + 0xc], 0
jmp 0x100f2aa0
mov ecx, dword [esp + 0x48]
movzx eax, dl
mov edx, dword [esp + 0x24]
sub ecx, eax
add ecx, esi
mov eax, dword [edx + 0x40]
mov ax, word [eax + ecx*2]
mov ch, al
mov cl, ah
movzx eax, word [edx + 0x1a]
movzx ecx, cx
and ecx, eax
mov eax, dword [edx + 0x38]
add eax, ecx
push eax
mov dword [esp + esi*4 + 0x144], eax
push edx
mov ecx, dword [eax]
mov eax, dword [edx + 0x4c]
bswap ecx
mov dword [esp + 0x60], ecx
mov dword [esp + 0x54], ecx
call eax
mov edx, dword [esp + 0x3c]
add esp, 8
movzx ebx, ax
mov dword [esp + esi*4 + 0xd0], ebx
test byte [edx + 0x18], 0xc
je 0x100f2ca0
mov eax, dword [esp + 0x24]
mov edi, dword [esp + esi*4 + 0x140]
mov ecx, edi
sub ecx, dword [eax + 0x38]
lea eax, [ebx + ecx]
cmp eax, dword [edx + 0x28]
jg 0x100f2ca0
mov eax, dword [esp + 0x64]
push ebx
add eax, ecx
push edi
push eax
call fcn.10015590
mov eax, dword [esp + 0x30]
add esp, 0xc
sub edi, dword [eax + 0x38]
add edi, dword [esp + 0x64]
mov dword [esp + esi*4 + 0x140], edi
mov edx, dword [esp + 0x48]
lea eax, [esp + 0x1c]
push eax
push ebx
mov ebx, dword [esp + 0x2c]
mov ecx, ebx
movzx eax, byte [ebx + 0xc]
sub edx, eax
add edx, esi
call fcn.100f4d40
mov edi, dword [esp + 0x24]
add esp, 8
mov ebx, dword [esp + 0x20]
mov ecx, dword [esp + 0x58]
mov dword [esp + 0xc], edi
jmp 0x100f2aa0
lea eax, [esi*4]
push eax
lea eax, [esp + 0xb4]
push 0
push eax
call fcn.10002790
mov eax, dword [esp + 0x84]
add esp, 0xc
mov dword [esp + 0x14], eax
jmp 0x100f31ad
mov eax, dword [esp + 0x34]
lea esi, [ebx + 3]
and esi, 0xfffffffc
mov eax, dword [eax + 0x24]
lea ecx, [esi + esi*2]
lea eax, [eax + ecx*2]
cdq
mov ecx, eax
or ecx, edx
je 0x100f2d25
push edx
push eax
call fcn.10111bb0
add esp, 8
jmp 0x100f2d27
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x78], eax
test eax, eax
jne 0x100f2d40
mov dword [esp + 0xc], 7
jmp 0x100f31ad
mov ecx, dword [esp + 0xb0]
lea eax, [eax + esi*4]
mov dword [esp + 0x7c], eax
xor edx, edx
lea eax, [eax + esi*2]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x40], eax
movzx eax, byte [ecx + 8]
movzx edi, byte [ecx + 2]
shl ax, 2
movzx eax, ax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x30], edi
mov dword [esp + 0x38], edx
cmp dword [esp + 0x10], edx
jle 0x100f2f94
mov ebx, dword [esp + edx*4 + 0xb0]
mov dword [esp + 0x2c], ebx
movzx eax, word [ebx + 0x1a]
mov edx, dword [ebx + 0x38]
mov ecx, eax
movzx esi, word [ebx + 0x12]
movzx edi, word [ebx + 0x18]
add esi, edx
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x3c], esi
mov ecx, dword [eax + 0x38]
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x100f3218
movzx eax, byte [ebx + 0xc]
mov ecx, dword [esp + 0x7c]
add eax, edi
add eax, eax
push eax
mov eax, dword [esp + 0x74]
push 0
lea eax, [ecx + eax*2]
push eax
call fcn.10002790
add esp, 0xc
cmp byte [ebx + 0xc], 0
jbe 0x100f2e61
movzx edx, word [ebx + 0x1c]
cmp edi, edx
jb 0x100f3183
test edx, edx
je 0x100f2e35
mov edi, dword [esp + 0x20]
mov ebx, dword [esp + 0x18]
nop
mov ax, word [esi]
add esi, 2
mov ch, al
mov cl, ah
movzx eax, di
mov edi, dword [esp + 0x14]
movzx ecx, cx
and ecx, eax
mov eax, dword [esp + 0x70]
add ecx, ebx
mov dword [edi + eax*4], ecx
inc eax
mov edi, dword [esp + 0x20]
mov dword [esp + 0x70], eax
sub edx, 1
jne 0x100f2e00
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x3c], esi
xor edx, edx
cmp byte [ebx + 0xc], dl
jbe 0x100f2e61
mov edi, dword [esp + 0x70]
lea ecx, [ebx + 0x24]
mov esi, dword [esp + 0x14]
mov eax, dword [ecx]
lea ecx, [ecx + 4]
mov dword [esi + edi*4], eax
inc edx
movzx eax, byte [ebx + 0xc]
inc edi
cmp edx, eax
jl 0x100f2e47
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x70], edi
movzx eax, word [ebx + 0x12]
xor edx, edx
add eax, dword [esp + 0x18]
movzx ecx, word [ebx + 0x18]
lea eax, [eax + ecx*2]
xor ecx, ecx
mov edi, eax
sub edi, esi
inc edi
shr edi, 1
cmp esi, eax
cmova edi, ecx
test edi, edi
je 0x100f2ec1
mov ebx, dword [esp + 0x18]
mov ax, word [esi]
lea esi, [esi + 2]
mov ch, al
inc edx
mov cl, ah
mov eax, dword [esp + 0x6c]
movzx ecx, cx
movzx eax, ax
and ecx, eax
mov eax, dword [esp + 0x70]
add ecx, ebx
mov ebx, dword [esp + 0x14]
mov dword [ebx + eax*4], ecx
mov ecx, eax
mov ebx, dword [esp + 0x18]
inc ecx
mov dword [esp + 0x70], ecx
cmp edx, edi
jb 0x100f2e88
mov ebx, dword [esp + 0x2c]
jmp 0x100f2ec5
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x38]
mov edi, dword [esp + 0x30]
mov dword [esp + edx*4 + 0x114], ecx
cmp edx, dword [esp + 0x50]
jge 0x100f2f81
test edi, edi
jne 0x100f2f81
mov esi, dword [esp + 0x7c]
movzx eax, word [esp + edx*4 + 0xd0]
mov edi, dword [esp + 0x44]
push eax
push dword [esp + edx*4 + 0x144]
mov word [esi + ecx*2], ax
mov esi, dword [esp + 0x48]
add esi, edi
add edi, eax
push esi
mov dword [esp + 0x50], edi
call fcn.10015590
mov eax, dword [esp + 0x68]
add esp, 0xc
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x7c]
movzx eax, ax
add eax, esi
mov esi, dword [esp + 0x14]
mov dword [esi + ecx*4], eax
mov eax, dword [esp + 0x5c]
sub word [edx + ecx*2], ax
cmp byte [ebx + 8], 0
jne 0x100f2f4e
mov eax, dword [ebx + 0x38]
mov ecx, dword [esi + ecx*4]
mov eax, dword [eax + 8]
mov dword [ecx], eax
mov ecx, dword [esp + 0x70]
jmp 0x100f2f74
cmp word [edx + ecx*2], 4
jae 0x100f2f74
mov eax, dword [esp + 0x40]
nop dword [eax]
mov byte [eax + edi], 0
inc edi
inc word [edx + ecx*2]
cmp word [edx + ecx*2], 4
jb 0x100f2f60
mov dword [esp + 0x44], edi
mov edx, dword [esp + 0x38]
inc ecx
mov edi, dword [esp + 0x30]
mov dword [esp + 0x70], ecx
inc edx
mov dword [esp + 0x38], edx
cmp edx, dword [esp + 0x10]
jl 0x100f2d80
mov eax, dword [esp + 0x5c]
movzx esi, ax
xor ecx, ecx
mov eax, dword [esp + 0x34]
xor ebx, ebx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], ebx
mov eax, dword [eax + 0x28]
add eax, 0xfffffff4
add esi, eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x44], esi
test eax, eax
jle 0x100f30a8
nop
mov esi, dword [esp + ebx*4 + 0xb0]
mov edx, dword [esp + ebx*4 + 0x114]
mov dword [esp + 0x6c], edx
mov eax, dword [esi + 0x3c]
mov dword [esp + ecx*4 + 0x80], eax
mov dword [esp + ecx*4 + 0x98], edx
test ecx, ecx
je 0x100f2ff5
cmp edx, dword [esp + ecx*4 + 0x94]
jne 0x100f2ff5
dec ecx
mov dword [esp + 0x18], ecx
test edi, edi
jne 0x100f3016
mov eax, dword [esp + 0x24]
inc ecx
mov dword [esp + 0x18], ecx
mov eax, dword [eax + 0x3c]
mov dword [esp + ecx*4 + 0x80], eax
lea eax, [edx + 1]
mov dword [esp + ecx*4 + 0x98], eax
mov edi, dword [esp + 0x44]
lea eax, [esp + 0xd0]
sub edi, dword [esi + 0x14]
lea eax, [eax + ebx*4]
cmp byte [esi + 0xc], 0
mov dword [esp + 0x50], eax
mov dword [eax], edi
mov dword [esp + 0x40], 0
jbe 0x100f3079
lea ebx, [esi + 0x24]
nop
push dword [ebx]
mov eax, dword [esi + 0x4c]
push esi
call eax
mov ecx, dword [esp + 0x48]
lea ebx, [ebx + 4]
movzx eax, ax
inc ecx
add eax, 2
mov dword [esp + 0x48], ecx
add edi, eax
add esp, 8
movzx eax, byte [esi + 0xc]
cmp ecx, eax
jl 0x100f3040
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x20]
mov dword [eax], edi
mov edi, dword [esp + 0x30]
inc ecx
mov dword [esp + ebx*4 + 0xe4], edx
inc ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x18], ecx
cmp ebx, dword [esp + 0x10]
jl 0x100f2fc0
mov eax, dword [esp + 0x78]
mov esi, dword [esp + 0x44]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x18], 0
mov ecx, eax
mov dword [esp + 0x38], ecx
test eax, eax
jle 0x100f3347
mov edx, dword [esp + 0x70]
lea eax, [esp + 0xe4]
xor ebx, ebx
mov edi, 1
sub eax, 4
mov dword [esp + 0x2c], edi
mov dword [esp + 0x50], eax
nop dword [eax + eax]
cmp dword [esp + ebx + 0xd0], esi
jle 0x100f3254
nop dword [eax]
cmp edi, ecx
jl 0x100f3116
lea ecx, [edi + 1]
mov dword [esp + 0x38], ecx
cmp ecx, 5
jg 0x100f3440
mov dword [esp + ebx + 0xd4], 0
mov dword [esp + ebx + 0xe8], edx
mov esi, dword [esp + ebx + 0xe4]
mov ecx, dword [esp + 0x7c]
lea edi, [esi - 1]
movzx eax, word [ecx + edi*2]
test ax, ax
jne 0x100f313f
mov edx, edi
lea ecx, [esp + 0x70]
call fcn.100f4b50
mov ecx, dword [esp + 0x7c]
movzx eax, ax
movzx eax, ax
add eax, 2
sub dword [esp + ebx + 0xd0], eax
cmp dword [esp + 0x30], 0
jne 0x100f3229
cmp esi, dword [esp + 0x70]
jge 0x100f3227
movzx eax, word [ecx + esi*2]
test ax, ax
jne 0x100f3178
mov edx, esi
lea ecx, [esp + 0x70]
call fcn.100f4b50
movzx eax, ax
movzx eax, ax
add eax, 2
jmp 0x100f3229
push 0x10130974
push 0x11fbc
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call sym.SQLite.Interop.dll_SI950480ab972e108d
mov dword [esp + 0x20], 0xb
add esp, 0x14
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
test eax, eax
je 0x100f3d72
cmp dword [0x101422c8], 0
je 0x100f3d68
mov eax, dword [0x101441e8]
test eax, eax
je 0x100f31d9
push eax
call dword [0x10142318]
add esp, 4
push dword [esp + 0x14]
call dword [0x101422f4]
sub dword [0x10144240], eax
add esp, 4
dec dword [0x10144264]
push dword [esp + 0x14]
call dword [0x101422ec]
mov eax, dword [0x101441e8]
add esp, 4
test eax, eax
je 0x100f3d72
push eax
call dword [0x10142320]
jmp 0x100f3d6f
push 0x10130974
push 0x11fa4
jmp 0x100f318d
xor eax, eax
add dword [esp + ebx + 0xd4], eax
mov esi, dword [esp + 0x44]
mov edx, dword [esp + 0x70]
mov ecx, dword [esp + 0x38]
mov dword [esp + ebx + 0xe4], edi
mov edi, dword [esp + 0x2c]
cmp dword [esp + ebx + 0xd0], esi
jg 0x100f30f0
cmp dword [esp + ebx + 0xe4], edx
jge 0x100f32fd
mov edi, dword [esp + 0x7c]
nop word [eax + eax]
mov esi, dword [esp + ebx + 0xe4]
movzx eax, word [edi + esi*2]
test ax, ax
jne 0x100f3292
mov edx, esi
lea ecx, [esp + 0x70]
call fcn.100f4b50
mov edx, dword [esp + 0x70]
movzx eax, ax
movzx ecx, ax
mov eax, dword [esp + ebx + 0xd0]
add ecx, 2
add eax, ecx
cmp eax, dword [esp + 0x44]
jg 0x100f32f5
inc esi
mov dword [esp + ebx + 0xd0], eax
cmp dword [esp + 0x30], 0
mov dword [esp + ebx + 0xe4], esi
jne 0x100f32e6
cmp esi, edx
jge 0x100f32e4
movzx eax, word [edi + esi*2]
test ax, ax
jne 0x100f32dc
mov edx, esi
lea ecx, [esp + 0x70]
call fcn.100f4b50
mov edx, dword [esp + 0x70]
movzx eax, ax
movzx ecx, ax
add ecx, 2
jmp 0x100f32e6
xor ecx, ecx
sub dword [esp + ebx + 0xd4], ecx
cmp esi, edx
jl 0x100f3270
mov edi, dword [esp + 0x2c]
mov esi, dword [esp + 0x44]
mov ecx, dword [esp + ebx + 0xe4]
cmp ecx, edx
jl 0x100f3310
mov ecx, edi
mov dword [esp + 0x38], ecx
jmp 0x100f332e
cmp dword [esp + 0x18], 0
jle 0x100f3320
mov eax, dword [esp + 0x50]
mov eax, dword [eax + ebx]
jmp 0x100f3322
xor eax, eax
cmp ecx, eax
jle 0x100f344f
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x18]
inc edi
inc eax
mov dword [esp + 0x2c], edi
add ebx, 4
mov dword [esp + 0x18], eax
cmp eax, ecx
jl 0x100f30e0
lea eax, [ecx - 1]
mov ecx, eax
mov dword [esp + 0x20], eax
test ecx, ecx
jle 0x100f34a3
nop dword [eax + eax]
shl ecx, 2
mov dword [esp + 0x2c], ecx
mov eax, dword [esp + ecx + 0xcc]
mov edi, dword [esp + ecx + 0xd0]
mov dword [esp + 0x18], eax
lea eax, [esp + 0xe4]
sub eax, 4
mov dword [esp + 0x3c], eax
mov esi, dword [eax + ecx]
mov ecx, dword [esp + 0x7c]
dec esi
mov edx, esi
sub edx, dword [esp + 0x30]
inc edx
cmp word [ecx + edx*2], 0
lea ebx, [ecx + edx*2]
jne 0x100f33b4
lea ecx, [esp + 0x70]
call fcn.100f4b50
nop dword [eax]
mov ecx, dword [esp + 0x7c]
cmp word [ecx + esi*2], 0
jne 0x100f33c6
mov edx, esi
lea ecx, [esp + 0x70]
call fcn.100f4b50
test edi, edi
je 0x100f3406
cmp dword [ebp + 0x10], 0
jne 0x100f345e
mov ecx, dword [esp + 0x38]
mov eax, 2
dec ecx
cmp dword [esp + 0x20], ecx
mov ecx, 0
cmove eax, ecx
mov ecx, dword [esp + 0x18]
sub ecx, eax
mov eax, dword [esp + 0x7c]
movzx eax, word [eax + esi*2]
sub ecx, eax
movzx eax, word [ebx]
add eax, 2
add eax, edi
cmp eax, ecx
jg 0x100f345e
movzx eax, word [ebx]
mov ecx, 0xfffffffe
mov edx, dword [esp + 0x2c]
add eax, 2
add edi, eax
sub ebx, 2
mov eax, dword [esp + 0x7c]
movzx eax, word [eax + esi*2]
sub ecx, eax
mov eax, dword [esp + 0x18]
add eax, ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x18], eax
mov dword [ecx + edx], esi
sub esi, 1
jns 0x100f33b0
jmp 0x100f3466
push 0x10130974
push 0x12021
jmp 0x100f318d
push 0x10130974
push 0x12042
jmp 0x100f318d
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
mov dword [esp + edx + 0xd0], edi
mov dword [esp + edx + 0xcc], eax
cmp ecx, 1
jle 0x100f3487
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + edx - 4]
jmp 0x100f3489
xor eax, eax
mov esi, dword [esp + 0x3c]
cmp dword [esi + edx], eax
jle 0x100f3520
dec ecx
mov dword [esp + 0x20], ecx
test ecx, ecx
jg 0x100f3360
mov eax, dword [esp + 0xb0]
xor edi, edi
mov eax, dword [eax + 0x38]
movzx ebx, byte [eax]
lea eax, [edi + 1]
mov dword [esp + 0x20], ebx
cmp dword [esp + 0x38], edi
jle 0x100f366a
mov esi, dword [esp + 0x10]
cmp edi, esi
jge 0x100f35ab
mov ebx, dword [esp + edi*4 + 0xb0]
mov dword [esp + edi*4 + 0xbc], ebx
mov dword [esp + edi*4 + 0xb0], 0
mov dword [esp + 0x40], ebx
mov esi, dword [ebx + 0x48]
test byte [esi + 0x1c], 4
mov ecx, dword [esi + 0x14]
je 0x100f3541
mov eax, dword [ecx + 0x1c]
cmp eax, dword [esi + 0x18]
jb 0x100f3541
cmp dword [ecx + 0x68], 0
je 0x100f353d
mov ecx, esi
call fcn.10104f00
test eax, eax
je 0x100f352f
mov ecx, esi
call fcn.101019d0
mov dword [esp + 0xc], eax
mov edx, eax
jmp 0x100f356e
push 0x10130974
push 0x1206c
jmp 0x100f318d
mov dword [esp + 0xc], 0
mov edx, dword [esp + 0xc]
jmp 0x100f356e
xor edx, edx
jmp 0x100f356a
mov edx, dword [ecx + 0x2c]
mov dword [esp + 0xc], edx
test edx, edx
jne 0x100f356e
mov eax, dword [ecx + 0x9c]
cmp eax, dword [ecx + 0xa8]
mov ecx, esi
jbe 0x100f3563
call fcn.10100380
jmp 0x100f3568
call fcn.10100610
mov edx, eax
mov dword [esp + 0xc], edx
mov esi, dword [esp + 0x28]
xor ecx, ecx
mov eax, dword [esp + 0x60]
inc esi
sub eax, dword [esp + 0x48]
cmp edi, eax
mov dword [esp + 0x1c], edx
mov eax, dword [ebx + 0x48]
sete cl
mov dword [esp + 0x28], esi
inc ecx
movsx eax, word [eax + 0x1e]
cmp eax, ecx
jne 0x100f3653
test edx, edx
jne 0x100f3d5b
mov ebx, dword [esp + 0x20]
jmp 0x100f3642
cmp dword [ebp + 0x10], 0
lea edx, [esp + 0x40]
mov ecx, dword [esp + 0x58]
cmovne ecx, eax
lea eax, [esp + 0x4c]
push 0
push ecx
mov ecx, dword [esp + 0x3c]
push eax
call fcn.100f5580
mov edx, eax
add esp, 0xc
mov dword [esp + 0xc], edx
mov dword [esp + 0x1c], edx
test edx, edx
jne 0x100f3d5f
mov esi, dword [esp + 0x40]
mov edx, ebx
mov ecx, esi
call fcn.100f9b40
mov ecx, dword [esp + 0x34]
inc dword [esp + 0x28]
mov eax, dword [esp + 0x70]
mov dword [esp + edi*4 + 0xbc], esi
cmp byte [ecx + 0x11], 0
mov dword [esp + edi*4 + 0x114], eax
je 0x100f3636
mov edx, dword [esi + 4]
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x28]
push dword [eax + 4]
push 5
call fcn.100faec0
mov eax, dword [esp + 0x28]
add esp, 0xc
mov dword [esp + 0xc], eax
test eax, eax
jne 0x100f31a9
mov eax, dword [esp + 0x4c]
mov esi, dword [esp + 0x28]
mov dword [esp + 0x58], eax
inc edi
cmp edi, dword [esp + 0x38]
jge 0x100f366c
mov eax, 1
jmp 0x100f34c3
test edx, edx
jne 0x100f31a9
push 0x10130974
push 0x1208d
jmp 0x100f318d
xor esi, esi
xor ecx, ecx
test esi, esi
jle 0x100f36b7
mov eax, dword [esp + ecx*4 + 0xbc]
mov edx, dword [eax + 4]
mov eax, dword [eax + 0x48]
mov dword [esp + ecx*4 + 0x128], edx
mov dword [esp + ecx*4 + 0xf8], edx
mov ax, word [eax + 0x1c]
mov word [esp + ecx*2 + 0x140], ax
xor eax, eax
test ecx, ecx
jle 0x100f36b2
nop
cmp dword [esp + eax*4 + 0x128], edx
je 0x100f3830
inc eax
cmp eax, ecx
jl 0x100f36a0
inc ecx
cmp ecx, esi
jl 0x100f3672
xor ebx, ebx
mov dword [esp + 0x60], ebx
test esi, esi
jle 0x100f3773
xor edi, edi
lea ecx, [edi + 1]
cmp esi, ecx
jle 0x100f3704
mov ebx, dword [esp + 0x28]
xor esi, esi
nop dword [eax]
nop dword [eax + eax]
lea edx, [ecx*4]
mov eax, dword [esp + edx + 0xf8]
cmp eax, dword [esp + esi + 0xf8]
jae 0x100f36fb
mov edi, ecx
mov esi, edx
inc ecx
cmp ecx, ebx
jl 0x100f36e0
mov ebx, dword [esp + 0x60]
mov esi, dword [esp + edi*4 + 0xf8]
mov dword [esp + edi*4 + 0xf8], 0xffffffff
cmp edi, ebx
je 0x100f3762
jle 0x100f373b
mov eax, dword [esp + 0x34]
mov edx, dword [eax + 0x30]
mov eax, dword [esp + edi*4 + 0xbc]
inc edx
add edx, edi
mov ecx, dword [eax + 0x48]
xor eax, eax
mov word [ecx + 0x1c], ax
call fcn.10106eb0
mov eax, dword [esp + ebx*4 + 0xbc]
mov edx, esi
mov ecx, dword [eax + 0x48]
mov ax, word [esp + edi*2 + 0x140]
mov word [ecx + 0x1c], ax
call fcn.10106eb0
mov eax, dword [esp + ebx*4 + 0xbc]
mov dword [eax + 4], esi
mov esi, dword [esp + 0x28]
inc ebx
mov dword [esp + 0x60], ebx
cmp ebx, esi
jl 0x100f36c5
test byte [esp + 0x20], 8
mov eax, dword [esp + esi*4 + 0xb8]
mov ecx, dword [esp + 0x54]
mov eax, dword [eax + 4]
bswap eax
mov dword [ecx], eax
jne 0x100f37be
mov ecx, dword [esp + 0x10]
cmp ecx, esi
je 0x100f37be
cmp esi, ecx
lea edx, [esp + 0xb0]
lea eax, [esp + 0xbc]
cmovle eax, edx
mov eax, dword [eax + ecx*4 - 4]
mov edx, dword [eax + 0x38]
mov eax, dword [esp + esi*4 + 0xb8]
mov ecx, dword [eax + 0x38]
mov eax, dword [edx + 8]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x34]
cmp byte [eax + 0x11], 0
je 0x100f39b0
mov edi, dword [esp + 0xbc]
xor ebx, ebx
xor esi, esi
mov dword [esp + 0x18], edi
mov dword [esp + 0x54], 0
movzx edx, word [edi + 0x18]
movzx eax, byte [edi + 0xc]
add edx, eax
mov dword [esp + 0x3c], edx
cmp dword [esp + 0x70], ebx
jle 0x100f39b7
xor eax, eax
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx + ebx*4]
mov dword [esp + 0x20], ecx
cmp ebx, edx
jne 0x100f3866
xor eax, eax
cmp dword [esp + 0x30], eax
sete al
mov dword [esp + 0x50], eax
nop dword [eax]
inc esi
cmp esi, dword [esp + 0x28]
jge 0x100f383f
mov edi, dword [esp + esi*4 + 0xbc]
jmp 0x100f3846
push 0x10130974
push 0x120bb
jmp 0x100f318d
mov edi, dword [esp + esi*4 + 0xb0]
movzx eax, word [edi + 0x18]
add eax, dword [esp + 0x50]
movzx ecx, byte [edi + 0xc]
add ecx, eax
add edx, ecx
cmp ebx, edx
je 0x100f3820
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x3c], edx
cmp ebx, dword [esp + eax + 0xe4]
jne 0x100f3897
mov eax, dword [esp + 0x54]
inc eax
mov dword [esp + 0x54], eax
shl eax, 2
cmp dword [esp + 0x30], 0
mov dword [esp + 0x2c], eax
mov eax, dword [esp + eax + 0xbc]
mov dword [esp + 0x18], eax
je 0x100f3991
jmp 0x100f389b
mov eax, dword [esp + 0x18]
cmp esi, dword [esp + 0x28]
jge 0x100f38bb
mov eax, dword [eax + 4]
cmp eax, dword [esp + esi*4 + 0x128]
jne 0x100f38bb
cmp ecx, dword [edi + 0x38]
jb 0x100f38bb
cmp ecx, dword [edi + 0x3c]
jb 0x100f3991
cmp word [esp + 0x5c], 0
jne 0x100f38e9
mov edx, dword [ecx]
lea eax, [esp + 0x1c]
mov ecx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x1c]
bswap edx
push dword [eax + 4]
push 5
call fcn.100faec0
mov eax, dword [esp + 0x28]
add esp, 0xc
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x7c]
movzx eax, word [eax + ebx*2]
test ax, ax
jne 0x100f3904
mov edx, ebx
lea ecx, [esp + 0x70]
call fcn.100f4b50
movzx eax, ax
mov ecx, dword [esp + 0x18]
cmp ax, word [ecx + 0x10]
jbe 0x100f3981
cmp dword [esp + 0xc], 0
jne 0x100f31a9
lea eax, [esp + 0xf8]
push eax
push dword [esp + 0x24]
mov eax, dword [ecx + 0x50]
push ecx
call eax
movzx eax, word [esp + 0x114]
add esp, 0xc
cmp eax, dword [esp + 0x104]
jae 0x100f398d
mov ecx, dword [edi + 0x3c]
mov edx, dword [esp + 0x20]
cmp ecx, edx
jb 0x100f3950
add eax, edx
cmp ecx, eax
jb 0x100f39a1
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x1c]
push eax
movzx eax, word [esp + 0x10e]
push dword [ecx + 4]
mov ecx, dword [ecx + 0x34]
mov edx, dword [eax + edx - 4]
push 3
bswap edx
call fcn.100faec0
mov edx, dword [esp + 0x28]
add esp, 0xc
mov dword [esp + 0xc], edx
jmp 0x100f3985
mov edx, dword [esp + 0xc]
test edx, edx
jne 0x100f31a9
mov edx, dword [esp + 0x3c]
inc ebx
cmp ebx, dword [esp + 0x70]
jge 0x100f39b0
mov eax, dword [esp + 0x2c]
jmp 0x100f3801
push 0x10130974
push 0x1066c
jmp 0x100f318d
mov edi, dword [esp + 0xbc]
mov ebx, dword [esp + 0x28]
xor esi, esi
lea eax, [ebx - 1]
test eax, eax
jle 0x100f3b50
nop dword [eax + eax]
mov eax, dword [esp + esi*4 + 0xbc]
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x5c]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + esi*4 + 0xe4]
mov edi, dword [ecx + eax*4]
lea ecx, [ecx + eax*4]
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x7c]
movzx edx, bx
mov ebx, dword [esp + 0x68]
add ebx, dword [esp + 0x64]
movzx eax, word [ecx + eax*2]
mov ecx, dword [esp + 0x4c]
add edx, eax
cmp byte [ecx + 8], 0
mov ecx, dword [esp + 0x50]
jne 0x100f3a28
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax + 0x38]
mov eax, dword [edi]
mov dword [ecx + 8], eax
jmp 0x100f3ad3
cmp dword [esp + 0x30], 0
je 0x100f3aba
lea eax, [esp + 0x128]
push eax
mov eax, dword [esp + 0x50]
push dword [ecx - 4]
push eax
mov eax, dword [eax + 0x50]
call eax
mov edx, dword [esp + 0x138]
add esp, 0xc
mov ecx, dword [esp + 0x128]
mov edi, ebx
test edx, edx
ja 0x100f3aa6
jb 0x100f3a66
cmp ecx, 0x7f
ja 0x100f3a78
mov eax, 1
and cl, 0x7f
mov byte [ebx + 4], cl
xor ebx, ebx
lea edx, [eax + 4]
jmp 0x100f3ad3
test edx, edx
ja 0x100f3aa6
jb 0x100f3a86
cmp ecx, 0x3fff
ja 0x100f3aa6
mov eax, ecx
and cl, 0x7f
shrd eax, edx, 7
mov byte [ebx + 5], cl
or al, 0x80
shr edx, 7
mov byte [ebx + 4], al
mov eax, 2
xor ebx, ebx
lea edx, [eax + 4]
jmp 0x100f3ad3
push edx
push ecx
lea ecx, [ebx + 4]
call fcn.1010d060
add esp, 8
xor ebx, ebx
lea edx, [eax + 4]
jmp 0x100f3ad3
sub edi, 4
cmp eax, 4
jne 0x100f3ad3
mov eax, dword [esp + 0x24]
push edi
push eax
mov eax, dword [eax + 0x4c]
call eax
add esp, 8
movzx edx, ax
add dword [esp + 0x68], edx
xor eax, eax
cmp dword [esp + 0x98], esi
jg 0x100f3af1
cmp eax, 6
jge 0x100f3af1
inc eax
cmp dword [esp + eax*4 + 0x98], esi
jle 0x100f3ae2
mov ecx, dword [esp + eax*4 + 0x80]
cmp ecx, edi
jb 0x100f3b07
lea eax, [edx + edi]
cmp ecx, eax
jb 0x100f3ba7
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x50]
push dword [eax + 4]
push ebx
push edx
mov edx, dword [esp + 0x58]
push edi
lea edx, [edx + esi]
call fcn.100f4be0
mov eax, dword [esp + 0x30]
add esp, 0x14
mov dword [esp + 0xc], eax
test eax, eax
jne 0x100f31a9
mov ebx, dword [esp + 0x28]
inc esi
lea eax, [ebx - 1]
cmp esi, eax
jl 0x100f39d0
mov edi, dword [esp + 0xbc]
mov esi, 1
sub esi, ebx
mov dword [esp + 0x54], esi
cmp esi, ebx
jge 0x100f3c4c
mov eax, esi
lea ebx, [esp + 0x154]
cdq
mov ecx, eax
xor ecx, edx
sub ecx, edx
add ebx, ecx
cmp byte [ebx], 0
jne 0x100f3c34
test esi, esi
jns 0x100f3b96
mov eax, dword [esp + ecx*4 + 0x110]
cmp eax, dword [esp + ecx*4 + 0xe0]
jl 0x100f3c34
test ecx, ecx
jne 0x100f3bb6
mov esi, dword [esp + 0xe4]
xor edx, edx
xor eax, eax
jmp 0x100f3beb
push 0x10130974
push 0x12158
jmp 0x100f318d
cmp ecx, dword [esp + 0x10]
jge 0x100f3bce
xor edx, edx
cmp dword [esp + 0x30], edx
sete dl
add edx, dword [esp + ecx*4 + 0x110]
jmp 0x100f3bd2
mov edx, dword [esp + 0x70]
mov esi, dword [esp + ecx*4 + 0xe4]
xor eax, eax
cmp dword [esp + 0x30], eax
sete al
add eax, dword [esp + ecx*4 + 0xe0]
sub esi, eax
lea edi, [ecx*4]
lea ecx, [esp + 0x70]
push ecx
mov ecx, dword [esp + edi + 0xc0]
push esi
push eax
call fcn.100f4150
add esp, 0xc
mov dword [esp + 0xc], eax
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x100f31a9
mov eax, dword [esp + edi + 0xbc]
mov ecx, dword [esp + 0x44]
sub ecx, dword [esp + edi + 0xd0]
mov esi, dword [esp + 0x54]
mov byte [ebx], 1
mov dword [eax + 0x14], ecx
mov ebx, dword [esp + 0x28]
inc esi
mov dword [esp + 0x54], esi
cmp esi, ebx
jl 0x100f3b63
mov edi, dword [esp + 0xbc]
cmp dword [ebp + 0xc], 0
je 0x100f3cb5
mov esi, dword [esp + 0x24]
cmp word [esi + 0x18], 0
jne 0x100f3cb5
movzx eax, byte [esi + 9]
cmp eax, dword [edi + 0x14]
jg 0x100f3cb5
or edx, 0xffffffff
mov ecx, edi
call fcn.100fa5b0
mov ecx, dword [esp + 0xbc]
mov edx, esi
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
push eax
call fcn.100f3e80
mov edi, dword [esp + 0x20]
add esp, 4
mov dword [esp + 0xc], edi
test edi, edi
jne 0x100f3d08
mov ecx, dword [esp + 0xbc]
mov edx, ecx
push dword [ecx + 4]
mov ecx, dword [ecx + 0x34]
call fcn.100f5310
mov edi, eax
add esp, 4
mov dword [esp + 0xc], edi
jmp 0x100f3d08
mov ecx, dword [esp + 0x34]
cmp byte [ecx + 0x11], 0
je 0x100f3d04
cmp word [esp + 0x5c], 0
jne 0x100f3d04
xor esi, esi
test ebx, ebx
jle 0x100f3d04
nop dword [eax]
mov eax, dword [esp + esi*4 + 0xbc]
lea edx, [esp + 0x1c]
push edx
push dword [eax + 4]
mov eax, dword [eax + 0x38]
push 5
mov edx, dword [eax + 8]
bswap edx
call fcn.100faec0
mov ecx, dword [esp + 0x40]
inc esi
add esp, 0xc
cmp esi, ebx
jl 0x100f3cd0
mov edi, dword [esp + 0x1c]
mov dword [esp + 0xc], edi
jmp 0x100f3d08
mov edi, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov esi, ebx
cmp ebx, eax
jge 0x100f31a9
nop word [eax + eax]
mov ecx, dword [esp + esi*4 + 0xb0]
test edi, edi
jne 0x100f3d41
push dword [ecx + 4]
mov edx, ecx
mov ecx, dword [ecx + 0x34]
call fcn.100f5310
mov edi, eax
add esp, 4
mov eax, dword [esp + 0x10]
inc esi
cmp esi, eax
jl 0x100f3d20
mov dword [esp + 0xc], edi
jmp 0x100f31a9
lea eax, [esi*4 + 4]
jmp 0x100f2cdc
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
jmp 0x100f31b1
push eax
call dword [0x101422ec]
add esp, 4
xor ebx, ebx
test esi, esi
jle 0x100f3de9
nop dword [eax + eax]
mov edx, dword [esp + ebx*4 + 0xb0]
test edx, edx
je 0x100f3de4
mov edx, dword [edx + 0x48]
test byte [edx + 0x1c], 0x20
je 0x100f3ddd
mov ecx, dword [edx + 0x14]
dec dword [ecx + 0x80]
mov eax, dword [ecx + 0x90]
mov dword [edx + 0x10], eax
mov esi, dword [ecx + 0x40]
mov dword [ecx + 0x90], edx
push dword [edx + 4]
mov eax, dword [edx + 0x18]
push dword [ecx + 0xac]
mov edi, dword [esi]
dec eax
push dword [ecx + 0xa8]
push 0
push eax
call fcn.10015310
push edx
push eax
mov eax, dword [edi + 0x48]
push esi
call eax
mov esi, dword [esp + 0x20]
add esp, 0x10
jmp 0x100f3de4
mov ecx, edx
call fcn.10107180
inc ebx
cmp ebx, esi
jl 0x100f3d80
xor ebx, ebx
cmp dword [esp + 0x28], ebx
jle 0x100f3e58
mov edx, dword [esp + ebx*4 + 0xbc]
test edx, edx
je 0x100f3e51
mov edx, dword [edx + 0x48]
test byte [edx + 0x1c], 0x20
je 0x100f3e4a
mov ecx, dword [edx + 0x14]
dec dword [ecx + 0x80]
mov eax, dword [ecx + 0x90]
mov dword [edx + 0x10], eax
mov esi, dword [ecx + 0x40]
mov dword [ecx + 0x90], edx
push dword [edx + 4]
mov eax, dword [edx + 0x18]
push dword [ecx + 0xac]
mov edi, dword [esi]
dec eax
push dword [ecx + 0xa8]
push 0
push eax
call fcn.10015310
push edx
push eax
mov eax, dword [edi + 0x48]
push esi
call eax
add esp, 0x10
jmp 0x100f3e51
mov ecx, edx
call fcn.10107180
inc ebx
cmp ebx, dword [esp + 0x28]
jl 0x100f3df1
mov ecx, dword [esp + 0x15c]
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100011bc
mov esp, ebp
pop ebp
ret