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

Disassembly:
sub esp, 0x44
mov eax, dword [esp + 0x5c]
push ebx
push ebp
xor ebx, ebx
push esi
mov esi, dword [esp + 0x54]
push edi
mov edi, dword [esp + 0x64]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
cmp eax, ebx
je 0x1013da2b
mov dword [esp + 0x30], eax
cmp dword [esp + 0x70], ebx
jne 0x1013da2f
mov dword [esp + 0x30], edi
mov ebp, dword [esi + 8]
mov eax, dword [esi]
mov dword [esp + 0x1c], eax
cmp ebp, ebx
jne 0x1013da57
call fcn.10116850
mov ebp, eax
mov dword [esi + 8], eax
cmp ebp, ebx
je 0x1013da57
push 0x94
call fcn.10116a30
add esp, 4
mov eax, dword [esp + 0x5c]
movsx ecx, word [eax + 0x26]
cmp ecx, ebx
mov dword [esp + 0x2c], ecx
lea eax, [edi + 1]
mov dword [esp + 0x14], ebx
jle 0x1013dc2b
mov dword [esp + 0x10], ebx
mov dword [esp + 0x18], eax
lea ebx, [ebx]
mov ecx, dword [esp + 0x5c]
movsx edx, word [ecx + 0x24]
cmp dword [esp + 0x14], edx
je 0x1013dc0f
mov edx, dword [esp + 0x10]
mov eax, ecx
mov ecx, dword [eax + 4]
movzx eax, byte [ecx + edx + 0x14]
add ecx, edx
cmp eax, ebx
je 0x1013dc0f
mov edx, dword [esp + 0x74]
cmp edx, 0xa
je 0x1013dab7
mov eax, edx
jmp 0x1013dabc
cmp eax, 0xa
je 0x1013dac6
cmp eax, 5
jne 0x1013dacb
cmp dword [ecx + 4], ebx
jne 0x1013dacb
mov eax, 2
lea ecx, [eax - 1]
cmp ecx, 3
ja case.default.0x1013dad7
jmp dword [ecx*4 + 0x1013ecbc]
mov edx, dword [esp + 0x58]
mov ecx, dword [edx + 0x1b4]
cmp ecx, ebx
jne 0x1013daee
mov ecx, edx
mov byte [ecx + 0x18], 1
mov ecx, dword [esp + 0x18]
push ecx
push eax
push 0x513
push 0x12
mov eax, ebp
call fcn.101169d0
mov eax, dword [esp + 0x6c]
mov edx, dword [eax + 4]
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx + edx]
mov eax, dword [eax]
mov esi, dword [esp + 0x2c]
push edx
push eax
push str._s._s_may_not_be_NULL
call fcn.100fd5c0
mov esi, dword [ebp + 4]
mov edi, dword [ebp]
add esp, 0x1c
mov dword [esp + 0x34], eax
cmp esi, ebx
je 0x1013db75
cmp byte [edi + 0x40], bl
jne 0x1013db75
mov eax, dword [ebp + 0x1c]
dec eax
lea ecx, [eax + eax*4]
movsx eax, byte [esi + ecx*4 + 1]
lea esi, [esi + ecx*4]
mov ecx, dword [esi + 0x10]
call fcn.10116f50
mov eax, dword [esp + 0x34]
mov dword [esi + 0x10], ebx
cmp eax, ebx
jne 0x1013db69
mov dword [esi + 0x10], ebx
mov byte [esi + 1], bl
jmp 0x1013dc0f
mov dword [esi + 0x10], eax
mov byte [esi + 1], 0xff
jmp 0x1013dc0f
mov ecx, eax
or eax, 0xffffffff
call fcn.10116f50
jmp 0x1013dc0f
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x18]
push ebx
push edx
push eax
push 0x49
mov eax, ebp
call fcn.101169d0
add esp, 0x10
jmp 0x1013dc0f
mov esi, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], esi
jg 0x1013dbb7
mov edi, ebp
call fcn.10116950
test eax, eax
je 0x1013dbb7
mov edi, 1
jmp 0x1013dbde
mov edx, dword [ebp + 4]
inc dword [ebp + 0x1c]
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x18]
mov byte [eax], 0x4a
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov edi, esi
mov edx, dword [esp + 0x5c]
mov eax, dword [edx + 4]
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + eax + 4]
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x58]
call fcn.1012a1d0
cmp edi, ebx
jl 0x1013dc0f
mov eax, dword [ebp + 0x1c]
cmp eax, edi
jbe 0x1013dc0f
mov ecx, dword [ebp + 4]
lea edx, [edi + edi*4]
mov dword [ecx + edx*4 + 8], eax
mov eax, dword [esp + 0x14]
inc dword [esp + 0x18]
add dword [esp + 0x10], 0x18
inc eax
cmp eax, dword [esp + 0x2c]
mov dword [esp + 0x14], eax
jl 0x1013da80
mov edx, dword [esp + 0x5c]
mov eax, dword [edx + 0x18]
mov dword [esp + 0x2c], eax
cmp eax, ebx
je 0x1013df1b
mov eax, dword [esp + 0x1c]
test dword [eax + 0x18], 0x2000
jne 0x1013df1b
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x58]
inc eax
mov dword [ecx + 0x58], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x10], eax
cmp eax, 0xa
jne 0x1013dc70
mov dword [esp + 0x10], 2
mov edx, dword [esp + 0x2c]
cmp dword [edx], ebx
mov dword [esp + 0x14], ebx
jle 0x1013df1b
mov dword [esp + 0x28], ebx
mov edi, dword [ebp + 0x24]
lea ecx, [edi - 1]
lea eax, [edi + 1]
mov dword [ebp + 0x24], eax
test edi, ecx
jne 0x1013dd35
mov esi, dword [ebp]
mov ebx, dword [ebp + 0x28]
lea edx, [edi*8 + 4]
push edx
mov eax, esi
call fcn.100fc330
add esp, 4
mov dword [esp + 0x34], eax
test eax, eax
jne 0x1013dd2c
test ebx, ebx
je 0x1013dd2c
test esi, esi
je 0x1013dd23
cmp dword [esi + 0x200], eax
je 0x1013dcfd
cmp ebx, dword [esi + 0x10c]
jb 0x1013dce9
cmp ebx, dword [esi + 0x110]
jae 0x1013dce9
movzx eax, word [esi + 0xf0]
mov esi, dword [esi + 0x200]
add dword [esi], eax
jmp 0x1013dd2c
push ebx
call dword [0x10208e34]
mov esi, dword [esi + 0x200]
add esp, 4
add dword [esi], eax
jmp 0x1013dd2c
cmp ebx, dword [esi + 0x10c]
jb 0x1013dd23
cmp ebx, dword [esi + 0x110]
jae 0x1013dd23
mov eax, dword [esi + 0x108]
mov dword [ebx], eax
dec dword [esi + 0xf4]
mov dword [esi + 0x108], ebx
jmp 0x1013dd2c
push ebx
call fcn.100fc010
add esp, 4
mov ecx, dword [esp + 0x34]
mov dword [ebp + 0x28], ecx
xor ebx, ebx
mov eax, dword [ebp + 0x28]
cmp eax, ebx
je 0x1013dd43
mov dword [eax + edi*4], 0xffffffff
mov esi, dword [esp + 0x28]
mov ecx, dword [esp + 0x58]
or eax, 0xffffffff
sub eax, edi
mov edi, dword [esp + 0x2c]
mov edx, dword [edi + 8]
push 8
push eax
mov dword [esp + 0x3c], eax
mov eax, dword [esi + edx]
push eax
push ecx
call fcn.1012a5f0
mov eax, dword [esp + 0x20]
add esp, 0x10
cmp eax, 4
jne 0x1013ddb5
mov esi, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], esi
jg 0x1013dd8b
mov edi, ebp
call fcn.10116950
test eax, eax
jne 0x1013deeb
mov eax, dword [ebp + 4]
inc dword [ebp + 0x1c]
mov ecx, dword [esp + 0x78]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov byte [eax], 0xe
mov byte [eax + 3], bl
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
jmp 0x1013deeb
mov edx, dword [edi + 8]
mov esi, dword [esi + edx + 4]
cmp eax, 5
jne 0x1013ddc9
mov dword [esp + 0x10], 2
cmp esi, ebx
je 0x1013dde5
push esi
mov esi, dword [esp + 0x20]
push str.constraint__s_failed
call fcn.100fd5c0
add esp, 8
mov dword [esp + 0x18], eax
jmp 0x1013dde9
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x58]
mov edi, dword [eax + 8]
cmp edi, ebx
jne 0x1013de38
mov esi, eax
mov eax, dword [esi]
call fcn.10116850
mov edi, eax
mov dword [esi + 8], eax
cmp edi, ebx
je 0x1013de38
mov esi, dword [edi + 0x1c]
cmp dword [edi + 0x20], esi
jg 0x1013de17
call fcn.10116950
test eax, eax
jne 0x1013de38
mov edx, dword [edi + 4]
inc dword [edi + 0x1c]
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov byte [eax], 0x94
mov byte [eax + 3], bl
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
cmp dword [esp + 0x10], 2
jne 0x1013de53
mov ecx, dword [esp + 0x58]
mov eax, dword [ecx + 0x1b4]
cmp eax, ebx
jne 0x1013de4f
mov eax, ecx
mov byte [eax + 0x18], 1
mov esi, dword [edi + 0x1c]
cmp dword [edi + 0x20], esi
jg 0x1013de6b
call fcn.10116950
test eax, eax
je 0x1013de6b
mov eax, 1
jmp 0x1013de96
mov ecx, dword [edi + 4]
inc dword [edi + 0x1c]
mov edx, dword [esp + 0x10]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov byte [eax], 0x14
mov byte [eax + 3], bl
mov dword [eax + 4], 0x113
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov eax, esi
mov esi, dword [edi + 4]
mov edx, dword [edi]
cmp esi, ebx
je 0x1013dedd
cmp byte [edx + 0x40], bl
jne 0x1013dedd
cmp eax, ebx
jge 0x1013deac
mov eax, dword [edi + 0x1c]
dec eax
lea eax, [eax + eax*4]
mov ecx, dword [esi + eax*4 + 0x10]
lea esi, [esi + eax*4]
movsx eax, byte [esi + 1]
mov edi, edx
call fcn.10116f50
mov eax, dword [esp + 0x18]
mov dword [esi + 0x10], ebx
cmp eax, ebx
jne 0x1013ded4
mov dword [esi + 0x10], ebx
mov byte [esi + 1], bl
jmp 0x1013deeb
mov dword [esi + 0x10], eax
mov byte [esi + 1], 0xff
jmp 0x1013deeb
mov ecx, dword [esp + 0x18]
or eax, 0xffffffff
mov edi, edx
call fcn.10116f50
or eax, 0xffffffff
sub eax, dword [esp + 0x34]
js 0x1013df01
mov ecx, dword [ebp + 0x28]
cmp ecx, ebx
je 0x1013df01
mov edx, dword [ebp + 0x1c]
mov dword [ecx + eax*4], edx
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x2c]
add dword [esp + 0x28], 0x18
inc eax
cmp eax, dword [ecx]
mov dword [esp + 0x14], eax
jl 0x1013dc84
cmp dword [esp + 0x6c], ebx
je 0x1013e28a
mov edx, dword [esp + 0x5c]
movzx ecx, byte [edx + 0x2d]
mov eax, dword [esp + 0x74]
mov dword [esp + 0x10], ecx
cmp eax, 0xa
je 0x1013df40
mov dword [esp + 0x10], eax
jmp 0x1013df4d
cmp ecx, 0xa
jne 0x1013df4d
mov dword [esp + 0x10], 2
cmp dword [esp + 0x70], ebx
je 0x1013df9d
mov esi, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], esi
jg 0x1013df70
mov edi, ebp
call fcn.10116950
test eax, eax
je 0x1013df70
mov dword [esp + 0x20], 1
jmp 0x1013df9d
mov ecx, dword [ebp + 4]
inc dword [ebp + 0x1c]
mov edx, dword [esp + 0x64]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x6c]
mov byte [eax], 0x4c
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov dword [esp + 0x20], esi
mov esi, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], esi
jg 0x1013dfba
mov edi, ebp
call fcn.10116950
test eax, eax
je 0x1013dfba
mov dword [esp + 0x6c], 1
jmp 0x1013dfe7
mov eax, dword [ebp + 4]
inc dword [ebp + 0x1c]
mov ecx, dword [esp + 0x60]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x64]
mov byte [eax], 0x3f
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov dword [esp + 0x6c], esi
mov eax, dword [esp + 0x10]
dec eax
cmp eax, 4
ja case.default.0x1013dff5
jmp dword [eax*4 + 0x1013eccc]
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x58]
xor esi, esi
test dword [eax + 0x18], 0x40000
je 0x1013e027
mov edx, dword [esp + 0x5c]
push ebx
push ebx
push 0x6a
mov eax, edi
call fcn.1014eba0
mov esi, eax
add esp, 0xc
cmp esi, ebx
jne 0x1013e079
mov ecx, dword [edi]
test dword [ecx + 0x18], 0x80000
mov ecx, dword [esp + 0x5c]
je 0x1013e048
call fcn.10139b20
test eax, eax
jne 0x1013e079
mov ecx, dword [esp + 0x5c]
cmp dword [ecx + 0x10], ebx
jne 0x1013e07d
cmp dword [ecx + 8], ebx
je 0x1013e0a5
mov eax, dword [edi + 0x1b4]
cmp eax, ebx
jne 0x1013e059
mov eax, edi
mov edx, dword [esp + 0x60]
push ebx
push edx
push edi
mov byte [eax + 0x17], 1
call fcn.10135c70
add esp, 0xc
mov dword [esp + 0x24], 1
jmp 0x1013e24e
mov ecx, dword [esp + 0x5c]
mov eax, dword [edi + 0x1b4]
cmp eax, ebx
jne 0x1013e089
mov eax, edi
mov edx, dword [esp + 0x60]
push 5
push esi
push ebx
mov byte [eax + 0x17], 1
mov eax, dword [esp + 0x70]
push eax
push edx
push ecx
push edi
call fcn.10135930
add esp, 0x1c
mov dword [esp + 0x24], 1
jmp 0x1013e24e
mov esi, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], esi
jg 0x1013e0c9
mov edi, ebp
call fcn.10116950
test eax, eax
jne 0x1013e24e
mov ecx, dword [ebp + 4]
inc dword [ebp + 0x1c]
mov edx, dword [esp + 0x78]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov byte [eax], 0xe
mov byte [eax + 3], bl
mov dword [eax + 4], ebx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
jmp 0x1013e24e
mov dword [esp + 0x10], 2
mov eax, dword [esp + 0x58]
mov esi, dword [eax + 8]
cmp esi, ebx
jne 0x1013e19b
mov ecx, eax
mov edi, dword [ecx]
mov ecx, 0xe0
mov esi, edi
call fcn.100fc2b0
mov esi, eax
cmp esi, ebx
je 0x1013e1d4
push 0xe0
push ebx
push esi
call fcn.101845c0
mov dword [esi], edi
mov eax, dword [edi + 4]
add esp, 0xc
cmp eax, ebx
je 0x1013e13f
mov dword [eax + 0x3c], esi
mov edx, dword [edi + 4]
mov dword [esi + 0x40], edx
mov dword [esi + 0x3c], ebx
mov dword [edi + 4], esi
mov dword [esi + 0x34], 0x26bceaa5
mov edi, esi
mov eax, dword [esp + 0x58]
mov dword [eax + 8], edi
mov esi, edi
cmp edi, ebx
je 0x1013e19b
mov eax, dword [edi + 0x1c]
cmp dword [edi + 0x20], eax
mov dword [esp + 0x34], eax
jg 0x1013e17a
call fcn.10116950
test eax, eax
jne 0x1013e19b
mov eax, dword [esp + 0x34]
mov edx, dword [edi + 4]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*4]
mov byte [eax], 0x94
mov byte [eax + 3], bl
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
cmp dword [esp + 0x10], 2
jne 0x1013e1b6
mov ecx, dword [esp + 0x58]
mov eax, dword [ecx + 0x1b4]
cmp eax, ebx
jne 0x1013e1b2
mov eax, ecx
mov byte [eax + 0x18], 1
mov ecx, dword [esi + 0x1c]
cmp dword [esi + 0x20], ecx
mov dword [esp + 0x34], ecx
jg 0x1013e1df
mov edi, esi
call fcn.10116950
test eax, eax
je 0x1013e1db
mov eax, 1
jmp 0x1013e20a
xor edi, edi
jmp 0x1013e154
mov ecx, dword [esp + 0x34]
mov edx, dword [esi + 4]
inc dword [esi + 0x1c]
lea eax, [ecx + ecx*4]
lea eax, [edx + eax*4]
mov edx, dword [esp + 0x10]
mov byte [eax], 0x14
mov byte [eax + 3], bl
mov dword [eax + 4], 0x613
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov eax, ecx
mov ecx, dword [esi + 4]
mov edi, dword [esi]
cmp ecx, ebx
je 0x1013e23f
cmp byte [edi + 0x40], bl
jne 0x1013e23f
cmp eax, ebx
jge 0x1013e220
mov eax, dword [esi + 0x1c]
dec eax
lea eax, [eax + eax*4]
lea esi, [ecx + eax*4]
movsx eax, byte [esi + 1]
mov ecx, dword [esi + 0x10]
call fcn.10116f50
mov dword [esi + 0x10], str.PRIMARY_KEY_must_be_unique
mov byte [esi + 1], 0xfe
jmp 0x1013e24e
mov ecx, str.PRIMARY_KEY_must_be_unique
mov eax, 0xfffffffe
call fcn.10116f50
mov ecx, dword [esp + 0x6c]
cmp ecx, ebx
jl 0x1013e267
mov eax, dword [ebp + 0x1c]
cmp eax, ecx
jbe 0x1013e267
mov edx, dword [ebp + 4]
lea ecx, [ecx + ecx*4]
mov dword [edx + ecx*4 + 8], eax
cmp dword [esp + 0x70], ebx
je 0x1013e28a
cmp dword [esp + 0x20], ebx
jl 0x1013e28a
mov eax, dword [ebp + 0x1c]
cmp eax, dword [esp + 0x20]
jbe 0x1013e28a
mov ecx, dword [esp + 0x20]
mov edx, dword [ebp + 4]
lea ecx, [ecx + ecx*4]
mov dword [edx + ecx*4 + 8], eax
mov eax, dword [esp + 0x5c]
mov eax, dword [eax + 8]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x6c], eax
cmp eax, ebx
je 0x1013ec9f
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x20]
mov ecx, dword [ecx + edx*4]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x34], ecx
cmp ecx, ebx
je 0x1013ec88
mov esi, dword [esp + 0x6c]
cmp dword [esi + 0x24], ebx
je 0x1013e3f2
mov esi, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], esi
jg 0x1013e2e0
mov edi, ebp
call fcn.10116950
test eax, eax
jne 0x1013e301
mov ecx, dword [esp + 0x34]
mov edx, dword [ebp + 4]
inc dword [ebp + 0x1c]
lea eax, [esi + esi*4]
lea eax, [edx + eax*4]
mov byte [eax], 0x18
mov byte [eax + 3], bl
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov edi, dword [ebp + 0x24]
lea ecx, [edi - 1]
lea eax, [edi + 1]
mov dword [ebp + 0x24], eax
test edi, ecx
jne 0x1013e3b2
mov esi, dword [ebp]
mov ebx, dword [ebp + 0x28]
lea edx, [edi*8 + 4]
push edx
mov eax, esi
call fcn.100fc330
add esp, 4
mov dword [esp + 0x34], eax
test eax, eax
jne 0x1013e3a9
test ebx, ebx
je 0x1013e3a9
test esi, esi
je 0x1013e3a0
cmp dword [esi + 0x200], eax
je 0x1013e37a
cmp ebx, dword [esi + 0x10c]
jb 0x1013e366
cmp ebx, dword [esi + 0x110]
jae 0x1013e366
movzx eax, word [esi + 0xf0]
mov esi, dword [esi + 0x200]
add dword [esi], eax
jmp 0x1013e3a9
push ebx
call dword [0x10208e34]
mov esi, dword [esi + 0x200]
add esp, 4
add dword [esi], eax
jmp 0x1013e3a9
cmp ebx, dword [esi + 0x10c]
jb 0x1013e3a0
cmp ebx, dword [esi + 0x110]
jae 0x1013e3a0
mov eax, dword [esi + 0x108]
mov dword [ebx], eax
dec dword [esi + 0xf4]
mov dword [esi + 0x108], ebx
jmp 0x1013e3a9
push ebx
call fcn.100fc010
add esp, 4
mov ecx, dword [esp + 0x34]
mov dword [ebp + 0x28], ecx
xor ebx, ebx
mov eax, dword [ebp + 0x28]
cmp eax, ebx
je 0x1013e3c0
mov dword [eax + edi*4], 0xffffffff
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x6c]
or eax, 0xffffffff
sub eax, edi
mov edi, dword [esp + 0x58]
push 8
inc ecx
push eax
mov dword [esp + 0x30], eax
mov dword [edi + 0x58], ecx
mov eax, dword [edx + 0x24]
push eax
push edi
call fcn.1012a8f0
mov esi, dword [esp + 0x7c]
add esp, 0x10
mov dword [edi + 0x58], ebx
jmp 0x1013e3f6
mov edi, dword [esp + 0x58]
movzx eax, word [esi + 0x2e]
mov ecx, dword [edi + 0x3c]
mov edx, dword [edi + 0x40]
inc eax
cmp eax, ecx
mov dword [esp + 0x18], edx
jg 0x1013e415
add edx, eax
sub ecx, eax
mov dword [edi + 0x40], edx
mov dword [edi + 0x3c], ecx
jmp 0x1013e424
mov ecx, dword [edi + 0x4c]
lea edx, [ecx + 1]
add ecx, eax
mov dword [esp + 0x18], edx
mov dword [edi + 0x4c], ecx
xor eax, eax
mov dword [esp + 0x14], ebx
cmp ax, word [esi + 0x2e]
jae 0x1013e4ea
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x10], ecx
lea esp, [esp]
mov edx, dword [esp + 0x6c]
mov eax, dword [edx + 4]
mov ecx, dword [esp + 0x14]
mov eax, dword [eax + ecx*4]
mov edx, dword [esp + 0x5c]
movsx ecx, word [edx + 0x24]
mov esi, dword [ebp + 0x1c]
mov dword [esp + 0x34], eax
cmp eax, ecx
jne 0x1013e48d
cmp dword [ebp + 0x20], esi
jg 0x1013e471
mov edi, ebp
call fcn.10116950
test eax, eax
jne 0x1013e4cd
mov eax, dword [ebp + 4]
inc dword [ebp + 0x1c]
mov ecx, dword [esp + 0x64]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x10]
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
jmp 0x1013e4be
cmp dword [ebp + 0x20], esi
jg 0x1013e49d
mov edi, ebp
call fcn.10116950
test eax, eax
jne 0x1013e4cd
mov ecx, dword [ebp + 4]
inc dword [ebp + 0x1c]
mov edx, dword [esp + 0x34]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x64]
inc ecx
add edx, ecx
mov ecx, dword [esp + 0x10]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov byte [eax + 1], bl
mov dword [eax + 0x10], ebx
mov dword [eax + 0xc], ebx
mov byte [eax + 3], bl
mov byte [eax], 0x1d
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x14]
movzx ecx, word [edx + 0x2e]
inc dword [esp + 0x10]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x1013e440
mov esi, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], esi
jg 0x1013e4fd
mov edi, ebp
call fcn.10116950
test eax, eax
jne 0x1013e52c
mov eax, dword [ebp + 4]
inc dword [ebp + 0x1c]
mov ecx, dword [esp + 0x64]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x14]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x18]
add ecx, edx
mov byte [eax], 0x1d
mov byte [eax + 3], bl
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov edx, dword [esp + 0x68]
mov eax, dword [esp + 0x20]
mov ecx, dword [edx + eax*4]
mov edx, dword [esp + 0x6c]
mov esi, dword [ebp + 0x1c]
mov dword [esp + 0x2c], ecx
movzx ecx, word [edx + 0x2e]
inc ecx
cmp dword [ebp + 0x20], esi
mov dword [esp + 0x34], ecx
jg 0x1013e55f
mov edi, ebp
call fcn.10116950
test eax, eax
jne 0x1013e588
mov ecx, dword [esp + 0x34]
mov edx, dword [ebp + 4]
inc dword [ebp + 0x1c]
lea eax, [esi + esi*4]
lea eax, [edx + eax*4]
mov edx, dword [esp + 0x18]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x2c]
mov byte [eax], 0x2b
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov esi, dword [esp + 0x6c]
mov eax, ebp
call fcn.1013b750
mov ecx, dword [ebp + 4]
mov edi, dword [ebp]
mov dword [esp + 0x14], eax
cmp ecx, ebx
je 0x1013e620
cmp byte [edi + 0x40], bl
jne 0x1013e620
mov eax, dword [ebp + 0x1c]
dec eax
lea edx, [eax + eax*4]
movsx eax, byte [ecx + edx*4 + 1]
lea esi, [ecx + edx*4]
mov ecx, dword [esi + 0x10]
mov dword [esp + 0x34], esi
call fcn.10116f50
mov eax, dword [esp + 0x14]
mov dword [esi + 0x10], ebx
cmp eax, ebx
jne 0x1013e5d8
mov dword [esi + 0x10], ebx
mov byte [esi + 1], bl
jmp 0x1013e62b
cmp byte [eax], bl
je 0x1013e5e5
lea esp, [esp]
inc eax
cmp byte [eax], bl
jne 0x1013e5e0
sub eax, dword [esp + 0x14]
mov esi, dword [ebp]
and eax, 0x3fffffff
mov edi, eax
lea ecx, [edi + 1]
call fcn.100fc2b0
mov esi, eax
cmp esi, ebx
je 0x1013e613
mov eax, dword [esp + 0x14]
push edi
push eax
push esi
call fcn.10184640
add esp, 0xc
mov byte [esi + edi], bl
mov eax, dword [esp + 0x34]
mov dword [eax + 0x10], esi
mov byte [eax + 1], 0xff
jmp 0x1013e62b
mov ecx, dword [esp + 0x14]
xor eax, eax
call fcn.10116f50
mov edi, dword [esp + 0x6c]
movzx eax, word [edi + 0x2e]
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x58]
inc eax
push ecx
call fcn.10128d30
movzx eax, byte [edi + 0x30]
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebx
jne 0x1013e697
movzx edi, word [edi + 0x2e]
mov edx, dword [esp + 0x18]
inc edi
push edx
mov eax, edi
call fcn.10128d30
add esp, 4
cmp edi, dword [esi + 0x3c]
jle 0x1013e674
mov eax, dword [esp + 0x18]
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], eax
or eax, 0xffffffff
sub eax, dword [esp + 0x28]
js 0x1013ec88
mov ecx, dword [ebp + 0x28]
cmp ecx, ebx
je 0x1013ec88
mov edx, dword [ebp + 0x1c]
mov dword [ecx + eax*4], edx
jmp 0x1013ec88
mov ecx, dword [esp + 0x74]
cmp ecx, 0xa
je 0x1013e6a4
mov eax, ecx
jmp 0x1013e6ae
cmp eax, 0xa
jne 0x1013e6b2
mov eax, 2
mov dword [esp + 0x10], eax
cmp dword [esp + 0x24], ebx
je 0x1013e6d4
cmp eax, 4
jne 0x1013e6c7
mov dword [esp + 0x10], 5
jmp 0x1013e6d4
cmp eax, 3
jne 0x1013e6d4
mov dword [esp + 0x10], 2
mov al, byte [esi + 0x13]
cmp al, bl
jne 0x1013e6e7
inc dword [esi + 0x4c]
mov eax, dword [esi + 0x4c]
mov dword [esp + 0x14], eax
jmp 0x1013e6f7
dec al
movzx ecx, al
mov byte [esi + 0x13], al
mov edx, dword [esi + ecx*4 + 0x1c]
mov dword [esp + 0x14], edx
mov esi, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], esi
jg 0x1013e70a
mov edi, ebp
call fcn.10116950
test eax, eax
jne 0x1013e733
mov ecx, dword [ebp + 4]
inc dword [ebp + 0x1c]
mov edx, dword [esp + 0x30]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x14]
mov byte [eax], 0x1d
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov esi, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], esi
jg 0x1013e751
mov edi, ebp
call fcn.10116950
test eax, eax
je 0x1013e751
mov eax, 1
mov dword [esp + 0x34], eax
jmp 0x1013e788
mov eax, dword [ebp + 4]
inc dword [ebp + 0x1c]
mov ecx, dword [esp + 0x20]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x60]
lea ecx, [ecx + edx + 1]
mov edx, dword [esp + 0x14]
mov byte [eax], 0x3e
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov eax, esi
mov dword [esp + 0x34], esi
mov ecx, dword [ebp + 4]
mov edi, dword [ebp]
cmp ecx, ebx
je 0x1013e7c0
cmp byte [edi + 0x40], bl
jne 0x1013e7c0
cmp eax, ebx
jge 0x1013e79f
mov eax, dword [ebp + 0x1c]
dec eax
lea eax, [eax + eax*4]
lea esi, [ecx + eax*4]
movsx eax, byte [esi + 1]
mov ecx, dword [esi + 0x10]
call fcn.10116f50
mov ecx, dword [esp + 0x18]
mov dword [esi + 0x10], ecx
mov byte [esi + 1], 0xf2
jmp 0x1013e7ce
mov ecx, dword [esp + 0x18]
mov eax, 0xfffffff2
call fcn.10116f50
mov edx, dword [esp + 0x6c]
movzx edi, word [edx + 0x2e]
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x58]
inc edi
push eax
mov eax, edi
call fcn.10128d30
add esp, 4
cmp edi, dword [esi + 0x3c]
jle 0x1013e7f9
mov ecx, dword [esp + 0x18]
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], ecx
mov eax, dword [esp + 0x10]
cmp eax, ebx
jle 0x1013eba0
cmp eax, 3
jle 0x1013e854
cmp eax, 4
jne 0x1013eba0
mov esi, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], esi
jg 0x1013e82a
mov edi, ebp
call fcn.10116950
test eax, eax
jne 0x1013ec20
mov eax, dword [ebp + 4]
inc dword [ebp + 0x1c]
mov ecx, dword [esp + 0x78]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov byte [eax], 0xe
mov byte [eax + 3], bl
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
jmp 0x1013ec20
mov eax, dword [esp + 0x6c]
movzx eax, word [eax + 0x2e]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], 0xc8
mov byte [esp + 0x50], 1
mov byte [esp + 0x51], bl
mov dword [esp + 0x38], edx
mov edi, str.columns
cmp ax, 1
ja 0x1013e895
mov edi, str.column
xor ecx, ecx
xor esi, esi
cmp cx, ax
jae 0x1013e8ec
mov edi, edi
mov edx, dword [esp + 0x6c]
mov eax, dword [edx + 4]
mov eax, dword [eax + esi*4]
mov edx, dword [esp + 0x5c]
lea ecx, [eax + eax*2]
mov eax, dword [edx + 4]
mov ecx, dword [eax + ecx*8]
push 0xffffffffffffffff
push edi
lea eax, [esp + 0x40]
mov dword [esp + 0x34], ecx
call fcn.100fd3a0
mov edx, dword [esp + 0x34]
push 0xffffffffffffffff
push edx
lea eax, [esp + 0x48]
mov edi, 0x101de27c
call fcn.100fd3a0
mov eax, dword [esp + 0x7c]
movzx ecx, word [eax + 0x2e]
inc esi
add esp, 0x10
cmp esi, ecx
jl 0x1013e8a0
mov edx, dword [esp + 0x6c]
cmp word [edx + 0x2e], 1
mov eax, str._are_not_unique
ja 0x1013e901
mov eax, str._is_not_unique
push 0xffffffffffffffff
push eax
lea eax, [esp + 0x40]
call fcn.100fd3a0
mov eax, dword [esp + 0x48]
add esp, 8
cmp eax, ebx
je 0x1013e960
mov cl, byte [esp + 0x50]
mov edi, dword [esp + 0x44]
mov byte [edi + eax], bl
cmp cl, bl
je 0x1013e960
cmp eax, dword [esp + 0x3c]
jne 0x1013e960
inc edi
cmp cl, 1
jne 0x1013e940
mov esi, dword [esp + 0x38]
mov ecx, edi
call fcn.100fc2b0
jmp 0x1013e949
push edi
call fcn.100fbd70
add esp, 4
mov dword [esp + 0x40], eax
cmp eax, ebx
je 0x1013e960
mov ecx, dword [esp + 0x3c]
push edi
push ecx
push eax
call fcn.10184640
add esp, 0xc
mov edx, dword [esp + 0x58]
mov esi, dword [edx + 8]
cmp esi, ebx
jne 0x1013e9fe
mov eax, edx
mov edi, dword [eax]
mov ecx, 0xe0
mov esi, edi
call fcn.100fc2b0
mov esi, eax
cmp esi, ebx
je 0x1013ea37
push 0xe0
push ebx
push esi
call fcn.101845c0
mov dword [esi], edi
mov eax, dword [edi + 4]
add esp, 0xc
cmp eax, ebx
je 0x1013e9a4
mov dword [eax + 0x3c], esi
mov ecx, dword [edi + 4]
mov dword [esi + 0x40], ecx
mov dword [esi + 0x3c], ebx
mov dword [edi + 4], esi
mov dword [esi + 0x34], 0x26bceaa5
mov edx, dword [esp + 0x58]
mov dword [edx + 8], esi
cmp esi, ebx
je 0x1013e9fe
mov eax, dword [esi + 0x1c]
cmp dword [esi + 0x20], eax
mov dword [esp + 0x2c], eax
jg 0x1013e9d9
mov edi, esi
call fcn.10116950
test eax, eax
jne 0x1013e9fe
mov ecx, dword [esi + 4]
inc dword [esi + 0x1c]
mov eax, dword [esp + 0x2c]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov byte [eax], 0x94
mov byte [eax + 3], bl
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
cmp dword [esp + 0x10], 2
jne 0x1013ea19
mov ecx, dword [esp + 0x58]
mov eax, dword [ecx + 0x1b4]
cmp eax, ebx
jne 0x1013ea15
mov eax, ecx
mov byte [eax + 0x18], 1
mov ecx, dword [esi + 0x1c]
cmp dword [esi + 0x20], ecx
mov dword [esp + 0x2c], ecx
jg 0x1013ea42
mov edi, esi
call fcn.10116950
test eax, eax
je 0x1013ea3e
mov eax, 1
jmp 0x1013ea6d
xor esi, esi
jmp 0x1013e9b7
mov ecx, dword [esp + 0x2c]
mov eax, dword [esi + 4]
inc dword [esi + 0x1c]
lea edx, [ecx + ecx*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x10]
mov byte [eax], 0x14
mov byte [eax + 3], bl
mov dword [eax + 4], 0x813
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov eax, ecx
mov ecx, dword [esi + 4]
mov edi, dword [esi]
cmp ecx, ebx
je 0x1013eb07
cmp byte [edi + 0x40], bl
jne 0x1013eb07
cmp eax, ebx
jge 0x1013ea8b
mov eax, dword [esi + 0x1c]
dec eax
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*4]
movsx eax, byte [ecx + 1]
mov dword [esp + 0x2c], ecx
mov ecx, dword [ecx + 0x10]
call fcn.10116f50
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x2c]
mov dword [ecx + 0x10], ebx
cmp eax, ebx
jne 0x1013eaba
mov eax, ecx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
jmp 0x1013eb12
cmp byte [eax], bl
je 0x1013eac5
mov edi, edi
inc eax
cmp byte [eax], bl
jne 0x1013eac0
mov edi, dword [esp + 0x40]
mov esi, dword [esi]
sub eax, edi
and eax, 0x3fffffff
lea ecx, [eax + 1]
mov dword [esp + 0x18], eax
call fcn.100fc2b0
mov esi, eax
cmp esi, ebx
je 0x1013eafa
mov edx, dword [esp + 0x18]
push edx
push edi
push esi
call fcn.10184640
mov eax, dword [esp + 0x24]
add esp, 0xc
mov byte [esi + eax], bl
mov eax, dword [esp + 0x2c]
mov dword [eax + 0x10], esi
mov byte [eax + 1], 0xff
jmp 0x1013eb16
mov ecx, dword [esp + 0x40]
xor eax, eax
call fcn.10116f50
mov edi, dword [esp + 0x40]
cmp edi, ebx
je 0x1013ec20
mov esi, dword [esp + 0x38]
cmp esi, ebx
je 0x1013eb92
cmp dword [esi + 0x200], ebx
je 0x1013eb69
cmp edi, dword [esi + 0x10c]
jb 0x1013eb52
cmp edi, dword [esi + 0x110]
jae 0x1013eb52
movzx eax, word [esi + 0xf0]
mov esi, dword [esi + 0x200]
add dword [esi], eax
jmp 0x1013ec20
push edi
call dword [0x10208e34]
mov esi, dword [esi + 0x200]
add esp, 4
add dword [esi], eax
jmp 0x1013ec20
cmp edi, dword [esi + 0x10c]
jb 0x1013eb92
cmp edi, dword [esi + 0x110]
jae 0x1013eb92
mov ecx, dword [esi + 0x108]
mov dword [edi], ecx
dec dword [esi + 0xf4]
mov dword [esi + 0x108], edi
jmp 0x1013ec20
push edi
call fcn.100fc010
add esp, 4
jmp 0x1013ec20
mov eax, dword [esi + 0x1b4]
xor edi, edi
cmp eax, ebx
jne 0x1013ebae
mov eax, esi
mov edx, dword [esp + 0x1c]
mov byte [eax + 0x17], 1
test dword [edx + 0x18], 0x40000
je 0x1013ebfc
mov ecx, dword [esi]
xor edi, edi
xor eax, eax
test dword [ecx + 0x18], 0x800000
je 0x1013ebdd
mov edx, dword [esp + 0x5c]
push edx
mov eax, esi
call fcn.1014dbb0
add esp, 4
mov ecx, eax
cmp eax, ebx
je 0x1013ebf6
cmp byte [ecx + 8], 0x6a
jne 0x1013ebef
movzx edx, byte [ecx + 9]
or edi, edx
mov ecx, dword [ecx + 0x20]
cmp ecx, ebx
jne 0x1013ebe3
neg edi
sbb edi, edi
and edi, eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
push 5
push edi
push ebx
push eax
push ecx
push edx
push esi
call fcn.10135930
add esp, 0x1c
mov dword [esp + 0x24], 1
mov eax, dword [esp + 0x34]
cmp eax, ebx
jl 0x1013ec39
mov ecx, dword [ebp + 0x1c]
cmp ecx, eax
jbe 0x1013ec39
mov edx, dword [ebp + 4]
lea eax, [eax + eax*4]
mov dword [edx + eax*4 + 8], ecx
or eax, 0xffffffff
sub eax, dword [esp + 0x28]
js 0x1013ec4f
mov ecx, dword [ebp + 0x28]
cmp ecx, ebx
je 0x1013ec4f
mov edx, dword [ebp + 0x1c]
mov dword [ecx + eax*4], edx
cmp dword [esp + 0x14], ebx
je 0x1013ec88
mov eax, dword [esp + 0x58]
mov dl, byte [eax + 0x13]
cmp dl, 8
jae 0x1013ec88
mov esi, dword [esp + 0x58]
mov edi, dword [esp + 0x14]
xor eax, eax
lea ecx, [esi + 0x68]
mov edi, edi
cmp dword [ecx + 0x10], edi
je 0x1013ecb5
inc eax
add ecx, 0x18
cmp eax, 0xa
jl 0x1013ec70
movzx ecx, dl
mov dword [esi + ecx*4 + 0x1c], edi
inc byte [esi + 0x13]
mov edx, dword [esp + 0x6c]
mov eax, dword [edx + 0x14]
inc dword [esp + 0x20]
mov dword [esp + 0x6c], eax
cmp eax, ebx
jne 0x1013e2a1
mov eax, dword [esp + 0x7c]
cmp eax, ebx
je 0x1013ecad
mov ecx, dword [esp + 0x24]
mov dword [eax], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret
mov byte [ecx + 8], 1
jmp 0x1013ec88