Function at 0x100809f0
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 + 0x2c], ebx
mov dword [esp + 0x28], ebx
cmp eax, ebx
je 0x10080a1b
mov dword [esp + 0x30], eax
cmp dword [esp + 0x70], ebx
jne 0x10080a1f
mov dword [esp + 0x30], edi
mov ebp, dword [esi + 8]
mov eax, dword [esi]
mov dword [esp + 0x20], eax
cmp ebp, ebx
jne 0x10080a47
call fcn.1005b2b0
mov ebp, eax
mov dword [esi + 8], eax
cmp ebp, ebx
je 0x10080a47
push 0x94
call fcn.1005b4e0
add esp, 4
mov eax, dword [esp + 0x5c]
movsx ecx, word [eax + 0x26]
cmp ecx, ebx
mov dword [esp + 0x24], ecx
lea eax, [edi + 1]
mov dword [esp + 0x18], ebx
jle 0x10080c0e
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], eax
lea ebx, [ebx]
mov ecx, dword [esp + 0x5c]
movsx edx, word [ecx + 0x24]
cmp dword [esp + 0x18], edx
je 0x10080bf2
mov edx, dword [esp + 0x14]
mov eax, ecx
mov ecx, dword [eax + 4]
movzx eax, byte [ecx + edx + 0x14]
add ecx, edx
cmp eax, ebx
je 0x10080bf2
mov edx, dword [esp + 0x74]
cmp edx, 0x63
je 0x10080aa7
mov eax, edx
jmp 0x10080aac
cmp eax, 0x63
je 0x10080ab6
cmp eax, 5
jne 0x10080abb
cmp dword [ecx + 4], ebx
jne 0x10080abb
mov eax, 2
lea ecx, [eax - 1]
cmp ecx, 3
ja case.default.0x10080ac7
jmp dword [ecx*4 + 0x1008173c]
mov edx, dword [esp + 0x58]
mov ecx, dword [edx + 0x1b4]
cmp ecx, ebx
jne 0x10080ade
mov ecx, edx
mov byte [ecx + 0x18], 1
mov ecx, dword [esp + 0x1c]
push ecx
push eax
push 0x513
push 0x12
mov eax, ebp
call fcn.1005b480
mov eax, dword [esp + 0x6c]
mov edx, dword [eax + 4]
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + edx]
mov eax, dword [eax]
mov esi, dword [esp + 0x30]
push edx
push eax
push str._s._s_may_not_be_NULL
call fcn.10041200
mov esi, dword [ebp + 4]
mov edi, dword [ebp]
add esp, 0x1c
mov dword [esp + 0x34], eax
cmp esi, ebx
je 0x10080b65
cmp byte [edi + 0x40], bl
jne 0x10080b65
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.1005ba40
mov eax, dword [esp + 0x34]
mov dword [esi + 0x10], ebx
cmp eax, ebx
jne 0x10080b59
mov dword [esi + 0x10], ebx
mov byte [esi + 1], bl
jmp 0x10080bf2
mov dword [esi + 0x10], eax
mov byte [esi + 1], 0xff
jmp 0x10080bf2
mov ecx, eax
or eax, 0xffffffff
call fcn.1005ba40
jmp 0x10080bf2
mov esi, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], esi
jg 0x10080b87
mov edi, ebp
call fcn.1005b400
test eax, eax
jne 0x10080bf2
mov eax, dword [ebp + 4]
inc dword [ebp + 0x1c]
mov ecx, dword [esp + 0x1c]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x78]
mov byte [eax], 0x49
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
jmp 0x10080bf2
mov esi, dword [esp + 0x1c]
push esi
push 0x4a
mov eax, ebp
call fcn.1005b530
mov edx, dword [esp + 0x1c]
mov edi, eax
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + 4]
mov eax, dword [edx + ecx + 4]
mov ecx, dword [esp + 0x60]
add esp, 8
call fcn.1006e5a0
cmp edi, ebx
jl 0x10080bf2
mov eax, dword [ebp + 0x1c]
cmp eax, edi
jbe 0x10080bf2
mov edx, dword [ebp + 4]
lea ecx, [edi + edi*4]
mov dword [edx + ecx*4 + 8], eax
mov eax, dword [esp + 0x18]
inc dword [esp + 0x1c]
add dword [esp + 0x14], 0x18
inc eax
cmp eax, dword [esp + 0x24]
mov dword [esp + 0x18], eax
jl 0x10080a70
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 0x18]
mov dword [esp + 0x1c], ecx
cmp ecx, ebx
je 0x10080da3
mov edx, dword [esp + 0x20]
test dword [edx + 0x18], 0x2000
jne 0x10080da3
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x58]
inc eax
mov dword [edx + 0x58], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x14], eax
cmp eax, 0x63
jne 0x10080c53
mov dword [esp + 0x14], 2
cmp dword [ecx], ebx
mov dword [esp + 0x18], ebx
jle 0x10080da3
mov dword [esp + 0x24], ebx
mov edi, dword [ebp + 0x24]
lea ecx, [edi - 1]
lea eax, [edi + 1]
mov dword [ebp + 0x24], eax
test edi, ecx
jne 0x10080ca1
mov esi, dword [ebp]
mov ebx, dword [ebp + 0x28]
lea ecx, [edi*8 + 4]
mov eax, esi
call fcn.1003feb0
mov dword [esp + 0x34], eax
test eax, eax
jne 0x10080c9c
mov eax, ebx
mov ecx, esi
call fcn.1003fc10
mov eax, dword [esp + 0x34]
mov dword [ebp + 0x28], eax
xor ebx, ebx
mov eax, dword [ebp + 0x28]
cmp eax, ebx
je 0x10080caf
mov dword [eax + edi*4], 0xffffffff
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 8]
mov edx, dword [esp + 0x58]
or esi, 0xffffffff
sub esi, edi
mov edi, dword [esp + 0x24]
mov ecx, dword [edi + eax]
push 8
push esi
push ecx
push edx
mov dword [esp + 0x44], esi
call fcn.1006ea80
mov eax, dword [esp + 0x24]
add esp, 0x10
cmp eax, 4
jne 0x10080d26
mov eax, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], eax
mov dword [esp + 0x34], eax
jg 0x10080cff
mov edi, ebp
call fcn.1005b400
test eax, eax
jne 0x10080d75
mov eax, dword [esp + 0x34]
mov ecx, dword [ebp + 4]
inc dword [ebp + 0x1c]
mov edx, dword [esp + 0x78]
lea eax, [eax + eax*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 0x10080d75
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx + 8]
mov edi, dword [edi + edx + 4]
cmp eax, 5
jne 0x10080d3e
mov dword [esp + 0x14], 2
cmp edi, ebx
je 0x10080d56
mov esi, dword [esp + 0x20]
push edi
push str.constraint__s_failed
call fcn.10041200
add esp, 8
jmp 0x10080d58
xor eax, eax
push 0xffffffffffffffff
push eax
mov eax, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x64]
push 0x113
call fcn.10077b70
mov esi, dword [esp + 0x44]
add esp, 0x10
or eax, 0xffffffff
sub eax, esi
js 0x10080d89
mov ecx, dword [ebp + 0x28]
cmp ecx, ebx
je 0x10080d89
mov edx, dword [ebp + 0x1c]
mov dword [ecx + eax*4], edx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
add dword [esp + 0x24], 0x18
inc eax
cmp eax, dword [ecx]
mov dword [esp + 0x18], eax
jl 0x10080c63
cmp dword [esp + 0x6c], ebx
je 0x10080fc9
mov edx, dword [esp + 0x5c]
movzx eax, byte [edx + 0x2b]
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x14], eax
cmp ecx, 0x63
je 0x10080dc8
mov dword [esp + 0x14], ecx
jmp 0x10080dd5
cmp eax, 0x63
jne 0x10080dd5
mov dword [esp + 0x14], 2
cmp dword [esp + 0x70], ebx
je 0x10080e25
mov esi, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], esi
jg 0x10080df8
mov edi, ebp
call fcn.1005b400
test eax, eax
je 0x10080df8
mov dword [esp + 0x2c], 1
jmp 0x10080e25
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 + 0x2c], esi
mov esi, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], esi
jg 0x10080e42
mov edi, ebp
call fcn.1005b400
test eax, eax
je 0x10080e42
mov dword [esp + 0x6c], 1
jmp 0x10080e6f
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 ecx, dword [esp + 0x14]
lea eax, [ecx - 1]
cmp eax, 4
ja case.default.0x10080e7f
jmp dword [eax*4 + 0x1008174c]
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x58]
xor esi, esi
test dword [eax + 0x18], 0x40000
je 0x10080eb1
mov edx, dword [esp + 0x5c]
push ebx
push ebx
push 0x6a
mov eax, edi
call fcn.100917b0
mov esi, eax
add esp, 0xc
cmp esi, ebx
jne 0x10080f03
mov ecx, dword [edi]
test dword [ecx + 0x18], 0x80000
mov ecx, dword [esp + 0x5c]
je 0x10080ed2
call fcn.1007d3f0
test eax, eax
jne 0x10080f03
mov ecx, dword [esp + 0x5c]
cmp dword [ecx + 0x10], ebx
jne 0x10080f07
cmp dword [ecx + 8], ebx
je 0x10080f2f
mov eax, dword [edi + 0x1b4]
cmp eax, ebx
jne 0x10080ee3
mov eax, edi
mov edx, dword [esp + 0x60]
push ebx
push edx
push edi
mov byte [eax + 0x17], 1
call fcn.100795a0
add esp, 0xc
mov dword [esp + 0x28], 1
jmp 0x10080f91
mov ecx, dword [esp + 0x5c]
mov eax, dword [edi + 0x1b4]
cmp eax, ebx
jne 0x10080f13
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.100792c0
add esp, 0x1c
mov dword [esp + 0x28], 1
jmp 0x10080f91
mov esi, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], esi
jg 0x10080f4c
mov edi, ebp
call fcn.1005b400
test eax, eax
jne 0x10080f91
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 0x10080f91
mov ecx, 2
mov eax, dword [esp + 0x58]
push 0xfffffffffffffffe
push str.PRIMARY_KEY_must_be_unique
push ecx
push 0x613
call fcn.10077b70
add esp, 0x10
mov ecx, dword [esp + 0x6c]
cmp ecx, ebx
jl 0x10080faa
mov eax, dword [ebp + 0x1c]
cmp eax, ecx
jbe 0x10080faa
mov edx, dword [ebp + 4]
lea ecx, [ecx + ecx*4]
mov dword [edx + ecx*4 + 8], eax
cmp dword [esp + 0x70], ebx
je 0x10080fc9
mov eax, dword [esp + 0x2c]
cmp eax, ebx
jl 0x10080fc9
mov ecx, dword [ebp + 0x1c]
cmp ecx, eax
jbe 0x10080fc9
mov edx, dword [ebp + 4]
lea eax, [eax + eax*4]
mov dword [edx + eax*4 + 8], ecx
mov eax, dword [esp + 0x5c]
mov eax, dword [eax + 8]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x6c], eax
cmp eax, ebx
je 0x1008171f
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x24]
mov ecx, dword [ecx + edx*4]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x34], ecx
cmp ecx, ebx
je 0x10081708
mov esi, dword [esp + 0x6c]
cmp dword [esi + 0x24], ebx
je 0x100810be
mov esi, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], esi
jg 0x1008101f
mov edi, ebp
call fcn.1005b400
test eax, eax
jne 0x10081040
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 0x1008107e
mov esi, dword [ebp]
mov ebx, dword [ebp + 0x28]
lea ecx, [edi*8 + 4]
mov eax, esi
call fcn.1003feb0
mov dword [esp + 0x34], eax
test eax, eax
jne 0x10081079
mov eax, ebx
mov ecx, esi
call fcn.1003fc10
mov eax, dword [esp + 0x34]
mov dword [ebp + 0x28], eax
xor ebx, ebx
mov eax, dword [ebp + 0x28]
cmp eax, ebx
je 0x1008108c
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 + 0x34], eax
mov dword [edi + 0x58], ecx
mov eax, dword [edx + 0x24]
push eax
push edi
call fcn.1006ed80
mov esi, dword [esp + 0x7c]
add esp, 0x10
mov dword [edi + 0x58], ebx
jmp 0x100810c2
mov edi, dword [esp + 0x58]
movzx eax, word [esi + 0x2c]
mov ecx, dword [edi + 0x3c]
mov edx, dword [edi + 0x40]
inc eax
cmp eax, ecx
mov dword [esp + 0x1c], edx
jg 0x100810e1
add edx, eax
sub ecx, eax
mov dword [edi + 0x40], edx
mov dword [edi + 0x3c], ecx
jmp 0x100810f0
mov ecx, dword [edi + 0x4c]
lea edx, [ecx + 1]
add ecx, eax
mov dword [esp + 0x1c], edx
mov dword [edi + 0x4c], ecx
xor eax, eax
mov dword [esp + 0x18], ebx
cmp ax, word [esi + 0x2c]
jae 0x100811ba
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x14], ecx
jmp 0x10081110
mov edx, dword [esp + 0x6c]
mov eax, dword [edx + 4]
mov ecx, dword [esp + 0x18]
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 0x1008115d
cmp dword [ebp + 0x20], esi
jg 0x10081141
mov edi, ebp
call fcn.1005b400
test eax, eax
jne 0x1008119d
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 dword [eax + 8], edx
jmp 0x1008118e
cmp dword [ebp + 0x20], esi
jg 0x1008116d
mov edi, ebp
call fcn.1005b400
test eax, eax
jne 0x1008119d
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 + 0x14]
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 + 0x18]
movzx ecx, word [edx + 0x2c]
inc dword [esp + 0x14]
inc eax
cmp eax, ecx
mov dword [esp + 0x18], eax
jl 0x10081110
mov esi, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], esi
jg 0x100811cd
mov edi, ebp
call fcn.1005b400
test eax, eax
jne 0x100811fc
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 + 0x18]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x1c]
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 + 0x24]
mov ecx, dword [edx + eax*4]
mov edx, dword [esp + 0x6c]
mov esi, dword [ebp + 0x1c]
mov dword [esp + 0x18], ecx
movzx ecx, word [edx + 0x2c]
inc ecx
cmp dword [ebp + 0x20], esi
mov dword [esp + 0x34], ecx
jg 0x1008122f
mov edi, ebp
call fcn.1005b400
test eax, eax
jne 0x10081258
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 + 0x1c]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x18]
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.1007ea10
mov ecx, dword [ebp + 4]
mov edi, dword [ebp]
mov dword [esp + 0x18], eax
cmp ecx, ebx
je 0x100812f0
cmp byte [edi + 0x40], bl
jne 0x100812f0
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.1005ba40
mov eax, dword [esp + 0x18]
mov dword [esi + 0x10], ebx
cmp eax, ebx
jne 0x100812a8
mov dword [esi + 0x10], ebx
mov byte [esi + 1], bl
jmp 0x100812fb
cmp byte [eax], bl
je 0x100812b5
lea esp, [esp]
inc eax
cmp byte [eax], bl
jne 0x100812b0
sub eax, dword [esp + 0x18]
mov esi, dword [ebp]
and eax, 0x3fffffff
mov edi, eax
lea ecx, [edi + 1]
call fcn.1003fe30
mov esi, eax
cmp esi, ebx
je 0x100812e3
mov eax, dword [esp + 0x18]
push edi
push eax
push esi
call sub.MSVCR90.dll_memcpy
add esp, 0xc
mov byte [esi + edi], bl
mov eax, dword [esp + 0x34]
mov dword [eax + 0x10], esi
mov byte [eax + 1], 0xff
jmp 0x100812fb
mov ecx, dword [esp + 0x18]
xor eax, eax
call fcn.1005ba40
mov edi, dword [esp + 0x6c]
movzx eax, word [edi + 0x2c]
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x58]
inc eax
push ecx
call fcn.1006d0b0
movzx eax, byte [edi + 0x2e]
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
jne 0x10081367
movzx edi, word [edi + 0x2c]
mov edx, dword [esp + 0x1c]
inc edi
push edx
mov eax, edi
call fcn.1006d0b0
add esp, 4
cmp edi, dword [esi + 0x3c]
jle 0x10081344
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], eax
or eax, 0xffffffff
sub eax, dword [esp + 0x2c]
js 0x10081708
mov ecx, dword [ebp + 0x28]
cmp ecx, ebx
je 0x10081708
mov edx, dword [ebp + 0x1c]
mov dword [ecx + eax*4], edx
jmp 0x10081708
mov ecx, dword [esp + 0x74]
cmp ecx, 0x63
je 0x10081374
mov eax, ecx
jmp 0x1008137e
cmp eax, 0x63
jne 0x10081382
mov eax, 2
mov dword [esp + 0x14], eax
cmp dword [esp + 0x28], ebx
je 0x100813a4
cmp eax, 4
jne 0x10081397
mov dword [esp + 0x14], 5
jmp 0x100813a4
cmp eax, 3
jne 0x100813a4
mov dword [esp + 0x14], 2
mov al, byte [esi + 0x13]
cmp al, bl
jne 0x100813b7
inc dword [esi + 0x4c]
mov eax, dword [esi + 0x4c]
mov dword [esp + 0x18], eax
jmp 0x100813c7
dec al
movzx ecx, al
mov byte [esi + 0x13], al
mov edx, dword [esi + ecx*4 + 0x1c]
mov dword [esp + 0x18], edx
mov esi, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], esi
jg 0x100813da
mov edi, ebp
call fcn.1005b400
test eax, eax
jne 0x10081403
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 + 0x18]
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 0x10081421
mov edi, ebp
call fcn.1005b400
test eax, eax
je 0x10081421
mov eax, 1
mov dword [esp + 0x34], eax
jmp 0x10081458
mov eax, dword [ebp + 4]
inc dword [ebp + 0x1c]
mov ecx, dword [esp + 0x24]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x60]
lea ecx, [ecx + edx + 1]
mov edx, dword [esp + 0x18]
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 0x10081490
cmp byte [edi + 0x40], bl
jne 0x10081490
cmp eax, ebx
jge 0x1008146f
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.1005ba40
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0x10], ecx
mov byte [esi + 1], 0xf2
jmp 0x1008149e
mov ecx, dword [esp + 0x1c]
mov eax, 0xfffffff2
call fcn.1005ba40
mov edx, dword [esp + 0x6c]
movzx edi, word [edx + 0x2c]
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x58]
inc edi
push eax
mov eax, edi
call fcn.1006d0b0
add esp, 4
cmp edi, dword [esi + 0x3c]
jle 0x100814c9
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], ecx
mov eax, dword [esp + 0x14]
cmp eax, ebx
jle 0x10081619
cmp eax, 3
jle 0x10081524
cmp eax, 4
jne 0x10081619
mov esi, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], esi
jg 0x100814fa
mov edi, ebp
call fcn.1005b400
test eax, eax
jne 0x1008169d
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 0x1008169d
mov eax, dword [esp + 0x6c]
movzx eax, word [eax + 0x2c]
mov edx, dword [esp + 0x20]
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 0x10081565
mov edi, str.column
xor ecx, ecx
xor esi, esi
cmp cx, ax
jae 0x100815c1
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
lea edx, [esp + 0x3c]
push edi
push edx
mov dword [esp + 0x28], ecx
call fcn.10040fb0
mov eax, dword [esp + 0x28]
add esp, 0xc
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x40]
push ecx
mov edi, 0x1010780c
call fcn.10040fb0
mov edx, dword [esp + 0x78]
movzx eax, word [edx + 0x2c]
inc esi
add esp, 0xc
cmp esi, eax
jl 0x10081570
mov ecx, dword [esp + 0x6c]
cmp word [ecx + 0x2c], 1
mov eax, str._are_not_unique
ja 0x100815d6
mov eax, str._is_not_unique
push 0xffffffffffffffff
push eax
lea edx, [esp + 0x40]
push edx
call fcn.10040fb0
add esp, 0xc
lea edi, [esp + 0x38]
call fcn.100410b0
mov esi, eax
mov eax, dword [esp + 0x14]
push ebx
push esi
push eax
mov eax, dword [esp + 0x64]
push 0x813
call fcn.10077b70
mov ecx, dword [esp + 0x48]
add esp, 0x10
mov eax, esi
call fcn.1003fc10
jmp 0x1008169d
mov eax, dword [esi + 0x1b4]
xor edi, edi
cmp eax, ebx
jne 0x10081627
mov eax, esi
mov ecx, dword [esp + 0x20]
mov byte [eax + 0x17], 1
test dword [ecx + 0x18], 0x40000
je 0x10081679
mov edx, dword [esi]
xor edi, edi
xor eax, eax
test dword [edx + 0x18], 0x800000
je 0x10081656
mov eax, dword [esp + 0x5c]
push eax
mov eax, esi
call fcn.10090780
add esp, 4
mov ecx, eax
cmp eax, ebx
je 0x10081673
lea esp, [esp]
cmp byte [ecx + 8], 0x6a
jne 0x1008166c
movzx edx, byte [ecx + 9]
or edi, edx
mov ecx, dword [ecx + 0x20]
cmp ecx, ebx
jne 0x10081660
neg edi
sbb edi, edi
and edi, eax
mov eax, dword [esp + 0x18]
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.100792c0
add esp, 0x1c
mov dword [esp + 0x28], 1
mov eax, dword [esp + 0x34]
cmp eax, ebx
jl 0x100816b6
mov ecx, dword [ebp + 0x1c]
cmp ecx, eax
jbe 0x100816b6
mov edx, dword [ebp + 4]
lea eax, [eax + eax*4]
mov dword [edx + eax*4 + 8], ecx
or eax, 0xffffffff
sub eax, dword [esp + 0x2c]
js 0x100816cc
mov ecx, dword [ebp + 0x28]
cmp ecx, ebx
je 0x100816cc
mov edx, dword [ebp + 0x1c]
mov dword [ecx + eax*4], edx
cmp dword [esp + 0x18], ebx
je 0x10081708
mov eax, dword [esp + 0x58]
mov dl, byte [eax + 0x13]
cmp dl, 8
jae 0x10081708
mov esi, dword [esp + 0x58]
mov edi, dword [esp + 0x18]
xor eax, eax
lea ecx, [esi + 0x68]
jmp 0x100816f0
cmp dword [ecx + 0x10], edi
je 0x10081735
inc eax
add ecx, 0x18
cmp eax, 0xa
jl 0x100816f0
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 + 0x24]
mov dword [esp + 0x6c], eax
cmp eax, ebx
jne 0x10080fe0
mov eax, dword [esp + 0x7c]
cmp eax, ebx
je 0x1008172d
mov ecx, dword [esp + 0x28]
mov dword [eax], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret
mov byte [ecx + 8], 1
jmp 0x10081708