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

Disassembly:
sub esp, 0x144
mov eax, dword [0x101a2ce4]
xor eax, esp
mov dword [esp + 0x140], eax
push ebx
mov ebx, dword [esp + 0x154]
xor eax, eax
push ebp
push edi
mov edi, dword [esp + 0x154]
xor ebp, ebp
push 0x40
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x148], eax
mov byte [esp + 0x14c], al
lea eax, [esp + 0x98]
push ebp
push eax
mov dword [esp + 0x48], edi
mov dword [esp + 0x78], ebx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x44], ebp
call fcn.1016bd70
mov eax, dword [edi + 0x34]
add esp, 0xc
mov dword [esp + 0x34], eax
test ebx, ebx
jne 0x100dc1b8
pop edi
pop ebp
lea eax, [ebx + 7]
pop ebx
mov ecx, dword [esp + 0x140]
xor ecx, esp
call fcn.10169f7a
add esp, 0x144
ret
movzx ecx, word [edi + 0x18]
movzx edx, byte [edi + 0xc]
push esi
lea esi, [edx + ecx]
cmp esi, 2
jae 0x100dc1cd
xor ebx, ebx
jmp 0x100dc1ff
mov eax, dword [esp + 0x15c]
test eax, eax
jne 0x100dc1dc
xor ebx, ebx
jmp 0x100dc1f1
cmp eax, esi
jne 0x100dc1ee
mov eax, dword [esp + 0x168]
lea ebx, [eax - 2]
add ebx, esi
jmp 0x100dc1f8
lea ebx, [eax - 1]
mov eax, dword [esp + 0x168]
mov esi, 2
sub esi, eax
mov dword [esp + 0x4c], ebx
lea eax, [esi + 1]
sub ebx, edx
mov dword [esp + 0x54], esi
mov dword [esp + 0x1c], eax
lea edx, [ebx + esi]
cmp edx, ecx
jne 0x100dc220
movzx ecx, byte [edi + 9]
add ecx, 8
jmp 0x100dc234
mov eax, dword [edi + 0x40]
mov ax, word [eax + edx*2]
mov ch, al
mov cl, ah
movzx eax, word [edi + 0x1a]
movzx ecx, cx
and ecx, eax
add ecx, dword [edi + 0x38]
xor edx, edx
mov dword [esp + 0x5c], ecx
mov eax, dword [ecx]
bswap eax
mov dword [esp + 0x68], eax
mov ebx, eax
mov dword [esp + 0x64], eax
nop dword [eax + eax]
test edx, edx
jne 0x100dc319
mov edi, dword [esp + 0x38]
cmp ebx, dword [edi + 0x30]
jbe 0x100dc286
push 0x10196e4c
push 0x11311
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.100c9ef0
add esp, 0x14
mov edx, 0xb
jmp 0x100dc305
mov eax, dword [edi]
lea ecx, [esp + 0x30]
push 0
push ecx
push ebx
push eax
mov eax, dword [eax + 0xdc]
call eax
mov edx, eax
add esp, 0x10
mov dword [esp + 0x18], edx
test edx, edx
jne 0x100dc309
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx + 8]
mov dword [esp + esi*4 + 0xd8], eax
cmp byte [eax], dl
jne 0x100dc303
push edi
push ebx
push ecx
call fcn.100df070
push dword [esp + esi*4 + 0xe4]
call fcn.100de8a0
mov edx, eax
add esp, 0x10
mov dword [esp + 0x18], edx
test edx, edx
je 0x100dc303
mov eax, dword [esp + esi*4 + 0xd8]
test eax, eax
je 0x100dc309
push dword [eax + 0x48]
call fcn.10127570
mov edx, dword [esp + 0x1c]
mov edi, 4
mov eax, esi
mov dword [esp + 0x28], edx
add esp, 4
imul edi, eax
jmp 0x100dc320
xor edx, edx
mov dword [esp + 0x18], edx
mov edi, 4
mov dword [esp + 0x24], edx
mov eax, esi
imul edi, eax
jmp 0x100dc320
lea edi, [esi*4]
test edx, edx
jne 0x100dd636
lea ebx, [esp + 0xd8]
mov eax, dword [ebx + edi]
cmp dword [eax + 0x14], edx
jge 0x100dc352
push eax
call fcn.100ddea0
mov edx, eax
add esp, 4
mov dword [esp + 0x18], edx
mov dword [esp + 0x24], edx
test edx, edx
jne 0x100dc485
mov ecx, dword [ebx + edi]
mov edi, dword [esp + 0x14]
add edi, 4
movzx ecx, word [ecx + 0x18]
add edi, ecx
mov ecx, esi
dec esi
mov dword [esp + 0x14], edi
test ecx, ecx
je 0x100dc4a3
mov ebx, dword [esp + 0x40]
mov dl, byte [ebx + 0xc]
test dl, dl
je 0x100dc3c0
mov eax, dword [esp + 0x4c]
movzx ecx, word [ebx + 0x1c]
add eax, esi
cmp eax, ecx
jne 0x100dc3c0
mov eax, dword [ebx + 0x24]
push eax
mov dword [esp + esi*4 + 0x7c], eax
push ebx
mov edi, dword [eax]
mov eax, dword [ebx + 0x4c]
bswap edi
mov dword [esp + 0x70], edi
mov dword [esp + 0x6c], edi
call eax
mov edx, dword [esp + 0x20]
add esp, 8
movzx eax, ax
mov byte [ebx + 0xc], 0
mov ebx, edi
mov dword [esp + esi*4 + 0xf8], eax
jmp 0x100dc250
mov ecx, dword [esp + 0x4c]
movzx eax, dl
sub ecx, eax
mov eax, dword [ebx + 0x40]
add ecx, esi
mov ax, word [eax + ecx*2]
mov ch, al
mov cl, ah
movzx eax, word [ebx + 0x1a]
movzx edi, cx
and edi, eax
add edi, dword [ebx + 0x38]
push edi
mov dword [esp + esi*4 + 0x7c], edi
mov eax, dword [edi]
bswap eax
mov dword [esp + 0x6c], eax
mov ebx, eax
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x44]
push eax
mov eax, dword [eax + 0x4c]
call eax
movzx edx, ax
add esp, 8
mov eax, dword [esp + 0x38]
mov dword [esp + 0x34], edx
mov dword [esp + esi*4 + 0xf8], edx
test byte [eax + 0x18], 0xc
je 0x100dc458
mov eax, dword [esp + 0x40]
mov ecx, edi
mov ebp, dword [esp + 0x38]
sub ecx, dword [eax + 0x38]
lea eax, [edx + ecx]
cmp eax, dword [ebp + 0x28]
mov ebp, 0
jg 0x100dc458
mov eax, dword [esp + 0x70]
push edx
add eax, ecx
push edi
push eax
call fcn.1016b7f0
mov eax, dword [esp + 0x4c]
add esp, 0xc
mov edx, dword [esp + 0x34]
sub edi, dword [eax + 0x38]
add edi, dword [esp + 0x70]
mov dword [esp + esi*4 + 0x78], edi
mov edi, dword [esp + 0x40]
lea eax, [esp + 0x24]
mov ecx, dword [esp + 0x4c]
push eax
push edx
movzx eax, byte [edi + 0xc]
sub ecx, eax
add ecx, esi
push ecx
push edi
call fcn.100e6150
mov edx, dword [esp + 0x34]
add esp, 0x10
mov dword [esp + 0x18], edx
jmp 0x100dc250
push edi
lea eax, [esp + 0xdc]
push 0
push eax
call fcn.1016bd70
mov ebp, dword [esp + 0x24]
add esp, 0xc
xor ebx, ebx
jmp 0x100dceb4
mov eax, dword [esp + 0x38]
lea esi, [edi + 3]
and esi, 0xfffffffc
mov eax, dword [eax + 0x24]
lea ecx, [esi + esi*2]
lea eax, [eax + ecx*2]
cdq
push edx
push eax
call fcn.10124b60
mov ebx, eax
add esp, 8
mov dword [esp + 0xa0], ebx
test ebx, ebx
jne 0x100dc4d6
lea ebp, [eax + 7]
jmp 0x100dceb4
mov ecx, dword [esp + 0xd8]
lea eax, [ebx + esi*4]
mov dword [esp + 0xa4], eax
lea eax, [eax + esi*2]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x9c], ecx
movzx eax, byte [ecx + 8]
shl ax, 2
movzx eax, ax
mov dword [esp + 0x58], eax
mov al, byte [ecx + 2]
mov byte [esp + 0x13], al
movzx eax, al
mov dword [esp + 0x60], eax
xor eax, eax
mov dword [esp + 0x44], eax
cmp dword [esp + 0x1c], eax
jle 0x100dc746
mov ebx, dword [esp + 0x98]
nop dword [eax]
shl eax, 2
mov dword [esp + 0x6c], eax
mov edi, dword [esp + eax + 0xd8]
mov dword [esp + 0x48], edi
movzx eax, word [edi + 0x18]
mov edx, dword [edi + 0x38]
movzx esi, word [edi + 0x12]
mov dword [esp + 0x14], eax
add esi, edx
movzx eax, word [edi + 0x1a]
mov ecx, eax
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0xd8]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
mov dword [esp + 0x28], esi
mov ecx, dword [eax + 0x38]
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x100dc8dc
movzx eax, byte [edi + 0xc]
add eax, dword [esp + 0x14]
add eax, eax
push eax
mov eax, dword [esp + 0xa8]
push 0
lea eax, [eax + ebx*2]
push eax
call fcn.1016bd70
add esp, 0xc
cmp byte [edi + 0xc], 0
jbe 0x100dc631
movzx edx, word [edi + 0x1c]
cmp dword [esp + 0x14], edx
jb 0x100dc8b2
test edx, edx
je 0x100dc5f8
mov edi, dword [esp + 0x34]
mov ebp, dword [esp + 0x30]
mov ax, word [esi]
add esi, 2
mov ch, al
mov cl, ah
movzx eax, bp
movzx ecx, cx
and ecx, eax
mov eax, dword [esp + 0xa0]
add ecx, edi
mov dword [eax + ebx*4], ecx
inc ebx
sub edx, 1
jne 0x100dc5c1
mov edi, dword [esp + 0x48]
mov ebp, dword [esp + 0x3c]
mov dword [esp + 0x98], ebx
mov dword [esp + 0x28], esi
xor edx, edx
cmp byte [edi + 0xc], dl
jbe 0x100dc631
mov esi, dword [esp + 0xa0]
lea ecx, [edi + 0x24]
nop dword [eax]
mov eax, dword [ecx]
lea ecx, [ecx + 4]
mov dword [esi + ebx*4], eax
inc edx
movzx eax, byte [edi + 0xc]
inc ebx
cmp edx, eax
jl 0x100dc610
mov esi, dword [esp + 0x28]
mov ebp, dword [esp + 0x3c]
mov dword [esp + 0x98], ebx
movzx eax, word [edi + 0x12]
add eax, dword [esp + 0x34]
movzx ecx, word [edi + 0x18]
lea edx, [eax + ecx*2]
cmp esi, edx
jae 0x100dc682
mov edi, dword [esp + 0x34]
mov ebp, dword [esp + 0x74]
nop dword [eax]
mov ax, word [esi]
add esi, 2
mov ch, al
mov cl, ah
movzx eax, bp
movzx ecx, cx
and ecx, eax
mov eax, dword [esp + 0xa0]
add ecx, edi
mov dword [eax + ebx*4], ecx
inc ebx
cmp esi, edx
jb 0x100dc650
mov edi, dword [esp + 0x48]
mov ebp, dword [esp + 0x3c]
mov dword [esp + 0x98], ebx
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x44]
mov dword [esp + edx + 0x120], ebx
cmp eax, dword [esp + 0x54]
jge 0x100dc737
cmp byte [esp + 0x13], 0
jne 0x100dc737
movzx eax, word [esp + edx + 0xf8]
mov ecx, dword [esp + 0xa4]
mov esi, dword [esp + 0x2c]
push eax
push dword [esp + edx + 0x7c]
add esi, ebp
mov word [ecx + ebx*2], ax
add ebp, eax
push esi
mov dword [esp + 0x48], ebp
call fcn.1016b7f0
mov ecx, dword [esp + 0x64]
add esp, 0xc
mov edx, dword [esp + 0xa4]
movzx eax, cx
add eax, esi
mov esi, dword [esp + 0xa0]
mov dword [esi + ebx*4], eax
mov ax, word [edx + ebx*2]
sub ax, cx
mov word [edx + ebx*2], ax
cmp byte [edi + 8], 0
movzx ecx, ax
jne 0x100dc70e
mov eax, dword [edi + 0x38]
mov ecx, dword [esi + ebx*4]
mov eax, dword [eax + 8]
mov dword [ecx], eax
jmp 0x100dc72b
cmp ecx, 4
jae 0x100dc72b
mov eax, dword [esp + 0x2c]
mov byte [eax + ebp], 0
inc ebp
inc word [edx + ebx*2]
cmp word [edx + ebx*2], 4
jb 0x100dc717
mov dword [esp + 0x3c], ebp
mov eax, dword [esp + 0x44]
inc ebx
mov dword [esp + 0x98], ebx
inc eax
mov dword [esp + 0x44], eax
cmp eax, dword [esp + 0x1c]
jl 0x100dc530
mov eax, dword [esp + 0x58]
xor edx, edx
mov ecx, dword [esp + 0x1c]
xor ebx, ebx
movzx ebp, ax
mov eax, dword [esp + 0x38]
add ebp, 0xfffffff4
mov dword [esp + 0x28], edx
mov dword [esp + 0x14], ebx
add ebp, dword [eax + 0x28]
mov dword [esp + 0x3c], ebp
test ecx, ecx
jle 0x100dc84c
lea esi, [esp + 0x120]
lea edi, [esp + 0x10c]
rep movsd dword es:[edi], dword [esi]
nop dword [eax]
nop word [eax + eax]
mov esi, dword [esp + ebx*4 + 0xd8]
mov ecx, dword [esp + ebx*4 + 0x120]
mov eax, dword [esi + 0x3c]
mov dword [esp + edx*4 + 0xa8], eax
mov dword [esp + edx*4 + 0xc0], ecx
test edx, edx
je 0x100dc7c1
cmp ecx, dword [esp + edx*4 + 0xbc]
jne 0x100dc7c1
dec edx
mov dword [esp + 0x28], edx
cmp byte [esp + 0x13], 0
jne 0x100dc7e5
mov eax, dword [esp + 0x40]
inc edx
mov dword [esp + 0x28], edx
mov eax, dword [eax + 0x3c]
mov dword [esp + edx*4 + 0xa8], eax
lea eax, [ecx + 1]
mov dword [esp + edx*4 + 0xc0], eax
mov edi, ebp
lea eax, [esp + 0xf8]
sub edi, dword [esi + 0x14]
lea eax, [eax + ebx*4]
xor ebp, ebp
mov dword [esp + 0x54], eax
cmp byte [esi + 0xc], 0
mov dword [eax], edi
jbe 0x100dc832
lea ebx, [esi + 0x24]
push dword [ebx]
mov eax, dword [esi + 0x4c]
push esi
call eax
movzx eax, ax
lea ebx, [ebx + 4]
add eax, 2
inc ebp
add edi, eax
add esp, 8
movzx eax, byte [esi + 0xc]
cmp ebp, eax
jl 0x100dc805
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x14]
mov dword [eax], edi
mov ecx, dword [esp + 0x1c]
inc ebx
mov ebp, dword [esp + 0x3c]
inc edx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x28], edx
cmp ebx, ecx
jl 0x100dc790
mov ebx, dword [esp + 0x98]
lea edx, [esp + 0x10c]
sub edx, 4
mov dword [esp + 0x14], 0
mov dword [esp + 0x48], edx
mov eax, ecx
mov dword [esp + 0x2c], eax
test ecx, ecx
jle 0x100dcb5d
mov esi, 1
xor edx, edx
mov dword [esp + 0x34], esi
mov dword [esp + 0x28], edx
nop word [eax + eax]
lea eax, [esp + 0xf8]
add eax, edx
mov dword [esp + 0x30], eax
mov edi, dword [eax]
cmp edi, ebp
jle 0x100dc9f9
lea ebp, [esp + 0xfc]
add ebp, edx
jmp 0x100dc919
push 0x10196e4c
push 0x129bb
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.100c9ef0
add esp, 0x14
mov ebp, 0xb
xor ebx, ebx
jmp 0x100dceb4
push 0x10196e4c
push 0x129a3
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.100c9ef0
add esp, 0x14
mov ebp, 0xb
xor ebx, ebx
jmp 0x100dceb4
lea eax, [esp + 0xf8]
add eax, edx
cmp esi, dword [esp + 0x2c]
jl 0x100dc948
lea ecx, [esi + 1]
mov dword [esp + 0x2c], ecx
cmp ecx, 5
jg 0x100dcb03
mov ebx, dword [esp + 0x98]
mov dword [ebp], 0
mov edi, dword [eax]
mov dword [esp + edx + 0x110], ebx
jmp 0x100dc94f
mov ebx, dword [esp + 0x98]
lea eax, [esp + 0x10c]
add eax, edx
mov edx, dword [esp + 0xa4]
mov dword [esp + 0x44], eax
mov esi, dword [eax]
movzx eax, word [edx + esi*2 - 2]
lea ecx, [esi - 1]
mov dword [esp + 0x54], ecx
test ax, ax
jne 0x100dc991
push ecx
lea eax, [esp + 0x9c]
push eax
call fcn.100e3190
mov edx, dword [esp + 0xac]
add esp, 8
movzx eax, ax
mov ecx, dword [esp + 0x30]
movzx eax, ax
add eax, 2
sub edi, eax
cmp byte [esp + 0x13], 0
mov dword [ecx], edi
jne 0x100dc9d1
cmp esi, ebx
jge 0x100dc9cf
movzx eax, word [edx + esi*2]
test ax, ax
jne 0x100dc9c7
lea eax, [esp + 0x98]
push esi
push eax
call fcn.100e3190
add esp, 8
movzx eax, ax
movzx eax, ax
add eax, 2
jmp 0x100dc9d1
xor eax, eax
mov ecx, dword [esp + 0x44]
add dword [ebp], eax
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x28]
mov esi, dword [esp + 0x34]
mov dword [ecx], eax
cmp edi, dword [esp + 0x3c]
jg 0x100dc910
mov ebx, dword [esp + 0x98]
jmp 0x100dca06
lea ecx, [esp + 0x10c]
add ecx, edx
mov dword [esp + 0x44], ecx
mov esi, dword [ecx]
cmp esi, ebx
jge 0x100dcab6
mov ebp, dword [esp + 0x30]
nop dword [eax]
nop dword [eax + eax]
mov edx, dword [esp + 0xa4]
movzx eax, word [edx + esi*2]
test ax, ax
jne 0x100dca4f
lea eax, [esp + 0x98]
push esi
push eax
call fcn.100e3190
mov ecx, dword [esp + 0x4c]
add esp, 8
mov edx, dword [esp + 0xa4]
movzx eax, ax
movzx eax, ax
add eax, 2
add edi, eax
cmp edi, dword [esp + 0x3c]
jg 0x100dcaae
inc esi
mov dword [ebp], edi
cmp byte [esp + 0x13], 0
mov dword [ecx], esi
jne 0x100dca99
cmp esi, ebx
jge 0x100dca97
movzx eax, word [edx + esi*2]
test ax, ax
jne 0x100dca8f
lea eax, [esp + 0x98]
push esi
push eax
call fcn.100e3190
mov ecx, dword [esp + 0x4c]
add esp, 8
movzx eax, ax
movzx eax, ax
add eax, 2
jmp 0x100dca99
xor eax, eax
mov edx, dword [esp + 0x28]
sub dword [esp + edx + 0xfc], eax
cmp esi, ebx
jl 0x100dca20
jmp 0x100dcab2
mov edx, dword [esp + 0x28]
cmp esi, ebx
jl 0x100dcac6
mov esi, dword [esp + 0x34]
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x2c], eax
jmp 0x100dcae5
mov ecx, dword [esp + 0x14]
test ecx, ecx
jle 0x100dcad7
mov eax, dword [esp + 0x48]
mov eax, dword [edx + eax]
jmp 0x100dcad9
xor eax, eax
cmp esi, eax
jle 0x100dcb33
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x2c]
inc ecx
add edx, 4
inc esi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x34], esi
cmp ecx, eax
jge 0x100dcb2d
mov ebp, dword [esp + 0x3c]
jmp 0x100dc890
push 0x10196e4c
push 0x12a20
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.100c9ef0
add esp, 0x14
mov ebp, 0xb
xor ebx, ebx
jmp 0x100dceb4
mov edx, dword [esp + 0x48]
jmp 0x100dcb61
push 0x10196e4c
push 0x12a41
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.100c9ef0
add esp, 0x14
mov ebp, 0xb
xor ebx, ebx
jmp 0x100dceb4
mov dword [esp + 0x48], edx
dec eax
mov ecx, eax
mov dword [esp + 0x34], eax
test ecx, ecx
jle 0x100dccdf
shl ecx, 2
lea eax, [esp + 0xf8]
add eax, ecx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x44], eax
mov edi, dword [eax]
lea eax, [esp + ecx + 0xf4]
mov ecx, dword [edx + ecx]
mov dword [esp + 0x28], eax
mov eax, dword [eax]
mov dword [esp + 0x14], eax
lea esi, [ecx - 1]
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0xa4]
mov eax, esi
sub eax, dword [esp + 0x60]
inc eax
cmp word [ecx + eax*2], 0
lea ebp, [ecx + eax*2]
jne 0x100dcbd1
push eax
lea eax, [esp + 0x9c]
push eax
call fcn.100e3190
mov ecx, dword [esp + 0xac]
add esp, 8
mov ebx, dword [esp + 0x14]
jmp 0x100dcbe7
mov ecx, dword [esp + 0xa4]
cmp word [ecx + esi*2], 0
mov dword [esp + 0x74], esi
mov dword [esp + 0x6c], esi
jne 0x100dcc07
lea eax, [esp + 0x98]
push esi
push eax
call fcn.100e3190
add esp, 8
test edi, edi
je 0x100dcc53
cmp dword [esp + 0x168], 0
mov eax, dword [esp + 0x30]
mov edx, eax
jne 0x100dcc97
mov ecx, dword [esp + 0x2c]
mov eax, 2
mov ebx, dword [esp + 0x14]
dec ecx
cmp dword [esp + 0x34], ecx
mov ecx, 0
cmove eax, ecx
mov ecx, ebx
sub ecx, eax
mov eax, dword [esp + 0xa4]
movzx eax, word [eax + esi*2]
sub ecx, eax
movzx eax, word [ebp]
add eax, 2
add eax, edi
cmp eax, ecx
jg 0x100dcc97
movzx eax, word [ebp]
mov ecx, 0xfffffffe
mov edx, dword [esp + 0x74]
add eax, 2
add edi, eax
sub ebp, 2
mov eax, dword [esp + 0xa4]
movzx eax, word [eax + esi*2]
sub ecx, eax
mov eax, dword [esp + 0x54]
add ebx, ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x14], ebx
mov dword [ecx + eax], esi
sub esi, 1
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x30], eax
jns 0x100dcbe0
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x34]
mov dword [eax], edi
mov eax, dword [esp + 0x28]
mov dword [eax], ebx
mov ebx, dword [esp + 0x98]
cmp ecx, 1
jbe 0x100dccc4
mov esi, dword [esp + 0x48]
lea eax, [ecx*4]
mov eax, dword [esi + eax - 4]
jmp 0x100dccc6
xor eax, eax
cmp edx, eax
jle 0x100dcd4b
mov edx, dword [esp + 0x48]
dec ecx
mov dword [esp + 0x34], ecx
test ecx, ecx
jg 0x100dcb70
mov eax, dword [esp + 0xd8]
xor esi, esi
mov eax, dword [eax + 0x38]
movzx eax, byte [eax]
mov dword [esp + 0x34], eax
lea eax, [esi + 1]
cmp dword [esp + 0x2c], esi
jle 0x100dcf1d
nop
mov edi, dword [esp + 0x1c]
cmp esi, edi
jge 0x100dcde3
mov edi, dword [esp + esi*4 + 0xd8]
mov dword [esp + esi*4 + 0xe4], edi
mov dword [esp + esi*4 + 0xd8], 0
mov dword [esp + 0x30], edi
mov ecx, dword [edi + 0x48]
test byte [ecx + 0x1c], 4
mov edx, dword [ecx + 0x14]
je 0x100dcd79
mov eax, dword [edx + 0x1c]
cmp eax, dword [ecx + 0x18]
jb 0x100dcd79
cmp dword [edx + 0x68], 0
je 0x100dcd75
push ecx
call fcn.101524b0
jmp 0x100dcd9f
push 0x10196e4c
push 0x12a6b
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.100c9ef0
add esp, 0x14
mov ebp, 0xb
xor ebx, ebx
jmp 0x100dceb4
xor ebp, ebp
jmp 0x100dcda4
mov ebp, dword [edx + 0x2c]
mov dword [esp + 0x18], ebp
test ebp, ebp
jne 0x100dcda8
mov eax, dword [edx + 0x9c]
push ecx
cmp eax, dword [edx + 0xa8]
jbe 0x100dcd9a
call fcn.100fb2d0
jmp 0x100dcd9f
call fcn.100fc5b0
add esp, 4
mov ebp, eax
mov dword [esp + 0x18], ebp
mov eax, dword [esp + 0x15c]
xor ecx, ecx
sub eax, dword [esp + 0x4c]
inc dword [esp + 0x20]
cmp esi, eax
mov eax, dword [edi + 0x48]
sete cl
mov dword [esp + 0x24], ebp
inc ecx
movsx eax, word [eax + 0x1e]
cmp eax, ecx
je 0x100dcdd6
test ebp, ebp
je 0x100dce8d
test ebp, ebp
jne 0x100dceb0
jmp 0x100dce78
cmp dword [esp + 0x168], 0
mov ecx, dword [esp + 0x68]
push 0
cmovne ecx, eax
lea eax, [esp + 0x68]
push ecx
push eax
lea eax, [esp + 0x3c]
push eax
push dword [esp + 0x48]
call fcn.100d8ff0
mov ebp, eax
add esp, 0x14
mov dword [esp + 0x18], ebp
mov dword [esp + 0x24], ebp
test ebp, ebp
jne 0x100dd63f
push dword [esp + 0x34]
mov edi, dword [esp + 0x34]
push edi
call fcn.10169490
mov ecx, dword [esp + 0x40]
add esp, 8
inc dword [esp + 0x20]
mov dword [esp + esi*4 + 0xe4], edi
mov dword [esp + esi*4 + 0x120], ebx
cmp byte [ecx + 0x11], 0
je 0x100dce70
lea eax, [esp + 0x24]
push eax
mov eax, dword [esp + 0x44]
push dword [eax + 4]
push 5
push dword [edi + 4]
push ecx
call fcn.100feda0
mov ebp, dword [esp + 0x38]
add esp, 0x14
mov dword [esp + 0x18], ebp
test ebp, ebp
jne 0x100dceb0
mov eax, dword [esp + 0x64]
mov dword [esp + 0x68], eax
inc esi
cmp esi, dword [esp + 0x2c]
jge 0x100dcf1d
mov eax, 1
jmp 0x100dcd00
push 0x10196e4c
push 0x12a8c
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.100c9ef0
add esp, 0x14
mov ebp, 0xb
mov ebx, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0xa0]
test esi, esi
je 0x100dd652
cmp dword [0x101a1150], 0
je 0x100dd648
mov eax, dword [0x101a3b70]
test eax, eax
je 0x100dcee7
push eax
call dword [0x101a11a0]
add esp, 4
push esi
call dword [0x101a117c]
sub dword [0x101a3b10], eax
dec dword [0x101a3b34]
push esi
call dword [0x101a1174]
mov eax, dword [0x101a3b70]
add esp, 8
test eax, eax
je 0x100dd652
push eax
call dword [0x101a11a8]
jmp 0x100dd64f
mov edx, dword [esp + 0x20]
xor ecx, ecx
test edx, edx
jle 0x100dcf46
nop word [eax + eax]
mov eax, dword [esp + ecx*4 + 0xe4]
mov eax, dword [eax + 4]
mov dword [esp + ecx*4 + 0x134], eax
inc ecx
cmp ecx, edx
jl 0x100dcf30
lea ebx, [edx - 1]
xor ebp, ebp
mov dword [esp + 0x28], ebx
mov dword [esp + 0x14], ebp
test ebx, ebx
jle 0x100dd053
mov eax, ebx
nop dword [eax]
lea edi, [ebp + 1]
mov ebx, ebp
mov dword [esp + 0x60], edi
mov esi, edi
cmp edi, edx
jge 0x100dd045
mov ebp, dword [esp + 0x20]
nop word [eax + eax]
mov eax, dword [esp + esi*4 + 0xe4]
mov ecx, esi
mov edx, dword [esp + ebx*4 + 0xe4]
mov eax, dword [eax + 4]
cmp eax, dword [edx + 4]
cmovae ecx, ebx
inc esi
mov ebx, ecx
cmp esi, ebp
jl 0x100dcf80
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x30], ebx
cmp ebx, ebp
je 0x100dd03d
mov edi, dword [esp + 0x38]
xor edx, edx
mov eax, dword [0x101a1274]
mov ecx, dword [esp + ebx*4 + 0xe4]
mov esi, dword [esp + ebp*4 + 0xe4]
div dword [edi + 0x24]
mov ebx, dword [ecx + 4]
mov edx, dword [esi + 0x48]
inc eax
mov ecx, dword [ecx + 0x48]
mov ebp, dword [esi + 4]
push eax
movzx esi, word [edx + 0x1c]
movzx edi, word [ecx + 0x1c]
push edx
mov word [edx + 0x1c], di
call fcn.10128330
mov eax, dword [esp + 0x38]
push ebp
mov eax, dword [esp + eax*4 + 0xf0]
mov eax, dword [eax + 0x48]
push eax
mov word [eax + 0x1c], si
call fcn.10128330
mov esi, dword [esp + 0x24]
push ebx
mov eax, dword [esp + esi*4 + 0xf8]
mov eax, dword [eax + 0x48]
push eax
mov word [eax + 0x1c], di
call fcn.10128330
mov eax, dword [esp + esi*4 + 0xfc]
add esp, 0x18
mov edi, dword [esp + 0x60]
mov dword [eax + 4], ebx
mov eax, dword [esp + 0x30]
mov eax, dword [esp + eax*4 + 0xe4]
mov dword [eax + 4], ebp
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x28]
mov ebp, edi
mov dword [esp + 0x14], ebp
cmp ebp, eax
jl 0x100dcf60
test byte [esp + 0x34], 8
mov eax, dword [esp + edx*4 + 0xe0]
mov ecx, dword [esp + 0x5c]
mov eax, dword [eax + 4]
bswap eax
mov dword [ecx], eax
jne 0x100dd0a0
mov ecx, dword [esp + 0x1c]
cmp ecx, edx
je 0x100dd0a0
lea eax, [esp + 0xe4]
lea esi, [esp + 0xd8]
cmovge eax, esi
mov eax, dword [eax + ecx*4 - 4]
mov edx, dword [eax + 0x38]
mov eax, dword [esp + 0x20]
mov eax, dword [esp + eax*4 + 0xe0]
mov ecx, dword [eax + 0x38]
mov eax, dword [edx + 8]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x38]
cmp byte [eax + 0x11], 0
je 0x100dd2b4
mov esi, dword [esp + 0xe4]
xor edi, edi
xor ebp, ebp
mov dword [esp + 0x5c], 0
movzx eax, byte [esi + 0xc]
movzx ebx, word [esi + 0x18]
add ebx, eax
mov eax, dword [esp + 0x98]
test eax, eax
jle 0x100dd2b4
mov edx, esi
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], edx
nop dword [eax]
nop dword [eax + eax]
mov ecx, dword [esp + 0xa0]
mov ecx, dword [ecx + ebp*4]
mov dword [esp + 0x14], ecx
cmp ebp, ebx
jne 0x100dd144
xor edx, edx
cmp byte [esp + 0x13], dl
sete dl
nop dword [eax + eax]
inc edi
cmp edi, dword [esp + 0x20]
jge 0x100dd120
mov esi, dword [esp + edi*4 + 0xe4]
jmp 0x100dd127
mov esi, dword [esp + edi*4 + 0xd8]
movzx eax, word [esi + 0x18]
movzx ecx, byte [esi + 0xc]
add eax, edx
add ecx, eax
add ebx, ecx
cmp ebp, ebx
je 0x100dd110
mov eax, dword [esp + 0x98]
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
cmp ebp, dword [esp + ecx + 0x10c]
mov ecx, dword [esp + 0x14]
jne 0x100dd17b
mov edx, dword [esp + 0x5c]
inc edx
mov dword [esp + 0x5c], edx
shl edx, 2
cmp byte [esp + 0x13], 0
mov dword [esp + 0x30], edx
mov edx, dword [esp + edx + 0xe4]
mov dword [esp + 0x2c], edx
je 0x100dd2ab
cmp edi, dword [esp + 0x20]
jge 0x100dd19b
mov eax, dword [edx + 4]
cmp eax, dword [esp + edi*4 + 0x134]
jne 0x100dd19b
cmp ecx, dword [esi + 0x38]
jb 0x100dd19b
cmp ecx, dword [esi + 0x3c]
jb 0x100dd2a4
cmp word [esp + 0x58], 0
jne 0x100dd1ca
lea eax, [esp + 0x24]
push eax
push dword [edx + 4]
mov eax, dword [ecx]
push 5
bswap eax
push eax
push dword [esp + 0x48]
call fcn.100feda0
mov eax, dword [esp + 0x38]
add esp, 0x14
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xa4]
movzx eax, word [eax + ebp*2]
test ax, ax
jne 0x100dd1f2
lea eax, [esp + 0x98]
push ebp
push eax
call fcn.100e3190
mov edx, dword [esp + 0x34]
add esp, 8
movzx eax, ax
cmp ax, word [edx + 0x10]
jbe 0x100dd28f
cmp dword [esp + 0x18], 0
jne 0x100dd297
lea eax, [esp + 0x80]
push eax
push dword [esp + 0x18]
mov eax, dword [edx + 0x50]
push edx
call eax
movzx eax, word [esp + 0x9c]
add esp, 0xc
cmp eax, dword [esp + 0x8c]
jae 0x100dd2a0
mov edx, dword [esi + 0x3c]
mov ecx, dword [esp + 0x14]
cmp edx, ecx
jb 0x100dd259
add eax, ecx
cmp edx, eax
jae 0x100dd259
push 0x10fef
call fcn.101114b0
mov edx, dword [esp + 0x30]
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], eax
jmp 0x100dd293
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0x24]
push eax
movzx eax, word [esp + 0x96]
push dword [edx + 4]
mov eax, dword [eax + ecx - 4]
push 3
bswap eax
push eax
push dword [edx + 0x34]
call fcn.100feda0
mov eax, dword [esp + 0x38]
add esp, 0x14
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x18], eax
jmp 0x100dd293
mov eax, dword [esp + 0x18]
test eax, eax
je 0x100dd2a4
mov ebp, dword [esp + 0x18]
jmp 0x100dceb0
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x98]
inc ebp
cmp ebp, eax
jl 0x100dd0f0
xor ebx, ebx
mov dword [esp + 0x14], ebx
cmp dword [esp + 0x28], ebx
jle 0x100dd454
nop dword [eax]
nop dword [eax + eax]
mov esi, dword [esp + ebx*4 + 0x10c]
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + ebx*4 + 0xe4]
mov ebx, dword [esp + 0x58]
mov ebp, dword [esp + 0x50]
mov edi, dword [eax + esi*4]
mov eax, dword [esp + 0xa4]
add ebp, dword [esp + 0x70]
movzx edx, bx
mov ebx, dword [esp + 0x14]
movzx eax, word [eax + esi*2]
add edx, eax
mov dword [esp + 0x60], ecx
cmp byte [ecx + 8], 0
jne 0x100dd31f
mov ecx, dword [ecx + 0x38]
mov eax, dword [edi]
mov dword [ecx + 8], eax
jmp 0x100dd3d6
cmp byte [esp + 0x13], 0
je 0x100dd3bd
lea eax, [esp + 0x80]
dec esi
push eax
mov eax, dword [esp + 0xa4]
push dword [eax + esi*4]
mov eax, dword [ecx + 0x50]
push ecx
call eax
mov edx, dword [esp + 0x90]
lea ebx, [ebp + 4]
mov ecx, dword [esp + 0x8c]
add esp, 0xc
mov edi, ebp
test edx, edx
ja 0x100dd3a7
jb 0x100dd364
cmp ecx, 0x7f
ja 0x100dd379
mov eax, 1
and cl, 0x7f
mov byte [ebx], cl
xor ebp, ebp
mov ebx, dword [esp + 0x14]
lea edx, [eax + 4]
jmp 0x100dd3d6
test edx, edx
ja 0x100dd3a7
jb 0x100dd387
cmp ecx, 0x3fff
ja 0x100dd3a7
mov eax, ecx
and cl, 0x7f
shrd eax, edx, 7
mov byte [ebx + 1], cl
or al, 0x80
xor ebp, ebp
mov byte [ebx], al
mov eax, 2
mov ebx, dword [esp + 0x14]
lea edx, [eax + 4]
jmp 0x100dd3d6
push edx
push ecx
push ebx
call fcn.100ff660
mov ebx, dword [esp + 0x20]
add esp, 0xc
xor ebp, ebp
lea edx, [eax + 4]
jmp 0x100dd3d6
sub edi, 4
cmp eax, 4
jne 0x100dd3d6
mov eax, dword [esp + 0x40]
push edi
push eax
mov eax, dword [eax + 0x4c]
call eax
add esp, 8
movzx edx, ax
add dword [esp + 0x50], edx
xor eax, eax
cmp dword [esp + 0xc0], esi
jg 0x100dd3f4
cmp eax, 6
jge 0x100dd3f4
inc eax
cmp dword [esp + eax*4 + 0xc0], esi
jle 0x100dd3e5
mov ecx, dword [esp + eax*4 + 0xa8]
cmp ecx, edi
jb 0x100dd406
lea eax, [edx + edi]
cmp ecx, eax
jb 0x100dd445
lea eax, [esp + 0x24]
push eax
mov eax, dword [esp + 0x64]
push dword [eax + 4]
mov eax, dword [esp + 0x54]
push ebp
push edx
push edi
add eax, ebx
push eax
push dword [esp + 0x58]
call fcn.100f1750
mov ebp, dword [esp + 0x40]
add esp, 0x1c
test ebp, ebp
jne 0x100dceb0
inc ebx
mov dword [esp + 0x14], ebx
cmp ebx, dword [esp + 0x28]
jl 0x100dd2d0
jmp 0x100dd458
push 0x10196e4c
push 0x12b54
jmp 0x100dce97
mov ebp, dword [esp + 0x18]
mov ebx, dword [esp + 0x20]
mov eax, 1
sub eax, ebx
mov dword [esp + 0x50], eax
cmp eax, ebx
jge 0x100dd54a
mov ebx, dword [esp + 0x10c]
cdq
lea edi, [esp + 0x148]
mov ecx, eax
xor ecx, edx
sub ecx, edx
add edi, ecx
cmp byte [edi], 0
jne 0x100dd533
cmp dword [esp + 0x50], 0
lea esi, [ecx*4]
jge 0x100dd4b1
mov eax, dword [esp + esi + 0x11c]
cmp eax, dword [esp + esi + 0x108]
jl 0x100dd533
test ecx, ecx
jne 0x100dd4bb
xor eax, eax
mov edx, ebx
jmp 0x100dd4f3
cmp ecx, dword [esp + 0x1c]
jge 0x100dd4d3
xor eax, eax
cmp byte [esp + 0x13], al
sete al
add eax, dword [esp + esi + 0x11c]
jmp 0x100dd4da
mov eax, dword [esp + 0x98]
mov edx, dword [esp + esi + 0x10c]
xor ecx, ecx
cmp byte [esp + 0x13], cl
sete cl
add ecx, dword [esp + esi + 0x108]
sub edx, ecx
lea ebp, [esp + 0x98]
push ebp
push edx
push ecx
push eax
push dword [esp + esi + 0xf4]
call fcn.100e6330
mov ebp, eax
add esp, 0x14
mov dword [esp + 0x24], ebp
test ebp, ebp
jne 0x100dceb0
mov eax, dword [esp + esi + 0xe4]
mov ecx, dword [esp + 0x3c]
sub ecx, dword [esp + esi + 0xf8]
mov byte [edi], 1
mov dword [eax + 0x14], ecx
mov eax, dword [esp + 0x50]
inc eax
mov dword [esp + 0x50], eax
cmp eax, dword [esp + 0x20]
jl 0x100dd476
mov ebx, dword [esp + 0x20]
cmp dword [esp + 0x164], 0
je 0x100dd5b2
mov esi, dword [esp + 0x40]
cmp word [esi + 0x18], 0
jne 0x100dd5b2
mov ecx, dword [esp + 0xe4]
movzx eax, byte [esi + 9]
cmp eax, dword [ecx + 0x14]
jg 0x100dd5b2
push 0xffffffffffffffff
push ecx
call fcn.100e59f0
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x2c]
push eax
push esi
push dword [esp + 0xf4]
call fcn.100e4f20
mov ebp, dword [esp + 0x38]
add esp, 0x14
test ebp, ebp
jne 0x100dd600
mov eax, dword [esp + 0xe4]
push dword [eax + 4]
push eax
push dword [eax + 0x34]
call fcn.100ee070
add esp, 0xc
mov ebp, eax
jmp 0x100dd600
mov ecx, dword [esp + 0x38]
cmp byte [ecx + 0x11], 0
je 0x100dd600
cmp word [esp + 0x58], 0
jne 0x100dd600
xor esi, esi
test ebx, ebx
jle 0x100dd600
nop word [eax + eax]
mov eax, dword [esp + esi*4 + 0xe4]
lea edx, [esp + 0x24]
push edx
push dword [eax + 4]
mov eax, dword [eax + 0x38]
push 5
mov eax, dword [eax + 8]
bswap eax
push eax
push ecx
call fcn.100feda0
mov ecx, dword [esp + 0x4c]
inc esi
add esp, 0x14
cmp esi, ebx
jl 0x100dd5d0
mov ebp, dword [esp + 0x24]
mov edi, dword [esp + 0x1c]
mov esi, ebx
cmp ebx, edi
jge 0x100dceb8
nop
mov eax, dword [esp + esi*4 + 0xd8]
test ebp, ebp
jne 0x100dd62c
push dword [eax + 4]
push eax
push dword [eax + 0x34]
call fcn.100ee070
add esp, 0xc
mov ebp, eax
inc esi
cmp esi, edi
jl 0x100dd610
jmp 0x100dceb8
lea eax, [edi + 4]
push eax
jmp 0x100dc486
mov ebx, dword [esp + 0x20]
jmp 0x100dceb8
push esi
call dword [0x101a1174]
add esp, 4
xor esi, esi
test edi, edi
jle 0x100dd67b
nop dword [eax + eax]
mov eax, dword [esp + esi*4 + 0xd8]
test eax, eax
je 0x100dd676
push dword [eax + 0x48]
call fcn.10127570
add esp, 4
inc esi
cmp esi, edi
jl 0x100dd660
xor esi, esi
test ebx, ebx
jle 0x100dd69c
mov eax, dword [esp + esi*4 + 0xe4]
test eax, eax
je 0x100dd697
push dword [eax + 0x48]
call fcn.10127570
add esp, 4
inc esi
cmp esi, ebx
jl 0x100dd681
mov ecx, dword [esp + 0x150]
mov eax, ebp
pop esi
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.10169f7a
add esp, 0x144
ret