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

Disassembly:
sub esp, 0x5c
push ebx
xor eax, eax
mov ebx, ecx
push ebp
push esi
mov dword [esp + 0x1c], eax
mov esi, edx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], ebx
push edi
test eax, eax
je 0x475baf
cmp dword [esp + 0x80], 0
jne 0x475bb3
mov eax, dword [esp + 0x74]
mov dword [esp + 0x48], eax
mov eax, dword [ebx]
mov dword [esp + 0x28], eax
call fcn.0047ee50
mov ebp, dword [esp + 0x74]
mov edi, eax
movsx eax, word [esi + 0x26]
inc ebp
mov edx, dword [esp + 0x84]
xor ecx, ecx
mov dword [esp + 0x38], edi
mov dword [esp + 0x44], eax
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], ecx
test eax, eax
jle 0x475d94
mov ebx, dword [esp + 0x30]
xor ebp, ebp
movsx eax, word [esi + 0x24]
cmp ecx, eax
je 0x475d73
mov eax, dword [esi + 4]
movzx esi, byte [eax + ebp + 0x14]
test esi, esi
je 0x475d6f
cmp edx, 0xa
je 0x475c3c
mov esi, edx
cmp esi, 5
jne 0x475c29
cmp dword [eax + ebp + 4], 0
mov eax, 2
cmove esi, eax
lea eax, [esi - 1]
cmp eax, 3
ja case.default.0x475c35
jmp dword [eax*4 + 0x4770d8]
cmp esi, 0xa
jne 0x475c17
mov esi, 2
jmp 0x475c29
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x1b4]
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x18], 1
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x4c], eax
cmp dword [edi + 0x20], eax
jg 0x475c76
mov ecx, edi
call fcn.0044de80
test eax, eax
jne 0x475ca2
mov eax, dword [esp + 0x4c]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov word [eax + ecx*4], 0x12
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0x513
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], ebx
mov dword [eax + ecx*4 + 0x10], 0
mov esi, dword [esp + 0x18]
mov eax, dword [esi + 4]
push dword [eax + ebp]
push dword [esi]
push str._s._s_may_not_be_NULL
push dword [esp + 0x34]
call fcn.004328d0
push 0xffffffffffffffff
push eax
or edx, 0xffffffff
mov ecx, edi
call fcn.0044e560
mov edx, dword [esp + 0x9c]
add esp, 0x18
jmp 0x475d73
push dword [esp + 0x88]
mov edx, 0x49
mov ecx, edi
push ebx
call fcn.0044e020
add esp, 8
jmp 0x475d68
mov esi, dword [edi + 0x1c]
cmp dword [edi + 0x20], esi
jg 0x475d0b
mov ecx, edi
call fcn.0044de80
test eax, eax
je 0x475d0b
mov esi, 1
jmp 0x475d3b
mov eax, dword [edi + 4]
lea ecx, [esi + esi*4]
inc dword [edi + 0x1c]
mov word [eax + ecx*4], 0x4a
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push ebx
mov edx, dword [edx + 4]
mov edx, dword [edx + ebp + 4]
call fcn.00462140
add esp, 4
test esi, esi
js 0x475d68
mov edx, dword [edi + 0x1c]
cmp edx, esi
jbe 0x475d68
mov eax, dword [edi + 4]
lea ecx, [esi + esi*4]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x84]
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x2c]
inc ebx
inc eax
add ebp, 0x18
mov ecx, eax
mov dword [esp + 0x2c], eax
cmp eax, dword [esp + 0x44]
jl 0x475bf4
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x30]
mov ecx, dword [esi + 0x18]
mov dword [esp + 0x24], ecx
test ecx, ecx
je 0x476008
mov eax, dword [esp + 0x28]
test dword [eax + 0x18], 0x2000
jne 0x476008
mov dword [ebx + 0x58], ebp
cmp edx, 0xa
mov ebp, 2
mov dword [esp + 0x40], 0
cmovne ebp, edx
cmp dword [ecx], 0
jle 0x476008
xor ebx, ebx
mov dword [esp + 0x2c], ebx
lea esp, [esp]
mov esi, dword [edi + 0x24]
lea eax, [esi + 1]
mov dword [edi + 0x24], eax
lea eax, [esi - 1]
test esi, eax
jne 0x475e2f
mov ecx, dword [edi + 0x28]
lea eax, [esi*8 + 4]
mov ebx, dword [edi]
mov edx, ecx
mov dword [esp + 0x4c], ecx
mov ecx, ebx
push eax
mov dword [esp + 0x48], ebx
call fcn.00431500
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x475e24
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x44]
call fcn.00431230
mov ecx, dword [esp + 0x24]
mov dword [edi + 0x28], ebx
mov ebx, dword [esp + 0x2c]
mov eax, dword [edi + 0x28]
test eax, eax
je 0x475e3d
mov dword [eax + esi*4], 0xffffffff
mov edx, dword [ecx + 8]
or eax, 0xffffffff
mov ecx, dword [esp + 0x14]
sub eax, esi
push 8
push eax
mov edx, dword [ebx + edx]
mov dword [esp + 0x54], eax
call fcn.00462680
add esp, 8
cmp ebp, 4
jne 0x475eb3
mov esi, dword [edi + 0x1c]
cmp dword [edi + 0x20], esi
jg 0x475e77
mov ecx, edi
call fcn.0044de80
test eax, eax
jne 0x475fd2
mov eax, dword [edi + 4]
lea ecx, [esi + esi*4]
inc dword [edi + 0x1c]
mov edx, dword [esp + 0x88]
mov word [eax + ecx*4], 0xe
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x475fd2
mov eax, dword [esp + 0x24]
cmp ebp, 5
mov ecx, 2
cmove ebp, ecx
mov eax, dword [eax + 8]
mov eax, dword [ebx + eax + 4]
test eax, eax
je 0x475ee5
push eax
push str.constraint__s_failed
push dword [esp + 0x30]
call fcn.004328d0
add esp, 0xc
mov dword [esp + 0x44], eax
jmp 0x475eed
mov dword [esp + 0x44], 0
mov ecx, dword [esp + 0x14]
mov esi, dword [ecx + 8]
test esi, esi
jne 0x475f5e
mov ebx, dword [ecx]
mov edx, 0xe0
mov ecx, ebx
call fcn.00431480
mov esi, eax
test esi, esi
je 0x475f41
push 0xe0
push 0
push esi
call fcn.0056cbb0
mov dword [esi], ebx
add esp, 0xc
mov eax, dword [ebx + 4]
test eax, eax
je 0x475f28
mov dword [eax + 0x3c], esi
mov eax, dword [ebx + 4]
mov dword [esi + 0x40], eax
mov dword [esi + 0x3c], 0
mov dword [ebx + 4], esi
mov dword [esi + 0x34], 0x26bceaa5
jmp 0x475f43
xor esi, esi
mov ecx, dword [esp + 0x14]
mov dword [ecx + 8], esi
test esi, esi
je 0x475f5e
mov edx, 0x94
mov ecx, esi
call fcn.0044df60
mov ecx, dword [esp + 0x14]
cmp ebp, 2
jne 0x475f72
mov eax, dword [ecx + 0x1b4]
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x18], 1
mov ebx, dword [esi + 0x1c]
cmp dword [esi + 0x20], ebx
jg 0x475f8c
mov ecx, esi
call fcn.0044de80
test eax, eax
je 0x475f8c
mov ebx, 1
jmp 0x475fbc
mov eax, dword [esi + 4]
lea ecx, [ebx + ebx*4]
inc dword [esi + 0x1c]
mov word [eax + ecx*4], 0x14
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0x113
mov dword [eax + ecx*4 + 8], ebp
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
push 0xffffffffffffffff
push dword [esp + 0x48]
mov edx, ebx
mov ecx, esi
call fcn.0044e560
mov ebx, dword [esp + 0x34]
add esp, 8
or ecx, 0xffffffff
sub ecx, dword [esp + 0x4c]
js 0x475fe8
mov edx, dword [edi + 0x28]
test edx, edx
je 0x475fe8
mov eax, dword [edi + 0x1c]
mov dword [edx + ecx*4], eax
mov edx, dword [esp + 0x40]
add ebx, 0x18
mov ecx, dword [esp + 0x24]
inc edx
mov dword [esp + 0x40], edx
mov dword [esp + 0x2c], ebx
cmp edx, dword [ecx]
jl 0x475de0
mov esi, dword [esp + 0x18]
mov ebp, dword [esp + 0x7c]
test ebp, ebp
je 0x476389
mov eax, dword [esp + 0x84]
movzx ebx, byte [esi + 0x2d]
cmp eax, 0xa
je 0x476028
mov ebx, eax
jmp 0x476033
cmp ebx, 0xa
mov eax, 2
cmove ebx, eax
cmp dword [esp + 0x80], 0
je 0x47605c
mov esi, dword [edi + 0x1c]
mov dword [esp + 0x20], esi
cmp dword [edi + 0x20], esi
jg 0x47607a
mov ecx, edi
call fcn.0044de80
test eax, eax
je 0x47607a
mov dword [esp + 0x20], 1
mov esi, dword [esp + 0x74]
mov ebp, dword [edi + 0x1c]
cmp dword [edi + 0x20], ebp
jg 0x4760ac
mov ecx, edi
call fcn.0044de80
test eax, eax
je 0x4760ac
mov ebp, 1
jmp 0x4760e2
mov eax, dword [edi + 4]
lea ecx, [esi + esi*4]
inc dword [edi + 0x1c]
mov esi, dword [esp + 0x74]
mov word [eax + ecx*4], 0x4c
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], esi
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], ebp
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x476060
inc dword [edi + 0x1c]
lea ecx, [ebp*4]
mov eax, dword [edi + 4]
add ecx, ebp
mov edx, dword [esp + 0x70]
mov word [eax + ecx*4], 0x3f
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
lea eax, [ebx - 1]
cmp eax, 4
ja case.default.0x4760ee
jmp dword [eax*4 + 0x4770e8]
mov eax, dword [esp + 0x28]
xor esi, esi
mov ebx, dword [esp + 0x14]
test dword [eax + 0x18], 0x40000
je 0x476120
mov edx, dword [esp + 0x18]
mov ecx, ebx
push esi
push esi
push 0x6a
call fcn.00487400
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x476142
mov ecx, dword [ebx]
test dword [ecx + 0x18], 0x80000
je 0x476181
mov ecx, dword [esp + 0x18]
call fcn.00471ce0
test eax, eax
jne 0x476142
mov eax, dword [esp + 0x18]
cmp dword [eax + 0x10], 0
je 0x476181
mov eax, dword [ebx + 0x1b4]
mov ecx, ebx
mov edx, dword [esp + 0x18]
test eax, eax
push 5
push esi
cmovne ecx, eax
push 0
push dword [esp + 0x80]
push dword [esp + 0x80]
mov byte [ecx + 0x17], 1
mov ecx, ebx
call fcn.0046d360
add esp, 0x14
mov dword [esp + 0x34], 1
jmp 0x47634b
mov esi, dword [esp + 0x18]
cmp dword [esi + 8], 0
je 0x4761ae
mov eax, dword [ebx + 0x1b4]
mov ecx, ebx
test eax, eax
mov edx, esi
push 0
push dword [esp + 0x74]
cmovne ecx, eax
mov byte [ecx + 0x17], 1
mov ecx, ebx
call fcn.0046d690
add esp, 8
mov dword [esp + 0x34], 1
jmp 0x47634b
mov esi, dword [edi + 0x1c]
cmp dword [edi + 0x20], esi
jg 0x4761d2
mov ecx, edi
call fcn.0044de80
test eax, eax
jne 0x47634b
mov eax, dword [edi + 4]
lea ecx, [esi + esi*4]
inc dword [edi + 0x1c]
mov edx, dword [esp + 0x88]
mov word [eax + ecx*4], 0xe
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x47634b
mov ebx, 2
mov ecx, dword [esp + 0x14]
mov esi, dword [ecx + 8]
test esi, esi
jne 0x4762d4
mov ecx, dword [ecx]
mov edx, 0xe0
mov dword [esp + 0x7c], ecx
call fcn.00431480
mov esi, eax
test esi, esi
je 0x476274
push 0xe0
push 0
push esi
call fcn.0056cbb0
mov ecx, dword [esp + 0x88]
add esp, 0xc
mov dword [esi], ecx
mov eax, dword [ecx + 4]
test eax, eax
je 0x47625b
mov dword [eax + 0x3c], esi
mov eax, dword [ecx + 4]
mov dword [esi + 0x40], eax
mov dword [esi + 0x3c], 0
mov dword [ecx + 4], esi
mov dword [esi + 0x34], 0x26bceaa5
jmp 0x476276
xor esi, esi
mov ecx, dword [esp + 0x14]
mov dword [ecx + 8], esi
test esi, esi
je 0x4762d4
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x7c], eax
cmp dword [esi + 0x20], eax
jg 0x47629c
mov ecx, esi
call fcn.0044de80
test eax, eax
jne 0x4762d0
mov eax, dword [esp + 0x7c]
inc dword [esi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0x94
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x14]
cmp ebx, 2
jne 0x4762e8
mov eax, dword [ecx + 0x1b4]
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x18], 1
mov edx, dword [esi + 0x1c]
mov dword [esp + 0x7c], edx
cmp dword [esi + 0x20], edx
jg 0x47630a
mov ecx, esi
call fcn.0044de80
test eax, eax
je 0x476306
mov edx, 1
jmp 0x47633a
mov edx, dword [esp + 0x7c]
mov eax, dword [esi + 4]
lea ecx, [edx + edx*4]
inc dword [esi + 0x1c]
mov word [eax + ecx*4], 0x14
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0x613
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
push 0xfffffffffffffffe
push str.PRIMARY_KEY_must_be_unique
mov ecx, esi
call fcn.0044e560
add esp, 8
test ebp, ebp
js 0x476366
mov edx, dword [edi + 0x1c]
cmp edx, ebp
jbe 0x476366
mov eax, dword [edi + 4]
lea ecx, [ebp*4]
add ecx, ebp
mov dword [eax + ecx*4 + 8], edx
cmp dword [esp + 0x80], 0
je 0x476389
mov eax, dword [esp + 0x20]
test eax, eax
js 0x476389
mov edx, dword [edi + 0x1c]
cmp edx, eax
jbe 0x476389
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov dword [eax + ecx*4 + 8], edx
mov eax, dword [esp + 0x18]
xor ebp, ebp
mov dword [esp + 0x2c], ebp
mov eax, dword [eax + 8]
mov dword [esp + 0x7c], eax
test eax, eax
je 0x4770bf
mov ecx, dword [esp + 0x78]
jmp 0x4763b0
mov ebp, dword [ecx + ebp*4]
mov dword [esp + 0x40], 0
test ebp, ebp
je 0x4770a2
cmp dword [eax + 0x24], 0
je 0x4764f1
mov ebx, dword [edi + 0x1c]
mov eax, dword [edi + 0x20]
cmp eax, ebx
jg 0x476439
test eax, eax
je 0x4763df
add eax, eax
jmp 0x4763e4
mov eax, 0x33
mov edx, dword [edi + 4]
lea eax, [eax + eax*4]
mov ecx, dword [edi]
shl eax, 2
push eax
call fcn.00431500
mov esi, eax
add esp, 4
test esi, esi
je 0x476469
mov ecx, dword [edi]
test ecx, ecx
je 0x47641d
cmp esi, dword [ecx + 0x10c]
jb 0x47641d
cmp esi, dword [ecx + 0x110]
jae 0x47641d
movzx ecx, word [ecx + 0xf0]
jmp 0x476429
push esi
call dword [0x5e3f6c]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mov dword [edi + 4], esi
mul ecx
shr edx, 4
mov dword [edi + 0x20], edx
mov eax, dword [edi + 4]
lea ecx, [ebx + ebx*4]
inc dword [edi + 0x1c]
mov word [eax + ecx*4], 0x18
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], ebp
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov esi, dword [edi + 0x24]
lea eax, [esi + 1]
mov dword [edi + 0x24], eax
lea eax, [esi - 1]
test esi, eax
jne 0x4764a8
mov ebp, dword [edi + 0x28]
lea eax, [esi*8 + 4]
mov ecx, dword [edi]
mov edx, ebp
push eax
mov dword [esp + 0x50], ecx
call fcn.00431500
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x4764a5
mov ecx, dword [esp + 0x4c]
mov edx, ebp
call fcn.00431230
mov dword [edi + 0x28], ebx
mov eax, dword [edi + 0x28]
test eax, eax
je 0x4764b6
mov dword [eax + esi*4], 0xffffffff
mov ebx, dword [esp + 0x14]
or eax, 0xffffffff
mov ecx, dword [esp + 0x30]
sub eax, esi
push 8
mov dword [esp + 0x44], eax
push eax
mov eax, dword [esp + 0x84]
mov dword [ebx + 0x58], ecx
mov ecx, ebx
mov edx, dword [eax + 0x24]
call fcn.00462950
mov eax, dword [esp + 0x84]
add esp, 8
mov dword [ebx + 0x58], 0
jmp 0x4764f5
mov ebx, dword [esp + 0x14]
movzx ecx, word [eax + 0x2e]
mov edx, dword [ebx + 0x3c]
inc ecx
mov esi, dword [ebx + 0x40]
mov dword [esp + 0x1c], esi
cmp ecx, edx
jg 0x476515
lea eax, [esi + ecx]
sub edx, ecx
mov dword [ebx + 0x40], eax
mov dword [ebx + 0x3c], edx
jmp 0x476524
mov eax, dword [ebx + 0x4c]
lea esi, [eax + 1]
add eax, ecx
mov dword [esp + 0x1c], esi
mov dword [ebx + 0x4c], eax
mov eax, dword [esp + 0x7c]
xor ebp, ebp
xor ecx, ecx
mov dword [esp + 0x44], ebp
cmp cx, word [eax + 0x2e]
jae 0x4766ba
mov dword [esp + 0x24], esi
jmp 0x476544
mov eax, dword [esp + 0x7c]
mov eax, dword [eax + 4]
mov ebx, dword [edi + 0x1c]
mov ebp, dword [eax + ebp*4]
mov eax, dword [esp + 0x18]
movsx eax, word [eax + 0x24]
cmp ebp, eax
mov eax, dword [edi + 0x20]
jne 0x476603
cmp eax, ebx
jg 0x4765ca
test eax, eax
je 0x47656c
add eax, eax
jmp 0x476571
mov eax, 0x33
mov edx, dword [edi + 4]
lea eax, [eax + eax*4]
mov ecx, dword [edi]
shl eax, 2
push eax
call fcn.00431500
mov esi, eax
add esp, 4
test esi, esi
je 0x47669d
mov ecx, dword [edi]
test ecx, ecx
je 0x4765ae
cmp esi, dword [ecx + 0x10c]
jb 0x4765ae
cmp esi, dword [ecx + 0x110]
jae 0x4765ae
movzx ecx, word [ecx + 0xf0]
jmp 0x4765ba
push esi
call dword [0x5e3f6c]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mov dword [edi + 4], esi
mul ecx
shr edx, 4
mov dword [edi + 0x20], edx
mov eax, dword [edi + 4]
lea ecx, [ebx + ebx*4]
inc dword [edi + 0x1c]
mov edx, dword [esp + 0x74]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x24]
mov word [eax + ecx*4], 0x1d
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x47669d
cmp eax, ebx
jg 0x476669
test eax, eax
je 0x47660f
add eax, eax
jmp 0x476614
mov eax, 0x33
mov edx, dword [edi + 4]
lea eax, [eax + eax*4]
mov ecx, dword [edi]
shl eax, 2
push eax
call fcn.00431500
mov esi, eax
add esp, 4
test esi, esi
je 0x47669d
mov ecx, dword [edi]
test ecx, ecx
je 0x47664d
cmp esi, dword [ecx + 0x10c]
jb 0x47664d
cmp esi, dword [ecx + 0x110]
jae 0x47664d
movzx ecx, word [ecx + 0xf0]
jmp 0x476659
push esi
call dword [0x5e3f6c]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mov dword [edi + 4], esi
mul ecx
shr edx, 4
mov dword [edi + 0x20], edx
mov eax, dword [edi + 4]
lea ecx, [ebx + ebx*4]
inc dword [edi + 0x1c]
mov edx, dword [esp + 0x24]
mov word [eax + ecx*4], 0x1d
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x30]
add eax, ebp
mov byte [ecx + 3], 0
mov dword [ecx + 4], eax
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov eax, dword [esp + 0x7c]
mov ebp, dword [esp + 0x44]
inc dword [esp + 0x24]
inc ebp
mov dword [esp + 0x44], ebp
movzx eax, word [eax + 0x2e]
cmp ebp, eax
jl 0x476540
mov ebx, dword [edi + 0x1c]
mov eax, dword [edi + 0x20]
cmp eax, ebx
jg 0x476726
test eax, eax
je 0x4766cc
add eax, eax
jmp 0x4766d1
mov eax, 0x33
mov edx, dword [edi + 4]
lea eax, [eax + eax*4]
mov ecx, dword [edi]
shl eax, 2
push eax
call fcn.00431500
mov esi, eax
add esp, 4
test esi, esi
je 0x47675b
mov ecx, dword [edi]
test ecx, ecx
je 0x47670a
cmp esi, dword [ecx + 0x10c]
jb 0x47670a
cmp esi, dword [ecx + 0x110]
jae 0x47670a
movzx ecx, word [ecx + 0xf0]
jmp 0x476716
push esi
call dword [0x5e3f6c]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mov dword [edi + 4], esi
mul ecx
shr edx, 4
mov dword [edi + 0x20], edx
mov eax, dword [edi + 4]
lea ecx, [ebx + ebx*4]
inc dword [edi + 0x1c]
mov word [eax + ecx*4], 0x1d
mov byte [eax + ecx*4 + 3], 0
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x74]
mov dword [ecx + 0xc], 0
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x1c]
add eax, ebp
mov dword [ecx + 0x10], 0
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x78]
mov ebp, dword [edi + 0x1c]
mov eax, dword [ecx + eax*4]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x7c]
movzx ebx, word [eax + 0x2e]
mov eax, dword [edi + 0x20]
inc ebx
cmp eax, ebp
jg 0x4767df
test eax, eax
je 0x476785
add eax, eax
jmp 0x47678a
mov eax, 0x33
mov edx, dword [edi + 4]
lea eax, [eax + eax*4]
mov ecx, dword [edi]
shl eax, 2
push eax
call fcn.00431500
mov esi, eax
add esp, 4
test esi, esi
je 0x476815
mov ecx, dword [edi]
test ecx, ecx
je 0x4767c3
cmp esi, dword [ecx + 0x10c]
jb 0x4767c3
cmp esi, dword [ecx + 0x110]
jae 0x4767c3
movzx ecx, word [ecx + 0xf0]
jmp 0x4767cf
push esi
call dword [0x5e3f6c]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mov dword [edi + 4], esi
mul ecx
shr edx, 4
mov dword [edi + 0x20], edx
inc dword [edi + 0x1c]
lea ecx, [ebp*4]
mov eax, dword [edi + 4]
add ecx, ebp
mov edx, dword [esp + 0x1c]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x4c]
mov word [eax + ecx*4], 0x2b
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ebx, dword [esp + 0x7c]
mov edx, ebx
push 0
push ecx
mov ecx, edi
call fcn.004734e0
add esp, 4
or edx, 0xffffffff
mov ecx, edi
push eax
call fcn.0044e560
mov ebp, dword [esp + 0x1c]
add esp, 8
movzx ebx, word [ebx + 0x2e]
mov esi, 0xa
add ebx, dword [esp + 0x1c]
lea eax, [ebp + 0x68]
mov dword [esp + 0x44], eax
lea ecx, [eax + 0x10]
mov eax, dword [esp + 0x1c]
mov edx, dword [ecx]
cmp edx, eax
jl 0x476884
cmp edx, ebx
jg 0x476884
cmp byte [ecx - 8], 0
je 0x47687e
mov al, byte [ebp + 0x13]
cmp al, 8
jae 0x476876
movzx eax, al
mov dword [ebp + eax*4 + 0x1c], edx
inc byte [ebp + 0x13]
mov eax, dword [esp + 0x1c]
mov byte [ecx - 8], 0
mov dword [ecx], 0
add ecx, 0x18
dec esi
jne 0x476855
mov edx, dword [esp + 0x7c]
movzx ecx, byte [edx + 0x30]
test ecx, ecx
jne 0x47691d
movzx ebp, word [edx + 0x2e]
mov esi, 0xa
mov ecx, dword [esp + 0x44]
inc ebp
mov edi, dword [esp + 0x14]
lea ebx, [ebp - 1]
add ebx, eax
add ecx, 0x10
mov edx, dword [ecx]
cmp edx, eax
jl 0x4768e3
cmp edx, ebx
jg 0x4768e3
cmp byte [ecx - 8], 0
je 0x4768dd
mov al, byte [edi + 0x13]
cmp al, 8
jae 0x4768d5
movzx eax, al
mov dword [edi + eax*4 + 0x1c], edx
inc byte [edi + 0x13]
mov eax, dword [esp + 0x1c]
mov byte [ecx - 8], 0
mov dword [ecx], 0
add ecx, 0x18
dec esi
jne 0x4768b4
mov ebx, edi
mov edi, dword [esp + 0x38]
cmp ebp, dword [ebx + 0x3c]
jle 0x4768fa
mov dword [ebx + 0x3c], ebp
mov dword [ebx + 0x40], eax
or ecx, 0xffffffff
sub ecx, dword [esp + 0x40]
js 0x47709e
mov edx, dword [edi + 0x28]
test edx, edx
je 0x47709e
mov eax, dword [edi + 0x1c]
mov dword [edx + ecx*4], eax
jmp 0x47709e
mov eax, dword [esp + 0x84]
cmp eax, 0xa
je 0x476936
mov ecx, eax
mov dword [esp + 0x24], eax
mov eax, 2
jmp 0x476945
cmp ecx, 0xa
mov eax, 2
cmove ecx, eax
mov dword [esp + 0x24], ecx
cmp dword [esp + 0x34], 0
je 0x476965
cmp ecx, 4
jne 0x47695b
mov dword [esp + 0x24], 5
jmp 0x476965
cmp ecx, 3
cmove ecx, eax
mov dword [esp + 0x24], ecx
mov al, byte [ebp + 0x13]
test al, al
jne 0x476974
inc dword [ebp + 0x4c]
mov ebp, dword [ebp + 0x4c]
jmp 0x476980
dec al
mov byte [ebp + 0x13], al
movzx eax, al
mov ebp, dword [ebp + eax*4 + 0x1c]
mov ebx, dword [edi + 0x1c]
mov eax, dword [edi + 0x20]
mov dword [esp + 0x20], ebp
cmp eax, ebx
jg 0x4769f0
test eax, eax
je 0x476996
add eax, eax
jmp 0x47699b
mov eax, 0x33
mov edx, dword [edi + 4]
lea eax, [eax + eax*4]
mov ecx, dword [edi]
shl eax, 2
push eax
call fcn.00431500
mov esi, eax
add esp, 4
test esi, esi
je 0x476a20
mov ecx, dword [edi]
test ecx, ecx
je 0x4769d4
cmp esi, dword [ecx + 0x10c]
jb 0x4769d4
cmp esi, dword [ecx + 0x110]
jae 0x4769d4
movzx ecx, word [ecx + 0xf0]
jmp 0x4769e0
push esi
call dword [0x5e3f6c]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mov dword [edi + 4], esi
mul ecx
shr edx, 4
mov dword [edi + 0x20], edx
mov eax, dword [edi + 4]
lea ecx, [ebx + ebx*4]
inc dword [edi + 0x1c]
mov edx, dword [esp + 0x48]
mov word [eax + ecx*4], 0x1d
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], ebp
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ebx, dword [edi + 0x1c]
mov eax, dword [edi + 0x20]
mov dword [esp + 0x4c], ebx
cmp eax, ebx
jg 0x476a94
test eax, eax
je 0x476a36
add eax, eax
jmp 0x476a3b
mov eax, 0x33
mov edx, dword [edi + 4]
lea eax, [eax + eax*4]
mov ecx, dword [edi]
shl eax, 2
push eax
call fcn.00431500
mov esi, eax
add esp, 4
test esi, esi
je 0x476bb3
mov ecx, dword [edi]
test ecx, ecx
je 0x476a78
cmp esi, dword [ecx + 0x10c]
jb 0x476a78
cmp esi, dword [ecx + 0x110]
jae 0x476a78
movzx ecx, word [ecx + 0xf0]
jmp 0x476a84
push esi
call dword [0x5e3f6c]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mov dword [edi + 4], esi
mul ecx
shr edx, 4
mov dword [edi + 0x20], edx
mov eax, dword [edi + 4]
lea ecx, [ebx + ebx*4]
inc dword [edi + 0x1c]
mov word [eax + ecx*4], 0x3e
mov byte [eax + ecx*4 + 3], 0
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x2c]
inc eax
mov dword [ecx + 8], 0
add eax, dword [esp + 0x70]
mov dword [ecx + 4], eax
mov dword [ecx + 0xc], ebp
mov dword [ecx + 0x10], 0
push 0xfffffffffffffff2
push dword [esp + 0x20]
mov edx, ebx
mov ecx, edi
call fcn.0044e560
mov eax, dword [esp + 0x84]
add esp, 8
mov ecx, dword [esp + 0x44]
mov esi, 0xa
mov edi, dword [esp + 0x14]
movzx ebp, word [eax + 0x2e]
mov eax, dword [esp + 0x1c]
inc ebp
lea ebx, [eax - 1]
add ebx, ebp
add ecx, 0x10
nop
mov edx, dword [ecx]
cmp edx, eax
jl 0x476b2f
cmp edx, ebx
jg 0x476b2f
cmp byte [ecx - 8], 0
je 0x476b29
mov al, byte [edi + 0x13]
cmp al, 8
jae 0x476b21
movzx eax, al
mov dword [edi + eax*4 + 0x1c], edx
inc byte [edi + 0x13]
mov eax, dword [esp + 0x1c]
mov byte [ecx - 8], 0
mov dword [ecx], 0
add ecx, 0x18
dec esi
jne 0x476b00
mov ebx, edi
mov edi, dword [esp + 0x38]
cmp ebp, dword [ebx + 0x3c]
jle 0x476b46
mov dword [ebx + 0x3c], ebp
mov dword [ebx + 0x40], eax
mov eax, dword [esp + 0x24]
test eax, eax
jle 0x477009
cmp eax, 3
jle 0x476bc1
cmp eax, 4
jne 0x477009
mov esi, dword [edi + 0x1c]
cmp dword [edi + 0x20], esi
jg 0x476b77
mov ecx, edi
call fcn.0044de80
test eax, eax
jne 0x476f64
mov eax, dword [edi + 4]
lea ecx, [esi + esi*4]
inc dword [edi + 0x1c]
mov edx, dword [esp + 0x88]
mov word [eax + ecx*4], 0xe
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x476f64
mov ebx, 1
mov dword [esp + 0x4c], ebx
jmp 0x476ac8
mov eax, dword [esp + 0x28]
mov ecx, str.column
mov dword [esp + 0x50], eax
mov ebp, str.columns
mov eax, dword [esp + 0x7c]
xorps xmm0, xmm0
movdqu xmmword [esp + 0x54], xmm0
mov dword [esp + 0x64], 0xc8
mov word [esp + 0x68], 1
movzx eax, word [eax + 0x2e]
cmp eax, 1
cmovbe ebp, ecx
xor ecx, ecx
xor ebx, ebx
cmp cx, ax
jae 0x476c4b
mov edi, dword [esp + 0x7c]
mov eax, dword [edi + 4]
mov edx, ebp
push 0xffffffffffffffff
mov eax, dword [eax + ebx*4]
lea ecx, [eax + eax*2]
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 4]
mov esi, dword [eax + ecx*8]
lea ecx, [esp + 0x54]
call fcn.00432660
add esp, 4
lea ecx, [esp + 0x50]
mov edx, esi
mov ebp, 0x5b79ac
push 0xffffffffffffffff
call fcn.00432660
movzx eax, word [edi + 0x2e]
inc ebx
add esp, 4
cmp ebx, eax
jl 0x476c06
mov edi, dword [esp + 0x38]
mov eax, dword [esp + 0x7c]
lea ecx, [esp + 0x50]
mov edx, str._are_not_unique
push 0xffffffffffffffff
cmp word [eax + 0x2e], 1
mov eax, str._is_not_unique
cmovbe edx, eax
call fcn.00432660
mov ebx, dword [esp + 0x5c]
add esp, 4
test ebx, ebx
je 0x476d2d
mov esi, dword [esp + 0x5c]
mov al, byte [esp + 0x68]
mov byte [esi + ebx], 0
test al, al
je 0x476d2d
mov ebp, dword [esp + 0x54]
cmp ebx, ebp
jne 0x476d2d
inc esi
cmp al, 1
jne 0x476caf
mov ecx, dword [esp + 0x50]
mov edx, esi
call fcn.00431480
mov ebx, eax
jmp 0x476d1e
call fcn.00499140
test eax, eax
je 0x476cbc
xor ebx, ebx
jmp 0x476d1e
lea eax, [esi - 1]
cmp eax, 0x7ffffefe
ja 0x476d12
cmp dword [0x5e3f40], 0
je 0x476d02
mov eax, dword [0x7e1728]
test eax, eax
je 0x476ce2
push eax
call dword [0x5e3f90]
add esp, 4
lea edx, [esp + 0x3c]
mov ecx, esi
call fcn.00430dc0
mov eax, dword [0x7e1728]
test eax, eax
je 0x476d1a
push eax
call dword [0x5e3f98]
add esp, 4
jmp 0x476d1a
push esi
call dword [0x5e3f60]
add esp, 4
mov dword [esp + 0x3c], eax
jmp 0x476d1a
mov dword [esp + 0x3c], 0
mov ebx, dword [esp + 0x3c]
test ebx, ebx
je 0x476d2d
push esi
push ebp
push ebx
call fcn.0056a7e0
add esp, 0xc
mov ecx, dword [esp + 0x14]
mov esi, dword [ecx + 8]
test esi, esi
jne 0x476e42
mov ebp, dword [ecx]
mov edx, 0xe0
mov ecx, ebp
call fcn.00431480
mov esi, eax
test esi, esi
je 0x476d85
push 0xe0
push 0
push esi
call fcn.0056cbb0
mov dword [esi], ebp
add esp, 0xc
mov eax, dword [ebp + 4]
test eax, eax
je 0x476d6c
mov dword [eax + 0x3c], esi
mov eax, dword [ebp + 4]
mov dword [esi + 0x40], eax
mov dword [esi + 0x3c], 0
mov dword [ebp + 4], esi
mov dword [esi + 0x34], 0x26bceaa5
jmp 0x476d87
xor esi, esi
mov ecx, dword [esp + 0x14]
mov dword [ecx + 8], esi
test esi, esi
je 0x476e42
mov ecx, dword [esi + 0x1c]
mov eax, dword [esi + 0x20]
mov dword [esp + 0x1c], ecx
cmp eax, ecx
jg 0x476e0a
test eax, eax
je 0x476dac
add eax, eax
jmp 0x476db1
mov eax, 0x33
mov edx, dword [esi + 4]
lea eax, [eax + eax*4]
mov ecx, dword [esi]
shl eax, 2
push eax
call fcn.00431500
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x476e3e
mov ecx, dword [esi]
test ecx, ecx
je 0x476dea
cmp ebp, dword [ecx + 0x10c]
jb 0x476dea
cmp ebp, dword [ecx + 0x110]
jae 0x476dea
movzx ecx, word [ecx + 0xf0]
jmp 0x476df6
push ebp
call dword [0x5e3f6c]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mov dword [esi + 4], ebp
mul ecx
mov ecx, dword [esp + 0x1c]
shr edx, 4
mov dword [esi + 0x20], edx
mov eax, dword [esi + 4]
lea ecx, [ecx + ecx*4]
inc dword [esi + 0x1c]
mov word [eax + ecx*4], 0x94
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x14]
cmp dword [esp + 0x24], 2
jne 0x476e58
mov eax, dword [ecx + 0x1b4]
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x18], 1
mov edx, dword [esi + 0x1c]
mov eax, dword [esi + 0x20]
mov dword [esp + 0x1c], edx
cmp eax, edx
jg 0x476ed0
test eax, eax
je 0x476e6e
add eax, eax
jmp 0x476e73
mov eax, 0x33
mov edx, dword [esi + 4]
lea eax, [eax + eax*4]
mov ecx, dword [esi]
shl eax, 2
push eax
call fcn.00431500
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x476f47
mov ecx, dword [esi]
test ecx, ecx
je 0x476eb0
cmp ebp, dword [ecx + 0x10c]
jb 0x476eb0
cmp ebp, dword [ecx + 0x110]
jae 0x476eb0
movzx ecx, word [ecx + 0xf0]
jmp 0x476ebc
push ebp
call dword [0x5e3f6c]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mov dword [esi + 4], ebp
mul ecx
shr edx, 4
mov dword [esi + 0x20], edx
mov edx, dword [esp + 0x1c]
mov eax, dword [esi + 4]
lea ecx, [edx + edx*4]
inc dword [esi + 0x1c]
mov ebp, dword [esp + 0x24]
mov word [eax + ecx*4], 0x14
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0x813
mov dword [eax + ecx*4 + 8], ebp
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
push 0
push ebx
mov ecx, esi
call fcn.0044e560
add esp, 8
test ebx, ebx
je 0x476f60
mov ebp, dword [esp + 0x50]
test ebp, ebp
je 0x476ffb
cmp dword [ebp + 0x200], 0
je 0x476fd2
cmp ebx, dword [ebp + 0x10c]
jb 0x476f4e
cmp ebx, dword [ebp + 0x110]
jae 0x476f4e
movzx eax, word [ebp + 0xf0]
jmp 0x476f58
mov edx, 1
jmp 0x476f04
push ebx
call dword [0x5e3f6c]
add esp, 4
mov ecx, dword [ebp + 0x200]
add dword [ecx], eax
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x20]
mov eax, dword [esp + 0x4c]
test eax, eax
js 0x476f81
mov edx, dword [edi + 0x1c]
cmp edx, eax
jbe 0x476f81
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov dword [eax + ecx*4 + 8], edx
or ecx, 0xffffffff
sub ecx, dword [esp + 0x40]
js 0x476f97
mov edx, dword [edi + 0x28]
test edx, edx
je 0x476f97
mov eax, dword [edi + 0x1c]
mov dword [edx + ecx*4], eax
test ebp, ebp
je 0x47709e
mov cl, byte [ebx + 0x13]
cmp cl, 8
jae 0x47709e
mov edx, dword [esp + 0x44]
xor eax, eax
cmp dword [edx + 0x10], ebp
je 0x47709a
inc eax
add edx, 0x18
cmp eax, 0xa
jl 0x476fb1
movzx eax, cl
mov dword [ebx + eax*4 + 0x1c], ebp
inc byte [ebx + 0x13]
jmp 0x47709e
cmp ebx, dword [ebp + 0x10c]
jb 0x476ffb
cmp ebx, dword [ebp + 0x110]
jae 0x476ffb
mov eax, dword [ebp + 0x108]
mov dword [ebx], eax
dec dword [ebp + 0xf4]
mov dword [ebp + 0x108], ebx
jmp 0x476f60
push ebx
call fcn.00431190
add esp, 4
jmp 0x476f60
mov eax, dword [ebx + 0x1b4]
xor edx, edx
test eax, eax
mov ecx, ebx
cmovne ecx, eax
mov eax, dword [esp + 0x28]
mov byte [ecx + 0x17], 1
test dword [eax + 0x18], 0x40000
je 0x47706e
mov ecx, dword [esp + 0x14]
xor esi, esi
xor ebx, ebx
mov eax, dword [ecx]
test dword [eax + 0x18], 0x800000
je 0x477047
mov edx, dword [esp + 0x18]
call fcn.004864f0
mov ebx, eax
mov ecx, ebx
test ebx, ebx
je 0x477063
lea ecx, [ecx]
cmp byte [ecx + 8], 0x6a
jne 0x47705c
movzx eax, byte [ecx + 9]
or esi, eax
mov ecx, dword [ecx + 0x20]
test ecx, ecx
jne 0x477050
xor edx, edx
test esi, esi
cmovne edx, ebx
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x20]
mov ecx, ebx
push 5
push edx
mov edx, dword [esp + 0x20]
push 0
push ebp
push dword [esp + 0x80]
call fcn.0046d360
add esp, 0x14
mov dword [esp + 0x34], 1
jmp 0x476f68
mov byte [edx + 8], 1
mov ecx, dword [esp + 0x78]
mov ebp, dword [esp + 0x7c]
inc dword [esp + 0x2c]
mov ebp, dword [ebp + 0x14]
test ebp, ebp
mov dword [esp + 0x7c], ebp
mov eax, ebp
mov ebp, dword [esp + 0x2c]
jne 0x4763b0
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x4770d0
mov ecx, dword [esp + 0x34]
mov dword [eax], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret